Date: Thu, 28 Nov 2019 15:17:03 +0000 From: Miguel C <miguelmclara@gmail.com> To: Tomasz CEDRO <tomek@cedro.info> Cc: vm finance <vm.finance2@gmail.com>, freebsd-x11@freebsd.org, Daniele Mazzotti <kappei84@gmail.com>, Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: FreeBSD-12.1 on laptop Message-ID: <CADGo8CVOMNAKk%2BFNvZc2yZzBb7coZXZT_XXESqXRYdJcnSt6sA@mail.gmail.com> 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
On Thu, Nov 28, 2019 at 3:04 PM Tomasz CEDRO <tomek@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@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 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CVOMNAKk%2BFNvZc2yZzBb7coZXZT_XXESqXRYdJcnSt6sA>