Created attachment 41818 [details] GLSL bug Playing many games using WINE, got unusual white colour bug. if I turn off GLSL in WINE then everything is normal. if I turn on GLSL in WINE then everything becomes brighter and far objects can not be seen: see the attachment ( the game is Need for Speed Underground ) by doing further investigation, I found that if I turn on GLSL in WINE and either vertex shader or pixel shader is turned off in WINE then everything becomes normal again. So, the combination of vertex and pixel shader is not working in GLSL. conclusion: without using GLSL, vertex and pixel shader both in WINE everything is normal the games were running properly with Mesa 7.7.1, 7.8.3-rc1 and 7.9.1 System: latest WINE 1.3.11 Intel GMA 4500 linux 2.6.37-020637-generic Mesa 7.10 official and Mesa Master (Mesa 7.11-devel) libdrm 2.4.23 xf86-video-intel-2.13.0 Ubuntu 10.10's official xserver
Created attachment 41819 [details] without the bug
Created attachment 41820 [details] Need for Speed Most Wanted with the bug
Created attachment 41821 [details] Need for Speed Most Wanted normal
Created attachment 41822 [details] terminal output 1 output of Need for Speed Underground game with the bug: commands applied to bash to get the output export WINEDEBUG=-all export INTEL_DEBUG=vs,wm padsp wine Speed.exe 2>&1> err.txt
Created attachment 41823 [details] terminal output 2 output of Need for Speed Underground game with the bug: commands applied to bash to get the output export WINEDEBUG=-all export MESA_GLSL=dump padsp wine Speed.exe 2>&1> err1.txt
Decreasing severity to normal as this isn't a crash or a regression. Is there any chance you could try reproducing this with the software rasterizer? It will probably take forever for wine and the game to start up, but that will help narrow down where the bug is. It would also help to know if the bug is reproducible in Mesa 7.9.1.
I have tested Mesa 7.9.1 before testing Mesa 7.10. the bug is not present in Mesa 7.9 and 7.9.1
Excuse me, but how to run in software rasterizer mode. I do not know
Flatout 1 & 2 also suffer from this bug
This bug is affecting a huge range of games, including Source Based games like Counter:strike, HL2, and also others like Civilization IV, Settlers 2 10th years edition. I'm using Wine 1.3.12 and also Wine from Git with Mesa from Git. Ubuntu 10.10
(In reply to comment #6) > Decreasing severity to normal as this isn't a crash or a regression. > > Is there any chance you could try reproducing this with the software > rasterizer? It will probably take forever for wine and the game to start up, > but that will help narrow down where the bug is. It would also help to know if > the bug is reproducible in Mesa 7.9.1. Changed severity to high as this a regression
(In reply to comment #6) > Decreasing severity to normal as this isn't a crash or a regression. > > Is there any chance you could try reproducing this with the software > rasterizer? It will probably take forever for wine and the game to start up, > but that will help narrow down where the bug is. It would also help to know if > the bug is reproducible in Mesa 7.9.1. The bug is not on Civilization IV using software rasterizer.
(In reply to comment #8) > Excuse me, but how to run in software > rasterizer mode. I do not know set LIBGL_ALWAYS_SOFTWARE=1 before your command
still present in the git Mesa 7.11-devel
also present in just released Mesa 7.10.1
Created attachment 44176 [details] NFS Underground terminal dump ran NFS Underground on Wine and got Mesa GLSL dump with and without Software Rasterizer by invoking these commands in the terminal. For Normal Mesa Renderer (Hardware): export WINEDEBUG=-all export MESA_GLSL=dump padsp wine Speed.exe 2>&1> outwithoutbug.txt For Mesa Software Rasterizer Renderer: export LIBGL_ALWAYS_SOFTWARE=1 export WINEDEBUG=-all export MESA_GLSL=dump padsp wine Speed.exe 2>&1> outwithbug.txt please use attached tar file to get these files.
(In reply to comment #16) > Created an attachment (id=44176) [details] > NFS Underground terminal dump > > ran NFS Underground on Wine and got Mesa GLSL dump with and without Software > Rasterizer by invoking these commands in the terminal. > > For Normal Mesa Renderer (Hardware): > export WINEDEBUG=-all > export MESA_GLSL=dump > padsp wine Speed.exe 2>&1> outwithoutbug.txt > > For Mesa Software Rasterizer Renderer: > export LIBGL_ALWAYS_SOFTWARE=1 > export WINEDEBUG=-all > export MESA_GLSL=dump > padsp wine Speed.exe 2>&1> outwithbug.txt > > please use attached tar file to get these files. In Mesa Software Rasterizer Renderer mode the problem is not visible
Here's a demo of Civilization IV that's been affected by this bug. http://download.cnet.com/Civilization-IV-demo/3000-7489_4-10465206.html
this bug maybe related to this WINE bug: http://bugs.winehq.org/show_bug.cgi?id=17715
have no clue but from google search http://bugs.winehq.org/show_bug.cgi?id=7284
Looking into this.
I believe this may have been fixed by the following commit (in Mesa master): commit 0c8beb0ab5e72a9d2ecaad51db16a7d5291e120b Author: Kenneth Graunke <kenneth@whitecape.org> Date: Sat Mar 26 22:04:23 2011 -0700 i965/fs: Fix linear gl_Color interpolation on pre-gen6 hardware. Civilization 4's shaders make heavy use of gl_Color and don't use perspective interpolation. This resulted in rivers, units, trees, and so on being rendered almost entirely white. This is a regression compared to the old fragment shader backend. Found by inspection (comparing the old and new FS backend code). References: https://bugs.freedesktop.org/show_bug.cgi?id=32949 NOTE: This is a candidate for the 7.10 branch. Could you please test it? Thanks.
Great!, I can not believe in my eyes, developers are so smart that it took only few days to trigger this bug out of the field. Now, Mesa 7.10.1 is as good as 7.8.3-rc1 bug wise, plus extra functionality. When this patch is going to merge to 7.10.1, so that next Ubuntu 11.04 can use it. Thanks
fixed by commit 0c8beb0ab5e72a9d2ecaad51db16a7d5291e120b
The wine bugs mentioned in comment 19 and 20 are totally unrelated btw.
let's keep this bug open until the patch cherry-picked to 7.10 branch.
I just cherry-picked the fix to the 7.10 branch. Marking fixed.
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.