Bug 107867

Summary: The game The Evil Within Demo lead to GPU hang when played first cut scene.
Product: DRI Reporter: mikhail.v.gavrilov
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
hung cut scene photo none

Description mikhail.v.gavrilov 2018-09-08 16:32:55 UTC
Created attachment 141490 [details]
dmesg

1. Install steam
2. Enable steam play
3. Launch game under Fedora 30 (Rawhide)
4. Not skip first cut scene

[  246.521518] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=27174, emitted seq=27176
[  246.521534] [drm] GPU recovery disabled.
[  332.537451] kworker/dying (23) used greatest stack depth: 11392 bytes left
[  369.399369] INFO: task kworker/u32:8:204 blocked for more than 120 seconds.
[  369.399384]       Tainted: G         C        4.19.0-0.rc2.git2.1.fc30.x86_64 #1
[  369.399386] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  369.399389] kworker/u32:8   D10560   204      2 0x80000000
[  369.399406] Workqueue: events_unbound commit_work [drm_kms_helper]
[  369.399410] Call Trace:
[  369.399420]  ? __schedule+0x2e2/0xa70
[  369.399424]  ? native_sched_clock+0x3e/0xa0
[  369.399432]  ? dma_fence_default_wait+0x242/0x330
[  369.399437]  schedule+0x2f/0x90
[  369.399441]  schedule_timeout+0x31c/0x4f0
[  369.399516]  ? mark_held_locks+0x57/0x80
[  369.399520]  ? _raw_spin_unlock_irqrestore+0x4b/0x60
[  369.399527]  ? dma_fence_default_wait+0x242/0x330
[  369.399530]  dma_fence_default_wait+0x26e/0x330
[  369.399535]  ? dma_fence_release+0x120/0x120
[  369.399541]  dma_fence_wait_timeout+0x182/0x200
[  369.399547]  reservation_object_wait_timeout_rcu+0x236/0x4e0
[  369.399619]  amdgpu_dm_do_flip+0x112/0x340 [amdgpu]
[  369.399722]  amdgpu_dm_atomic_commit_tail+0x72b/0xd90 [amdgpu]
[  369.399730]  ? wait_for_completion_timeout+0x73/0x1a0
[  369.399748]  commit_tail+0x3d/0x70 [drm_kms_helper]
[  369.399753]  process_one_work+0x27d/0x5c0
[  369.399764]  worker_thread+0x3c/0x390
[  369.399770]  ? process_one_work+0x5c0/0x5c0
[  369.399774]  kthread+0x120/0x140
[  369.399778]  ? kthread_create_worker_on_cpu+0x70/0x70
[  369.399783]  ret_from_fork+0x27/0x50
[  369.399927] 
               Showing all locks held in the system:
[  369.399936] 1 lock held by khungtaskd/94:
[  369.399937]  #0: 000000007b8e38cf (rcu_read_lock){....}, at: debug_show_all_locks+0x15/0x183
[  369.399954] 3 locks held by kworker/u32:8/204:
[  369.399956]  #0: 00000000265972fd ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x1f3/0x5c0
[  369.399967]  #1: 0000000005b55269 ((work_completion)(&state->commit_work)){+.+.}, at: process_one_work+0x1f3/0x5c0
[  369.399977]  #2: 00000000857176ee (reservation_ww_class_mutex){+.+.}, at: amdgpu_dm_do_flip+0xd6/0x340 [amdgpu]
[  369.400157] 1 lock held by EvilWithinDemo./3714:

[  369.400171] =============================================
Comment 1 mikhail.v.gavrilov 2018-09-08 16:34:30 UTC
Created attachment 141491 [details]
hung cut scene photo
Comment 2 mikhail.v.gavrilov 2018-09-08 16:35:42 UTC
$ inxi -bM
System:    Host: localhost.localdomain Kernel: 4.19.0-0.rc2.git2.1.fc30.x86_64 x86_64 bits: 64 
           Desktop: Gnome 3.30.0 Distro: Fedora release 29 (Rawhide) 
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG STRIX X470-I GAMING v: Rev 1.xx serial: <root required> 
           UEFI: American Megatrends v: 0901 date: 07/23/2018 
CPU:       8-Core: AMD Ryzen 7 2700X type: MT MCP speed: 2187 MHz min/max: 2200/3700 MHz 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] driver: amdgpu v: kernel 
           Display: wayland server: Fedora Project X.org 11.0 driver: amdgpu resolution: 3840x2160~60Hz 
           OpenGL: renderer: Radeon RX Vega (VEGA10 DRM 3.27.0 4.19.0-0.rc2.git2.1.fc30.x86_64 LLVM 7.0.0) 
           v: 4.5 Mesa 18.2.0-rc5 
Network:   Device-1: Intel I211 Gigabit Network driver: igb 
           Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: r8822be 
Drives:    Local Storage: total: 11.36 TiB used: 4.63 TiB (40.8%) 
Info:      Processes: 432 Uptime: 37m Memory: 31.30 GiB used: 9.14 GiB (29.2%) Shell: bash inxi: 3.0.22
Comment 3 Martin Peres 2019-11-19 08:54:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/519.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.