Rendering glitches in Life Is Strange
https://bugs.freedesktop.org/show_bug.cgi?id=98776
Bug ID: 98776
Summary: [regression] Rendering glitches in Life Is Strange
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 128065
--> https://bugs.freedesktop.org/attachment.cgi?id=128065&action=edit
Glitched car windows
The game Life Is Strange has various rendering glitches with current mesa master.
I have recorded an apitrace of the game:
http://constexpr.org/tmp/LifeIsStrange-radeonsi.trace.xz (124 MiB)
The trace contains garbage geometry that is not there in the game (probably due to persistent coherent mappings - the game crashes with MESA_EXTENSION_OVERRIDE=-GL_ARB_buffer_storage), but the glitched car windows seen in the screenshot are visible. I've tracked the origin of the glitches to e.g. draw call 4741838.
All of the glitches go away when reverting commit 74e39de "radeonsi: set IF_THRESHOLD to 3" while https://patchwork.freedesktop.org/patch/122101/ does not help, so this is likely related to bug #98761.
GPU: R9 380X (tonga)
Kernel: 4.8.7-gentoo
Mesa: git-0c85d2f
LLVM: r287273
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=98776
--- Comment #1 from Daniel Scharrer <[email protected]> --- Created attachment 128066
--> https://bugs.freedesktop.org/attachment.cgi?id=128066&action=edit
Glitched shoreline
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=98776
--- Comment #2 from Daniel Scharrer <[email protected]> --- Created attachment 128067
--> https://bugs.freedesktop.org/attachment.cgi?id=128067&action=edit
Glitched face
There are more examples of glitches that all look slightly different - however the glitches always affect the same objects and the glitch for each objects looks more or less the same for each run. All glitches that I have noticed are fixed by reverting the mentioned commit.
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=98776
--- Comment #3 from Daniel Scharrer <[email protected]> --- Reverting LLVM r286766 "AMDGPU: Implement SGPR spilling with scalar stores" (while not reverting anything in Mesa) also fixes the glitches.
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=98776
--- Comment #4 from Arek Ruśniak <[email protected]> ---
Daniel I can't reproduce this on verde/polaris probably this can be HW specific issue.
And I can't replay your trace because apitrace crashes with:
4108417: warning: region 0x7f26ce079000-0x7f26ce07a188 intersects existing region 0x7f26ce07a000-0x7f26ce07a120
glretrace: /build/apitrace/src/apitrace-7.1/retrace/retrace_swizzle.cpp:166:
std::map<long long unsigned int, retrace::Region>::iterator retrace::lookupRegion(long long unsigned int): Assertion `contains(it, address)' failed.
apitrace: warning: caught signal 6
4108425: error: caught an unhandled exceptionglretrace+0x234eec/usr/lib/libpthread.so.0+0x1107f/usr/lib/libc.so.6: gsignal+0xcf/usr/lib/libc.so.6: abort+0x169/usr/lib/libc.so.6+0x2bea6/usr/lib/libc.so.6: __assert_fail+0x41glretrace+0xd9efglretrace+0xe7cbglretrace+0xdb15glretrace+0xd7e8glretrace+0xc48bglretrace+0xcbe9glretrace+0xce91/usr/lib/libpthread.so.0+0x7453/usr/lib/libc.so.6: clone+0x5e
?
apitrace: info: taking default action for signal 6
Aborted (core dumped)
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=98776
Daniel Scharrer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #5 from Daniel Scharrer <[email protected]> --- Everything renders fine with LLVM r289080 and Mesa git-31f988a9d6.
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