From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Sat, 24 Nov 2018 20:41:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1809399074==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 67C4289FD4 for ; Sat, 24 Nov 2018 20:41:30 +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 --===============1809399074== Content-Type: multipart/alternative; boundary="15430920900.CeadbC7D.22928" Content-Transfer-Encoding: 7bit --15430920900.CeadbC7D.22928 Date: Sat, 24 Nov 2018 20:41:30 +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=3D108854 Bug ID: 108854 Summary: [polaris11] - Failed GPU reset after hang Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: tseewald@gmail.com Created attachment 142604 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142604&action=3Dedit dmesg showing the hang and failed gpu reset Problem: While running RuneLite [1] with GPU acceleration enabled, the system hangs after several minutes of seemingly normal operation. Once the GPU hangs, it attempts to reset itself but fails with the following message: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125! This hang causes the system to lock up and ssh is the only access possible. There is no graphical corruption, the displays are simply frozen. System Information: GPU: POLARIS11 - RX 560 4GB (1002:67ff) Mesa: 18.0.5 X11: 1.19.6 Firmware files should be the latest as I've pulled them from adg5f's repo [= 2]. Kernel parameters: "quiet splash scsi_mod.use_blk_mq=3D1 apparmor=3D2 security=3Dapparmor amdgpu.gpu_recovery=3D1 spectre_v2=3Doff" I have reproduced this issue on: 4.20-rc3 amd-staging-drm-next (as of commit 1179994039abc10aab0d2f0ecfc4c65dfbd77438) [1] https://github.com/runelite/runelite [2] https://people.freedesktop.org/~agd5f/radeon_ucode/ --=20 You are receiving this mail because: You are the assignee for the bug.= --15430920900.CeadbC7D.22928 Date: Sat, 24 Nov 2018 20:41:30 +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 108854
Summary [polaris11] - Failed GPU reset after hang
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter tseewald@gmail.com

Created attachment 142604 [details]
dmesg showing the hang and failed gpu reset

Problem:

While running RuneLite [1] with GPU acceleration enabled, the system hangs
after  several minutes of seemingly normal operation. Once the GPU hangs, it
attempts to reset itself but fails with the following message:

