Date: Fri, 29 Nov 2019 00:59:46 -0600 From: Scott Bennett <bennett@sdf.org> To: vm.finance2@gmail.com, tomek@cedro.info Cc: kappei84@gmail.com, freebsd@edvax.de, freebsd-x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: FreeBSD-12.1 on laptop Message-ID: <201911290659.xAT6xkRx002554@sdf.org> In-Reply-To: <CAFYkXjn8ka_Vsmq=ieB%2BwRVxgk0y%2B1VSUsDjYeaZAiwGBU-E%2BQ@mail.gmail.com> References: <CAKy-8=hUCNiAufHHgpLJTnbS_==aHT7UyspgjLyro-yEcxJ2_w@mail.gmail.com> <CAKy-8=i07xSnz3yW3H1XCOJ8_7x_m1__e0r68HxUx-R7-A0x8w@mail.gmail.com> <CAKy-8=gte8_xZGTt17kRgPtyj9mi6wx-ahehNSGrbcedVn4ZNQ@mail.gmail.com> <CACNAnaECR4bQ=FAM%2BwTfU0HaR63uAUQkp41mS9pPSM=4K_EGqQ@mail.gmail.com> <CAKy-8=gh7nGqzf9G5A7zJDoa2EQgA432k49djHi3%2Bzhg36Tv_A@mail.gmail.com> <CAKy-8=ivtDo0it9fzyUp8mUDAQuGWVfdQqfz2hmhXcA6CXJn%2Bg@mail.gmail.com> <CAKy-8=gHp67aqpXXNM=rfsWwNc4Ay__bsC-09NZ03Afm9W4ekg@mail.gmail.com> <CAKy-8=ho=mD5WLJA5iHbDt9prnrMDhjrwmWOO5NXumQDB9hXhw@mail.gmail.com> <20191128103810.9599da0b.freebsd@edvax.de> <CAKy-8=h05oQfa6rBhOH74vPt3e6m6u3-UXx6v3DWLgXp8No6Hw@mail.gmail.com> <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> <CAKy-8=gccmRfqtg07JYmo15P0VV5bJo=tipOLURwEH0iA401tw@mail.gmail.com> <CAC=ypSUSmDyfECh4nD9gZ5=bWUCrPGvLs62EsRw0gfckrhJ5Gw@mail.gmail.com> <CAKy-8=jD3pWT6-YS1L-r-ms=Kr6QENzLQyncg09jJh3zRrw3xA@mail.gmail.com> <20191128140254.fc3ee735.freebsd@edvax.de> <CAKy-8=hv8vqy_O4S=d4GTxCzr9w6U51Avz-Ze7oTFJ%2BBMEBtdA@mail.gmail.com> <CAFYkXjn8ka_Vsmq=ieB%2BwRVxgk0y%2B1VSUsDjYeaZAiwGBU-E%2BQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tomasz CEDRO <tomek@cedro.info> 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 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911290659.xAT6xkRx002554>