From: bugzilla-daemon@freedesktop.org Subject: [Bug 111921] GPU crash on VegaM (amdgpu: The CS has been rejected) Date: Wed, 09 Oct 2019 10:43:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1315247594==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D6086E96E for ; Wed, 9 Oct 2019 10:43: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 --===============1315247594== Content-Type: multipart/alternative; boundary="15706177831.8D950Be.26665" Content-Transfer-Encoding: 7bit --15706177831.8D950Be.26665 Date: Wed, 9 Oct 2019 10:43:03 +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=3D111921 --- Comment #5 from R=C3=A9mi Verschelde --- (In reply to Andrey Grodzovsky from comment #4) > What happens if you disable GPU reset by loading the kernel with > amdgpu.gpu_recovery=3D0 ? Good point, I forgot to mention that I added `amdgpu.dc=3D0 amdgpu.gpu_recovery=3D1` in an attempt to work around this issue just before reproducing it again. So I can confirm that I could reproduce this issue bo= th without any amdgpu kernel parameters and with the above two. I now did some more testing with kernel 5.3.2 and `amdgpu.gpu_recovery=3D0` (removing the `amdgpu.dc=3D0` too). Initially I could not trigger the bug, = but I got it when letting the desktop environment (KDE) trigger its screensaver w= hile Godot was running on the AMD GPU. Once I resumed from the screensaver, the = GPU crashed (note: I did trigger suspend-to-RAM, the laptop was still powered). The dmesg output is attached. To compare, I did another test with kernel 5.1.20 (using `amdgpu.dc=3D0 amdgpu.gpu_recovery=3D1`), letting it go to sleep with Godot running on the= AMD GPU, and it resumed without crashing. I also attach the dmesg output for comparison. --=20 You are receiving this mail because: You are the assignee for the bug.= --15706177831.8D950Be.26665 Date: Wed, 9 Oct 2019 10:43:03 +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 # 5 on bug 11192= 1 from R=C3=A9mi Verschelde
(In reply to Andrey Grodzovsky from comment #4)
> What happens if you disable GPU reset by loading=
 the kernel with
> amdgpu.gpu_recovery=3D0 ?

Good point, I forgot to mention that I added `amdgpu.dc=3D0
amdgpu.gpu_recovery=3D1` in an attempt to work around this issue just before
reproducing it again. So I can confirm that I could reproduce this issue bo=
th
without any amdgpu kernel parameters and with the above two.

I now did some more testing with kernel 5.3.2 and `amdgpu.gpu_recovery=3D0`
(removing the `amdgpu.dc=3D0` too). Initially I could not trigger the bug, =
but I
got it when letting the desktop environment (KDE) trigger its screensaver w=
hile
Godot was running on the AMD GPU. Once I resumed from the screensaver, the =
GPU
crashed (note: I did trigger suspend-to-RAM, the laptop was still powered).

The dmesg output is attached.

To compare, I did another test with kernel 5.1.20 (using `amdgpu.dc=3D0
amdgpu.gpu_recovery=3D1`), letting it go to sleep with Godot running on the=
 AMD
GPU, and it resumed without crashing. I also attach the dmesg output for
comparison.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15706177831.8D950Be.26665-- --===============1315247594== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1315247594==--