Bug detailed description:
Character Render error when runing Steam-half Life2 on IVB/HSW/BYT. The problem exists on gnome-session and Raw X. It’s Mesa regression. Please see steam-hl2.png.
By bisected show the first bad commit is :
Author: Matt Turner <email@example.com>
Date: Tue Mar 11 13:16:37 2014 -0700
i965/vec4: Eliminate writes that are never read.
2, export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib64:/lib32:/lib/:/root/.steam/ubuntu12_32:/root/.steam/ubuntu12_32/steam-runtime/i386/lib:/root/.steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:/root/.steam/ubuntu12_32/steam-runtime/i386/usr/lib:/root/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:/root/.steam/ubuntu12_32/steam-runtime/amd64/lib:/root/.steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu:/root/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib:/root/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu:/root/.steam/ubuntu12_64:bin
3, vblank_mode=0 ./hl2.sh -game hl2 +cl_showfps 1 -novid +timedemo hl2 +demo_quitafterplayback 1 -full -w 1920 -h 1080
Created attachment 96637 [details]
This problem also exist on Steam_Counter-Strike:Source game.
Zhoujian : does HL2 work for you before the bisected commit? I'm having problems getting the game to work now even with older Mesa (?) I'm running on IVB and graphics are messed up already at menu screen, there are bunch of errors on the console from the game itself after I exit. I will try to see first if this is just problem with my environment.
I expect that this is the same bug as https://bugs.freedesktop.org/show_bug.cgi?id=76616 and I've got a patch waiting for review to fix it.
(In reply to comment #3)
> Zhoujian : does HL2 work for you before the bisected commit?
Yes, it's good.
(In reply to comment #4)
> I expect that this is the same bug as
> https://bugs.freedesktop.org/show_bug.cgi?id=76616 and I've got a patch
> waiting for review to fix it.
With above the patch,retest it can works well.
Should be fixed by http://cgit.freedesktop.org/mesa/mesa/commit/?id=20dee82a75ac7415fba0b3540a1f99d60b2325db
With above the patch,verified it.