AMD Radeon 7900XTX Unsupported?

Hi,

I am attempting to try out FreeBSD on a desktop, since my laptops both had an unsupported wifi chip. Both of them have AMD graphics and I got those working with X11/Plasma. I believe that I have done what is needed in terms of the drivers for the desktop, but not sure...

/var/log/Xorg.0.log --> https://termbin.com/tup8

The following line seems interesting:
Code:
[    33.853] (EE) Device(s) detected, but none match those in the config file.

I have installed the latest version of /usr/ports/graphics/gpu-firmware-amd-kmod and x11-drivers/xf86-video-amdgpu, as well as put: kld_list="amdgpu" in /etc/rc.conf. From what I saw in the committ messages for the AMD driver, it looked like RDNA3 is supported, so maybe I just did something wrong here.

Does anyone have any ideas? (also, I am about to head to bed, so if anyone replies tonight, I will not answer back until tomorrow).
 
Hi,

I am attempting to try out FreeBSD on a desktop, since my laptops both had an unsupported wifi chip. Both of them have AMD graphics and I got those working with X11/Plasma. I believe that I have done what is needed in terms of the drivers for the desktop, but not sure...

/var/log/Xorg.0.log --> https://termbin.com/tup8

The following line seems interesting:
Code:
[    33.853] (EE) Device(s) detected, but none match those in the config file.

I have installed the latest version of /usr/ports/graphics/gpu-firmware-amd-kmod and x11-drivers/xf86-video-amdgpu, as well as put: kld_list="amdgpu" in /etc/rc.conf. From what I saw in the committ messages for the AMD driver, it looked like RDNA3 is supported, so maybe I just did something wrong here.

Does anyone have any ideas? (also, I am about to head to bed, so if anyone replies tonight, I will not answer back until tomorrow).
I'm sorry, but FreeBSD only supports up to RX 6600... your card is too new. 7900 XTX has codename plum bonito. That has not yet made it into
graphics/gpu-firmware-amd-kmod pkg-plist...
 
I am attempting to try out FreeBSD on a desktop, since my laptops both had an unsupported wifi chip. Both of them have AMD graphics and I got those working with X11/Plasma.
Easiest thing to do here would be to buy a TP-Link Nano USB Wifi adapter, a few dollars/euro/pounds from Amazon or anywhere else, to get your laptops up and running on FreeBSD whilst you wait for the newer graphics card firmware to be ported from Linux. The driver for that wifi card just needs if_rtwn_usb_load="YES" in /boot/loader.conf
 
Easiest thing to do here would be to buy a TP-Link Nano USB Wifi adapter, a few dollars/euro/pounds from Amazon or anywhere else, to get your laptops up and running on FreeBSD whilst you wait for the newer graphics card firmware to be ported from Linux. The driver for that wifi card just needs if_rtwn_usb_load="YES" in /boot/loader.conf
or, if you have the skill and patience, find an Intel-branded wifi card to swap in.
 
Thanks for the replies!

I will let the FreeBSD partition on the desktop rest until the graphics card is supported, and probably either get a usb wifi adapter or switch out the internal card on one of the laptops at some point.
 
I'm sorry, but FreeBSD only supports up to RX 6600... your card is too new. 7900 XTX has codename plum bonito. That has not yet made it into
graphics/gpu-firmware-amd-kmod pkg-plist...
Do you know if that is still the case, a year later? I am researching the AMD Radeon RX 7900 XT and XTX cards, but wanted to double-check first if they will be supported by FreeBSD. Otherwise I'll have to stick with Nvidia for a while longer.

I can see those cards in the "Hardware for BSD" list. So any chance that means they are supported. Clicking on one of those results, yields info like this.

🤞
 
I can see those cards in the "Hardware for BSD" list. So any chance that means they are supported. Clicking on one of those results, yields info like this.
Ummm... just FYI, bsd-hardware.info can potentially indicate if a card is supported, but it will not say outright that "It's supported, here are the drivers".

This thread may be of interest if you want to do your own research into getting Radeon RX 7000 series GPUs to work under FreeBSD: Thread amd-ryzen-9-7940hs-radeon-780m-graphics-now-working.92161. Do pay attention that it's Radeon RX 7000, not Radeon HD 7000 - the HD is more than 10 years old, and uses radeonkms driver, which is well known to work. That difference has tripped up quite a few ppl already.

My personal conclusion is that RX 7000 series GPUs are not quite there yet. I've been reading blogs from the FreeBSD Foundation, they do have some plans along those lines for 15-RELEASE (Due out in December of this year).

