Skip to contentSkip to conversation

New: [r300g] More screen corruption in WoW with HyperZ enabled.

Bug 35095 [email protected] 1 participant 19 messages Mar 7, 2011 – Dec 2, 2012

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

https://bugs.freedesktop.org/show_bug.cgi?id=35095

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Marek Olšák <[email protected]> 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 ***

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #2 from Chris Rankin <[email protected]> 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.)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #3 from Marek Olšák <[email protected]> 2011-03-07 14:23:56 PST --- Could you post a screenshot?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #4 from Chris Rankin <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

Chris Rankin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #44249|Screenshot showing HyperZ   |Deleted.
        description|corruption.                 |
  Attachment #44249|0                           |1
        is obsolete|                            |

--- Comment #5 from Chris Rankin <[email protected]> 2011-03-08 13:21:00 PST --- (From update of attachment 44249)
Deleted.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

Chris Rankin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #44249|Warcraft.jpeg               |
           filename|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #6 from Marek Olšák <[email protected]> 2011-03-08 14:25:28 PST --- Please enable HyperZ and try either of these:

RADEON_DEBUG=nozmask
RADEON_DEBUG=nohiz

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 35095] [r300g] More screen corruption in WoW with HyperZ enabled.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #7 from Chris Rankin <[email protected]> 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 <[email protected]>
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

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[r300g] More screen         |[r300g] HiZ broken in WoW
                   |corruption in WoW with      |
                   |HyperZ enabled.             |
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #8 from Chris Rankin <[email protected]> 2011-03-08 15:24:28 PST --- (In reply to comment #6)

Quoted 3 lines

Please enable HyperZ and try either of these:

RADEON_DEBUG=nozmask

This makes no difference.

Quoted 1 line

RADEON_DEBUG=nohiz

And this removes the corruption.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #9 from Marek Olšák <[email protected]> 2011-05-14 18:40:57 PDT --- Could you test the latest Mesa master branch? There are some new HiZ fixes.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #10 from Chris Rankin <[email protected]> 2011-05-15 05:06:36 PDT --- (In reply to comment #9)

Quoted 1 line

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #11 from Chris Rankin <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #12 from Chris Rankin <[email protected]> 2011-06-25 07:18:01 PDT --- (In reply to comment #11)

Quoted 5 lines

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 !

This is no longer happening with 2.6.39.2 kernel and latest Mesa from git. Original corruption has been restored.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #13 from Marek Olšák <[email protected]> --- Is this still an issue with current Mesa git?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #14 from Chris Rankin <[email protected]> --- (In reply to comment #13)

Quoted 1 line

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).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

--- Comment #15 from Chris Rankin <[email protected]> --- (In reply to comment #13)

Quoted 1 line

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 <[email protected]>
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw

[Bug 35095] [r300g] HiZ broken in WoW

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=35095

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #16 from Marek Olšák <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel