RX 7900 freezing when playing games

Hello. I’m trying to get my new graphics card (7900 XT) working on KDE Neon. X/Wayland both freeze every time that it starts to ramp up in power usage (~70W). I’ve already exchanged it for a second card and it seems to have the same issue, so I suspect that it’s a driver issue.

I found a few suggestions, but most of them are outdated (6.2 kernel, mesa 23). I see this in my dmesg:
[ 1.975193] kernel: amdgpu 0000:0b:00.0: Direct firmware load for amdgpu/gc_11_0_0_mes_2.bin failed with error -2

Naturally, that file doesn’t exist. When I grep for it, I don’t see it in /usr/lib/firmware, /etc/, or /boot. dpkg says that nothing provides it, although linux-firmware provides the other files.

Is this a bug for linux-firmware?

% dpkg -S gc_11_0_0*
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_imu.bin
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_me.bin
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_rlc.bin
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_pfp.bin
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_mec.bin
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_mes.bin
linux-firmware: /lib/firmware/amdgpu/gc_11_0_0_mes1.bin

That firmware is missing from the installed “linux-firmaware” package on Neon it seems. I do not have it either. My installed version is “20220329” which is more than a little outdated…

However the latest version in git is 20230804, which does have it. Maybe simply download the latest tgz, extract the missing file(s), and drop it into /lib/firmware/amdgpu?

edit - no… that will not work.

Seems my first thought was correct, its a kernel problem. This fix is a possibility:

“Fixed it by installing linux-amd-drm-next from aur”.

I dont know much about Neon, but since it’s ubuntu base, you could possibly use any ubuntu related info to install newer kernel with the fix applied