[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!

This hang causes the system to lock up and ssh is the only access possible.
There is no graphical corruption, the displays are simply frozen.

System Information:

GPU: POLARIS11 - RX 560 4GB (1002:67ff)
Mesa: 18.0.5
X11: 1.19.6
Firmware files should be the latest as I've pulled them from adg5f's repo [=
2].

Kernel parameters: "quiet splash scsi_mod.use_blk_mq=3D1 apparmor=3D2
security=3Dapparmor amdgpu.gpu_recovery=3D1 spectre_v2=3Doff"

I have reproduced this issue on:

4.20-rc3
amd-staging-drm-next (as of commit 1179994039abc10aab0d2f0ecfc4c65dfbd77438)

[1] https://github.com/run=
elite/runelite
[2] https:/=
/people.freedesktop.org/~agd5f/radeon_ucode/


You are receiving this mail because:
  • You are the assignee for the bug.
= --15430920900.CeadbC7D.22928-- --===============1809399074== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1809399074==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Sat, 01 Dec 2018 18:17:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1478536161==" 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 E3BB46E017 for ; Sat, 1 Dec 2018 18:17:01 +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 --===============1478536161== Content-Type: multipart/alternative; boundary="15436882210.FCcFde.4947" Content-Transfer-Encoding: 7bit --15436882210.FCcFde.4947 Date: Sat, 1 Dec 2018 18:17:01 +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=3D108854 --- Comment #1 from Tom Seewald --- I can confirm this is still happening on 4.20-rc4 as well as with more up to date userspace software. libdrm: 3.27.0 Mesa: 18.2.4 The hangs can be reliably reproduced at least as far back as kernel 4.15 so= I am not confident I can bisect this. Here is a dump of my card's firmware information in case I missed an update. # cat /sys/kernel/debug/dri/1/amdgpu_firmware_info VCE feature version: 0, firmware version: 0x34040300 UVD feature version: 0, firmware version: 0x01821000 MC feature version: 0, firmware version: 0x00000000 ME feature version: 47, firmware version: 0x000000a2 PFP feature version: 47, firmware version: 0x000000f0 CE feature version: 47, firmware version: 0x00000089 RLC feature version: 1, firmware version: 0x00000035 RLC SRLC feature version: 0, firmware version: 0x00000000 RLC SRLG feature version: 0, firmware version: 0x00000000 RLC SRLS feature version: 0, firmware version: 0x00000000 MEC feature version: 47, firmware version: 0x000002cb MEC2 feature version: 47, firmware version: 0x000002cb SOS feature version: 0, firmware version: 0x00000000 ASD feature version: 0, firmware version: 0x00000000 SMC feature version: 0, firmware version: 0x001d0900 SDMA0 feature version: 31, firmware version: 0x00000036 SDMA1 feature version: 0, firmware version: 0x00000036 VCN feature version: 0, firmware version: 0x00000000 DMCU feature version: 0, firmware version: 0x00000000 VBIOS version: 113-C98121-M01 Would umr[1] be useful here? I have not used it before, so I'd need some guidance on what arguments would produce output relevant to this hang. Any help is appreciated. [1] https://cgit.freedesktop.org/amd/umr/ --=20 You are receiving this mail because: You are the assignee for the bug.= --15436882210.FCcFde.4947 Date: Sat, 1 Dec 2018 18:17:01 +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 10885= 4 from Tom Seewald
I can confirm this is still happening on 4.20-rc4 as well as w=
ith more up to
date userspace software.

libdrm: 3.27.0
Mesa: 18.2.4

The hangs can be reliably reproduced at least as far back as kernel 4.15 so=
 I
am not confident I can bisect this.

Here is a dump of my card's firmware information in case I missed an update.

# cat /sys/kernel/debug/dri/1/amdgpu_firmware_info

VCE feature version: 0, firmware version: 0x34040300
UVD feature version: 0, firmware version: 0x01821000
MC feature version: 0, firmware version: 0x00000000
ME feature version: 47, firmware version: 0x000000a2
PFP feature version: 47, firmware version: 0x000000f0
CE feature version: 47, firmware version: 0x00000089
RLC feature version: 1, firmware version: 0x00000035
RLC SRLC feature version: 0, firmware version: 0x00000000
RLC SRLG feature version: 0, firmware version: 0x00000000
RLC SRLS feature version: 0, firmware version: 0x00000000
MEC feature version: 47, firmware version: 0x000002cb
MEC2 feature version: 47, firmware version: 0x000002cb
SOS feature version: 0, firmware version: 0x00000000
ASD feature version: 0, firmware version: 0x00000000
SMC feature version: 0, firmware version: 0x001d0900
SDMA0 feature version: 31, firmware version: 0x00000036
SDMA1 feature version: 0, firmware version: 0x00000036
VCN feature version: 0, firmware version: 0x00000000
DMCU feature version: 0, firmware version: 0x00000000
VBIOS version: 113-C98121-M01

Would umr[1] be useful here? I have not used it before, so I'd need some
guidance on what arguments would produce output relevant to this hang.

Any help is appreciated.

[1] https://cgit.freedesk=
top.org/amd/umr/


You are receiving this mail because:
  • You are the assignee for the bug.
= --15436882210.FCcFde.4947-- --===============1478536161== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1478536161==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Sat, 08 Dec 2018 18:20:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0558315132==" 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 067EB6E588 for ; Sat, 8 Dec 2018 18:20: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 --===============0558315132== Content-Type: multipart/alternative; boundary="15442932340.b110.29041" Content-Transfer-Encoding: 7bit --15442932340.b110.29041 Date: Sat, 8 Dec 2018 18:20:34 +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=3D108854 --- Comment #2 from Tom Seewald --- Created attachment 142754 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142754&action=3Dedit dmesg of 4.20-rc5 with drm.debug=3D0xe --=20 You are receiving this mail because: You are the assignee for the bug.= --15442932340.b110.29041 Date: Sat, 8 Dec 2018 18:20:34 +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 10885= 4 from Tom Seewald
Created a=
ttachment 142754 [details]
dmesg of 4.20-rc5 with drm.debug=3D0xe


You are receiving this mail because:
  • You are the assignee for the bug.
= --15442932340.b110.29041-- --===============0558315132== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0558315132==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Sat, 08 Dec 2018 18:27:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2020271712==" 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 275BA6E72D for ; Sat, 8 Dec 2018 18:27:07 +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 --===============2020271712== Content-Type: multipart/alternative; boundary="15442936270.48B6Db.31122" Content-Transfer-Encoding: 7bit --15442936270.48B6Db.31122 Date: Sat, 8 Dec 2018 18:27:07 +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=3D108854 --- Comment #3 from Tom Seewald --- Installed the new Polaris firmware released on December 3rd, however that doesn't appear to affect my card as the content of /sys/kernel/debug/dri/1/amdgpu_firmware_info is unchanged. Upgraded to Mesa 18.3.0 from 18.2.4 - no change. Added dmesg of 4.20-rc5 with drm.debug=3D0xe, showing the hang. It now prin= ts hung kernel tasks backtraces rather than "[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!". I've also included the power management information before and after the GPU hang. /sys/kernel/debug/dri/1/amdgpu_pm_info *before* GPU hang: Clock Gating Flags Mask: 0x3fbcf Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: On Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: On Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: On Graphics Run List Controller Light Sleep: On Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: On Memory Controller Medium Grain Clock Gating: On System Direct Memory Access Light Sleep: Off System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: On Video Compression Engine Medium Grain Clock Gating: On Host Data Path Light Sleep: On Host Data Path Medium Grain Clock Gating: On Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: On Data Fabric Medium Grain Clock Gating: Off GFX Clocks and Power: 1750 MHz (MCLK) 1196 MHz (SCLK) 387 MHz (PSTATE_SCLK) 625 MHz (PSTATE_MCLK) 993 mV (VDDGFX) 20.30 W (average GPU) GPU Temperature: 38 C GPU Load: 0 % UVD: Disabled VCE: Disabled /sys/kernel/debug/dri/1/amdgpu_pm_info *after* GPU hang: Clock Gating Flags Mask: 0x6400 Graphics Medium Grain Clock Gating: Off Graphics Medium Grain memory Light Sleep: Off Graphics Coarse Grain Clock Gating: Off Graphics Coarse Grain memory Light Sleep: Off Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: Off Graphics Run List Controller Light Sleep: Off Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: Off Memory Controller Medium Grain Clock Gating: Off System Direct Memory Access Light Sleep: On System Direct Memory Access Medium Grain Clock Gating: Off Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: Off Unified Video Decoder Medium Grain Clock Gating: On Video Compression Engine Medium Grain Clock Gating: On Host Data Path Light Sleep: Off Host Data Path Medium Grain Clock Gating: Off Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: Off Data Fabric Medium Grain Clock Gating: Off GFX Clocks and Power: 1750 MHz (MCLK) 1196 MHz (SCLK) 387 MHz (PSTATE_SCLK) 625 MHz (PSTATE_MCLK) 993 mV (VDDGFX) 28.186 W (average GPU) GPU Temperature: 42 C GPU Load: 100 % UVD: Disabled VCE: Disabled --=20 You are receiving this mail because: You are the assignee for the bug.= --15442936270.48B6Db.31122 Date: Sat, 8 Dec 2018 18:27:07 +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 10885= 4 from Tom Seewald
Installed the new Polaris firmware released on December 3rd, h=
owever that
doesn't appear to affect my card as the content of
/sys/kernel/debug/dri/1/amdgpu_firmware_info is unchanged.

Upgraded to Mesa 18.3.0 from 18.2.4 - no change.

Added dmesg of 4.20-rc5 with drm.debug=3D0xe, showing the hang. It now prin=
ts
hung kernel tasks backtraces rather than "[drm:amdgpu_cs_ioctl [amdgpu=
]]
*ERROR* Failed to initialize parser -125!".

