[RADV] Performance regression or crashing after MR 5434 on VEGA 8 + RX560X
System information
- OS: Arch Linux
- CPU: Ryzen 2500U
- iGPU: Radeon Vega 8 (Raven Ridge)
- dGPU: Radeon RX 560X (Polaris 11)
- Kernel version: 5.7.6
- Mesa version: Mesa 20.2.0-devel (d7d76878)
- Xserver version: 1.20.99.1
- Desktop manager and compositor: GNOME 3.36.3
- DXVK version: v1.7-63-gc4f37d39+
- Wine/Proton version: wine-tkg-staging-fsync-git-5.11.r11.gb6c28187-287-x86_64
Describe the issue
Since !5434 (merged), some games are affected by performance regression and crashing. For example, Watch Dogs, it crashes during the loading screen or it loads successfully but FPS is dropped from ~45 to ~15.
Regression
Issue started after !5434 (merged) has been merged, reverting 7a5e6fd2 seems to fix the issue.
Logs
When it crashes, error message is:
amdgpu: The CS has been rejected, see dmesg for more information.
vk: error: failed to submit CS
Dmesg contains:
[ 9060.434623] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=389187, emitted seq=389189
[ 9060.434709] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process watch_dogs.exe pid 48838 thread watch_dogs.exe pid 48931
[ 9060.434715] amdgpu 0000:01:00.0: GPU reset begin!
[ 9061.016127] cp is busy, skip halt cp
[ 9061.324943] rlc is busy, skip halt rlc
[ 9061.325972] amdgpu 0000:01:00.0: GPU pci config reset
[ 9061.339963] amdgpu 0000:01:00.0: GPU reset succeeded, trying to resume
[ 9061.343831] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[ 9061.343850] [drm] VRAM is lost due to GPU reset!
[ 9061.424817] [drm] UVD and UVD ENC initialized successfully.
[ 9061.525801] [drm] VCE initialized successfully.
[ 9061.529878] [drm] recover vram bo from shadow start
[ 9061.537966] [drm] recover vram bo from shadow done
[ 9061.537968] [drm] Skip scheduling IBs!
[ 9061.537969] [drm] Skip scheduling IBs!
[ 9061.537988] [drm] Skip scheduling IBs!
[ 9061.537994] [drm] Skip scheduling IBs!
[ 9061.537999] [drm] Skip scheduling IBs!
[ 9061.538004] [drm] Skip scheduling IBs!
[ 9061.538009] [drm] Skip scheduling IBs!
[ 9061.538017] amdgpu 0000:01:00.0: GPU reset(8) succeeded!
[ 9061.538017] [drm] Skip scheduling IBs!
[ 9061.538022] [drm] Skip scheduling IBs!
[ 9061.538025] [drm] Skip scheduling IBs!
[ 9061.538044] [drm] Skip scheduling IBs!
[ 9061.538054] [drm] Skip scheduling IBs!
[ 9061.538059] [drm] Skip scheduling IBs!
[ 9061.538374] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!