In the pkg-plist that I linked to - there's a long list of versioned GPU modules whose names start with amdgpu_gc_* - that's the new stuff that needs to be massaged into code-named drivers that can be installed and used with just the pkg(8) commands.. It's not out of question that RX 7000 series discrete cards are supported by those versioned modules. Beyond that, YMMV.
 
Gentlemen, the RX 7900 XTX works!!!

I am not sure exactly when support for this beast of a GPU was added, but I can confirm that it's working right now on FreeBSD 14.2 RELEASE. And i didn't even have to switch from quarterly to latest to get it to work with packages!

From a fresh installation, after connecting to the net, all i had to do was install the following (And openbox is optional here obviously, but i just selected it, because i am fairly familiar with it):

Code:
pkg install xorg drm-kmod openbox

Then, after creating a user and adding that user to the video group:

Code:
pw groupmod -n video -m user

I created the /home/user/.xinitrc file with the following contents:

Code:
exec openbox-session

And after querying the BusID of my GPU:

Code:
pciconf -lv | grep -A2 -B2 RX
vgapci0@pci0:3:0:0:    class=0x030000 rev=0xc8 hdr=0x00 vendor=0x1002 device=0x744c subvendor=0x1849 subdevice=0x5302
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M]'
    class      = display
    subclass   = VGA

I created /usr/local/etc/X11/xorg.conf with the following contents:

Code:
Section "Device"
    Identifier "Card0"
    BusID "PCI:3:0:0"
EndSection

Once that was done i just had to load up the kernel module:

Code:
kldload amdgpu

And finally from the user account:

Code:
startx

(Later i also decided to load the amdgpu module at startup by appending amdgpu to the kld_list variable in /etc/rc.conf)

I just can't believe it's working 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

Oh boy, I'm gonna have a field day with this...
 
Gentlemen, the RX 7900 XTX works!!!

I am not sure exactly when support for this beast of a GPU was added, but I can confirm that it's working right now on FreeBSD 14.2 RELEASE. And i didn't even have to switch from quarterly to latest to get it to work with packages!

From a fresh installation, after connecting to the net, all i had to do was install the following (And openbox is optional here obviously, but i just selected it, because i am fairly familiar with it):

Code:
pkg install xorg drm-kmod openbox

Then, after creating a user and adding that user to the video group:

Code:
pw groupmod -n video -m user

I created the /home/user/.xinitrc file with the following contents:

Code:
exec openbox-session

And after querying the BusID of my GPU:

Code:
pciconf -lv | grep -A2 -B2 RX
vgapci0@pci0:3:0:0:    class=0x030000 rev=0xc8 hdr=0x00 vendor=0x1002 device=0x744c subvendor=0x1849 subdevice=0x5302
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M]'
    class      = display
    subclass   = VGA

I created /usr/local/etc/X11/xorg.conf with the following contents:

Code:
Section "Device"
    Identifier "Card0"
    BusID "PCI:3:0:0"
EndSection

Once that was done i just had to load up the kernel module:

Code:
kldload amdgpu

And finally from the user account:

Code:
startx

(Later i also decided to load the amdgpu module at startup by appending amdgpu to the kld_list variable in /etc/rc.conf)

I just can't believe it's working 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

Oh boy, I'm gonna have a field day with this...
Nice, can you please post the output of
kldstat | grep amdgpu ?
 
Sure thing!

Code:
> kldstat | grep amdgpu
 5    1 0xffffffff83400000   6688e8 amdgpu.ko

12    1 0xffffffff83346000    48ae0 amdgpu_gc_11_0_0_mes_2_bin.ko

13    1 0xffffffff8338f000    35bd0 amdgpu_gc_11_0_0_mes1_bin.ko

14    1 0xffffffff83a69000    438f0 amdgpu_psp_13_0_0_sos_bin.ko

15    1 0xffffffff83aad000    3d5e0 amdgpu_psp_13_0_0_ta_bin.ko

16    1 0xffffffff83aeb000    49748 amdgpu_smu_13_0_0_bin.ko

17    1 0xffffffff83b35000    474f0 amdgpu_dcn_3_2_0_dmcub_bin.ko

18    1 0xffffffff833c5000    225e0 amdgpu_gc_11_0_0_imu_bin.ko

19    1 0xffffffff83b7d000    34d50 amdgpu_gc_11_0_0_pfp_bin.ko

20    1 0xffffffff83bb2000    30530 amdgpu_gc_11_0_0_me_bin.ko

21    1 0xffffffff83be3000    2f380 amdgpu_gc_11_0_0_rlc_bin.ko

22    1 0xffffffff83c13000    65700 amdgpu_gc_11_0_0_mec_bin.ko

