[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring uvd timeout
Brief summary of the problem:
Error frequently occurs when running transcode, resulting in corrupted X11 display
Hardware description:
- CPU: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
- GPU: AMD Radeon RX 580 Series (POLARIS10, DRM 3.54.0)
- System Memory: 8GB
System information:
- Distro name and Version: custom, built entirely from source
- Kernel version: 6.5.8, trouble also seen in 6.1.0
How to reproduce the issue:
ffmpeg -y -hwaccel vaapi -hwaccel_output_format vaapi -i input.mkv -map 0:0 -map 0:1 -c:0 hevc_vaapi -c:1 mp3 -profile:v main output.mkv
Log files (for system lockups / game freezes / crashes)
syslog messages:
[ 2871.767516] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring uvd timeout, signaled seq=289915, emitted seq=289916
[ 2871.767862] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process ffmpeg pid 1106 thread ffmpeg:cs0 pid 1112
[ 2871.767978] amdgpu 0000:02:00.0: amdgpu: GPU reset begin!
[ 2872.146419] amdgpu 0000:02:00.0: amdgpu: BACO reset
[ 2872.442370] amdgpu 0000:02:00.0: amdgpu: GPU reset succeeded, trying to resume
[ 2872.442877] [drm] PCIE GART of 256M enabled (table at 0x000000F400900000).
[ 2872.442895] [drm] VRAM is lost due to GPU reset!
[ 2872.728594] [drm] UVD and UVD ENC initialized successfully.
[ 2872.838577] [drm] VCE initialized successfully.
[ 2872.843692] amdgpu 0000:02:00.0: amdgpu: recover vram bo from shadow start
[ 2872.843727] amdgpu 0000:02:00.0: amdgpu: recover vram bo from shadow done
[ 2872.843748] [drm] Skip scheduling IBs!
[ 2872.843756] [drm] Skip scheduling IBs!
[ 2872.843757] [drm] Skip scheduling IBs!
[ 2872.843773] amdgpu 0000:02:00.0: amdgpu: GPU reset(1) succeeded!
[ 2872.846795] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 2872.847255] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[ 2872.849157] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!