Created attachment 75782 [details] 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
Does mesa 9.0 work ok? Can you bisect? Please attach your xorg log and dmesg output.
Created attachment 75785 [details] Xorg log
Created attachment 75786 [details] dmesg...
(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..
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.
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
Created attachment 76524 [details] texture rounded
Created attachment 76525 [details] 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.
-- 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.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.