Skip to contentSkip to conversation

New: [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

Bug 81020 [email protected] 1 participant 11 messages Jul 7, 2014 – Jul 8, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 81020
Assignee: [email protected]
Summary: [radeonsi][regresssion] Wireframe of background
rendered through objects in Half-Life 2: Episode 2 with MSAA enabled
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa

Created attachment 102395
--> https://bugs.freedesktop.org/attachment.cgi?id=102395&action=edit
Wireframe rendered above foreground geometry (8xMSAA)

Black pixels along the wireframe of background geometry is rendered in front of foreground geometry (even UI). The wireframe isn't visible all the time but instead flickers as if there is some kind of race condition.

This is reproducible with all MSAA levels that can be set in the game (2x, 4x, 6x and 8x) - however with 2x and 4xMSAA, the wireframe is white instead of black. Wit MSAA disabled everything is rendered correctly.

Happens as of commit f6db414f3ca2d692f262e3f5a38d4fcedbdf4f4f, does not happen with mesa 10.2.2.

Bisecting blames commit 501fee2511a0a84303319a5e3deacf4959da5b08

Author: Marek Olšák <[email protected]>
Date:   Tue May 6 13:48:11 2014 +0200

radeonsi: implement set_min_samples

This is how per-sample shading is enabled.

GPU: Radeon HD 7950 (OpenGL renderer string: Gallium 0.4 on AMD TAHITI) LLVM compiled from svn today (r202464)
GCC: 4.8.3
Distro: Gentoo

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 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

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

--- Comment #1 from Daniel Scharrer <[email protected]> --- Created attachment 102396
--> https://bugs.freedesktop.org/attachment.cgi?id=102396&action=edit
How the scene is supposed to look

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 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

--- Comment #2 from Daniel Scharrer <[email protected]> --- Created attachment 102397
--> https://bugs.freedesktop.org/attachment.cgi?id=102397&action=edit
Wireframe rendered above the user interface

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 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

--- Comment #3 from Daniel Scharrer <[email protected]> --- Created attachment 102398
--> https://bugs.freedesktop.org/attachment.cgi?id=102398&action=edit
White wireframe with 4xMSAA

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 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

Ilia Mirkin <[email protected]> changed:

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

 Attachment #102395|text/plain                  |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

#5 lore raw

[Bug 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

Ilia Mirkin <[email protected]> changed:

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

 Attachment #102396|text/plain                  |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

#6 lore raw

[Bug 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

Ilia Mirkin <[email protected]> changed:

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

 Attachment #102397|text/plain                  |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

#7 lore raw

[Bug 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

Ilia Mirkin <[email protected]> changed:

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

 Attachment #102398|text/plain                  |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

#8 lore raw

[Bug 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

--- Comment #4 from Marek Olšák <[email protected]> --- Created attachment 102399
--> https://bugs.freedesktop.org/attachment.cgi?id=102399&action=edit
possible fix

Does the attached patch fix 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

#9 lore raw

[Bug 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

--- Comment #5 from Daniel Scharrer <[email protected]> --- Yes, the attached patch fixes the issue for me.

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 81020] [radeonsi][regresssion] Wireframe of background rendered through objects in Half-Life 2: Episode 2 with MSAA enabled

In reply to [email protected]

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

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

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Marek Olšák <[email protected]> --- Fixed by be536efe20d7d0969e6d5286fc488fcc1c403b6. Closing.

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