Bugzilla – Bug 74863
[r600g] HyperZ broken on RV770 and CYPRESS (Left 4 Dead 2 trees corruption) bisected!
Last modified: 2014-09-03 09:51:19 UTC
Created attachment 93888 [details]
tree correctly rendered
Probably the same issue than:
Trees in Left 4 Dead 2 have some rendering issue when you move, so in fact they looks like to blink. See the screenshots attached.
This hits my RV770 (HD4850) and CYPRESS (HD5850).
When R600_DEBUG=nohyperz is set, there is no problem.
R600_DEBUG=nosb doesn't fix.
First bad commit is:
r600g: defer shader variant selection and depending state updates
Signed-off-by: Vadim Girlin <email@example.com>
Signed-off-by: Dave Airlie <firstname.lastname@example.org>
Reviewed-by: Alex Deucher <email@example.com>
Note that the bug happens in L4D2 only when the option "Effects details" in the graphic options of the game is set to Medium or High, but not when set to Low.
Created attachment 93889 [details]
tree not correctly rendered one second later in the same scene
I forgot to mention that I compiled mesa with:
./autogen.sh --with-gallium-drivers=r600 --with-dri-drivers= --enable-texture-float --disable-dri3 --disable-r600-llvm-compiler --disable-gallium-llvm --enable-32-bit CFLAGS="-O2 -m32" CXXFLAGS="-O2 -m32" --libdir=/usr/lib
The screenshots have been taken in the level "Dead Center" stage "2 - Street".
Is this fixed with current Mesa git?
If not, could you please make and upload a trace file using apitrace:
Problem still persists with current master (git-e8f8353). Tested on Evergreen.
The apitrace can be downloaded here :
(364 MB, md5sum 3e80394465612a7f29aced09ea02bd78)
(In reply to comment #4)
> Problem still persists with current master (git-e8f8353). Tested on
> The apitrace can be downloaded here :
> (364 MB, md5sum 3e80394465612a7f29aced09ea02bd78)
Just as info... can not reproduce it on radeonsi with this apitrace, seems like r600 only issue :).
This is also not fixed on RV770.
Fixed by 8abdc3c4a9c81e359d5dc1694253b05dd5562c95. Closing.