From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100424] X hang (in kernel) after some event in Serious Sam Fusion using radv. 4.9/and-staging-4.9 Date: Mon, 27 Mar 2017 22:35:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1787451702==" 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 C222D6E38A for ; Mon, 27 Mar 2017 22:35:38 +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 --===============1787451702== Content-Type: multipart/alternative; boundary="14906541380.e1D314.26274"; charset="UTF-8" --14906541380.e1D314.26274 Date: Mon, 27 Mar 2017 22:35:38 +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=3D100424 Bug ID: 100424 Summary: X hang (in kernel) after some event in Serious Sam Fusion using radv. 4.9/and-staging-4.9 Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: bugspam@moreofthesa.me.uk To reproduce, play Serious Sam Fusion (Vulkan rendering). X should freeze a= fter a few minutes; at the start of SS:TFE, venturing out into the desert or kil= ling an gnaar should be enough to trigger it. It looks like a fence + buffer object 'interaction'. This appears to affect all Linux 4.9.x and amd-staging-4.9; other kernels a= re as yet untested. Mesa 17.0.2 or git, libdrm 2.4.75, llvm 4.0~svn294803. Hardware is RX 470. Sample backtrace: [ 861.398271] INFO: task Xorg:4985 blocked for more than 120 seconds. [ 861.398292] Tainted: G C O 4.9.17+dc+ #1 [ 861.398301] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables = this message. [ 861.398306] Xorg D 0 4985 4966 0x00000004 [ 861.398317] ffff88040d4037c8 ffff880409bc9480 ffff88041c9ca1c0 ffff88041ed96440 [ 861.398339] ffff88040d403340 ffffc9000acc3a70 ffffffff8155de4e 0000000000000002 [ 861.398356] ffff88040d403340 ffff880405ab1500 ffff880405ab1500 0000000000000001 [ 861.398377] Call Trace: [ 861.398391] [] ? __schedule+0x228/0x3bd [ 861.398400] [] schedule+0x84/0x98 [ 861.398409] [] amd_sched_entity_push_job+0x69/0x86 [ 861.398417] [] ? __wake_up_sync+0xd/0xd [ 861.398425] [] amdgpu_job_submit+0x71/0x7f [ 861.398434] [] amdgpu_vm_bo_split_mapping+0x3df/0x47a [ 861.398443] [] ? amdgpu_vm_adjust_mc_addr+0x1f/0x1f [ 861.398461] [] amdgpu_vm_bo_update+0x17d/0x222 [ 861.398472] [] amdgpu_gem_va_ioctl+0x362/0x3d9 [ 861.398486] [] ? ttm_bo_unreserve+0x40/0x43 [ 861.398495] [] ? drm_gem_handle_create+0x34/0x39 [ 861.398503] [] drm_ioctl+0x26c/0x38b [ 861.398510] [] ? drm_ioctl+0x26c/0x38b [ 861.398516] [] ? amdgpu_gem_metadata_ioctl+0xe8/0xe8 [ 861.398525] [] ? preempt_latency_start+0x21/0x5d [ 861.398532] [] ? preempt_count_add+0x62/0x65 [ 861.398540] [] ? _raw_spin_unlock_irqrestore+0x13/0x25 [ 861.398549] [] amdgpu_drm_ioctl+0x4a/0x7a [ 861.398557] [] vfs_ioctl+0x13/0x2f [ 861.398564] [] do_vfs_ioctl+0x47f/0x524 [ 861.398573] [] ? __fget+0x66/0x72 [ 861.398581] [] SyS_ioctl+0x3e/0x5c [ 861.398588] [] entry_SYSCALL_64_fastpath+0x17/0x98 [ 861.398654] INFO: task Sam2017:6271 blocked for more than 120 seconds. [ 861.398660] Tainted: G C O 4.9.17+dc+ #1 [ 861.398664] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables = this message. [ 861.398669] Sam2017 D 0 6271 6270 0x00000000 [ 861.398762] ffff8803902caa08 ffff88040d0d1800 ffffffff81c0c500 ffff88041ec16440 [ 861.398778] ffff8803902ca580 ffffc90002cdba78 ffffffff8155de4e 0000000000000002 [ 861.398796] ffff8803902ca580 7fffffffffffffff 0000000000000246 ffff88033dd3e100 [ 861.398812] Call Trace: [ 861.398821] [] ? __schedule+0x228/0x3bd [ 861.398829] [] schedule+0x84/0x98 [ 861.398835] [] schedule_timeout+0x2f/0xf5 [ 861.398843] [] ? preempt_latency_start+0x21/0x5d [ 861.398850] [] ? preempt_count_add+0x62/0x65 [ 861.398857] [] fence_default_wait+0x124/0x1c1 [ 861.398863] [] ? fence_default_wait+0x124/0x1c1 [ 861.398869] [] ? fence_release+0x2b/0x2b [ 861.398875] [] fence_wait_timeout+0x2e/0x30 [ 861.398881] [] amdgpu_ctx_add_fence+0x66/0x13b [ 861.398887] [] amdgpu_cs_ioctl+0x1132/0x116a [ 861.398897] [] drm_ioctl+0x26c/0x38b [ 861.398903] [] ? amdgpu_cs_find_mapping+0x7d/0x7d [ 861.398910] [] ? preempt_latency_start+0x21/0x5d [ 861.398917] [] ? preempt_count_add+0x62/0x65 [ 861.398923] [] ? _raw_spin_unlock_irqrestore+0x13/0x25 [ 861.398931] [] amdgpu_drm_ioctl+0x4a/0x7a [ 861.398938] [] vfs_ioctl+0x13/0x2f [ 861.398944] [] do_vfs_ioctl+0x47f/0x524 [ 861.398951] [] ? __fget+0x66/0x72 [ 861.398958] [] SyS_ioctl+0x3e/0x5c [ 861.398965] [] entry_SYSCALL_64_fastpath+0x17/0x98 --=20 You are receiving this mail because: You are the assignee for the bug.= --14906541380.e1D314.26274 Date: Mon, 27 Mar 2017 22:35:38 +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 100424
Summary X hang (in kernel) after some event in Serious Sam Fusion usi= ng radv. 4.9/and-staging-4.9
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter bugspam@moreofthesa.me.uk