I've also included the power management information before and after the GPU
hang.

/sys/kernel/debug/dri/1/amdgpu_pm_info *before* GPU hang:

Clock Gating Flags Mask: 0x3fbcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: On
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        1750 MHz (MCLK)
        1196 MHz (SCLK)
        387 MHz (PSTATE_SCLK)
        625 MHz (PSTATE_MCLK)
        993 mV (VDDGFX)
        20.30 W (average GPU)

GPU Temperature: 38 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled


/sys/kernel/debug/dri/1/amdgpu_pm_info *after* GPU hang:

Clock Gating Flags Mask: 0x6400
        Graphics Medium Grain Clock Gating: Off
        Graphics Medium Grain memory Light Sleep: Off
        Graphics Coarse Grain Clock Gating: Off
        Graphics Coarse Grain memory Light Sleep: Off
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: Off
        Graphics Run List Controller Light Sleep: Off
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: Off
        Memory Controller Medium Grain Clock Gating: Off
        System Direct Memory Access Light Sleep: On
        System Direct Memory Access Medium Grain Clock Gating: Off
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: Off
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: Off
        Host Data Path Medium Grain Clock Gating: Off
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: Off
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        1750 MHz (MCLK)
        1196 MHz (SCLK)
        387 MHz (PSTATE_SCLK)
        625 MHz (PSTATE_MCLK)
        993 mV (VDDGFX)
        28.186 W (average GPU)

GPU Temperature: 42 C
GPU Load: 100 %

UVD: Disabled

VCE: Disabled


You are receiving this mail because:
  • You are the assignee for the bug.
