Hello,
So I just bought a 7900 XTX and put it in my Libreboot 9020 MT motherboard (I have a custom build that I made for myself), it says during bootup of Debian:
“amdgpu 0000:03:00.0: firmware: failed to load amdgpu/gc_11_00_0_mes_2.bin (-2)”
I took out the GPU, booted into the OS without errors, and checked if the firmware-amd-graphics package was installed, which it was. I’m new to AMD, wondering if anyone else has had the same issue before.
I recently upgraded to a 7900 XTX on Debian stable, as well. I’m running the newest kernel from Debian’s backports repo (6.6, I think), and I didn’t have that same problem.
I did have other problems with OpenCL, though. I made a thread about this and solved it with some trouble. Check my post history if you’re interested. I hope it helps. I can take a closer look at my now-working system for comparison if you have further issues.
Yeah, Debian has older firmware found in the
firmware-amd-graphics
package which doesn’t include the firmware. You’ll need to download it from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ I believe anything from linux-firmware-20231030 and newer should work.20231030 tag: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu?h=20231030 or newest(20240410) tag: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu?h=20240410
These files need to be placed in /lib/firmware/amdgpu/
See that the linux-firmware package is installed on your system.
Then check /lib/firmware/amdgpu/
If it’s not there download it manually and place it there using sudo
Make sure chown it properly as well. I’m pretty sure it’s sudo chown root:root filenamehere. Dbl check who owns the amdgpu dir, that’s who should own it.
Update Initramfs - sudo update-initramfs -u
Reboot and pray.
Oh yeah, I forgot about updating initramfs. Just like I usually do at home. Installing a new kernel would do it automatically though, and I imagine that’s somewhat likely to be needed. It has been for both of the new-ish video cards I’ve had in recent years.