From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working. Date: Wed, 02 May 2018 07:51:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1748630495==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BF53F6E4EC for ; Wed, 2 May 2018 07:51: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 --===============1748630495== Content-Type: multipart/alternative; boundary="15252475171.eFBd.25173" Content-Transfer-Encoding: 7bit --15252475171.eFBd.25173 Date: Wed, 2 May 2018 07:51: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=3D105733 --- Comment #13 from emmanuel.boudreault@polymtl.ca --- I seem to have this same issue when opening an e-mail with a certain picture using emacs. I'm using ArchLinux and Wayland (gnome shell). It is very easy= to reproduce so let me know if more logs/debugging can help. AMD Ryzen 5 1600 Radeon RX 560 Kernel: 4.16.5-1-ARCH amdgpu 18.0.1-1 mesa 18.0.1-1 These are the drm and amd related dmseg logs: [ 3.516074] amdgpu 0000:20:00.0: Invalid PCI ROM header signature: expec= ting 0xaa55, got 0xffff [ 3.516140] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, frag= ment size is 9-bit [ 3.516703] amdgpu 0000:20:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used) [ 3.516707] amdgpu 0000:20:00.0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF [ 3.516716] [drm] Detected VRAM RAM=3D4096M, BAR=3D256M [ 3.516718] [drm] RAM width 128bits GDDR5 [ 3.516870] [drm] amdgpu: 4096M of VRAM memory ready [ 3.516873] [drm] amdgpu: 4096M of GTT memory ready. [ 3.516891] [drm] GART: num cpu pages 65536, num gpu pages 65536 [ 3.517011] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000= ). [ 3.517987] [drm] Chained IB support enabled! [ 3.524025] [drm] Found UVD firmware Version: 1.130 Family ID: 16 [ 3.525784] [drm] Found VCE firmware Version: 52.4 Binary ID: 3 [ 3.597334] amdgpu: [powerplay]=20 [ 3.597356] amdgpu: [powerplay]=20 [ 3.606949] [drm] DM_PPLIB: values for Engine clock [ 3.606951] [drm] DM_PPLIB: 21400 [ 3.606952] [drm] DM_PPLIB: 38700 [ 3.606953] [drm] DM_PPLIB: 84300 [ 3.606953] [drm] DM_PPLIB: 99500 [ 3.606954] [drm] DM_PPLIB: 106200 [ 3.606955] [drm] DM_PPLIB: 110800 [ 3.606956] [drm] DM_PPLIB: 114900 [ 3.606956] [drm] DM_PPLIB: 122600 [ 3.606957] [drm] DM_PPLIB: Validation clocks: [ 3.606958] [drm] DM_PPLIB: engine_max_clock: 122600 [ 3.606959] [drm] DM_PPLIB: memory_max_clock: 150000 [ 3.606960] [drm] DM_PPLIB: level : 0 [ 3.606962] [drm] DM_PPLIB: values for Memory clock [ 3.606963] [drm] DM_PPLIB: 30000 [ 3.606964] [drm] DM_PPLIB: 62500 [ 3.606964] [drm] DM_PPLIB: 150000 [ 3.606965] [drm] DM_PPLIB: Validation clocks: [ 3.606966] [drm] DM_PPLIB: engine_max_clock: 122600 [ 3.606967] [drm] DM_PPLIB: memory_max_clock: 150000 [ 3.606967] [drm] DM_PPLIB: level : 0 [ 3.617049] [drm] Display Core initialized with v3.1.27! [ 3.642678] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.642680] [drm] Driver supports precise vblank timestamp query. [ 3.672521] [drm] UVD and UVD ENC initialized successfully. [ 3.773428] [drm] VCE initialized successfully. [ 4.301585] [drm] fb mappable at 0xE056A000 [ 4.301587] [drm] vram apper at 0xE0000000 [ 4.301588] [drm] size 11059200 [ 4.301589] [drm] fb depth is 24 [ 4.301590] [drm] pitch is 10240 [ 4.301702] fbcon: amdgpudrmfb (fb0) is primary device [ 4.358740] amdgpu 0000:20:00.0: fb0: amdgpudrmfb frame buffer device [ 4.371876] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:20:00.0 on minor 0 [ 55.222527] amdgpu 0000:20:00.0: GPU fault detected: 147 0x04f04802 [ 55.222536] amdgpu 0000:20:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR=20= =20 0x0050309E [ 55.222540] amdgpu 0000:20:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x06048002 [ 55.222545] amdgpu 0000:20:00.0: VM fault (0x02, vmid 3) at page 5255326, read from 'TC0' (0x54433000) (72) [ 65.330363] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=3D701, last emitted seq=3D704 [ 65.330378] [drm] IP block:gfx_v8_0 is hung! [ 65.330425] [drm] GPU recovery disabled. --=20 You are receiving this mail because: You are the assignee for the bug.= --15252475171.eFBd.25173 Date: Wed, 2 May 2018 07:51: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

