https://bugs.freedesktop.org/show_bug.cgi?id=74863
Priority: medium Bug ID: 74863 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] HyperZ broken on RV770 and CYPRESS (Left 4 Dead 2 trees corruption) bisected! Severity: normal Classification: Unclassified OS: Linux (All) Reporter: b.bellec@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 93888 --> https://bugs.freedesktop.org/attachment.cgi?id=93888&action=edit tree correctly rendered
Probably the same issue than: https://bugs.freedesktop.org/show_bug.cgi?id=74803
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 commit a144bc29b5bb8322a54308603c5d0a8467448164 Signed-off-by: Vadim Girlin vadimgirlin@gmail.com Signed-off-by: Dave Airlie airlied@redhat.com Reviewed-by: Alex Deucher alexander.deucher@amd.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.
https://bugs.freedesktop.org/show_bug.cgi?id=74863
--- Comment #1 from Benjamin Bellec b.bellec@gmail.com --- Created attachment 93889 --> https://bugs.freedesktop.org/attachment.cgi?id=93889&action=edit tree not correctly rendered one second later in the same scene
https://bugs.freedesktop.org/show_bug.cgi?id=74863
Benjamin Bellec b.bellec@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #93888|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=74863
--- Comment #2 from Benjamin Bellec b.bellec@gmail.com --- 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".
https://bugs.freedesktop.org/show_bug.cgi?id=74863
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |75112
https://bugs.freedesktop.org/show_bug.cgi?id=74863
--- Comment #3 from Marek Olšák maraeo@gmail.com --- Is this fixed with current Mesa git?
If not, could you please make and upload a trace file using apitrace:
https://github.com/apitrace/apitrace
Thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=74863
--- Comment #4 from Benjamin Bellec b.bellec@gmail.com --- Problem still persists with current master (git-e8f8353). Tested on Evergreen.
The apitrace can be downloaded here : https://drive.google.com/file/d/0B7D2Y0QXFND2bUlVc1JyMHZKVWc (364 MB, md5sum 3e80394465612a7f29aced09ea02bd78)
https://bugs.freedesktop.org/show_bug.cgi?id=74863
--- Comment #5 from smoki smoki00790@gmail.com --- (In reply to comment #4)
Problem still persists with current master (git-e8f8353). Tested on Evergreen.
The apitrace can be downloaded here : https://drive.google.com/file/d/0B7D2Y0QXFND2bUlVc1JyMHZKVWc (364 MB, md5sum 3e80394465612a7f29aced09ea02bd78)
Just as info... can not reproduce it on radeonsi with this apitrace, seems like r600 only issue :).
https://bugs.freedesktop.org/show_bug.cgi?id=74863
--- Comment #6 from Benjamin Bellec b.bellec@gmail.com --- This is also not fixed on RV770.
https://bugs.freedesktop.org/show_bug.cgi?id=74863
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Marek Olšák maraeo@gmail.com --- Fixed by 8abdc3c4a9c81e359d5dc1694253b05dd5562c95. Closing.
dri-devel@lists.freedesktop.org