https://bugs.freedesktop.org/show_bug.cgi?id=107991
Bug ID: 107991 Summary: RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: kyle.devir@mykolab.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 141652 --> https://bugs.freedesktop.org/attachment.cgi?id=141652&action=edit dolphin-emu apitrace
I have successfully captured an apitrace that intercepted the crashy frame before the driver crashed.
The issues occur at very specific parts of Fire Emblem: Path of Radiance, where the frames / shaders / textures generated by dolphin-emu cause the driver to crash.
https://bugs.freedesktop.org/show_bug.cgi?id=107991
kyle.devir@mykolab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RX580 ~ ring gfx timeout ~ |RX580 ~ ring gfx timeout ~ |particular shaders created |particular shaders created |by a dolphin-emu game can |by a dolphin-emu game can |bring down AMDGPU |bring down AMDGPU ~ | |attached apitrace
https://bugs.freedesktop.org/show_bug.cgi?id=107991
--- Comment #1 from kyle.devir@mykolab.com --- I'm running Mesa master compiled with LLVM master, and kernel 4.18.8.
https://bugs.freedesktop.org/show_bug.cgi?id=107991
kyle.devir@mykolab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Mesa |DRI Component|Drivers/Gallium/radeonsi |DRM/AMDgpu Version|git |unspecified QA Contact|dri-devel@lists.freedesktop | |.org |
https://bugs.freedesktop.org/show_bug.cgi?id=107991
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|DRM/AMDgpu |Drivers/Gallium/radeonsi QA Contact| |dri-devel@lists.freedesktop | |.org Product|DRI |Mesa
--- Comment #2 from Michel Dänzer michel@daenzer.net --- FWIW, the apitrace doesn't hang the Bonaire card in my development box.
https://bugs.freedesktop.org/show_bug.cgi?id=107991
--- Comment #3 from kyle.devir@mykolab.com --- Hi Michel,
What kernel and Mesa drivers, and versions, are you using?
https://bugs.freedesktop.org/show_bug.cgi?id=107991
--- Comment #4 from Michel Dänzer michel@daenzer.net --- (In reply to kyle.devir from comment #3)
What kernel and Mesa drivers, and versions, are you using?
amdgpu from kernel 4.18.8 + DRM changes for 4.19, Mesa Git master + LLVM trunk.
It's likely a GPU specific issue in radeonsi.
https://bugs.freedesktop.org/show_bug.cgi?id=107991
--- Comment #5 from kyle.devir@mykolab.com ---
amdgpu from kernel 4.18.8 + DRM changes for 4.19
So, stable upstream plus patches, or is this the AMD Staging kernel?
It's likely a GPU specific issue in radeonsi.
I wonder if there's any way to narrow down this issue any further?
Apart from testing with your kernel config, anyways.
https://bugs.freedesktop.org/show_bug.cgi?id=107991
kyle.devir@mykolab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |git
https://bugs.freedesktop.org/show_bug.cgi?id=107991
--- Comment #6 from Rob Stolarz robert.stolarz@yandex.com --- I get the same crash (drm amdgpu ring gfx timeout) on an RX 480 in The Legend of Zelda: Twilight Princess (GameCube) with any combination of Arch's linux and linux-git packages, regular Mesa packages+vulkan-radeon and mesa-git, libdrm and libdrm-git, and dolphin-emu and dolphin-emu-git. This crash happens both in Vulkan and OpenGL render modes. It's also easy to reproduce, just start a new game and watch the first cutscene to completion.
Kyle's apitrace crashes my card as well.
I don't mind getting more data about this, I just don't know how to capture it.
If this happens in both Vulkan and OpenGL render modes, is it really a radeonsi issue?
https://bugs.freedesktop.org/show_bug.cgi?id=107991
kyle.devir@mykolab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RX580 ~ ring gfx timeout ~ |RX580 ~ ring gfx timeout ~ |particular shaders created |particular shaders created |by a dolphin-emu game can |by a dolphin-emu game can |bring down AMDGPU ~ |bring down AMDGPU with |attached apitrace |RadeonSI or RADV ~ attached | |apitrace
--- Comment #7 from kyle.devir@mykolab.com --- Ah, that'
https://bugs.freedesktop.org/show_bug.cgi?id=107991
kyle.devir@mykolab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Drivers/Gallium/radeonsi |Other QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org
dri-devel@lists.freedesktop.org