You are not logged in.

#1 2026-09-24 17:31:30

Marichan
Member
Registered: 2024-03-08
Posts: 6

AMDGPU crash with kernel freeze / instability on RX 5700 XT

Hi everyone, having some issues on my RX 5700 XT, while (trying) to play certain specifics games (In this case Monster Hunter world)

After some time playing I started experiencing either full on kernel panics or complete crash of the graphical session, with only alternative ttys accessible and sometimes the graphic system remaining unstable (screen blacking out intermittently, multiple GPU resets triggering)

In general the kernel messages displayed:

kernel: amdgpu 0000:03:00.0: [gfxhub] page fault (src_id:0 ring:24 vmid:6 pasid:11)
kernel: amdgpu 0000:03:00.0:  Process kwin_wayland pid 1107 thread kwin_wayla:cs0 pid 1125
kernel: amdgpu 0000:03:00.0:   in page starting at address 0x0000800001c37000 from client 0x1b (UTCL2)
kernel: amdgpu 0000:03:00.0: GCVM_L2_PROTECTION_FAULT_STATUS:0x00600C30
kernel: amdgpu 0000:03:00.0:          Faulty UTCL2 client ID: CPG (0x6)
kernel: amdgpu 0000:03:00.0:          MORE_FAULTS: 0x0
kernel: amdgpu 0000:03:00.0:          WALKER_ERROR: 0x0
kernel: amdgpu 0000:03:00.0:          PERMISSION_FAULTS: 0x3
kernel: amdgpu 0000:03:00.0:          MAPPING_ERROR: 0x0
kernel: amdgpu 0000:03:00.0:          RW: 0x0
kernel: [drm:gfx_v10_0_bad_op_irq [amdgpu]] *ERROR* Illegal opcode in command stream
kernel: amdgpu 0000:03:00.0: Dumping IP State
kernel: amdgpu 0000:03:00.0: Dumping IP State Completed
kernel: amdgpu 0000:03:00.0: [drm] AMDGPU device coredump file has been created
kernel: amdgpu 0000:03:00.0: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
kernel: amdgpu 0000:03:00.0: ring comp_1.3.1 timeout, signaled seq=1034, emitted seq=1036
kernel: amdgpu 0000:03:00.0:  Process MonsterHunterWo pid 4160 thread dxvk-submit pid 4209
kernel: amdgpu 0000:03:00.0: Starting comp_1.3.1 ring reset
kernel: amdgpu 0000:03:00.0: fail to wait on hqd deactivate
kernel: amdgpu 0000:03:00.0: Ring comp_1.3.1 reset failed
kernel: amdgpu 0000:03:00.0: GPU reset begin!. Source:  1
kernel: amdgpu 0000:03:00.0: BACO reset

*hard crash, log stops*

or

