Re: FreeBSD-12.1 on laptop
Miguel C <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions |
|---|---|
| Message-ID | <CADGo8CVOMNAKk+FNvZc2yZzBb7coZXZT_XXESqXRYdJcnSt6sA@mail.gmail.com> |
On Thu, Nov 28, 2019 at 3:04 PM Tomasz CEDRO <[email protected]> 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@server:~ % cat /etc/rc.conf|grep kms #kld_list="i915kms.ko" kld_list="/boot/modules/i915kms.ko" miguelc@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 > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"