https://bugs.freedesktop.org/show_bug.cgi?id=33648
Summary: Black line in Lightsmark with Z compression enabled (RV530) Product: Mesa Version: git Platform: Other URL: http://dee.cz/lightsmark/Lightsmark2008.2.0.tar.bz2 OS/Version: All Status: NEW Severity: minor Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: drakkk@centrum.cz
After recent zbuffer compression rework Lightsmark is the only remaining app I've tested which is still not working properly here on RV530. There is a thick black line across the screen in some scenes, particularly: "no radiosity","soft shadows", "penumbra shadows" and the last scene. Maybe this is a known issue and there are many open bugs about HyperZ, however according to db299a9f8244d53d9041fcdbd396a77ebe1f9e3e comment RV530 should just work. So I'm reporting it isn't. Also this is not a regression, it was much worse before and this is the only remaining issue here.
To be sure this isn't HiZ issue I've changed line 367 in r300_chipset.c to "caps->hiz_ram = 0;" and it haven't changed anything. r300: AA compression: NO, Z compression: YES, HiZ: NO
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #1 from Pavel Ondračka drakkk@centrum.cz 2011-01-28 05:54:33 PST --- Created an attachment (id=42642) --> (https://bugs.freedesktop.org/attachment.cgi?id=42642) screenshot
https://bugs.freedesktop.org/show_bug.cgi?id=33648
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rankincj@googlemail.com
--- Comment #2 from Marek Olšák maraeo@gmail.com 2011-03-07 14:14:43 PST --- *** Bug 35095 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #3 from Marek Olšák maraeo@gmail.com 2011-03-07 14:15:31 PST --- Chris Rankin said it doesn't show up on RV350, so I guess it's RV530-specific.
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #4 from Marek Olšák maraeo@gmail.com 2011-03-07 14:17:46 PST --- Nope, the black line shows up on R580 too (4 pipes).
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #5 from Sven Arvidsson sa@whiz.se 2011-03-11 08:50:41 PST --- Created an attachment (id=44363) --> (https://bugs.freedesktop.org/attachment.cgi?id=44363) Lightsmark with upper part of the screen corrupt
RV570 here, and Lightsmark seems to be the last app with hyper z.
The upper part of the screen is corrupt when hz is enabled.
When RADEON_DEBUG=nozmask is used, the problem almost goes away, there's still some corruption in the upper right corner though.
With RADEON_DEBUG=nohiz I'm only getting the black line you guys described.
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #6 from Alan Swanson swanson@ukfsn.org 2011-03-22 06:34:29 PDT --- Created an attachment (id=44712) --> (https://bugs.freedesktop.org/attachment.cgi?id=44712) ut2004-zmask-corruption.jpg
Similarly on RV530 I'm seeing frequent (but relatively minor) corruption in UT2004 with a number of maps which appears to be triangular blocks of old scenes (not textures AFAICT). However these were not from previously rendered frames at same location.
Running "RADEON_DEBUG=nozmask" removes the corruption. Example screenshot has; - Under green DM_Junkyard label is thin line of another texture. - Under green ONS_ArticStronghold labels there is sky textures, which when standing on base platform appear in front or behind of alpha transparent textures.
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #7 from almos aaalmosss@gmail.com 2011-05-27 07:10:29 PDT --- (In reply to comment #6)
Similarly on RV530 I'm seeing frequent (but relatively minor) corruption in UT2004 with a number of maps which appears to be triangular blocks of old scenes (not textures AFAICT). However these were not from previously rendered frames at same location.
The skybox is rendered into those tiles (perhaps Z order is wrong?). It's very apparent on CTF-FaceClassic for example.
https://bugs.freedesktop.org/show_bug.cgi?id=33648
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Marek Olšák maraeo@gmail.com --- Lightsmark was fixed by the commit 0222b2bd4107b9e5cabfbc. Closing.
https://bugs.freedesktop.org/show_bug.cgi?id=33648
--- Comment #9 from Alan Swanson swanson@ukfsn.org --- To confirm, this also fixes the UT2004 zmask issues reported here too. Thanks.
dri-devel@lists.freedesktop.org