From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104345] Playing video hangs X-Server with showing scrambled picture, sound still playing. Date: Wed, 20 Dec 2017 10:05:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1460269032==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 929B46E3AD for ; Wed, 20 Dec 2017 10:05:24 +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 --===============1460269032== Content-Type: multipart/alternative; boundary="15137643240.bFa559D.2095"; charset="UTF-8" --15137643240.bFa559D.2095 Date: Wed, 20 Dec 2017 10:05:24 +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=3D104345 Bug ID: 104345 Summary: Playing video hangs X-Server with showing scrambled picture, sound still playing. Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: bernhardu@mailbox.org Created attachment 136312 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136312&action=3Dedit kernel output captured from the serial line. Playing video hangs X-Server with showing scrambled picture, sound still playing. System hangs after some time playing mostly when playing a recorded DVB-S-SD stream via VLC. Happened also with other videos and players. This left the system showing a distorted version of the last shown frame fr= om the video. Most of the time it is a chess board like pattern. Sound is still playing regularly. A ssh connection is still possible. Playing the exact same video again later works without problem. Kernel output shows at this time following: [ 4353.316286] amdgpu 0000:08:00.0: GPU fault detected: 146 0x0570480c [ 4353.328836] amdgpu 0000:08:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR=20= =20 0x001004AE [ 4353.343791] amdgpu 0000:08:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A04800C [ 4353.358755] amdgpu 0000:08:00.0: VM fault (0x0c, vmid 5) at page 1049774, read from 'TC0' (0x54433000) (72) [ 4353.378234] amdgpu 0000:08:00.0: GPU fault detected: 146 0x0570440c [ 4353.390777] amdgpu 0000:08:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR=20= =20 0x0010049C [ 4353.405735] amdgpu 0000:08:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A04400C [ 4353.420692] amdgpu 0000:08:00.0: VM fault (0x0c, vmid 5) at page 1049756, read from 'TC1' (0x54433100) (68) Followed by this: [ 4592.681352] INFO: task amdgpu_cs:0:1007 blocked for more than 120 second= s. [ 4592.695116] Tainted: G O 4.13.0-1-amd64 #1 Debian 4.13.13-1 [ 4592.709587] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables = this message. [ 4592.725255] amdgpu_cs:0 D 0 1007 1000 0x00400000 [ 4592.736245] Call Trace: [ 4592.741145] ? __schedule+0x3c8/0x860 [ 4592.748486] ? schedule+0x32/0x80 [ 4592.755120] ? schedule_timeout+0x1da/0x350 [ 4592.763537] ? amdgpu_vm_validate_level.isra.9+0x80/0x80 [amdgpu] [ 4592.775725] ? dma_fence_default_wait+0x239/0x260 [ 4592.785138] ? dma_fence_default_wait+0x239/0x260 [ 4592.794548] ? dma_fence_free+0x20/0x20 [ 4592.802220] ? dma_fence_wait_timeout+0x33/0xe0 [ 4592.811317] ? amdgpu_ctx_add_fence+0x61/0xf0 [amdgpu] [ 4592.821632] ? amdgpu_cs_ioctl+0x156b/0x1920 [amdgpu] [ 4592.831784] ? amdgpu_cs_find_mapping+0x90/0x90 [amdgpu] [ 4592.842432] ? drm_ioctl_kernel+0x65/0xb0 [drm] [ 4592.851510] ? drm_ioctl+0x2e3/0x3a0 [drm] [ 4592.859737] ? amdgpu_cs_find_mapping+0x90/0x90 [amdgpu] [ 4592.870373] ? do_futex+0x2df/0xa90 [ 4592.877376] ? amdgpu_drm_ioctl+0x49/0x80 [amdgpu] [ 4592.886971] ? do_vfs_ioctl+0x9f/0x600 [ 4592.894471] ? SyS_futex+0x7a/0x170 [ 4592.901453] ? SyS_ioctl+0x74/0x80 [ 4592.908264] ? system_call_fast_compare_end+0xc/0x97 Attached is a log captured on the serial port from boot to the crash follwed by a Magic-Sys-Req-T. This are the system specs: Graphics: Card: Advanced Micro Devices [AMD/ATI] Baffin [Radeon RX 460] (X= FX) Display Server: x11 (X.Org 1.19.5 ) drivers: amdgpu (unloaded: modesetting,fbdev,vesa) Resolution: 1920x1080@60.00hz OpenGL: renderer: AMD Radeon RX 460 Graphics (AMD POLARIS11 / DRM 3.18.0 / 4.13.0-1-amd64, LLVM 5.0.0) version: 4.5 Mesa 17.2.5 System: Kernel: 4.13.0-1-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.10.5 Machine: Device: desktop Mobo: ASUSTeK model: PRIME B350M-A v: Rev X.0x serial: N/A UEFI: American Megatrends v: 3203 date: 11/09/2017 CPU: Octa core AMD Ryzen 7 1700 Eight-Core (-HT-MCP-) speed/max: 1550/3000 MHz Error happened with Debian Stretch with linux 4.9 and later. Currently it is running a Debian testing. Is this the right product/component for this report? --=20 You are receiving this mail because: You are the assignee for the bug.= --15137643240.bFa559D.2095 Date: Wed, 20 Dec 2017 10:05:24 +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 104345
Summary Playing video hangs X-Server with showing scrambled picture, = sound still playing.
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter bernhardu@mailbox.org

Created attachment 136312 [details]
kernel output captured from the serial line.

Playing video hangs X-Server with showing scrambled picture, sound still
playing.

System hangs after some time playing mostly when playing a recorded DVB-S-SD
stream via VLC. Happened also with other videos and players.

This left the system showing a distorted version of the last shown frame fr=
om
the video. Most of the time it is a chess board like pattern.
Sound is still playing regularly.
A ssh connection is still possible.

Playing the exact same video again later works without problem.


Kernel output shows at this time following:

[ 4353.316286] amdgpu 0000:08:00.0: GPU fault detected: 146 0x0570480c
[ 4353.328836] amdgpu 0000:08:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR=20=
=20
0x001004AE
[ 4353.343791] amdgpu 0000:08:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x0A04800C
[ 4353.358755] amdgpu 0000:08:00.0: VM fault (0x0c, vmid 5) at page 1049774,
read from 'TC0' (0x54433000) (72)
[ 4353.378234] amdgpu 0000:08:00.0: GPU fault detected: 146 0x0570440c
[ 4353.390777] amdgpu 0000:08:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR=20=
=20
0x0010049C
[ 4353.405735] amdgpu 0000:08:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x0A04400C
[ 4353.420692] amdgpu 0000:08:00.0: VM fault (0x0c, vmid 5) at page 1049756,
read from 'TC1' (0x54433100) (68)

Followed by this:

[ 4592.681352] INFO: task amdgpu_cs:0:1007 blocked for more than 120 second=
s.
[ 4592.695116]       Tainted: G           O    4.13.0-1-amd64 #1 Debian
4.13.13-1
[ 4592.709587] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs&qu=
ot; disables this
message.
[ 4592.725255] amdgpu_cs:0     D    0  1007   1000 0x00400000
[ 4592.736245] Call Trace:
[ 4592.741145]  ? __schedule+0x3c8/0x860
[ 4592.748486]  ? schedule+0x32/0x80
[ 4592.755120]  ? schedule_timeout+0x1da/0x350
[ 4592.763537]  ? amdgpu_vm_validate_level.isra.9+0x80/0x80 [amdgpu]
[ 4592.775725]  ? dma_fence_default_wait+0x239/0x260
[ 4592.785138]  ? dma_fence_default_wait+0x239/0x260
[ 4592.794548]  ? dma_fence_free+0x20/0x20
[ 4592.802220]  ? dma_fence_wait_timeout+0x33/0xe0
[ 4592.811317]  ? amdgpu_ctx_add_fence+0x61/0xf0 [amdgpu]
[ 4592.821632]  ? amdgpu_cs_ioctl+0x156b/0x1920 [amdgpu]
[ 4592.831784]  ? amdgpu_cs_find_mapping+0x90/0x90 [amdgpu]
[ 4592.842432]  ? drm_ioctl_kernel+0x65/0xb0 [drm]
[ 4592.851510]  ? drm_ioctl+0x2e3/0x3a0 [drm]
[ 4592.859737]  ? amdgpu_cs_find_mapping+0x90/0x90 [amdgpu]
[ 4592.870373]  ? do_futex+0x2df/0xa90
[ 4592.877376]  ? amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 4592.886971]  ? do_vfs_ioctl+0x9f/0x600
[ 4592.894471]  ? SyS_futex+0x7a/0x170
[ 4592.901453]  ? SyS_ioctl+0x74/0x80
[ 4592.908264]  ? system_call_fast_compare_end+0xc/0x97

Attached is a log captured on the serial port from boot to the
crash follwed by a Magic-Sys-Req-T.

This are the system specs:

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Baffin [Radeon RX 460] (X=
FX)
           Display Server: x11 (X.Org 1.19.5 ) drivers: amdgpu (unloaded:
modesetting,fbdev,vesa)
           Resolution: 1920x1080&#=
64;60.00hz
           OpenGL: renderer: AMD Radeon RX 460 Graphics (AMD POLARIS11 / DRM
3.18.0 / 4.13.0-1-amd64, LLVM 5.0.0)
           version: 4.5 Mesa 17.2.5
System:    Kernel: 4.13.0-1-amd64 x86_64 bits: 64
Desktop:   KDE Plasma 5.10.5
Machine:   Device: desktop Mobo: ASUSTeK model: PRIME B350M-A v: Rev X.0x
serial: N/A
           UEFI: American Megatrends v: 3203 date: 11/09/2017
CPU:       Octa core AMD Ryzen 7 1700 Eight-Core (-HT-MCP-) speed/max:
1550/3000 MHz

Error happened with Debian Stretch with linux 4.9 and later.
Currently it is running a Debian testing.

Is this the right product/component for this report?


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