AMD Lexa PRO Radeon 540

I just installed FreeBSD-14.2-RELEASE on a machine with this graphic AMD ATI Radeon graphics card.

Have tried adding:

Code:
radeon_load="YES"

to /boot/loader.conf.

It has been several years since I ever had to wrestle with an xorg.conf file. Wages of Linux having become exceedingly easy to setup. Miss the old modeline editing days. Color me rusty when it comes to this stuff.

I have been unable to get X to launch. Have installed x11/xorg, x11/xf86-driver-ati and x11/xf86-driver-amdgpu.

Also have a mix of KDE6/5 and sddm installed.

/var/log/Xorg.0.log shows that sddm load fails with no screens found. Same with startx.

Any help will be appreciated.
 
You're loading the wrong driver. Your GPU is recent and requires the amdgpu driver, not radeon, which is for legacy hardware.

Have tried adding:
radeon_load="YES"
to /boot/loader.conf.
... remove that. You don't need x11-drivers/xf86-video-ati either.

Instead, enable loading of the amdgpu kernel module:
# sysrc kld_list+=amdgpu or edit kld_list="" in /etc/rc.conf manually.

It's not necessary to have it loaded before boot (via /boot/loader.conf).

You shouldn't need any xorg.conf either, usually it works automatically just like on Linux.

Make sure your user is part of the video group.

If it still doesn't work, there is probably an incompatibility problem between the current packaged driver (built on 14.1-RELEASE until its EoL) and the installed system (14.2-RELEASE). Build graphics/drm-61-kmod from ports, or see the following thread for packages: https://forums.freebsd.org/threads/possible-solution-to-the-drm-kmod-kernel-mismatch-after-upgrade-from-bapt.96058/

In any case I recommend you to read the relevant section of the handbook: https://docs.freebsd.org/en/books/handbook/x11/
 
Back
Top