FreeBSD-12.1 on laptop

Miguel C miguelmclara at gmail.com
Thu Nov 28 15:17:42 UTC 2019


On Thu, Nov 28, 2019 at 3:04 PM Tomasz CEDRO <tomek at cedro.info> wrote:

> 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"
>
>
> Just my 2 cents but usually I just use:
/boot/modules/i915kms.ko and this loads the correct drm module


miguelc at server:~ % cat /etc/rc.conf|grep kms
#kld_list="i915kms.ko"
kld_list="/boot/modules/i915kms.ko"
miguelc at server:~ % kldstat -v |egrep "drm|kms"
                121 drmn/fbd
 8    1 0xffffffff84bb7000   12c8b0 i915kms.ko (/boot/modules/i915kms.ko)
                519 i915kms
 9    1 0xffffffff84ce4000    763b0 drm.ko (/boot/modules/drm.ko)
                518 drmn


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
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
>


More information about the freebsd-x11 mailing list