AMDGPU white glitches in some games
https://bugs.freedesktop.org/show_bug.cgi?id=98578
Lukas Jirkovsky <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected]. |[email protected] |org |.org Component|Drivers/Vulkan/radeon |Drivers/Gallium/radeonsi QA Contact|[email protected]. |[email protected] |org |.org
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=98578
--- Comment #1 from Lukas Jirkovsky <[email protected]> --- Created attachment 127733
--> https://bugs.freedesktop.org/attachment.cgi?id=127733&action=edit
glxinfo
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=98578
--- Comment #2 from Nicolai Hähnle <[email protected]> --- Hi Lukas, thanks for the report. People often use Google Drive to upload traces, that would be helpful.
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=98578
--- Comment #3 from Andy Furniss <[email protected]> --- (In reply to Nicolai Hähnle from comment #2)
Quoted 2 lines
Hi Lukas, thanks for the report. People often use Google Drive to upload traces, that would be helpful.
I recently files a LLVM bug that looks similar(ish) corruption wise (small squares). If this started recently then maybe it's -
https://llvm.org/bugs/show_bug.cgi?id=30894
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=98578
--- Comment #4 from Lukas Jirkovsky <[email protected]> --- I was able to get a smaller trace:
https://drive.google.com/open?id=0B2YvkwbBDwKYY1pPaUh0T1dlWjQ
The glitch appears on the last frame on the top of the tower for me. See the attached screenshot.
I can't tell for sure, but according to the update logs it must have been occurring with llvm 282xxx, too.
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=98578
--- Comment #5 from Lukas Jirkovsky <[email protected]> --- Created attachment 127735
--> https://bugs.freedesktop.org/attachment.cgi?id=127735&action=edit
the glitch on the last frame of the trace
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=98578
--- Comment #6 from Lukas Jirkovsky <[email protected]> --- Another trace (a big one), this time from Dreamfall Chapters. There are some small white glitches throughout the trace (which look a bit different than the reported glitch), but at the end of the trace there's supposed to be a liquid dripping and it's all covered with white specks. It may be a different problem, but it looks very similar to the one in Ethan Carter.
https://drive.google.com/open?id=0B2YvkwbBDwKYTzI4Q2V6QzNSWXM
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=98578
--- Comment #7 from Nicolai Hähnle <[email protected]> --- Thanks for the trace, I can reproduce this and will look into it.
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=98578
--- Comment #8 from Nicolai Hähnle <[email protected]> ---
This took a while to track down. There is a shader (source @9633678, linked into program 1127) which relies on -inf * +F == -inf. LLVM transforms the shader in such a way that the result becomes a NaN instead (visible at a single pixel @ 953,0 in the final frame of the trimmed trace at @14722003), which then propagates to an ugly white square in post-processing. The LLVM transform is simply incorrect and fixed by https://reviews.llvm.org/D26602.
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=98578
--- Comment #9 from Lukas Jirkovsky <[email protected]> --- Nicolai, you are awesome! I tried the patch and haven't seen a single glitch in The Vanishing of Ethan Carter.
I noticed one interesting thing. With current llvm (r286840), I got glitches all over the screen making the game absolutely unplayable. However, with your patch, all glitches (both old and the new) are fixed.
I tried Dreamfall Chapters, too. However, it's seriously broken with current llvm, so I can't provide any results. But given the fact Ethan Carter works fine with the patch, it's likely it's a different issue after all.
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=98578
Nicolai Hähnle <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #10 from Nicolai Hähnle <[email protected]> --- Fixed in LLVM trunk r288506.
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