Bug 107684

Summary: [amdgpu] GPU Hangs running game Fall of Light
Product: Mesa Reporter: l.gambetta
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: NEW --- QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: keramidasceid
Version: 18.1   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description l.gambetta 2018-08-25 09:51:31 UTC
I'm trying to run the game "Fall of Light" from Steam (https://store.steampowered.com/app/633950/Fall_of_Light/) using Wine, but it causes a GPU hang, leading to a system crash.

I'm using wine-staging-3.14 with DXVK 0.70. The game runs perfectly and plays the intro video, but then when I start a new game, the game crashes on the loading screen.

I also tried to run the game using Steam Play with Proton 3.7 (a modified version of wine + dxvk 0.65) and the GPU hang exactly in the same point.


This is the log from 2 subsequent tries with different Wine versions (Proton and wine-staging):

ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0: GPU fault detected: 147 0x0b084402
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0050D961
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x06044002
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0: VM fault (0x02, vmid 3, pasid 32775) at page 5298529, read from 'TC5' (0x54433500) (68)
ago 25 11:27:50 luca-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=57598, last emitted seq=57600
ago 25 11:27:50 luca-pc kernel: [drm] IP block:gfx_v8_0 is hung!
ago 25 11:27:50 luca-pc kernel: [drm] GPU recovery disabled.
ago 25 11:31:10 luca-pc kernel: INFO: task kworker/u8:0:2750 blocked for more than 120 seconds.
ago 25 11:31:10 luca-pc kernel:       Not tainted 4.17.17-1-MANJARO #1
ago 25 11:31:10 luca-pc kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
ago 25 11:31:10 luca-pc kernel: kworker/u8:0    D    0  2750      2 0x80000000
ago 25 11:31:10 luca-pc kernel: Workqueue: events_unbound commit_work [drm_kms_helper]
ago 25 11:31:10 luca-pc kernel: Call Trace:
ago 25 11:31:10 luca-pc kernel:  ? __schedule+0x282/0x890
ago 25 11:31:10 luca-pc kernel:  ? __switch_to_asm+0x34/0x70
ago 25 11:31:10 luca-pc kernel:  ? __switch_to_asm+0x40/0x70
ago 25 11:31:10 luca-pc kernel:  schedule+0x32/0x90
ago 25 11:31:10 luca-pc kernel:  schedule_timeout+0x311/0x4a0
ago 25 11:31:10 luca-pc kernel:  ? dce110_timing_generator_get_position+0x5b/0x70 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  ? dce110_timing_generator_get_crtc_scanoutpos+0x70/0xb0 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  dma_fence_default_wait+0x1e8/0x270
ago 25 11:31:10 luca-pc kernel:  ? dma_fence_default_wait+0x270/0x270
ago 25 11:31:10 luca-pc kernel:  dma_fence_wait_timeout+0x39/0x110
ago 25 11:31:10 luca-pc kernel:  reservation_object_wait_timeout_rcu+0x1f2/0x370
ago 25 11:31:10 luca-pc kernel:  ? preempt_count_add+0x68/0xa0
ago 25 11:31:10 luca-pc kernel:  amdgpu_dm_do_flip+0x10c/0x350 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  ? freed_request+0x38/0x60
ago 25 11:31:10 luca-pc kernel:  amdgpu_dm_atomic_commit_tail+0x711/0xd80 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  ? _raw_spin_unlock_irq+0x1d/0x30
ago 25 11:31:10 luca-pc kernel:  commit_tail+0x3d/0x70 [drm_kms_helper]
ago 25 11:31:10 luca-pc kernel:  process_one_work+0x1d1/0x3b0
ago 25 11:31:10 luca-pc kernel:  worker_thread+0x2b/0x3d0
ago 25 11:31:10 luca-pc kernel:  ? process_one_work+0x3b0/0x3b0
ago 25 11:31:10 luca-pc kernel:  kthread+0x112/0x130
ago 25 11:31:10 luca-pc kernel:  ? kthread_flush_work_fn+0x10/0x10
ago 25 11:31:10 luca-pc kernel:  ret_from_fork+0x22/0x40
-- Reboot --
ago 25 11:32:50 luca-pc kernel: Linux version 4.17.17-1-MANJARO (builduser@development) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Sat Aug 18 14:38:10 UTC 2018
ago 25 11:32:50 luca-pc kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.17-x86_64 root=UUID=c3345f8c-be04-4cb5-95cc-481223caaf4d rw quiet
ago 25 11:27:01 luca-pc kscreen_backend_launcher[910]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
ago 25 11:27:01 luca-pc kscreen_backend_launcher[910]: kscreen.xcb.helper:         Geometry:  0 0 1920 1080
ago 25 11:27:01 luca-pc plasmashell[925]: trying to show an empty dialog
ago 25 11:27:02 luca-pc kscreen_backend_launcher[910]: kscreen.xrandr: Emitting configChanged()
ago 25 11:27:02 luca-pc org_kde_powerdevil[972]: kscreen: Requesting missing EDID for outputs (89)
ago 25 11:27:02 luca-pc kdeinit5[879]: kscreen: Requesting missing EDID for outputs (89)
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0: GPU fault detected: 147 0x0b084402
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0050D961
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x06044002
ago 25 11:27:40 luca-pc kernel: amdgpu 0000:01:00.0: VM fault (0x02, vmid 3, pasid 32775) at page 5298529, read from 'TC5' (0x54433500) (68)
ago 25 11:27:50 luca-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=57598, last emitted seq=57600
ago 25 11:27:50 luca-pc kernel: [drm] IP block:gfx_v8_0 is hung!
ago 25 11:27:50 luca-pc kernel: [drm] GPU recovery disabled.
ago 25 11:31:10 luca-pc kernel: INFO: task kworker/u8:0:2750 blocked for more than 120 seconds.
ago 25 11:31:10 luca-pc kernel:       Not tainted 4.17.17-1-MANJARO #1
ago 25 11:31:10 luca-pc kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
ago 25 11:31:10 luca-pc kernel: kworker/u8:0    D    0  2750      2 0x80000000
ago 25 11:31:10 luca-pc kernel: Workqueue: events_unbound commit_work [drm_kms_helper]
ago 25 11:31:10 luca-pc kernel: Call Trace:
ago 25 11:31:10 luca-pc kernel:  ? __schedule+0x282/0x890
ago 25 11:31:10 luca-pc kernel:  ? __switch_to_asm+0x34/0x70
ago 25 11:31:10 luca-pc kernel:  ? __switch_to_asm+0x40/0x70
ago 25 11:31:10 luca-pc kernel:  schedule+0x32/0x90
ago 25 11:31:10 luca-pc kernel:  schedule_timeout+0x311/0x4a0
ago 25 11:31:10 luca-pc kernel:  ? dce110_timing_generator_get_position+0x5b/0x70 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  ? dce110_timing_generator_get_crtc_scanoutpos+0x70/0xb0 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  dma_fence_default_wait+0x1e8/0x270
ago 25 11:31:10 luca-pc kernel:  ? dma_fence_default_wait+0x270/0x270
ago 25 11:31:10 luca-pc kernel:  dma_fence_wait_timeout+0x39/0x110
ago 25 11:31:10 luca-pc kernel:  reservation_object_wait_timeout_rcu+0x1f2/0x370
ago 25 11:31:10 luca-pc kernel:  ? preempt_count_add+0x68/0xa0
ago 25 11:31:10 luca-pc kernel:  amdgpu_dm_do_flip+0x10c/0x350 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  ? freed_request+0x38/0x60
ago 25 11:31:10 luca-pc kernel:  amdgpu_dm_atomic_commit_tail+0x711/0xd80 [amdgpu]
ago 25 11:31:10 luca-pc kernel:  ? _raw_spin_unlock_irq+0x1d/0x30
ago 25 11:31:10 luca-pc kernel:  commit_tail+0x3d/0x70 [drm_kms_helper]
ago 25 11:31:10 luca-pc kernel:  process_one_work+0x1d1/0x3b0
ago 25 11:31:10 luca-pc kernel:  worker_thread+0x2b/0x3d0
ago 25 11:31:10 luca-pc kernel:  ? process_one_work+0x3b0/0x3b0
ago 25 11:31:10 luca-pc kernel:  kthread+0x112/0x130
ago 25 11:31:10 luca-pc kernel:  ? kthread_flush_work_fn+0x10/0x10
ago 25 11:31:10 luca-pc kernel:  ret_from_fork+0x22/0x40
-- Reboot --



My specs:
$ inxi -F
System:    Host: luca-pc Kernel: 4.17.17-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.13.4 
           Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASRock model: FM2A88X Extreme4+ serial: <root required> 
           UEFI [Legacy]: American Megatrends v: P3.30 date: 05/13/2016 
CPU:       Topology: Quad Core model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G bits: 64 type: MCP 
           L2 cache: 2048 KiB 
           Speed: 1924 MHz min/max: 1700/3700 MHz Core speeds (MHz): 1: 2774 2: 2812 3: 1696 4: 1696 
Graphics:  Card-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] 
           driver: amdgpu v: kernel 
           Display: x11 server: X.Org 1.20.1 driver: amdgpu,ati unloaded: modesetting 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.25.0 4.17.17-1-MANJARO LLVM 6.0.1) 
           v: 4.5 Mesa 18.1.6 
Audio:     Card-1: Advanced Micro Devices [AMD] FCH Azalia driver: snd_hda_intel 
           Card-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 580] driver: snd_hda_intel 
           Sound Server: ALSA v: k4.17.17-1-MANJARO 
Network:   Card-1: Qualcomm Atheros QCA8171 Gigabit Ethernet driver: alx 
           IF: enp5s0 state: up speed: 100 Mbps duplex: half mac: d0:50:99:26:b3:1c 
Drives:    Local Storage: total: 5.91 TiB used: 1.47 TiB (24.9%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB 
           ID-3: /dev/sdc vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB 
RAID:      Device-1: md126 type: mdraid status: active raid: mirror report: 2/2 UU Components: 
           online: sdc2~c0 sdb2~c2 
           Device-2: md127 type: mdraid status: active raid: mirror report: 2/2 UU Components: 
           online: sdc1~c0 sdb1~c2 
Partition: ID-1: / size: 143.19 GiB used: 10.07 GiB (7.0%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 25.8 C mobo: N/A gpu: amdgpu temp: 39 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 733 
Info:      Processes: 187 Uptime: 10m Memory: 15.67 GiB used: 1.11 GiB (7.1%) Shell: bash inxi: 3.0.20
Comment 1 l.gambetta 2018-08-25 15:19:42 UTC
I wrongly reported Wine version, is wine-staging-nine-3.13.1

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.