FreeBSD-12.1 on laptop

Tomasz CEDRO tomek at cedro.info
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
make deinstall
make install
kldunload drm
kldunload i915kms
kldload /boot/modules/drm.ko
kldload /boot/modules/i915kms.ko
startx

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

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 https://forums.freebsd.org/ to see if
people had similar problems and found a working solution.

Have fun :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


More information about the freebsd-x11 mailing list