Re: FreeBSD-12.1 on laptop

Tomasz CEDRO <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions
Message-ID <CAFYkXjn8ka_Vsmq=ieB+wRVxgk0y+1VSUsDjYeaZAiwGBU-E+Q@mail.gmail.com>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.