Inspired by a video from techmimic's youtube channel I installed FreeBSD 15.0-RELEASE on my old Apple hardware.
Getting this ready for Xorg/XFCE involved a few iterations of trial and error. According to reports from other people using amdgpu with that card everything should work but Apple's hardware needed some extra attention.
So my workaround looks like this:
In spite of the loader.conf configuration, I have to additionally
This seems to be the only way to get this working. The system was always responsive but sometimes I had to type stuff blindly.
Any other combination of settings such as placing
Does anyone have an idea why the driver behaves that way? I can live that workaround but drivers somehow unloading themselves during boot does really not feel like something that happens a lot on FreeBSD.
pciconf -lv identified vendor=0x1002 device=0x67df subvendor=0x106b subdevice=0x0163 which is an AMD Radeon Pro 570 according to /usr/local/share/pciids/pci.ids.Getting this ready for Xorg/XFCE involved a few iterations of trial and error. According to reports from other people using amdgpu with that card everything should work but Apple's hardware needed some extra attention.
So my workaround looks like this:
Code:
# what the handbook says plus
pkg install xf86-video-amdgpu
# loader.conf
amdgpu_load="YES"
hw.pci.enable_io_modes="1"
hw.pci.realloc_bars="1"
hw.pci.do_power_nodriver="0"
kldload amdgpu as root. Before I do that kldstat would report that the driver is not present, somehow it gets lost during the boot process. My shiny Mac screen visibly turns off and back on for a second after kldload amdgpu. Then I can login as a normal user and startx.This seems to be the only way to get this working. The system was always responsive but sometimes I had to type stuff blindly.
Any other combination of settings such as placing
kld_list="amdgpu" in rc.conf (with or without a corresponding loader.conf setting) does not work even if kldstat reports that the driver is loaded.Does anyone have an idea why the driver behaves that way? I can live that workaround but drivers somehow unloading themselves during boot does really not feel like something that happens a lot on FreeBSD.