Comme= nt # 13 on bug 10573= 3 from emmanuel.boudreault@polymtl.ca
I seem to have this same issue when opening an e-mail with a c=
ertain picture
using emacs. I'm using ArchLinux and Wayland (gnome shell). It is very easy=
 to
reproduce so let me know if more logs/debugging can help.

AMD Ryzen 5 1600
Radeon RX 560
Kernel: 4.16.5-1-ARCH
amdgpu 18.0.1-1
mesa 18.0.1-1


These are the drm and amd related dmseg logs:

[    3.516074] amdgpu 0000:20:00.0: Invalid PCI ROM header signature: expec=
ting
0xaa55, got 0xffff
[    3.516140] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, frag=
ment
size is 9-bit
[    3.516703] amdgpu 0000:20:00.0: VRAM: 4096M 0x000000F400000000 -
0x000000F4FFFFFFFF (4096M used)
[    3.516707] amdgpu 0000:20:00.0: GTT: 256M 0x0000000000000000 -
0x000000000FFFFFFF
[    3.516716] [drm] Detected VRAM RAM=3D4096M, BAR=3D256M
[    3.516718] [drm] RAM width 128bits GDDR5
[    3.516870] [drm] amdgpu: 4096M of VRAM memory ready
[    3.516873] [drm] amdgpu: 4096M of GTT memory ready.
[    3.516891] [drm] GART: num cpu pages 65536, num gpu pages 65536
[    3.517011] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000=
).
[    3.517987] [drm] Chained IB support enabled!
[    3.524025] [drm] Found UVD firmware Version: 1.130 Family ID: 16
[    3.525784] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[    3.597334] amdgpu: [powerplay]=20
[    3.597356] amdgpu: [powerplay]=20
[    3.606949] [drm] DM_PPLIB: values for Engine clock
[    3.606951] [drm] DM_PPLIB:   21400
[    3.606952] [drm] DM_PPLIB:   38700
[    3.606953] [drm] DM_PPLIB:   84300
[    3.606953] [drm] DM_PPLIB:   99500
[    3.606954] [drm] DM_PPLIB:   106200
[    3.606955] [drm] DM_PPLIB:   110800
[    3.606956] [drm] DM_PPLIB:   114900
[    3.606956] [drm] DM_PPLIB:   122600
[    3.606957] [drm] DM_PPLIB: Validation clocks:
[    3.606958] [drm] DM_PPLIB:    engine_max_clock: 122600
[    3.606959] [drm] DM_PPLIB:    memory_max_clock: 150000
[    3.606960] [drm] DM_PPLIB:    level           : 0
[    3.606962] [drm] DM_PPLIB: values for Memory clock
[    3.606963] [drm] DM_PPLIB:   30000
[    3.606964] [drm] DM_PPLIB:   62500
[    3.606964] [drm] DM_PPLIB:   150000
[    3.606965] [drm] DM_PPLIB: Validation clocks:
[    3.606966] [drm] DM_PPLIB:    engine_max_clock: 122600
[    3.606967] [drm] DM_PPLIB:    memory_max_clock: 150000
[    3.606967] [drm] DM_PPLIB:    level           : 0
[    3.617049] [drm] Display Core initialized with v3.1.27!
[    3.642678] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.642680] [drm] Driver supports precise vblank timestamp query.
[    3.672521] [drm] UVD and UVD ENC initialized successfully.
[    3.773428] [drm] VCE initialized successfully.
[    4.301585] [drm] fb mappable at 0xE056A000
[    4.301587] [drm] vram apper at 0xE0000000
[    4.301588] [drm] size 11059200
[    4.301589] [drm] fb depth is 24
[    4.301590] [drm]    pitch is 10240
[    4.301702] fbcon: amdgpudrmfb (fb0) is primary device
[    4.358740] amdgpu 0000:20:00.0: fb0: amdgpudrmfb frame buffer device
[    4.371876] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:20:00.0 on
minor 0
[   55.222527] amdgpu 0000:20:00.0: GPU fault detected: 147 0x04f04802
[   55.222536] amdgpu 0000:20:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR=20=
=20
0x0050309E
[   55.222540] amdgpu 0000:20:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x06048002
[   55.222545] amdgpu 0000:20:00.0: VM fault (0x02, vmid 3) at page 5255326,
read from 'TC0' (0x54433000) (72)
[   65.330363] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout,
last signaled seq=3D701, last emitted seq=3D704
[   65.330378] [drm] IP block:gfx_v8_0 is hung!
[   65.330425] [drm] GPU recovery disabled.


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