Skip to contentSkip to conversation

New: Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

Bug 61690 [email protected] 1 participant 11 messages Mar 2, 2013 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=61690

          Priority: medium
            Bug ID: 61690
          Assignee: [email protected]
           Summary: Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: NEW
           Version: 9.1
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 75782
--> https://bugs.freedesktop.org/attachment.cgi?id=75782&action=edit
trace of "Checking MEMORY CARD" first message

Hello,
Upgrading Mesa 8 to 9.1 got me a graphic problem with PCSX2 emulator Attached an apitrace's trace generated in Mesa 8.0.4. When I replay it on Mesa 9.1 I got bad rendering, some shapes appar to be messed up.

http://imageshack.us/a/img32/7455/sshote.jpg

http://imageshack.us/a/img202/4097/startw.jpg

"configure" Mesa 8.0.4 flags:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--mandir=/usr/man \
--docdir=/usr/doc/mesa-$VERSION \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast \
--with-gallium-drivers=nouveau,swrast,r300,r600 \
--enable-gallium-llvm \
--build=i486

"configure" Mesa 9.1 flags:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib
--mandir=/usr/man \
--docdir=/usr/doc/mesa-$VERSION \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-dri-drivers=i915,i965,intel,nouveau,r200,radeon,swrast \
--with-gallium-drivers=nouveau,swrast,r300,r600 \
--enable-gallium-llvm \
--enable-shared-glapi \
--build=i486

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #1 from Alex Deucher <[email protected]> ---
Does mesa 9.0 work ok? Can you bisect? Please attach your xorg log and dmesg output.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #2 from LukK <[email protected]> ---
Created attachment 75785
--> https://bugs.freedesktop.org/attachment.cgi?id=75785&action=edit
Xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #3 from LukK <[email protected]> ---
Created attachment 75786
--> https://bugs.freedesktop.org/attachment.cgi?id=75786&action=edit
dmesg...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #4 from LukK <[email protected]> --- (In reply to comment #1)

Quoted 2 lines

Does mesa 9.0 work ok? Can you bisect? Please attach your xorg log and dmesg output.

No mesa 9.0 don't work,also I tried mesa 8.0.4 with "--texture-float" and give me the same bad rendering.
OK, I can test but i have my times..

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Alex Deucher Reviewed-by Christian König
#5 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

LukK <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|9.1 |9.0

--- Comment #5 from LukK <[email protected]> --- OK, bisected.

914b4bb80c28c81101941d5533361ae0108eb771 is the first bad commit commit 914b4bb80c28c81101941d5533361ae0108eb771

Author: Marek Olšák <[email protected]>
Date:   Wed Feb 29 13:09:51 2012 +0100

r600g: add support for missing colorbuffer formats

:040000 040000 05adc23b1529b09afffcde046bd76f4417339138
90f988f39ed5ed836c38d6509d9ddcdbdc318463 M src

Changed to 9.0 version.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #6 from LukK <[email protected]> ---
Bisected with -DTEXTURE_FLOAT_ENABLED.
I guess with "ARB_texture_float" every version give me the graphic issue.

8e28d842d192e69ba8cae4f9754766a26ae8c739 is the first bad commit commit 8e28d842d192e69ba8cae4f9754766a26ae8c739

Author: Marek Olšák <[email protected]>
Date:   Wed Feb 16 00:40:37 2011 +0100

st/mesa: convert Mesa float formats to Gallium

Squashed commit of the following:

Author: Marek Olšák <[email protected]>

st/mesa: require RGBA16F and RGBA32F to be renderable st/mesa: fix L32F and L16F format translation st/mesa: also convert the R/RG float formats

commit 49a9948b6a81b7d813304d081139d98e95ba5d1a
Author: Luca Barbieri <[email protected]>
Date: Fri Aug 20 10:36:17 2010 +0200

mesa/st: enable ARB_texture_float if supported formats allow it

commit 7383632f7b6f9021b65f4973b7e7c99f0e8ce9b2
Author: Luca Barbieri <[email protected]>
Date: Tue Aug 24 21:00:46 2010 +0200

mesa/st: support ARB_texture_float internal formats

commit 7c362cc06982586c2d29fac55f6bcc4bcd1550b5
Author: Luca Barbieri <[email protected]>
Date: Tue Aug 24 21:00:33 2010 +0200

mesa/st: convert L/A/I floating point formats

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #7 from [email protected] ---
Created attachment 76524
--> https://bugs.freedesktop.org/attachment.cgi?id=76524&action=edit
texture rounded

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 61690] Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

--- Comment #8 from [email protected] ---
Created attachment 76525
--> https://bugs.freedesktop.org/attachment.cgi?id=76525&action=edit
texture good

Hello Alex,

I'm a developper of PCSX2 and made some tests on my side. I think I understand the cause of the bad rendering.

At the beginning of the program we upload a float texure (see attachment). I ask Lukk to dump the texture with glGetTexImage (see attachment). If you compare both textures, we will see that some floats were rounded. I upload Lukk's texture and I can confirm you that we got same rendering issue.

The upload of the texture is fine on my HD5770 with mesa 8.0.5. So the issue feel chip specific.

Cheers.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 61690] [r600g][rs780] Graphic issue on PCSX2 (float texture rounding)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Graphic issue on PCSX2 with |[r600g][rs780] Graphic
                   |Gallium 0.4 on AMD RS780    |issue on PCSX2 (float
                   |                            |texture rounding)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 61690] [r600g][rs780] Graphic issue on PCSX2 (float texture rounding)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61690

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #9 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/431.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel