GPUOpen-Drivers / AMDVLK

AMD Open Source Driver For Vulkan
MIT License
1.74k stars 161 forks source link

Ultimate SSAO in Tomb Raider causes GPU reset event [RX 5700 XT] #155

Closed craigcabrey closed 4 years ago

craigcabrey commented 4 years ago

Setting SSAO to 'Ultimate' in Tomb Raider causes a reset event:

Apr 05 16:08:15 enterprise kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=147661, emitted seq=147663
Apr 05 16:08:15 enterprise kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process TombRaider.exe pid 7000 thread TombRaider:cs0 pid 7005
Apr 05 16:08:15 enterprise kernel: amdgpu 0000:30:00.0: GPU reset begin!
Apr 05 16:08:17 enterprise kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
Apr 05 16:08:17 enterprise kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KGQ disable failed
Apr 05 16:08:18 enterprise kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KCQ disable failed
Apr 05 16:08:18 enterprise kernel: [drm:gfx_v10_0_cp_gfx_enable [amdgpu]] *ERROR* failed to halt cp gfx
Apr 05 16:08:21 enterprise kernel: amdgpu 0000:30:00.0: GPU reset succeeded, trying to resume
Apr 05 16:08:21 enterprise kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008001FA4000).
Apr 05 16:08:21 enterprise kernel: [drm] VRAM is lost due to GPU reset!
Apr 05 16:08:21 enterprise kernel: [drm] PSP is resuming...
Apr 05 16:08:21 enterprise kernel: [drm] reserve 0xa00000 from 0x81fe400000 for PSP TMR
Apr 05 16:08:22 enterprise kernel: amdgpu 0000:30:00.0: RAS: ras ta ucode is not available
Apr 05 16:08:22 enterprise kernel: amdgpu: [powerplay] SMU is resuming...
Apr 05 16:08:22 enterprise kernel: amdgpu: [powerplay] SMU is resumed successfully!

This is entirely reproducible: change preset to 'Ultimate', reset occurs; change preset to 'Ultimate' and drop SSAO to normal, reset does not occur. Reset does succeed most of the time, though DisplayPort audio stops working until the next reboot.

[craigcabrey@enterprise ~]$ uname -a
Linux enterprise 5.6.2-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 05 Apr 2020 02:39:13 +0000 x86_64 GNU/Linux
[craigcabrey@enterprise ~]$ cat /proc/cmdline 
initrd=\intel-ucode.img initrd=\initramfs-linux-zen.img root=PARTUUID=684503e1-bd82-495d-ba73-873ab15b6c50 rw amdgpu.gpu_recovery=1 amdgpu.lockup_timeout=3000 audit=0
[craigcabrey@enterprise ~]$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G7 (rev 07)
30:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1)
[craigcabrey@enterprise ~]$ pacman -Q amdvlk lib32-amdvlk linux-firmware
amdvlk 2020.Q1.4-1
lib32-amdvlk 2020.Q1.4-1
linux-firmware 20200316.8eb0b28-1

This is under Proton & DXVK (does not appear to matter which version of Proton), running with under Steam:

PULSE_LATENCY_MSEC=60 VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/amd_icd32.json" PROTON_USE_D9VK=1 DXVK_HUD=gpuload,fps PROTON_NO_ESYNC=1 %command%

Please let me know if you need any further information.

jinjianrong commented 4 years ago

Please verify with latest build