https://bugs.freedesktop.org/show_bug.cgi?id=35095
Summary: [r300g] More screen corruption in WoW with HyperZ enabled. Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: rankincj@googlemail.com
There is now a large horizontal swathe of corruption across the middle of the entire screen. This corruption vanishes as soon as I stop exporting RADEON_HYPERZ.
This corruption appears with my M66GL (RV530 class) (but not with my RV350), and is very recent - probably since the most recent HyperZ patches. Basically, the corruption looks like lots of little tiles are missing from the picture.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #1 from Marek Olšák maraeo@gmail.com 2011-03-07 14:14:43 PST --- Hi Chris,
this is a known bug. Honestly I have no idea why the magic black line shows up. Please follow bug 33648 instead.
*** This bug has been marked as a duplicate of bug 33648 ***
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #2 from Chris Rankin rankincj@googlemail.com 2011-03-07 14:19:24 PST --- That tiny pencil-line of corruption in 33648 looks nothing like what I'm seeing.
WoW is looking more like someone has wiped away most of the tiles with a large paint brush. (Think: the width of the entire screen and one third of its height.)
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #3 from Marek Olšák maraeo@gmail.com 2011-03-07 14:23:56 PST --- Could you post a screenshot?
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #4 from Chris Rankin rankincj@googlemail.com 2011-03-08 13:15:50 PST --- Created an attachment (id=44249) --> (https://bugs.freedesktop.org/attachment.cgi?id=44249) Screenshot showing HyperZ corruption.
This corruption only seems to happen when playing full-screen, which (unfortunately) means 1920x1200.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
Chris Rankin rankincj@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44249|Screenshot showing HyperZ |Deleted. description|corruption. | Attachment #44249|0 |1 is obsolete| |
--- Comment #5 from Chris Rankin rankincj@googlemail.com 2011-03-08 13:21:00 PST --- (From update of attachment 44249) Deleted.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
Chris Rankin rankincj@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44249|Warcraft.jpeg | filename| |
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #6 from Marek Olšák maraeo@gmail.com 2011-03-08 14:25:28 PST --- Please enable HyperZ and try either of these:
RADEON_DEBUG=nozmask RADEON_DEBUG=nohiz
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #7 from Chris Rankin rankincj@googlemail.com 2011-03-08 15:13:22 PST --- The git commit that does this to WoW is:
d99ec708afbb785ce05031661222b38c9447059f is the first bad commit commit d99ec708afbb785ce05031661222b38c9447059f Author: Marek Olšák maraeo@gmail.com Date: Mon Feb 28 13:38:01 2011 +0100
r300g: fix HiZ memory size computation and deciding when to use HiZ
I removed the HiZ memory management, because the HiZ RAM is too small and I also did it in hope that HiZ will be enabled more often.
This also sets aligned strides to HIZ_PITCH and ZMASK_PITCH.
:040000 040000 06b80f252cf7a052ef8be4dd098fd90de5d4a4e7 9dea1e6fda15ca3704c9324157a6e43c15140396 M src
https://bugs.freedesktop.org/show_bug.cgi?id=35095
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r300g] More screen |[r300g] HiZ broken in WoW |corruption in WoW with | |HyperZ enabled. | Status|RESOLVED |REOPENED Resolution|DUPLICATE |
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #8 from Chris Rankin rankincj@googlemail.com 2011-03-08 15:24:28 PST --- (In reply to comment #6)
Please enable HyperZ and try either of these:
RADEON_DEBUG=nozmask
This makes no difference.
RADEON_DEBUG=nohiz
And this removes the corruption.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #9 from Marek Olšák maraeo@gmail.com 2011-05-14 18:40:57 PDT --- Could you test the latest Mesa master branch? There are some new HiZ fixes.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #10 from Chris Rankin rankincj@googlemail.com 2011-05-15 05:06:36 PDT --- (In reply to comment #9)
Could you test the latest Mesa master branch? There are some new HiZ fixes.
At best, those HiZ fixes didn't help. But I suspect the corrupt area on the login screen may actually be larger now.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #11 from Chris Rankin rankincj@googlemail.com 2011-06-23 00:55:35 PDT --- I've just retested WoW with HiZ enabled on my M66GL and the 2.6.39.1 kernel, and my dmesg log now fills up with these messages:
[drm:r100_cs_track_check] *ERROR* [drm] No buffer for z buffer ! [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
RADEON_DEBUG=nohiz "fixes" it still.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #12 from Chris Rankin rankincj@googlemail.com 2011-06-25 07:18:01 PDT --- (In reply to comment #11)
This is no longer happening with 2.6.39.2 kernel and latest Mesa from git. Original corruption has been restored.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #13 from Marek Olšák maraeo@gmail.com --- Is this still an issue with current Mesa git?
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #14 from Chris Rankin rankincj@googlemail.com --- (In reply to comment #13)
Is this still an issue with current Mesa git?
That's tricky: WoW has changed its login screen since I first reported this bug. And I'm going to need to upgrade to libdrm-2.4.40 in order to compile the latest Mesa anyway. (Fedora 17 only has 2.4.39).
https://bugs.freedesktop.org/show_bug.cgi?id=35095
--- Comment #15 from Chris Rankin rankincj@googlemail.com --- (In reply to comment #13)
Is this still an issue with current Mesa git?
I've just tested WoW on my M66GL (RV535?) with the latest Mesa which has head:
commit 54ff536823bf5a431efe1f2becdb21174c146948 Author: Marek Olšák maraeo@gmail.com Date: Sun Dec 2 22:22:39 2012 +0100
r300g: increment num_z_clears only if we have Hyper-Z
And it seems to work OK; no artifacts seen. Unfortunately, the new WoW login screen didn't have the problem that the previous one had anyway.
https://bugs.freedesktop.org/show_bug.cgi?id=35095
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |WORKSFORME
--- Comment #16 from Marek Olšák maraeo@gmail.com --- Ok. I guess you can't try the old login screen anymore, so I'll just close this bug. You can re-opened it if you encounter the same issue.
dri-devel@lists.freedesktop.org