Re: FreeBSD-12.1 on laptop

Scott Bennett <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions
Message-ID <[email protected]>
Tomasz CEDRO <[email protected]> wrote:

> Do this as root:
>
> pkg install Xorg hal dbus

     Bzzzt!  Please do not send innocent victims into the hal nightmare.
That package is *not* needed and *should be avoided whenever possible*.

> portsnap fetch update
> cd /usr/ports/graphics/drm-fbsd12.0-kmod/
> make
> make deinstall
> make install
> kldunload drm
> kldunload i915kms

     Yeah?  Good luck with that.  One it has the graphics device, I
doubt it will allow itself to be unloaded.  A reboot will most likely
be necessary.

> kldload /boot/modules/drm.ko

     It shouldn't be necessary to load drm.ko manually.

> kldload /boot/modules/i915kms.ko

     There can be problems with the above method of loading this, IIRC.
Using

kld_list="/boot/modules/i915kms.ko"

in /etc/rc.conf.local (or /etc/rc.conf if you don't separate your own
added choices from the system's) is the preferred method.

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

     Note that manual configuration should be used only as a last resort.
Most users should let xorg autoconfigure unless there is a problem in
getting particular devices, fonts, drivers, etc. recognized or for special
screen, keyboard, and/or pointing device setups.
>
> Note that you have to compile the DRM kernel driver on your machine,

     True, except for users who run -RELEASE GENERIC.

> also you need to load /boot/modules/drm.ko and

     Not true AFAIK.  I don't do that, and it works just fine.

> /boot/modules/i915kms.ko from that location otherwise you will load
> default drm/i915 drivers that does not work with modern GPU.

     Yes, this one most likely does need to be specified for Intel's
integrated graphics.
>
> 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 :-)


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************
_______________________________________________
[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.