regression - 17.2 sparkle grid in shadows
https://bugs.freedesktop.org/show_bug.cgi?id=102885
Bug ID: 102885
Summary: regression - 17.2 sparkle grid in shadows
Product: Mesa
Version: 17.2
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 134348
--> https://bugs.freedesktop.org/attachment.cgi?id=134348&action=edit
Ugly shaded areas
See attached image. While I was retesting many games in wine, I noticed that multiple games, when run in wine, show black background with dot grids instead of alpha blending, apparently. Reverting to 17.1.x fixed this. I haven't the patience or continuous power to my machine to git-bisect; the only thing I can help with is that it doesn't do this with LIBGL_ALWAYS_SOFTWARE=1, so it's likely a radeonsi bug rather than mesa core.
Hardware:
Device: AMD Radeon R7 Graphics (AMD CARRIZO / DRM 3.18.0 / 4.13.2-gentoo,
LLVM 5.0.0) (0x9874)
OpenGL renderer string: AMD Radeon R7 Graphics (AMD CARRIZO / DRM 3.18.0 / 4.13.2-gentoo, LLVM 5.0.0)
Note that this has been broken since the earliest rc I tried, also with earlier releases of the kernel and llvm, firmware from both before and after 06 Sept.
Apologies if this has already been reported; I can't really tell and it has been broken now for at least all rcs I've tried, 17.2 release, and 17.2.1.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #1 from Samuel Pitoiset <[email protected]> --- Can you record a trace with apitrace that reproduces the issue?
If not, which games are affected? What Wine version? Is CSMT enabled?
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #2 from Thomas J. Moore <[email protected]> --- (In reply to Samuel Pitoiset from comment #1)
Quoted 1 line
Can you record a trace with apitrace that reproduces the issue?
I could, I guess. I've never used the tool before, though, and have no idea how to trim it to the relevant part. I can't attach a 179MB trace file (109M
compressed). I tried trimming to just the relevant region(s), but it's screwy
at best, and mostly garbage in the replay, I doubt it's useful.
Quoted 1 line
If not, which games are affected? What Wine version? Is CSMT enabled?
I dunno. I erased my notes after I discovered at least 4 broken games; at that point, I realized that these problems only started around the later tests, where Mesa had been auto-updated to 17.2-some rc by my regular system updates, so I stopped blaming wine and tried reverting Mesa instead. The only ones I still remember are KOTOR (because it was worst) and Chains of Satinav. The attached picture is from the former; I test the presence of the bug using the latter, because KOTOR often has (unrelated) trouble starting up. Note that neither game shows this problem all the time: Satinav only shows it in the cursor when the cursor is over a selectable area, and KOTOR only shows it at certain viewing angles (I don't really know what the difference is). Both, and others that had issues, displayed brief flashes of dot grids at various other times as well. I currently use Wine 2.0.2, 2.15, 2.15-staging, and with/without gallium-d3d9. I can assure you that I tried all combinations of the above when I discovered it didn't work normally. 2.0.2 doesn't use csmt by default, and 2.15 does, so apparently csmt doesn't make a difference.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #3 from Samuel Pitoiset <[email protected]> --- Yeah, please upload the trace somewhere. You can use dropbox or some other similar services.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #4 from Thomas J. Moore <[email protected]> --- I said I wouldn't, but I went ahead and did a git-bisect:
878bd981bf7aac1466ba3278796f200fa329e2af is the first bad commit
If I have an opportunity later today, I may upload the trace file somewhere.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #5 from Thomas J. Moore <[email protected]> ---
I'm not sure I trust dropbox entirely (it's a bit invasive), but I went ahead and created an account to upload the trace file:
https://www.dropbox.com/s/uo6kllmpr1b5jrt/satinav.trace?dl=0
This is from Chains of Satinav. The sparkle grid appears in the large cursor in the middle of the screen when it's hovering over the ship's window. Normally it is grayish with a wave pattern over it, but when broken, it's just a sparkle grid. Please let me know if/when you're downloaded it, so I know it worked, and I can delete it.
Note that I got a trace from KOTOR as well, but it is not usably replayable, unlike this one.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #6 from Samuel Pitoiset <[email protected]> --- Thanks for the trace (and the bisect), I can reproduce the issue.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #7 from Samuel Pitoiset <[email protected]> --- A temporary workaround is to use R600_DEBUG="nodccfb".
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #8 from Thomas J. Moore <[email protected]> --- (In reply to Samuel Pitoiset from comment #7)
Quoted 1 line
A temporary workaround is to use R600_DEBUG="nodccfb".
Does the existence of this workaround mean you do not intend to fix the bug? Given that there have been 2 17.2 releases (and 17.3 is in rc2) since this was written, and the bug is still present, I guess so. Gentoo is making it really hard to retain my own workaround (don't upgrade to 17.2) due to its dependency on llvm-4, so I guess I'll just have to live with your workaround.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #9 from Samuel Pitoiset <[email protected]> --- No, the bug should be fixed. I just didn't have much time to work on it to be honest.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #10 from Thomas J. Moore <[email protected]> --- (In reply to Samuel Pitoiset from comment #9)
Quoted 2 lines
No, the bug should be fixed. I just didn't have much time to work on it to be honest.
OK, no hurry. It's not like it's corrupting memory or anything, and the workaround does work. I was just concerned it would never be fixed.
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #11 from Timothy Arceri <[email protected]> --- (In reply to Thomas J. Moore from comment #5)
Quoted 5 lines
I'm not sure I trust dropbox entirely (it's a bit invasive), but I went ahead and created an account to upload the trace file:
https://www.dropbox.com/s/uo6kllmpr1b5jrt/satinav.trace?dl=0
Quoted 8 lines
This is from Chains of Satinav. The sparkle grid appears in the large cursor in the middle of the screen when it's hovering over the ship's window. Normally it is grayish with a wave pattern over it, but when broken, it's just a sparkle grid. Please let me know if/when you're downloaded it, so I know it worked, and I can delete it.
Note that I got a trace from KOTOR as well, but it is not usably replayable, unlike this one.
Deleting the trace means no one else can investigate the bug. Is this still a problem?
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
--- Comment #12 from Timothy Arceri <[email protected]> --- Possibly a duplicate of bug 105152
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
https://bugs.freedesktop.org/show_bug.cgi?id=102885
Timothy Arceri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED--- Comment #14 from Timothy Arceri <[email protected]> ---
*** This bug has been marked as a duplicate of bug 105152 ***
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