https://bugs.freedesktop.org/show_bug.cgi?id=61690
Priority: medium Bug ID: 61690 Assignee: dri-devel@lists.freedesktop.org Summary: Graphic issue on PCSX2 with Gallium 0.4 on AMD RS780 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: pablo11_up@yahoo.com 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
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #1 from Alex Deucher agd5f@yahoo.com --- Does mesa 9.0 work ok? Can you bisect? Please attach your xorg log and dmesg output.
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #2 from LukK pablo11_up@yahoo.com --- Created attachment 75785 --> https://bugs.freedesktop.org/attachment.cgi?id=75785&action=edit Xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #3 from LukK pablo11_up@yahoo.com --- Created attachment 75786 --> https://bugs.freedesktop.org/attachment.cgi?id=75786&action=edit dmesg...
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #4 from LukK pablo11_up@yahoo.com --- (In reply to comment #1)
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..
https://bugs.freedesktop.org/show_bug.cgi?id=61690
LukK pablo11_up@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|9.1 |9.0
--- Comment #5 from LukK pablo11_up@yahoo.com --- OK, bisected.
914b4bb80c28c81101941d5533361ae0108eb771 is the first bad commit commit 914b4bb80c28c81101941d5533361ae0108eb771 Author: Marek Olšák maraeo@gmail.com Date: Wed Feb 29 13:09:51 2012 +0100
r600g: add support for missing colorbuffer formats
Reviewed-by: Alex Deucher alexander.deucher@amd.com Reviewed-by: Christian König christian.koenig@amd.com
:040000 040000 05adc23b1529b09afffcde046bd76f4417339138 90f988f39ed5ed836c38d6509d9ddcdbdc318463 M src
Changed to 9.0 version.
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #6 from LukK pablo11_up@yahoo.com --- 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 maraeo@gmail.com 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 maraeo@gmail.com
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 luca@luca-barbieri.com 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 luca@luca-barbieri.com Date: Tue Aug 24 21:00:46 2010 +0200
mesa/st: support ARB_texture_float internal formats
commit 7c362cc06982586c2d29fac55f6bcc4bcd1550b5 Author: Luca Barbieri luca@luca-barbieri.com Date: Tue Aug 24 21:00:33 2010 +0200
mesa/st: convert L/A/I floating point formats
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #7 from gregory.hainaut@gmail.com --- Created attachment 76524 --> https://bugs.freedesktop.org/attachment.cgi?id=76524&action=edit texture rounded
https://bugs.freedesktop.org/show_bug.cgi?id=61690
--- Comment #8 from gregory.hainaut@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=61690
Jerome Glisse glisse@freedesktop.org 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)
https://bugs.freedesktop.org/show_bug.cgi?id=61690
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #9 from GitLab Migration User gitlab-migration@fdo.invalid --- -- 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.
dri-devel@lists.freedesktop.org