https://bugs.freedesktop.org/show_bug.cgi?id=100424 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 after a few minutes; at the start of SS:TFE, venturing out into the desert or killing 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 are 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 -- You are receiving this mail because: You are the assignee for the bug.