= --15442936270.48B6Db.31122-- --===============2020271712== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2020271712==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 16:54:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0438275722==" 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 0D98E6EAAA for ; Mon, 14 Jan 2019 16:54:18 +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 --===============0438275722== Content-Type: multipart/alternative; boundary="15474848570.b82f6.15685" Content-Transfer-Encoding: 7bit --15474848570.b82f6.15685 Date: Mon, 14 Jan 2019 16:54:17 +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=3D108854 --- Comment #4 from Tom Seewald --- Created attachment 143107 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143107&action=3Dedit amd-drm-staging-next dmesg as of January 14th 2019 --=20 You are receiving this mail because: You are the assignee for the bug.= --15474848570.b82f6.15685 Date: Mon, 14 Jan 2019 16:54:17 +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 # 4 on bug 10885= 4 from Tom Seewald
Created attachment 143107 [details]
amd-drm-staging-next dmesg as of January 14th 2019


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474848570.b82f6.15685-- --===============0438275722== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0438275722==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 16:55:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1677704966==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CB4A26E36F for ; Mon, 14 Jan 2019 16:55:19 +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 --===============1677704966== Content-Type: multipart/alternative; boundary="15474849190.fc9f9143.16272" Content-Transfer-Encoding: 7bit --15474849190.fc9f9143.16272 Date: Mon, 14 Jan 2019 16:55:19 +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=3D108854 --- Comment #5 from Tom Seewald --- Created attachment 143108 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143108&action=3Dedit UMR wave dump as of January 14th 2019 --=20 You are receiving this mail because: You are the assignee for the bug.= --15474849190.fc9f9143.16272 Date: Mon, 14 Jan 2019 16:55:19 +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 10885= 4 from Tom Seewald
Created at=
tachment 143108 [details]
UMR wave dump as of January 14th 2019


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474849190.fc9f9143.16272-- --===============1677704966== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1677704966==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 16:55:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0445077130==" 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 8F6FE6EAAC for ; Mon, 14 Jan 2019 16:55:56 +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 --===============0445077130== Content-Type: multipart/alternative; boundary="15474849560.d3d24A18.16272" Content-Transfer-Encoding: 7bit --15474849560.d3d24A18.16272 Date: Mon, 14 Jan 2019 16:55:56 +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=3D108854 --- Comment #6 from Tom Seewald --- Created attachment 143109 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143109&action=3Dedit UMR gfx ring dump as of January 14th 2019 --=20 You are receiving this mail because: You are the assignee for the bug.= --15474849560.d3d24A18.16272 Date: Mon, 14 Jan 2019 16:55:56 +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 # 6 on bug 10885= 4 from Tom Seewald
Created [details]
UMR gfx ring dump as of January 14th 2019


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474849560.d3d24A18.16272-- --===============0445077130== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0445077130==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 16:57:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1276669591==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D6096EAAF for ; Mon, 14 Jan 2019 16:57:02 +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 --===============1276669591== Content-Type: multipart/alternative; boundary="15474850210.9D5FAD5A.14752" Content-Transfer-Encoding: 7bit --15474850210.9D5FAD5A.14752 Date: Mon, 14 Jan 2019 16:57:01 +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=3D108854 --- Comment #7 from Tom Seewald --- Created attachment 143110 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143110&action=3Dedit UMR gpu info --=20 You are receiving this mail because: You are the assignee for the bug.= --15474850210.9D5FAD5A.14752 Date: Mon, 14 Jan 2019 16:57:01 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474850210.9D5FAD5A.14752-- --===============1276669591== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1276669591==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 17:05:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1515254564==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 197616EAC3 for ; Mon, 14 Jan 2019 17:05:14 +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 --===============1515254564== Content-Type: multipart/alternative; boundary="15474855140.453B0.19093" Content-Transfer-Encoding: 7bit --15474855140.453B0.19093 Date: Mon, 14 Jan 2019 17:05:14 +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=3D108854 --- Comment #8 from Tom Seewald --- I've reproduced this issue on amd-staging-drm-next and have attached a UMR = wave and gfx ring dump, along with a new dmesg. To clarify, this issue also prevents me from rebooting/shutting down my computer, and I am forced to ho= ld the power button. Here are the version strings of the relevant software I'm running: Kernel: amd-staging-drm-next (commit: d2d07f246b126b23d02af0603b83866a3c3e2= 483) Mesa: 18.3.1 Xorg: 1.19.6 UMR: 016bc2e93af2cac7a9bd790f7fcacb1ffdadc819 This is my first attempt at using UMR to get information about this system hang. I'm essentially just copying what Andrey Grodzovsky suggested in a previous thread[0]. Here are the umr commands used to gather the information: Waves dump: umr -i 1 -O verbose,halt_waves -wa GFX ring dump: umr -i 1 -O verbose,follow -R gfx[.] GFX info: umr -i 1 -e I've attached the output of these to the bugzilla report. [0] https://lists.freedesktop.org/archives/amd-gfx/2018-December/029790.html --=20 You are receiving this mail because: You are the assignee for the bug.= --15474855140.453B0.19093 Date: Mon, 14 Jan 2019 17:05:14 +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 # 8 on bug 10885= 4 from Tom Seewald
I've reproduced this issue on amd-staging-drm-next and have at=
tached a UMR wave
and gfx ring dump, along with a new dmesg.  To clarify, this issue also
prevents me from rebooting/shutting down my computer, and I am forced to ho=
ld
the power button.

Here are the version strings of the relevant software I'm running:

Kernel: amd-staging-drm-next (commit: d2d07f246b126b23d02af0603b83866a3c3e2=
483)
Mesa: 18.3.1
Xorg: 1.19.6
UMR: 016bc2e93af2cac7a9bd790f7fcacb1ffdadc819

This is my first attempt at using UMR to get information about this system
hang.  I'm essentially just copying what Andrey Grodzovsky suggested in a
previous thread[0].

Here are the umr commands used to gather the information:

