Just booted fresh Debian install with 7900 XTX: Getting errors at boot

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.

mouse,
@mouse@midwest.social avatar

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 git.kernel.org/pub/scm/…/linux-firmware.git/ I believe anything from linux-firmware-20231030 and newer should work.

20231030 tag: git.kernel.org/pub/scm/linux/kernel/git/…/amdgpu?…or newest(20240410) tag: git.kernel.org/pub/scm/linux/kernel/git/…/amdgpu?…

These files need to be placed in /lib/firmware/amdgpu/

hersh,

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.

kbal,
@kbal@fedia.io avatar

Shouldn't that be "gc_11_0_0_mes_2.bin" — without the double 0? That you could download from git.kernel.org among other places.

That video card came out around the same time as the current version of Debian stable, so it's probably too new to be included in your version of firmware-amd-graphics. It would go in /usr/lib/firmware/amdgpu/ with a bunch of similar-looking files. The other thing you might need to go with that firmware is a newer linux kernel, which you could get from backports.

nobleshift,
@nobleshift@lemmy.world avatar

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.

kbal, (edited )
@kbal@fedia.io avatar

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.

lemmylem, (edited )

The errors went away at boot, but nothing happens now, its just stuck. I just see the _ blinking that’s it. Going to try installing Arch and see if I can get it working better.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • ngwrru68w68
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • InstantRegret
  • tacticalgear
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • modclub
  • everett
  • kavyap
  • Durango
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • ethstaker
  • mdbf
  • tester
  • GTA5RPClips
  • cisconetworking
  • Leos
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines