Bug 215669

Summary: [drm:gfx_v10_0_priv_reg_irq [amdgpu]] *ERROR* Illegal register access in command stream
Product: Drivers Reporter: Andreas Polnas (andreas.polnas93)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.10.103-1-MANJARO x86_64 GNU/Linux Subsystem:
Regression: No Bisected commit-id:

Description Andreas Polnas 2022-03-08 11:55:23 UTC
Hardware specs:
CPU: Intel(R) Core(TM) i7-4770K
Motherboard Z97-S02 (MS-7821)
GPU: Radeon RX 5500/5500M / Pro 5500M

When playing Elden ring on Linux I have gotten following issue today:

mar 08 12:31:46 Manjaro-desktop kernel: [drm:gfx_v10_0_priv_reg_irq [amdgpu]] *ERROR* Illegal register access in command stream
mar 08 12:31:46 Manjaro-desktop kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=2590353, emitted seq=2590355
mar 08 12:31:46 Manjaro-desktop kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process eldenring.exe pid 3576 thread eldenring.exe pid 3687
mar 08 12:31:50 Manjaro-desktop kernel: amdgpu 0000:03:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
mar 08 12:31:50 Manjaro-desktop kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KGQ disable failed
mar 08 12:31:51 Manjaro-desktop kernel: amdgpu 0000:03:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
mar 08 12:31:51 Manjaro-desktop kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KCQ disable failed
mar 08 12:31:51 Manjaro-desktop kernel: [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* failed to halt cp gfx
mar 08 12:31:53 Manjaro-desktop kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
mar 08 12:31:53 Manjaro-desktop kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
mar 08 12:31:53 Manjaro-desktop kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* got no status for stream 00000000a096b549 on acrtc0000000023c89ab0
mar 08 12:32:04 Manjaro-desktop kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:66:crtc-0] flip_done timed out
mar 08 12:32:04 Manjaro-desktop kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:66:crtc-0] hw_done or flip_done timed out
mar 08 12:32:04 Manjaro-desktop kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
mar 08 12:32:14 Manjaro-desktop kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:69:crtc-1] flip_done timed out

The screen goes haywire with the colors and im unable to recover from this as the computer freezes, only way to recover is by forcefully rebooting the machine.
Comment 1 Alex Deucher 2022-03-08 14:18:18 UTC
This is most likely a mesa bug.  I'd suggest moving it to here:
https://gitlab.freedesktop.org/groups/mesa/-/issues
Comment 2 Andreas Polnas 2022-03-10 11:22:50 UTC
Thanks Alex,

I have posted it on the mesa gitlab as an issue shown below:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/6113