23    1 0xffffffff833e8000     a7e0 amdgpu_sdma_6_0_0_bin.ko

24    1 0xffffffff83c79000    5fe30 amdgpu_vcn_4_0_0_bin.ko

25    1 0xffffffff833f3000     27e0 amdgpu_psp_13_0_5_toc_bin.ko

26    1 0xffffffff83cd9000    344e0 amdgpu_psp_13_0_5_ta_bin.ko

27    1 0xffffffff83d0e000    4ba00 amdgpu_dcn_3_1_5_dmcub_bin.ko

28    1 0xffffffff83d5a000    425e0 amdgpu_gc_10_3_6_pfp_bin.ko

29    1 0xffffffff83d9d000    425e0 amdgpu_gc_10_3_6_me_bin.ko

30    1 0xffffffff83de0000    42560 amdgpu_gc_10_3_6_ce_bin.ko

31    1 0xffffffff83e23000    2d4a0 amdgpu_gc_10_3_6_rlc_bin.ko

32    1 0xffffffff83e51000    43a10 amdgpu_gc_10_3_6_mec_bin.ko

33    1 0xffffffff83e95000    43a10 amdgpu_gc_10_3_6_mec2_bin.ko

34    1 0xffffffff83ed9000     a5e0 amdgpu_sdma_5_2_6_bin.ko

35    1 0xffffffff83ee4000    8da90 amdgpu_vcn_3_1_2_bin.ko

That should be everything
 
Sure thing!

Code:
> kldstat | grep amdgpu
 5    1 0xffffffff83400000   6688e8 amdgpu.ko

12    1 0xffffffff83346000    48ae0 amdgpu_gc_11_0_0_mes_2_bin.ko

13    1 0xffffffff8338f000    35bd0 amdgpu_gc_11_0_0_mes1_bin.ko

14    1 0xffffffff83a69000    438f0 amdgpu_psp_13_0_0_sos_bin.ko

15    1 0xffffffff83aad000    3d5e0 amdgpu_psp_13_0_0_ta_bin.ko

16    1 0xffffffff83aeb000    49748 amdgpu_smu_13_0_0_bin.ko

17    1 0xffffffff83b35000    474f0 amdgpu_dcn_3_2_0_dmcub_bin.ko

18    1 0xffffffff833c5000    225e0 amdgpu_gc_11_0_0_imu_bin.ko

19    1 0xffffffff83b7d000    34d50 amdgpu_gc_11_0_0_pfp_bin.ko

20    1 0xffffffff83bb2000    30530 amdgpu_gc_11_0_0_me_bin.ko

21    1 0xffffffff83be3000    2f380 amdgpu_gc_11_0_0_rlc_bin.ko

22    1 0xffffffff83c13000    65700 amdgpu_gc_11_0_0_mec_bin.ko

23    1 0xffffffff833e8000     a7e0 amdgpu_sdma_6_0_0_bin.ko

24    1 0xffffffff83c79000    5fe30 amdgpu_vcn_4_0_0_bin.ko

25    1 0xffffffff833f3000     27e0 amdgpu_psp_13_0_5_toc_bin.ko

26    1 0xffffffff83cd9000    344e0 amdgpu_psp_13_0_5_ta_bin.ko

27    1 0xffffffff83d0e000    4ba00 amdgpu_dcn_3_1_5_dmcub_bin.ko

28    1 0xffffffff83d5a000    425e0 amdgpu_gc_10_3_6_pfp_bin.ko

29    1 0xffffffff83d9d000    425e0 amdgpu_gc_10_3_6_me_bin.ko

30    1 0xffffffff83de0000    42560 amdgpu_gc_10_3_6_ce_bin.ko

31    1 0xffffffff83e23000    2d4a0 amdgpu_gc_10_3_6_rlc_bin.ko

32    1 0xffffffff83e51000    43a10 amdgpu_gc_10_3_6_mec_bin.ko

33    1 0xffffffff83e95000    43a10 amdgpu_gc_10_3_6_mec2_bin.ko

34    1 0xffffffff83ed9000     a5e0 amdgpu_sdma_5_2_6_bin.ko

35    1 0xffffffff83ee4000    8da90 amdgpu_vcn_3_1_2_bin.ko

That should be everything
Thanks, this is what I was looking for! All this is a treasure trove of info that tells me which stuff works, and for which GPU! The devil is truly in the details, this can be used for troubleshooting lots of other AMD GPUs now! 🎉
 
drm-616-kmod has been updated with new GPU support, could be related to that :) I had to build from ports to get it to work for my 6750XT though.
 
Back
Top