https://bugs.freedesktop.org/show_bug.cgi?id=81020
Priority: medium Bug ID: 81020 Assignee: dri-devel@lists.freedesktop.org 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: daniel@constexpr.org 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 marek.olsak@amd.com 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
https://bugs.freedesktop.org/show_bug.cgi?id=81020
--- Comment #1 from Daniel Scharrer daniel@constexpr.org --- Created attachment 102396 --> https://bugs.freedesktop.org/attachment.cgi?id=102396&action=edit How the scene is supposed to look
https://bugs.freedesktop.org/show_bug.cgi?id=81020
--- Comment #2 from Daniel Scharrer daniel@constexpr.org --- Created attachment 102397 --> https://bugs.freedesktop.org/attachment.cgi?id=102397&action=edit Wireframe rendered above the user interface
https://bugs.freedesktop.org/show_bug.cgi?id=81020
--- Comment #3 from Daniel Scharrer daniel@constexpr.org --- Created attachment 102398 --> https://bugs.freedesktop.org/attachment.cgi?id=102398&action=edit White wireframe with 4xMSAA
https://bugs.freedesktop.org/show_bug.cgi?id=81020
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #102395|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=81020
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #102396|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=81020
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #102397|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=81020
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #102398|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=81020
--- Comment #4 from Marek Olšák maraeo@gmail.com --- Created attachment 102399 --> https://bugs.freedesktop.org/attachment.cgi?id=102399&action=edit possible fix
Does the attached patch fix the issue?
https://bugs.freedesktop.org/show_bug.cgi?id=81020
--- Comment #5 from Daniel Scharrer daniel@constexpr.org --- Yes, the attached patch fixes the issue for me.
https://bugs.freedesktop.org/show_bug.cgi?id=81020
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Marek Olšák maraeo@gmail.com --- Fixed by be536efe20d7d0969e6d5286fc488fcc1c403b6. Closing.
dri-devel@lists.freedesktop.org