Waves dump: umr -i 1 -O verbose,halt_waves -wa

GFX ring dump: umr -i 1 -O verbose,follow -R gfx[.]

GFX info: umr -i 1 -e

I've attached the output of these to the bugzilla report.

[0] https://lists.freedesktop.org/archives/amd-gfx/2018-December/=
029790.html


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474855140.453B0.19093-- --===============1515254564== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1515254564==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 17:42:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1401224158==" 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 AC2786EAE4 for ; Mon, 14 Jan 2019 17:42:57 +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 --===============1401224158== Content-Type: multipart/alternative; boundary="15474877770.FBaC.31845" Content-Transfer-Encoding: 7bit --15474877770.FBaC.31845 Date: Mon, 14 Jan 2019 17:42:57 +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=3D108854 --- Comment #9 from Tom Seewald --- I temporarily upgraded to Xorg 1.20, and the issue still occurs. --=20 You are receiving this mail because: You are the assignee for the bug.= --15474877770.FBaC.31845 Date: Mon, 14 Jan 2019 17:42:57 +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 # 9 on bug 10885= 4 from Tom Seewald
I temporarily upgraded to Xorg 1.20, and the issue still occur=
s.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474877770.FBaC.31845-- --===============1401224158== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1401224158==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - Failed GPU reset after hang Date: Mon, 14 Jan 2019 17:43:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1844617447==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 571BF6EAE7 for ; Mon, 14 Jan 2019 17:43:46 +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 --===============1844617447== Content-Type: multipart/alternative; boundary="15474878260.28c9dD11.32473" Content-Transfer-Encoding: 7bit --15474878260.28c9dD11.32473 Date: Mon, 14 Jan 2019 17:43:46 +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=3D108854 --- Comment #10 from Tom Seewald --- Created attachment 143113 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143113&action=3Dedit dmesg with xorg 1.20, kernel 5.0-rc2 --=20 You are receiving this mail because: You are the assignee for the bug.= --15474878260.28c9dD11.32473 Date: Mon, 14 Jan 2019 17:43:46 +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

Comme= nt # 10 on bug 10885= 4 from Tom Seewald
Created att=
achment 143113 [details]
dmesg with xorg 1.20, kernel 5.0-rc2


You are receiving this mail because:
  • You are the assignee for the bug.
= --15474878260.28c9dD11.32473-- --===============1844617447== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1844617447==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Wed, 23 Jan 2019 00:20:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0295037012==" 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 32CB46E077 for ; Wed, 23 Jan 2019 00:20:57 +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 --===============0295037012== Content-Type: multipart/alternative; boundary="15482028570.dbC5c4b0.26548" Content-Transfer-Encoding: 7bit --15482028570.dbC5c4b0.26548 Date: Wed, 23 Jan 2019 00:20:57 +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=3D108854 Tom Seewald changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[polaris11] - Failed GPU |[polaris11] - GPU Hang - |reset after hang |ring gfx timeout --=20 You are receiving this mail because: You are the assignee for the bug.= --15482028570.dbC5c4b0.26548 Date: Wed, 23 Jan 2019 00:20:57 +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 Tom Seewald changed bug 10885= 4
What Removed Added
Summary [polaris11] - Failed GPU reset after hang [polaris11] - GPU Hang - ring gfx timeout


You are receiving this mail because:
  • You are the assignee for the bug.
= --15482028570.dbC5c4b0.26548-- --===============0295037012== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0295037012==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Fri, 25 Jan 2019 17:24:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0365012987==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BD9E46E07D for ; Fri, 25 Jan 2019 17:24:59 +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 --===============0365012987== Content-Type: multipart/alternative; boundary="15484370990.7d6a48C0.14201" Content-Transfer-Encoding: 7bit --15484370990.7d6a48C0.14201 Date: Fri, 25 Jan 2019 17:24:59 +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=3D108854 --- Comment #11 from Alex Deucher --- The reset was actually successful. The problem is, userspace components ne= ed to be aware of the reset and recreate their contexts. As a workaround, you= can kill the problematic app or restart X. --=20 You are receiving this mail because: You are the assignee for the bug.= --15484370990.7d6a48C0.14201 Date: Fri, 25 Jan 2019 17:24:59 +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

Comme= nt # 11 on bug 10885= 4 from Alex Deucher
The reset was actually successful.  The problem is, userspace =
components need
to be aware of the reset and recreate their contexts.  As a workaround, you=
 can
