FreeBSD-12.1 on laptop

Tomasz CEDRO tomek at
Thu Nov 28 15:04:24 UTC 2019

Do this as root:

pkg install Xorg hal dbus
portsnap fetch update
cd /usr/ports/graphics/drm-fbsd12.0-kmod/
make deinstall
make install
kldunload drm
kldunload i915kms
kldload /boot/modules/drm.ko
kldload /boot/modules/i915kms.ko

You can also generate Xorg configuration with:
Xorg -configure
cp /root/ /etc/X11/xorg.conf

Note that you have to compile the DRM kernel driver on your machine,
also you need to load /boot/modules/drm.ko and
/boot/modules/i915kms.ko from that location otherwise you will load
default drm/i915 drivers that does not work with modern GPU.

If all above works put below line into /etc/rc.conf:
kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko"

You may also take a look at to see if
people had similar problems and found a working solution.

Have fun :-)


More information about the freebsd-questions mailing list