From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 111921] GPU crash on VegaM (amdgpu: The CS has been rejected) Date: Tue, 08 Oct 2019 07:57:53 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0190008262==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D17C56E225 for ; Tue, 8 Oct 2019 07:57:53 +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 --===============0190008262== Content-Type: multipart/alternative; boundary="15705214730.dEf20.30984" Content-Transfer-Encoding: 7bit --15705214730.dEf20.30984 Date: Tue, 8 Oct 2019 07:57:53 +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 Bug ID: 111921 Summary: GPU crash on VegaM (amdgpu: The CS has been rejected) Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: not set Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: rverschelde@gmail.com Created attachment 145680 --> https://bugs.freedesktop.org/attachment.cgi?id=3D145680&action=3Dedit dmesg output after GPU crash with "amdgpu: The CS has been rejected" Might be related to bug 111860. In my case, the GPU crashes or fails to resume when I use the Godot Engine = FOSS application: https://github.com/godotengine/godot The application works fine for a time, but eventually it will freeze and th= is gets printed to the terminal: amdgpu: The CS has been rejected, see dmesg for more information (-2). amdgpu: The CS has been rejected, see dmesg for more information (-19). (attaching dmesg) At this point, I have to kill the application, and reboot if I want to use = the GPU again. This seems to happen mainly when alt-tabbing between Godot and the desktop = or terminal (both of which run on the Intel HD 630 IGP), so it might be an iss= ue with context switching? I don't have precise steps to reproduce yet apart from using Godot (debug b= uild from git master branch) and other applications in parallel, to eventually s= ee it crash within 5-10 min. I *think* the bug started to happen when I upgraded to kernel 5.2.x (now running 5.3.2, still having the bug). That's what bug 111860 claims too, so I'll attempt running 5.1.20 for a while to see if the bug still happens. System info: $ inxi CPU: Quad Core Intel Core i7-8705G (-MT MCP-) speed/min/max: 1347/800/4100 = MHz Kernel: 5.3.2-desktop-1.mga7 x86_64 Up: 2h 44m=20 Mem: 3451.1/15767.7 MiB (21.9%) Storage: 953.87 GiB (58.3% used) Procs: 241 Shell: bash 4.4.23 inxi: 3.0.33=20 $ inxi -G Graphics: Device-1: Intel HD Graphics 630 driver: i915 v: kernel=20 Device-2: Advanced Micro Devices [AMD/ATI] Polaris 22 XL [Radeon= RX Vega M GL] driver: amdgpu v: kernel=20 Display: x11 server: Mageia X.org 1.20.4 driver: amdgpu,intel FAILED: ati unloaded: fbdev,modesetting,vesa tty: N/A=20 OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)= v: 4.5 Mesa 19.1.7 --=20 You are receiving this mail because: You are the assignee for the bug.= --15705214730.dEf20.30984 Date: Tue, 8 Oct 2019 07:57:53 +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 111921
Summary GPU crash on VegaM (amdgpu: The CS has been rejected)
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority not set
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter rverschelde@gmail.com

Created attachment 145680 [details]
dmesg output after GPU crash with "amdgpu: The CS has been rejected&qu=
ot;

Might be related to bug 111860.

In my case, the GPU crashes or fails to resume when I use the Godot Engine =
FOSS
application: https://githu=
b.com/godotengine/godot

The application works fine for a time, but eventually it will freeze and th=
is
gets printed to the terminal:

amdgpu: The CS has been rejected, see dmesg for more information (-2).
amdgpu: The CS has been rejected, see dmesg for more information (-19).

(attaching dmesg)

At this point, I have to kill the application, and reboot if I want to use =
the
GPU again.

This seems to happen mainly when alt-tabbing between Godot and the desktop =
or
terminal (both of which run on the Intel HD 630 IGP), so it might be an iss=
ue
with context switching?

I don't have precise steps to reproduce yet apart from using Godot (debug b=
uild
from git master branch) and other applications in parallel, to eventually s=
ee
it crash within 5-10 min.

I *think* the bug started to happen when I upgraded to kernel 5.2.x (now
running 5.3.2, still having the bug). That's what bug 111860 claims too, so
I'll attempt running 5.1.20 for a while to see if the bug still happens.

System info:

$ inxi
CPU: Quad Core Intel Core i7-8705G (-MT MCP-) speed/min/max: 1347/800/4100 =
MHz
Kernel: 5.3.2-desktop-1.mga7 x86_64 Up: 2h 44m=20
Mem: 3451.1/15767.7 MiB (21.9%) Storage: 953.87 GiB (58.3% used) Procs: 241
Shell: bash 4.4.23 inxi: 3.0.33=20
$ inxi -G
Graphics:  Device-1: Intel HD Graphics 630 driver: i915 v: kernel=20
           Device-2: Advanced Micro Devices [AMD/ATI] Polaris 22 XL [Radeon=
 RX
Vega M GL] driver: amdgpu v: kernel=20
           Display: x11 server: Mageia X.org 1.20.4 driver: amdgpu,intel
FAILED: ati unloaded: fbdev,modesetting,vesa tty: N/A=20
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)=
 v:
4.5 Mesa 19.1.7


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