kill the problematic app or restart X.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15484370990.7d6a48C0.14201-- --===============0365012987== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0365012987==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Fri, 25 Jan 2019 17:26:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0221280213==" 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 9E33E6E60B for ; Fri, 25 Jan 2019 17:26:04 +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 --===============0221280213== Content-Type: multipart/alternative; boundary="15484371640.7Bdc6f3D.14780" Content-Transfer-Encoding: 7bit --15484371640.7Bdc6f3D.14780 Date: Fri, 25 Jan 2019 17:26:04 +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=3D108854 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Component|DRM/AMDgpu |Drivers/Gallium/radeonsi Product|DRI |Mesa QA Contact| |dri-devel@lists.freedesktop | |.org Version|DRI git |unspecified --=20 You are receiving this mail because: You are the assignee for the bug.= --15484371640.7Bdc6f3D.14780 Date: Fri, 25 Jan 2019 17:26:04 +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 = Alex Deucher changed bug 10885= 4
What Removed Added
Component DRM/AMDgpu Drivers/Gallium/radeonsi
Product DRI Mesa
QA Contact   dri-devel@lists.freedesktop.org
Version DRI git unspecified


You are receiving this mail because:
  • You are the assignee for the bug.
= --15484371640.7Bdc6f3D.14780-- --===============0221280213== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0221280213==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Sun, 10 Feb 2019 01:01:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2060188586==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C81E36E0A9 for ; Sun, 10 Feb 2019 01:01:52 +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 --===============2060188586== Content-Type: multipart/alternative; boundary="15497605120.Fde728A.25888" Content-Transfer-Encoding: 7bit --15497605120.Fde728A.25888 Date: Sun, 10 Feb 2019 01:01:52 +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=3D108854 --- Comment #12 from Tom Seewald --- (In reply to Alex Deucher from comment #11) > The reset was actually successful. The problem is, userspace components > need to be aware of the reset and recreate their contexts. As a workarou= nd, > you can kill the problematic app or restart X. Hmm, but then why will the machine not restart unless I use sysrq keys? I w= ould think a userspace issue wouldn't cause hung kernel tasks like that. I'm also curious regarding why this program is causing the GPU to reset to begin with, I have not seen others reporting issues on other platforms with this program. Is this ring gfx timeout purely a problem with userspace? e.g. [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=3D32203, emitted seq=3D32205 --=20 You are receiving this mail because: You are the assignee for the bug.= --15497605120.Fde728A.25888 Date: Sun, 10 Feb 2019 01:01:52 +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

