Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797421 - sys-kernel/linux-firmware: AMD Radeon RX 6700 XT no firmware (was AMD Radeon RX 6700 XT no firmware)
Summary: sys-kernel/linux-firmware: AMD Radeon RX 6700 XT no firmware (was AMD Radeon ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Other
: Highest blocker (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-22 02:32 UTC by Daiajo Tibdixious
Modified: 2021-06-24 23:17 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daiajo Tibdixious 2021-06-22 02:32:41 UTC
I have a fresh install, never working. I'm at the point where I can boot from the hard drive and do a modprobe amdgpu successfully.

Doing startx in a user account gives several errors (note I'm typing this on my old computer, so there may be typos)

open /dev/dri/card0: No such file or directory
VGA arbiter: cannot open kernel arbiter, no multi-card support

Googling the dri/card0 error suggests that the driver isn't working.
On https://wiki.gentoo.org/wiki/AMDGPU
the nearest Navi firmware is Navi21
However I have a Navi22. I did install all of the the Navi firmware blobs,
hoping they would work.

So I suspect the lack of firmware for this GPU is preventing the amdgpu driver from working.

I'm wondering if the firmware issue is the cause of my problem,
and whether the firmware exists but the wiki is out of date, or maybe there is
a kernel option I'm missing.

I easily can't attach logs. I can put them on USB drives on the new computer, but the sticks are not recognized on my old computer, its just one of the reasons I'm building a new one.
Comment 1 James Beddek 2021-06-22 05:16:49 UTC
Navi22's codename is Navy Flounder. The firmware files for this (amdgpu/navy_flounder_{ce,dmcub,me,mec2,mec,pfp,rlc,sdma,smc,sos,ta,vcn}.bin) are present in the same location as for Navi21 in any recent linux-firmware
Comment 2 Daiajo Tibdixious 2021-06-22 07:12:15 UTC
I reinstalled linux-firmare with the navy_founder_* blobs, thanks for that.

After
# modprobe amdgpu
# dmesg | list -i firmware
I only get 3 lines:
ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

Googling theses gives me no useful information.
I have FW_LOADER=y in kernel 5.10.27
I did not build the blobs into the kernel as I have amdgpu as a module,
but I'm going to try that to see if it helps.
Comment 3 Joakim Tjernlund 2021-06-22 11:43:05 UTC
regulatory.db -> emerge net-wireless/wireless-regdb
Comment 4 Marco Scardovi (scardracs) 2021-06-23 08:44:02 UTC
Reading that https://forum.manjaro.org/t/radeon-rx-6700-xt-cannot-start-display-manager-black-screen/65820/2 supports for your AMD card was added on kernel 5.12+
Comment 5 Daiajo Tibdixious 2021-06-23 09:28:46 UTC
I have wireless-regdb installed and the /lib/firmware/regulatory.db is there.
As for the kernel I'll upgrade to 5.12.12
Comment 6 Daiajo Tibdixious 2021-06-24 23:17:47 UTC
I was a bit busy so took a few days before I got around to finishing the 5.12 kernel install. Now its in, amdgpu driver loaded just fine and KDE finally running, so all good now.
Thanks for the help, would never guessed to go beyond the stable kernels.