To reproduce, play Serious Sam Fusion (Vulkan rendering). X sh=
ould freeze after
a few minutes; at the start of SS:TFE, venturing out into the desert or kil=
ling
an gnaar should be enough to trigger it.

It looks like a fence + buffer object 'interaction'.

This appears to affect all Linux 4.9.x and amd-staging-4.9; other kernels a=
re
as yet untested.

Mesa 17.0.2 or git, libdrm 2.4.75, llvm 4.0~svn294803. Hardware is RX 470.

Sample backtrace:

[  861.398271] INFO: task Xorg:4985 blocked for more than 120 seconds.
[  861.398292]       Tainted: G         C O    4.9.17+dc+ #1
[  861.398301] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs&qu=
ot; disables this
message.
[  861.398306] Xorg            D    0  4985   4966 0x00000004
[  861.398317]  ffff88040d4037c8 ffff880409bc9480 ffff88041c9ca1c0
ffff88041ed96440
[  861.398339]  ffff88040d403340 ffffc9000acc3a70 ffffffff8155de4e
0000000000000002
[  861.398356]  ffff88040d403340 ffff880405ab1500 ffff880405ab1500
0000000000000001
[  861.398377] Call Trace:
[  861.398391]  [<ffffffff8155de4e>] ? __schedule+0x228/0x3bd
[  861.398400]  [<ffffffff8155e067>] schedule+0x84/0x98
[  861.398409]  [<ffffffff813194d5>] amd_sched_entity_push_job+0x69/0=
x86
[  861.398417]  [<ffffffff81059623>] ? __wake_up_sync+0xd/0xd
[  861.398425]  [<ffffffff81319c85>] amdgpu_job_submit+0x71/0x7f
[  861.398434]  [<ffffffff812dff16>] amdgpu_vm_bo_split_mapping+0x3df=
/0x47a
[  861.398443]  [<ffffffff812df742>] ? amdgpu_vm_adjust_mc_addr+0x1f/=
0x1f
[  861.398461]  [<ffffffff812e0f37>] amdgpu_vm_bo_update+0x17d/0x222
[  861.398472]  [<ffffffff812d5d41>] amdgpu_gem_va_ioctl+0x362/0x3d9
[  861.398486]  [<ffffffff812d4fed>] ? ttm_bo_unreserve+0x40/0x43
[  861.398495]  [<ffffffff8129859c>] ? drm_gem_handle_create+0x34/0x39
[  861.398503]  [<ffffffff81298ccc>] drm_ioctl+0x26c/0x38b
[  861.398510]  [<ffffffff81298ccc>] ? drm_ioctl+0x26c/0x38b
[  861.398516]  [<ffffffff812d59df>] ? amdgpu_gem_metadata_ioctl+0xe8=
/0xe8
[  861.398525]  [<ffffffff8104b554>] ? preempt_latency_start+0x21/0x5d
[  861.398532]  [<ffffffff8104b5f2>] ? preempt_count_add+0x62/0x65
[  861.398540]  [<ffffffff81560846>] ? _raw_spin_unlock_irqrestore+0x=
13/0x25
[  861.398549]  [<ffffffff812c1d17>] amdgpu_drm_ioctl+0x4a/0x7a
[  861.398557]  [<ffffffff810dbdbd>] vfs_ioctl+0x13/0x2f
[  861.398564]  [<ffffffff810dc2d0>] do_vfs_ioctl+0x47f/0x524
[  861.398573]  [<ffffffff810e48a3>] ? __fget+0x66/0x72
[  861.398581]  [<ffffffff810dc3b3>] SyS_ioctl+0x3e/0x5c
[  861.398588]  [<ffffffff81560be4>] entry_SYSCALL_64_fastpath+0x17/0=
x98
[  861.398654] INFO: task Sam2017:6271 blocked for more than 120 seconds.
[  861.398660]       Tainted: G         C O    4.9.17+dc+ #1
[  861.398664] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs&qu=
ot; disables this
message.
[  861.398669] Sam2017         D    0  6271   6270 0x00000000
[  861.398762]  ffff8803902caa08 ffff88040d0d1800 ffffffff81c0c500
ffff88041ec16440
[  861.398778]  ffff8803902ca580 ffffc90002cdba78 ffffffff8155de4e
0000000000000002
[  861.398796]  ffff8803902ca580 7fffffffffffffff 0000000000000246
ffff88033dd3e100
[  861.398812] Call Trace:
[  861.398821]  [<ffffffff8155de4e>] ? __schedule+0x228/0x3bd
[  861.398829]  [<ffffffff8155e067>] schedule+0x84/0x98
[  861.398835]  [<ffffffff8155fdc5>] schedule_timeout+0x2f/0xf5
[  861.398843]  [<ffffffff8104b554>] ? preempt_latency_start+0x21/0x5d
[  861.398850]  [<ffffffff8104b5f2>] ? preempt_count_add+0x62/0x65
[  861.398857]  [<ffffffff813ae57a>] fence_default_wait+0x124/0x1c1
[  861.398863]  [<ffffffff813ae57a>] ? fence_default_wait+0x124/0x1c1
[  861.398869]  [<ffffffff813adf22>] ? fence_release+0x2b/0x2b
[  861.398875]  [<ffffffff813adee1>] fence_wait_timeout+0x2e/0x30
[  861.398881]  [<ffffffff812e4005>] amdgpu_ctx_add_fence+0x66/0x13b
[  861.398887]  [<ffffffff812d81b4>] amdgpu_cs_ioctl+0x1132/0x116a
[  861.398897]  [<ffffffff81298ccc>] drm_ioctl+0x26c/0x38b
[  861.398903]  [<ffffffff812d7082>] ? amdgpu_cs_find_mapping+0x7d/0x=
7d
[  861.398910]  [<ffffffff8104b554>] ? preempt_latency_start+0x21/0x5d
[  861.398917]  [<ffffffff8104b5f2>] ? preempt_count_add+0x62/0x65
[  861.398923]  [<ffffffff81560846>] ? _raw_spin_unlock_irqrestore+0x=
13/0x25
[  861.398931]  [<ffffffff812c1d17>] amdgpu_drm_ioctl+0x4a/0x7a
[  861.398938]  [<ffffffff810dbdbd>] vfs_ioctl+0x13/0x2f
[  861.398944]  [<ffffffff810dc2d0>] do_vfs_ioctl+0x47f/0x524
[  861.398951]  [<ffffffff810e48a3>] ? __fget+0x66/0x72
[  861.398958]  [<ffffffff810dc3b3>] SyS_ioctl+0x3e/0x5c
[  861.398965]  [<ffffffff81560be4>] entry_SYSCALL_64_fastpath+0x17/0=
x98


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