kernel: amdgpu 0000:03:00.0: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:19)
kernel: amdgpu 0000:03:00.0:  Process Xwayland pid 1261 thread Xwayland:cs0 pid 1272
kernel: amdgpu 0000:03:00.0:   in page starting at address 0x0000800003a8c000 from client 0x1b (UTCL2)
kernel: amdgpu 0000:03:00.0: GCVM_L2_PROTECTION_FAULT_STATUS:0x00700C30
kernel: amdgpu 0000:03:00.0:          Faulty UTCL2 client ID: CPG (0x6)
kernel: amdgpu 0000:03:00.0:          MORE_FAULTS: 0x0
kernel: amdgpu 0000:03:00.0:          WALKER_ERROR: 0x0
kernel: amdgpu 0000:03:00.0:          PERMISSION_FAULTS: 0x3
kernel: amdgpu 0000:03:00.0:          MAPPING_ERROR: 0x0
kernel: amdgpu 0000:03:00.0:          RW: 0x0
kernel: amdgpu 0000:03:00.0: Dumping IP State
kernel: amdgpu 0000:03:00.0: Dumping IP State Completed
kernel: amdgpu 0000:03:00.0: [drm] AMDGPU device coredump file has been created
kernel: amdgpu 0000:03:00.0: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
kernel: amdgpu 0000:03:00.0: ring gfx_0.0.0 timeout, signaled seq=2163117, emitted seq=2163120
kernel: amdgpu 0000:03:00.0:  Process Xwayland pid 1261 thread Xwayland:cs0 pid 1272
kernel: amdgpu 0000:03:00.0: Starting gfx_0.0.0 ring reset
kernel: amdgpu 0000:03:00.0: Ring gfx_0.0.0 reset failed
kernel: amdgpu 0000:03:00.0: GPU reset begin!. Source:  1
kernel: amdgpu 0000:03:00.0: BACO reset
kernel: amdgpu 0000:03:00.0: GPU reset succeeded, trying to resume
kernel: amdgpu 0000:03:00.0: [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
kernel: amdgpu 0000:03:00.0: VRAM is lost due to GPU reset!

*every time the grpahical interface tried to restart a new series of reset messages would be triggered*

While trying to understand if this was comparable to similar issues already happening, I found out that:

  • this issue can be changed from sporadic to replicable by running the game in widowed mode. It is so bad that sometimes it will crash the second the 3D title screen is loaded.

  • the hard crash and the  Illegal opcode in command stream error are not correlated

  • launching the game with the RADV_QUEUE_DISABLE=compute envarg fixes it (at least the easy to reproduce crash setup), albeit with the loss from 90fps to 60fps with very low lows

I am fully up to date, and in general the rest of the system shows no problems. I have tried lowering clocks but of course it does nothing. crash is unaffected by purging the shader cache. Using plasmashell on wayland, no plugins, i7-4790K CPU.

Seems to me an issue with queue synchronizations on context switches, tho I am not sure if I should report this to mesa, proton or directly the amd team.

I haven't  been able to test other big games that might make use of compute pipelines due to having lost my steam library to an hard drive crash, tho I am in the process of redownloading some. Similarly I could potentially test if this happens on my old polaris GPU. However I could not get any other game to trigger this crash, including emualtion of a  certain recent nintendo console which I am pretty sure the emulator uses compute shaders

Offline

#2 Yesterday 10:51:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,435

Re: AMDGPU crash with kernel freeze / instability on RX 5700 XT

GCVM_L2_PROTECTION_FAULT_STATUS

Nasty error and hard to troubleshoot, often connected with compute on specific chipsets.

If you want help investigating this upload a coredump and full journal of a boot where this occurred.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Yesterday 19:12:16

Marichan
Member
Registered: 2024-03-08
Posts: 6

Re: AMDGPU crash with kernel freeze / instability on RX 5700 XT

Yeah, seems a mess, at least disabling the compute pipeline helps but maybe it can help making the drivers better in the future.

Anyway I managed to recover one of the device coredump by re-triggering one:
https://paste.c-net.org/AthertonTravers
and this is the associated journalctl, it's stupid long since i was testing other games before, the crash happens around line 7979, and it was a partial recover one:
https://paste.c-net.org/TerranceCritic

Offline

#4 Today 11:22:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,435

Re: AMDGPU crash with kernel freeze / instability on RX 5700 XT

amdgpu.si_support=1 radeon.si_support=0 amdgpu.cik_support=1 radeon.cik_support=1

Those options should only be needed for gcn videocards, your RX 5700 XT is several generations newer then that.
Please remove them.

MSI MS-7923/Z97 GUARD-PRO (MS-7923), BIOS V1.10 02/16/2016

https://www.msi.com/Motherboard/Z97-GUARD-PRO/support doesn't list 1.10 but shows 1.A at almost the same date.
Since hexadecimal A equals decimal 10 it's highly likelky it's the same firmware version .

Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: fe00000000800400
Sep 24 18:21:37 ArchHome kernel: fbcon: Taking over console
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: TSC 0 ADDR ffffffff9e2b34b9 MISC ffffffff9e2b34b9 
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: PROCESSOR 0:306c3 TIME 1790266890 SOCKET 0 APIC 0 microcode 0
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: CPU 1: Machine Check: 0 Bank 3: be00000000800400
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: TSC 0 ADDR ffffffff9f11967f MISC ffffffff9f11967f 
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: PROCESSOR 0:306c3 TIME 1790266890 SOCKET 0 APIC 2 microcode 28
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: CPU 2: Machine Check: 0 Bank 3: be00000000800400
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: TSC 0 ADDR ffffffff9e2b34b9 MISC ffffffff9e2b34b9 
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: PROCESSOR 0:306c3 TIME 1790266890 SOCKET 0 APIC 4 microcode 28
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: CPU 3: Machine Check: 0 Bank 3: be00000000800400
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: TSC 0 ADDR ffffffffc07bc07e MISC ffffffffc07bc07e 
Sep 24 18:21:37 ArchHome kernel: mce: [Hardware Error]: PROCESSOR 0:306c3 TIME 1790266890 SOCKET 0 APIC 6 microcode 28

There are no other MCE errrors in the log which suggests they're not related to the crashes , but they do need to be investigated.

Sep 24 23:42:21 ArchHome kernel: hid-steam 0003:28DE:1142.0002: steam_get_serial: invalid reply (ae 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
Sep 24 23:42:21 ArchHome kernel: hid-steam 0003:28DE:1142.0002: steam_get_attributes: invalid reply (ae 15 01 46 43 36 30 38 32 35 31 41 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
Sep 24 23:42:21 ArchHome kernel: hid-steam 0003:28DE:1142.0002: steam_register:steam_get_attributes failed with error -5
Sep 24 23:42:21 ArchHome kernel: hid-steam 0003:28DE:1142.0002: Steam Controller 'XXXXXXXXXX' connected
Sep 24 23:42:21 ArchHome systemsettings[6861]: INFO: Bad GET_ATTRIBUTES_VALUES response for controller 0x55bb11572480
Sep 24 23:42:21 ArchHome systemsettings[6861]: terminate called after throwing an instance of 'std::logic_error'
Sep 24 23:42:21 ArchHome systemsettings[6861]:   what():  basic_string: construction from null is not valid
Sep 24 23:42:21 ArchHome systemsettings[6861]: KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2
Sep 24 23:42:21 ArchHome systemd-coredump[51638]: Process 6861 (systemsettings) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Sep 24 23:42:21 ArchHome systemd[1]: Created slice Slice /system/drkonqi-coredump-processor.
Sep 24 23:42:21 ArchHome systemd[1]: Created slice Slice /system/systemd-coredump.
Sep 24 23:42:21 ArchHome systemd[1]: Started Process Core Dump (PID 51638/UID 0).
Sep 24 23:42:21 ArchHome systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Sep 24 23:42:23 ArchHome firefox[33588]: JavaScript warning: https://assets.aliexpress-media.com/g/a227ca/61F4nKXFqoL/0.0.4/f4e643dc9d425543fc645b3a01b9e0fa.js, line 1: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
Sep 24 23:42:25 ArchHome systemd-coredump[51639]: Process 6861 (systemsettings) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 6861:
                                                  #0  0x00007fb309a9a17c n/a (libc.so.6 + 0x9a17c)
                                                  #1  0x00007fb309a3e5d0 raise (libc.so.6 + 0x3e5d0)
                                                  #2  0x00007fb30c2ec659 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x8659)
                                                  #3  0x00007fb309a3e6f0 n/a (libc.so.6 + 0x3e6f0)
                                                  #4  0x00007fb309a9a17c n/a (libc.so.6 + 0x9a17c)
                                                  #5  0x00007fb309a3e5d0 raise (libc.so.6 + 0x3e5d0)
                                                  #6  0x00007fb309a25685 abort (libc.so.6 + 0x25685)
                                                  #7  0x00007fb309e9ac54 n/a (libstdc++.so.6 + 0x9ac54)
                                                  #8  0x00007fb309eb581a n/a (libstdc++.so.6 + 0xb581a)
                                                  #9  0x00007fb309e9a5ed _ZSt9terminatev (libstdc++.so.6 + 0x9a5ed)
                                                  #10 0x00007fb309eb5ad6 __cxa_throw (libstdc++.so.6 + 0xb5ad6)
                                                  #11 0x00007fb309e9eeff _ZSt19__throw_logic_errorPKc (libstdc++.so.6 + 0x9eeff)
                                                  #12 0x00007fb300c14105 n/a (kcm_gamecontroller.so + 0xe105)
                                                  #13 0x00007fb300c1bfff n/a (kcm_gamecontroller.so + 0x15fff)
                                                  #14 0x00007fb30a401dab n/a (libQt6Core.so.6 + 0x201dab)
                                                  #15 0x00007fb30a413d9d _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x213d9d)
                                                  #16 0x00007fb30a3f8e89 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1f8e89)
                                                  #17 0x00007fb30b705a4f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x105a4f)
                                                  #18 0x00007fb30a390538 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x190538)
                                                  #19 0x00007fb30a587591 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x387591)
                                                  #20 0x00007fb30a6c01b9 n/a (libQt6Core.so.6 + 0x4c01b9)
                                                  #21 0x00007fb3092e3cae n/a (libglib-2.0.so.0 + 0x6dcae)
                                                  #22 0x00007fb3092e5248 n/a (libglib-2.0.so.0 + 0x6f248)
                                                  #23 0x00007fb3092e5395 g_main_context_iteration (libglib-2.0.so.0 + 0x6f395)
                                                  #24 0x00007fb30a6bcdf2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x4bcdf2)
                                                  #25 0x00007fb30a39f1a4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x19f1a4)
                                                  #26 0x00007fb30a39400b _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x19400b)
                                                  #27 0x000055bb02354811 n/a (systemsettings + 0x15811)
                                                  #28 0x00007fb309a27781 n/a (libc.so.6 + 0x27781)
                                                  #29 0x00007fb309a278b9 __libc_start_main (libc.so.6 + 0x278b9)
                                                  #30 0x000055bb02355ae5 n/a (systemsettings + 0x16ae5)

There have been cases where the failing compute queue was merely the first symptom instead of the cause of the GCVM_L2_PROTECTION_FAULT .
Can you try non-steam gamecontrollers / peripherals ?
wired standard devices like a 5 euro usb mice with just 3 buttons and a wheel give the best chance to determine if the controllers are involved.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 Today 15:06:46

Marichan
Member
Registered: 2024-03-08
Posts: 6

Re: AMDGPU crash with kernel freeze / instability on RX 5700 XT

Those options should only be needed for gcn videocards, your RX 5700 XT is several generations newer then that.

yeah, I noticed as wel when uploading the log, I recently upgraded from a polaris card, I had forgot to rebuild grub config after removing them.

There are no other MCE errrors in the log which suggests they're not related to the crashes , but they do need to be investigated.

I noticed those errors as well, but they are present only in the boot after a crash. For example in the following log they are not present, since I was coming off a fresh boot.

Can you try non-steam gamecontrollers / peripherals ?

Here you go (https://paste.c-net.org/PfeifferSwirl, long log again, I have been using the pc to watch some videos), I pulled the dongle out (line 4168) one minute before starting with just kb / mice. Game crashes all the same. Also, if the computer was hard rebooted the steam controller would act unreliable until rebooted itself so probably the messages in the other log are about that.

Offline

Board footer

Powered by FluxBB