AMD Ryzen 9 7940HS (Radeon 780M) - Graphics now working!

This was a very rocky road and maybe its just me, but I found next to no helpful information in getting the 780M graphics of the fairly new AMD 7940HS to work on FreeBSD. Here is a short list of the things I had to do to get this working:

  • Upgrade to FreeBSD 15-CURRENT, it looks like the drm-61-kmod package required to support this APU is not available for FreeBSD 14 or 13. This is a bummer, I do not usually like to run bleeding edge development branches
  • Install drm-61-kmod from packages or port (I installed everything from ports)
  • Add the required kld_list="amdgpu" to your rc.conf
  • Now install the following firmware packages/ports:
    • gpu-firmware-amd-kmod-dcn-3-1-4
    • gpu-firmware-amd-kmod-gc-11-0-1
    • gpu-firmware-amd-kmod-gc-11-0-4
    • gpu-firmware-amd-kmod-psp-13-0-4
    • gpu-firmware-amd-kmod-sdma-6-0-1
    • gpu-firmware-amd-kmod-vcn-4-0-2
If you install from ports, the part after "gpu-firmware-amd-kmod" indicates the flavour you need to build.

Now the GPU should properly initialize on reboot. If you forget any of the firmware packages or get the wrong flavour, you will get a kernel panic during boot. Actually, output from these kernel panics showed me which firmware packages were needed. So if you are installing a slightly different APU and do get a kernel panic, pay close attention to the AMD driver messages, these are really helpful.

The "friendly name" of the Ryzen 9 7940HS platform is "Phoenix", in case that gets later added to the AMD GPU firmware flavours.

If anybody is interested, the PC in question is a Minisforum UM790 Pro (which I was almost ready to throw out of the windows before I got this to work, finally). This also required the realtek-re-kmod package for the 2.5 GBit Ethernet interface to work.
 
… CURRENT, … a bummer, I do not usually like to run bleeding edge development branches …

If you make good use of ZFS boot environments, you should have no fear.

A few hours ago in Discord we walked someone through upgrading from 14.0-RELEASE to 15.0-CURRENT. Partly with reference to the wiki, which currently focuses on RELEASE, so some variation was required (plus, we noticed some gaps).
 
Hi! Followed everything here, and I have graphics drivers working well. I have not managed to get audio working though. If you did get audio working, would sharing your solution be possible?
(Minisforum UM790)
 
The audio is too quiet and I haven't figured out how to increase the volume. Standard audio mixer settings don't seem to have an effect.
 
Hi! Followed everything here, and I have graphics drivers working well. I have not managed to get audio working though. If you did get audio working, would sharing your solution be possible?
(Minisforum UM790)
I do not need audio on this box, so I never looked into this. In general terms, you could either use a standard USB audio device or use audio via HDMI (AMD audio).
 
Just as a warning, upgrading from 14.1-RELEASE to 14.2-RELEASE left me with a blank screen. I was able to get things working again by rebuilding drm-61-kmod and the firmware packages listed above.

Before upgrading, consider removing "amdgpu" from being loaded automatically on system start. Doing this before upgrading would have saved me some time.
 
Just as a warning, upgrading from 14.1-RELEASE to 14.2-RELEASE left me with a blank screen. I was able to get things working again by rebuilding drm-61-kmod and the firmware packages listed above.

Before upgrading, consider removing "amdgpu" from being loaded automatically on system start. Doing this before upgrading would have saved me some time.
And beware of per-RELEASE Errata every time upgrading base.;)
 
Interesting... I have a Ryzen 5 7600 with Raphael graphics. It's fast, and supposedly has integrated graphics. This really gives me hope for using that as the compile machine with a desktop.
 
Back
Top