How to Install the FreeBSD AMDGPU Driver on a Beelink SER5 5560U

May 22, 2025

After installing FreeBSD 14.2 fresh on my Beelink SER5 5560U, I installed the GPU driver and enabled the TearFree option for better desktop usage by following these steps:

1. Speed Up Keyboard Repeat Rate

# kbdcontrol -r fast

Edit /etc/rc.conf:

keyrate="fast"

2. Install Xorg

# pkg install -y xorg

3. Add User to Necessary Groups

# pw groupmod video -m username
# pw groupmod wheel -m username

Verify with:

# id username

4. Install DRM Kernel Module for AMD

# pkg install -y drm-kmod
# sysrc kld_list+=amdgpu

Now reboot.

At this point, the graphical driver should kick in, and you’ll notice a change in console resolution.

5. Start X and Test

# startx

It should display the X server without any errors.

6. Install AMD X11 Driver

# pkg install x11-drivers/xf86-video-amdgpu
# X -configure

This will generate the file:

/usr/local/share/X11/xorg.conf.d/10-amdgpu.conf

Edit it to include TearFree:

Section "OutputClass"
    Identifier "AMDgpu"
    MatchDriver "amdgpu"
    Driver "amdgpu"
    Option "TearFree" "true"
EndSection

7. Check if TearFree is Enabled

# startx
# xrandr --props

Look for, to see if it’s on:

DisplayPort-2 connected
    TearFree: on

8. Install SDDM, Firefox, and MATE

# pkg install sddm firefox x11/mate

Everything should be up and running now. Proceed with further desktop and app configuration.