Comme= nt # 12 on bug 10885= 4 from Tom Seewald
(In reply to Alex Deucher from comment #11)
> The reset was actually successful.  The problem =
is, userspace components
> need to be aware of the reset and recreate their contexts.  As a worka=
round,
> you can kill the problematic app or restart X.

Hmm, but then why will the machine not restart unless I use sysrq keys? I w=
ould
think a userspace issue wouldn't cause hung kernel tasks like that.

I'm also curious regarding why this program is causing the GPU to reset to
begin with, I have not seen others reporting issues on other platforms with
this program.

Is this ring gfx timeout purely a problem with userspace?

e.g.
[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled
seq=3D32203, emitted seq=3D32205


You are receiving this mail because:
  • You are the assignee for the bug.
= --15497605120.Fde728A.25888-- --===============2060188586== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2060188586==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Thu, 21 Feb 2019 17:56:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0587541781==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E08B89668 for ; Thu, 21 Feb 2019 17:56:01 +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 --===============0587541781== Content-Type: multipart/alternative; boundary="15507717610.91cE03D.19336" Content-Transfer-Encoding: 7bit --15507717610.91cE03D.19336 Date: Thu, 21 Feb 2019 17:56:01 +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=3D108854 --- Comment #13 from Tom St Denis --- The wave dump seems to be empty... Is that the complete output? Was there anything printed to stderr (like there are no waves)? --=20 You are receiving this mail because: You are the assignee for the bug.= --15507717610.91cE03D.19336 Date: Thu, 21 Feb 2019 17:56:01 +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

Comme= nt # 13 on bug 10885= 4 from Tom St Denis
The wave dump seems to be empty... Is that the complete output=
?  Was there
anything printed to stderr (like there are no waves)?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15507717610.91cE03D.19336-- --===============0587541781== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0587541781==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Thu, 21 Feb 2019 19:21:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1706596077==" 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 1265B892F6 for ; Thu, 21 Feb 2019 19:21:57 +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 --===============1706596077== Content-Type: multipart/alternative; boundary="15507769160.63049aB.13111" Content-Transfer-Encoding: 7bit --15507769160.63049aB.13111 Date: Thu, 21 Feb 2019 19:21:56 +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=3D108854 --- Comment #14 from Tom Seewald --- (In reply to Tom St Denis from comment #13) > The wave dump seems to be empty... Is that the complete output? Was there > anything printed to stderr (like there are no waves)? Yes it says "no active waves!" - so it makes sense that is empty. Is there something else you'd like me to try?=20 Currently I'm running "umr -i 1 -O verbose,halt_waves -wa" immediately afte= r I see the "ring gfx timeout" in dmesg. I also just rebuilt UMR so I should b= e up to date. Some potentially good news though, after upgrading from mesa 18.3.1 to 18.3= .3, I have not been able to reproduce the issue. On mesa 18.3.1 and earlier I c= an reproduce it in under 20 seconds (I did so today on the latest amd-staging-drm-next), and I have tested mesa 18.3.3 for about an hour now. But I believe this is still something to look into as user space should probably not be able to hang the entire system, even if the user is running= an older version of Mesa. --=20 You are receiving this mail because: You are the assignee for the bug.= --15507769160.63049aB.13111 Date: Thu, 21 Feb 2019 19:21:56 +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

Comme= nt # 14 on bug 10885= 4 from Tom Seewald
(In reply to Tom St Denis from comment #13)
> The wave dump seems to be empty... Is that the c=
omplete output?  Was there
> anything printed to stderr (like there are no waves)?

Yes it says "no active waves!" - so it makes sense that is empty.=
  Is there
something else you'd like me to try?=20

Currently I'm running "umr -i 1 -O verbose,halt_waves -wa" immedi=
ately after I
see the "ring gfx timeout" in dmesg.  I also just rebuilt UMR so =
I should be up
to date.

Some potentially good news though, after upgrading from mesa 18.3.1 to 18.3=
.3,
I have not been able to reproduce the issue. On mesa 18.3.1 and earlier I c=
an
reproduce it in under 20 seconds (I did so today on the latest
amd-staging-drm-next), and I have tested mesa 18.3.3 for about an hour now.

But I believe this is still something to look into as user space should
probably not be able to hang the entire system, even if the user is running=
 an
older version of Mesa.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15507769160.63049aB.13111-- --===============1706596077== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1706596077==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Fri, 22 Feb 2019 17:03:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1891457071==" 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 698F789346 for ; Fri, 22 Feb 2019 17:03:26 +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 --===============1891457071== Content-Type: multipart/alternative; boundary="15508550060.de844Efc.20518" Content-Transfer-Encoding: 7bit --15508550060.de844Efc.20518 Date: Fri, 22 Feb 2019 17:03:26 +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=3D108854 --- Comment #15 from Tom St Denis --- If you can't reproduce on a newer version of mesa then it's "been fixed" :-) Blocking shutdown is simply due to the device deinit being blocked because = the device is not in an operational state. Not much to be done from a driver p= oint of view I don't think. --=20 You are receiving this mail because: You are the assignee for the bug.= --15508550060.de844Efc.20518 Date: Fri, 22 Feb 2019 17:03:26 +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

Comme= nt # 15 on bug 10885= 4 from Tom St Denis
If you can't reproduce on a newer version of mesa then it's &q=
uot;been fixed" :-)

Blocking shutdown is simply due to the device deinit being blocked because =
the
device is not in an operational state.  Not much to be done from a driver p=
oint
of view I don't think.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15508550060.de844Efc.20518-- --===============1891457071== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1891457071==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Fri, 22 Feb 2019 18:15:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0289075146==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CB49897E8 for ; Fri, 22 Feb 2019 18:15:41 +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 --===============0289075146== Content-Type: multipart/alternative; boundary="15508593410.E7cC3D.14857" Content-Transfer-Encoding: 7bit --15508593410.E7cC3D.14857 Date: Fri, 22 Feb 2019 18:15:41 +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=3D108854 --- Comment #16 from Tom Seewald --- (In reply to Tom St Denis from comment #15) > If you can't reproduce on a newer version of mesa then it's "been fixed" = :-) My (probably incorrect) understanding is roughly this: +-------+-------+ 1.) | Application | +-------+-------+ | | Possibly sending bad commands/calls to Mesa | v +------+---------+ 2.) | Mesa | +------+---------+ | | Passing on bad calls from the application | or | There is a bug in Mesa itself where it is sending bad calls/comman= ds to the kernel v +--------+--------+ 3.) | Kernel/amdgpu | +--------+--------+ | | amdgpu puts the physical device in a bad state due to bad commands from Mesa v +--------+--------+ 4.) | GPU | +--------+--------+ Given that mesa 18.3.3+ "fixes" the issue, it sounds like a specific case of mesa sending garbage to the kernel (step 2 to 3) has been fixed. But in general shouldn't the kernel driver (ideally) be able to handle mesa passing malformed/bad commands rather than freezing the device (step 3 to 4= )?=20 I understand not every case can be covered, and I also understand that GPU resets need to be supported in user space for seamless recovery, but should= n't the driver "unstick" itself enough so the computer can be rebooted normally? Thanks for your time and patience. --=20 You are receiving this mail because: You are the assignee for the bug.= --15508593410.E7cC3D.14857 Date: Fri, 22 Feb 2019 18:15:41 +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

Comme= nt # 16 on bug 10885= 4 from Tom Seewald
(In reply to Tom St Denis from comment #15)
> If you can't reproduce on a newer version of mes=
a then it's "been fixed" :-)

My (probably incorrect) understanding is roughly this:

    +-------+-------+
1.) |  Application  |
    +-------+-------+
       |
       | Possibly sending bad commands/calls to Mesa
       |
       v
    +------+---------+
2.) |     Mesa       |
    +------+---------+
       |
       | Passing on bad calls from the application
       |     or
       | There is a bug in Mesa itself where it is sending bad calls/comman=
ds
to the kernel
       v
    +--------+--------+
3.) |  Kernel/amdgpu  |
    +--------+--------+
       |
       | amdgpu puts the physical device in a bad state due to bad commands
from Mesa
       v
    +--------+--------+
4.) |       GPU       |
    +--------+--------+

