From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101746] radeonsi: Kernel syscall lockup caused probably by GPU crash Date: Mon, 10 Jul 2017 19:10:05 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0609393302==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 76AD06E232 for ; Mon, 10 Jul 2017 19:10:05 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0609393302== Content-Type: multipart/alternative; boundary="14997138050.3ffE24.22624"; charset="UTF-8" --14997138050.3ffE24.22624 Date: Mon, 10 Jul 2017 19:10:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101746 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=3D132600&action=3Dedit 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=3D101294, 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=3D196291 --=20 You are receiving this mail because: You are the assignee for the bug.= --14997138050.3ffE24.22624 Date: Mon, 10 Jul 2017 19:10:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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 att=
achment 132600 [details]
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=3D101294, this occured before and
after that issue being fixed.)

Originally reported at, as this manifests itself in the kernel first:
https://bu=
gzilla.kernel.org/show_bug.cgi?id=3D196291


You are receiving this mail because:
  • You are the assignee for the bug.
= --14997138050.3ffE24.22624-- --===============0609393302== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0609393302==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101746] radeonsi: Kernel syscall lockup caused probably by GPU crash Date: Mon, 10 Jul 2017 19:20:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0734965467==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 436396E235 for ; Mon, 10 Jul 2017 19:20:45 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0734965467== Content-Type: multipart/alternative; boundary="14997144450.fCcf2.24140"; charset="UTF-8" --14997144450.fCcf2.24140 Date: Mon, 10 Jul 2017 19:20:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101746 --- Comment #1 from Christian K=C3=B6nig --- For reference, checking on the fence status it looks like one of the SDMA engines is hung. --=20 You are receiving this mail because: You are the assignee for the bug.= --14997144450.fCcf2.24140 Date: Mon, 10 Jul 2017 19:20:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10174= 6 from Christian K=C3=B6nig
For reference, checking on the fence status it looks like one =
of the SDMA
engines is hung.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14997144450.fCcf2.24140-- --===============0734965467== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0734965467==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101746] radeonsi: Kernel syscall lockup caused probably by GPU crash Date: Fri, 14 Jul 2017 00:47:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1804965743==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B99A96E716 for ; Fri, 14 Jul 2017 00:47:03 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1804965743== Content-Type: multipart/alternative; boundary="14999932220.0DBcf29.2432"; charset="UTF-8" --14999932220.0DBcf29.2432 Date: Fri, 14 Jul 2017 00:47:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101746 --- Comment #2 from Tobias Auerochs --- 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 Xo= rg get stuck. (Obviously no graphical output works on any other processes eith= er 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --14999932220.0DBcf29.2432 Date: Fri, 14 Jul 2017 00:47:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10174= 6 from Tobias Auerochs
Sadly could not find any useful information out of various pro=
cess 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 Xo=
rg
get stuck. (Obviously no graphical output works on any other processes eith=
er
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.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14999932220.0DBcf29.2432-- --===============1804965743== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1804965743==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101746] radeonsi: Kernel syscall lockup caused probably by GPU crash Date: Fri, 22 Sep 2017 01:24:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0164511137==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 62A8989D02 for ; Fri, 22 Sep 2017 01:27:35 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0164511137== Content-Type: multipart/alternative; boundary="15060434710.Eb3Efb16f.1721"; charset="UTF-8" --15060434710.Eb3Efb16f.1721 Date: Fri, 22 Sep 2017 01:24:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101746 --- Comment #3 from Tobias Auerochs --- 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 rel= ated (besides both causing a GPU crash) at this time. --=20 You are receiving this mail because: You are the assignee for the bug.= --15060434710.Eb3Efb16f.1721 Date: Fri, 22 Sep 2017 01:24:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 10174= 6 from Tobias Auerochs
I have not encountered the random hang for a while now (specif=
ically 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 rel=
ated
(besides both causing a GPU crash) at this time.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15060434710.Eb3Efb16f.1721-- --===============0164511137== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0164511137==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101746] radeonsi: Kernel syscall lockup caused probably by GPU crash Date: Tue, 03 Apr 2018 05:42:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1033877284==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 10BDE6E28E for ; Tue, 3 Apr 2018 05:42:22 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1033877284== Content-Type: multipart/alternative; boundary="15227341420.b1AECE3a.9611" Content-Transfer-Encoding: 7bit --15227341420.b1AECE3a.9611 Date: Tue, 3 Apr 2018 05:42:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101746 Timothy Arceri changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED --- Comment #4 from Timothy Arceri --- (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. >=20 In that case I'll close the bug. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= --15227341420.b1AECE3a.9611 Date: Tue, 3 Apr 2018 05:42:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Timothy Arceri changed bug 10174= 6
What Removed Added
Resolution --- WORKSFORME
Status NEW RESOLVED

Commen= t # 4 on bug 10174= 6 from Timothy Arceri
(In reply to Tobias Auerochs from comment #3)
> I have not encountered the random hang for a whi=
le now (specifically after
> turning off slideshow in plasmashell) and am unaware of any reliable w=
ay 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.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15227341420.b1AECE3a.9611-- --===============1033877284== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1033877284==--