https://bugs.freedesktop.org/show_bug.cgi?id=101746
Bug ID: 101746 Summary: radeonsi: Kernel syscall lockup caused probably by GPU crash Product: Mesa Version: 17.1 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: tobi291019@gmail.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 132600 --> https://bugs.freedesktop.org/attachment.cgi?id=132600&action=edit dmesg with lockup warning at the end
An amdgpu syscall, called by plasmashell, appears to deadlock randomly and freeze X.org completely. Several graphics processes, plasmashell and X.org are left stuck in D-State. Everything else continues to operate correctly, including audio, networking, etc..
The issue seems to appear more frequently whilst running games, although I am unable to find any particular pattern to it.
Running Arch Linux with a custom compiled linux-zen kernel, Mesa 17.1.4 with Radeon RX 480. The issue has been around for a while and affects all 17.1.x releases so far, however I am not certain for how long it has been around. The issue is way too rare though for me to bisect the exact cause however.
Once I get another freeze I will see if I can get any userspace thread dumps from plasmashell and possibly other processes as well as any logs containing something interesting. (This may take anywhere from a few days to weeks due to the random nature of the lockup)
(Also, just to clarify, this is not directly related to https://bugs.freedesktop.org/show_bug.cgi?id=101294, this occured before and after that issue being fixed.)
Originally reported at, as this manifests itself in the kernel first: https://bugzilla.kernel.org/show_bug.cgi?id=196291
https://bugs.freedesktop.org/show_bug.cgi?id=101746
--- Comment #1 from Christian König deathsimple@vodafone.de --- For reference, checking on the fence status it looks like one of the SDMA engines is hung.
https://bugs.freedesktop.org/show_bug.cgi?id=101746
--- Comment #2 from Tobias Auerochs tobi291019@gmail.com --- Sadly could not find any useful information out of various process logs, in particular Xorg.0.log contains nothing error related. The only thing that is somewhat interesting is that some processes that ought to use OpenGL do not end up stuck in D state, whilst it appears only specifically plasmashell and Xorg get stuck. (Obviously no graphical output works on any other processes either anymore, nor can one switch virtual terminals anymore with Xorg being dead.)
If anyone knows any specific things that may be useful to debug, I can see if anything helps.
https://bugs.freedesktop.org/show_bug.cgi?id=101746
--- Comment #3 from Tobias Auerochs tobi291019@gmail.com --- I have not encountered the random hang for a while now (specifically after turning off slideshow in plasmashell) and am unaware of any reliable way to reproduce this exact issue, so not entirely sure if this report being left open is of much use.
However recently I also get a GPU crash by running Overwatch in wine (using a patched version), but as I said, I am not sure if this is even remotely related (besides both causing a GPU crash) at this time.
https://bugs.freedesktop.org/show_bug.cgi?id=101746
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED
--- Comment #4 from Timothy Arceri t_arceri@yahoo.com.au --- (In reply to Tobias Auerochs from comment #3)
I have not encountered the random hang for a while now (specifically after turning off slideshow in plasmashell) and am unaware of any reliable way to reproduce this exact issue, so not entirely sure if this report being left open is of much use.
In that case I'll close the bug. Thanks.
dri-devel@lists.freedesktop.org