Given that mesa 18.3.3+ "fixes" the issue, it sounds like a speci=
fic case of
mesa sending garbage to the kernel (step 2 to 3) has been fixed.

But in general shouldn't the kernel driver (ideally) be able to handle mesa
passing malformed/bad commands rather than freezing the device (step 3 to 4=
)?=20
I understand not every case can be covered, and I also understand that GPU
resets need to be supported in user space for seamless recovery, but should=
n't
the driver "unstick" itself enough so the computer can be reboote=
d normally?

Thanks for your time and patience.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15508593410.E7cC3D.14857-- --===============0289075146== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0289075146==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Fri, 22 Feb 2019 18:31:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0305269158==" 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 BF6AF89807 for ; Fri, 22 Feb 2019 18:31:37 +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 --===============0305269158== Content-Type: multipart/alternative; boundary="15508602972.bC44BCEEF.20839" Content-Transfer-Encoding: 7bit --15508602972.bC44BCEEF.20839 Date: Fri, 22 Feb 2019 18:31:37 +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=3D108854 --- Comment #17 from Alex Deucher --- (In reply to Tom Seewald from comment #16) > But in general shouldn't the kernel driver (ideally) be able to handle me= sa > passing malformed/bad commands rather than freezing the device (step 3 to > 4)? I understand not every case can be covered, and I also understand th= at > GPU resets need to be supported in user space for seamless recovery, but > shouldn't the driver "unstick" itself enough so the computer can be reboo= ted > normally? These are not generally bad data from mesa per se. There's not really a go= od way to validate all combinations of state sent to the GPU are valid or not.= =20 There are hundreds of registers and state buffers that the GPU uses to proc= ess the 3D pipeline. It's impossible to test every combination of state and dispatch and ordering. The hangs are generally due to a deadlock in the hw= due to a bad interaction of states set by the application. E.g., some hw block= is waiting on a signal from another hw block which won't get sent because the = user sent another state update which stops that signal. The GPU reset should generally be able recover the GPU, but in some cases y= ou may end up with a deadlock in sw in the kernel somewhere. --=20 You are receiving this mail because: You are the assignee for the bug.= --15508602972.bC44BCEEF.20839 Date: Fri, 22 Feb 2019 18:31:37 +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

Comme= nt # 17 on bug 10885= 4 from Alex Deucher
(In reply to Tom Seewald from comment #16)

> But in general shouldn't the kernel driver (idea=
lly) be able to handle mesa
> passing malformed/bad commands rather than freezing the device (step 3=
 to
> 4)?  I understand not every case can be covered, and I also understand=
 that
> GPU resets need to be supported in user space for seamless recovery, b=
ut
> shouldn't the driver "unstick" itself enough so the computer=
 can be rebooted
> normally?

These are not generally bad data from mesa per se.  There's not really a go=
od
way to validate all combinations of state sent to the GPU are valid or not.=
=20
There are hundreds of registers and state buffers that the GPU uses to proc=
ess
the 3D pipeline.  It's impossible to test every combination of state and
dispatch and ordering.  The hangs are generally due to a deadlock in the hw=
 due
to a bad interaction of states set by the application.  E.g., some hw block=
 is
waiting on a signal from another hw block which won't get sent because the =
user
sent another state update which stops that signal.

The GPU reset should generally be able recover the GPU, but in some cases y=
ou
may end up with a deadlock in sw in the kernel somewhere.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15508602972.bC44BCEEF.20839-- --===============0305269158== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0305269158==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108854] [polaris11] - GPU Hang - ring gfx timeout Date: Fri, 22 Feb 2019 18:46:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0773397554==" 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 A736589363 for ; Fri, 22 Feb 2019 18:46:04 +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 --===============0773397554== Content-Type: multipart/alternative; boundary="15508611641.0AB17B.27155" Content-Transfer-Encoding: 7bit --15508611641.0AB17B.27155 Date: Fri, 22 Feb 2019 18:46:04 +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=3D108854 Tom Seewald changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #18 from Tom Seewald --- Thanks Tom and Alex, I'll trust your judgement on this. --=20 You are receiving this mail because: You are the assignee for the bug.= --15508611641.0AB17B.27155 Date: Fri, 22 Feb 2019 18:46:04 +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 Tom Seewald changed bug 10885= 4
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED

Comme= nt # 18 on bug 10885= 4 from Tom Seewald
Thanks Tom and Alex, I'll trust your judgement on this.


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