Skip to contentSkip to conversation

New: [r300g] Black gap artifacts when playing WoW

Bug 58033 [email protected] 1 participant 25 messages Dec 8, 2012 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 58033
Assignee: [email protected]
Summary: [r300g] Black gap artifacts when playing WoW
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: NEW
Version: git
Component: Drivers/DRI/r300
Product: Mesa

When playing WoW with the latest Mesa from git, sometimes black lines and gaps on the screen. These black spaces appear momentarily as I move around, like intense shadows. Sometimes, the entire screen appears to go blank.

export RADEON_DEBUG=nohiz makes no difference, and no "acquiring HyperZ" messages are printed on the console.

This is with a T60p laptop with a M66GL (RV535?) chip, running a 32 bit Linux 3.6.9 kernel.

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

#1 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

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

Chris Rankin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Drivers/Gallium/r300

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

#2 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #1 from Marek Olšák <[email protected]> ---
Try: RADEON_DEBUG=nozmask

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

#3 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #2 from Marek Olšák <[email protected]> --- Also try reverting the commit e866bd1adea2c3b4971ad68e69c6.

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

#4 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

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

Quoted 1 line

Also try reverting the commit e866bd1adea2c3b4971ad68e69c6.

I've tried this, and have also tried RADEON_DEBUG=nohiz,nozmask,nocbzb. However, I'm still seeing the problem. Interestingly, the problem does not happen with Fedora's "stock" Mesa drivers mesa-dri-drivers-8.0.4-1.fc17.i686.

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

#5 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #4 from Alex Deucher <[email protected]> --- Can you bisect?

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

author Reviewed-by Brian Paul
#6 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

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

Quoted 1 line

Can you bisect?

Apparently, this is the bad commit:

39737e17e7a61535a35669756161005a7a5c887b is the first bad commit commit 39737e17e7a61535a35669756161005a7a5c887b

Author: Marek Olšák <[email protected]>
Date:   Mon Dec 3 01:26:22 2012 +0100

st/dri: always allocate private depth-stencil buffers

This disables DRI2 sharing of zbuffers. The window zbuffer is allocated
just
like any other texture - through resource_create.

The idea of allocating a zbuffer through DRI2 isn't very useful with MSAA, where a single-sample zbuffer is useless.

IIRC, the Intel driver does the same thing.

:040000 040000 e8045e2d2c7e9a1ebd6eb1f22c93b97b9c3e8ce7
4deb5755e011d592366e6140bf385bfefe157f3f M src

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

#7 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #6 from Chris Rankin <[email protected]> --- This bug is still present after Marek's latest r300g commits: HEAD is

commit e3e1ffb2520498584ef402213d0c8aa4303a46a3

Author: Marek Olšák <[email protected]>
Date:   Mon Jan 14 05:51:05 2013 +0100

r300g: set a dummy vertex buffer in context_create

so that the driver doesn't crash if an app doesn't set any vertex buffers.

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

#8 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #7 from Tomasz P. <[email protected]> --- Marek Olšák post some patches on mailing list that implementing separate depth-stencil clear. Maybe they will help.

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

#9 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #8 from Chris Rankin <[email protected]> --- Still broken as of git HEAD:

commit ca39c0f94a4e3cc25b6cc9507fb729b85140733a

Author: Ian Romanick <[email protected]>
Date:   Wed Jan 16 15:34:49 2013 -0800

mesa/es3: Don't check dimensions in _mesa_es3_error_check_format_and_type

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

#10 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #9 from Marek Olšák <[email protected]> --- Could you please attach a screenshot showing the 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

#11 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

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

Quoted 1 line

Could you please attach a screenshot showing the issue?

Sorry, the corruption is not showing up which I press the "Print Screen" button. I shall attempt to describe instead:

Imagine moving towards a forest, with the trees in the centre of your screen. As you approach the forest, you expect the trees to get larger and appear to slide towards the left and right edges of your screen. (That's perfectly ordinary depth-perception). The corruption seems to be that nothing is immediately rendered where the trees used to be, leaving large black gaps. When you stop moving, the black gaps are quickly filled again.

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

#12 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #11 from Chris Rankin <[email protected]> --- Created attachment 73347
--> https://bugs.freedesktop.org/attachment.cgi?id=73347&action=edit
Screenshot of corruption in WoW

(In reply to comment #9)

Quoted 1 line

Could you please attach a screenshot showing the issue?

I've managed to capture a screenshot using GIMP instead of the Print Screen button.

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

#13 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #12 from Chris Rankin <[email protected]> --- Created attachment 73348
--> https://bugs.freedesktop.org/attachment.cgi?id=73348&action=edit
Screenshot of corruption in WoW

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

#14 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #13 from Chris Rankin <[email protected]> --- Created attachment 73349
--> https://bugs.freedesktop.org/attachment.cgi?id=73349&action=edit
More corruption in WoW

Another screenshot, to give you a better idea.

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

#15 lore raw

[Bug 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

Chris Rankin <[email protected]> changed:

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

  Attachment #73348|image/png                   |image/jpeg
          mime type|                            |
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 58033] [r300g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #14 from Chris Rankin <[email protected]> --- Created attachment 73350
--> https://bugs.freedesktop.org/attachment.cgi?id=73350&action=edit
Yet more corruption in WoW

All of these screenshots were taken while moving. The corruption disappears in a stationary shot.

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 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

Chris Rankin <[email protected]> changed:

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

            Summary|[r300g] Black gap artifacts |[r300g][r600g] Black gap
                   |when playing WoW            |artifacts when playing WoW
          Component|Drivers/Gallium/r300        |Drivers/Gallium/r600
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 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #15 from Chris Rankin <[email protected]> --- I've just upgraded one of my 32 bit boxes to Fedora 18, which has allowed me to compile Mesa git here. And I can now report that the corruption happens with an RV730 chip too.

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

#19 lore raw

[Bug 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #16 from Chris Rankin <[email protected]> --- My CAICOS (HD6450) is not affected by this bug (64 bit).

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

#20 lore raw

[Bug 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #17 from Chris Rankin <[email protected]> --- My RV790 (HD4890) is also unaffected by this bug. And this box is 64 bit too. Could it just be a coincidence that both of my affected boxes are 32 bit?

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

#21 lore raw

[Bug 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #18 from Chris Rankin <[email protected]> --- This bug is still happening on my 32 bit T60p after #66921 has been fixed.

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

#22 lore raw

[Bug 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

--- Comment #19 from Tomasz P. <[email protected]> --- (In reply to comment #15)

Quoted 3 lines

I've just upgraded one of my 32 bit boxes to Fedora 18, which has allowed me to compile Mesa git here. And I can now report that the corruption happens with an RV730 chip too.

This corruption appears with all shader backends (sb,llvm,sb+llvm) ?

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

#23 lore raw

[Bug 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

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

Quoted 1 line

This corruption appears with all shader backends (sb,llvm,sb+llvm) ?

Actually, the RV730 corruption has changed: instead of the "shadow-like" artifacts, the window beneath the UI briefly turns completely black instead. (Or sometime completely blue - I guess it depends on my location in the game).

This corruptions happens both with and without RADEON_DEBUG=nosb.

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

#24 lore raw

[Bug 58033] [r300g][r600g] Black gap artifacts when playing WoW

In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #21 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/427.

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

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