Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2019 16:04:06 +0100
From:      Tomasz CEDRO <tomek@cedro.info>
To:        vm finance <vm.finance2@gmail.com>
Cc:        Polytropon <freebsd@edvax.de>, Per Hedeland <per@hedeland.org>, freebsd-x11@freebsd.org, Daniele Mazzotti <kappei84@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD-12.1 on laptop
Message-ID:  <CAFYkXjn8ka_Vsmq=ieB%2BwRVxgk0y%2B1VSUsDjYeaZAiwGBU-E%2BQ@mail.gmail.com>
In-Reply-To: <CAKy-8=hv8vqy_O4S=d4GTxCzr9w6U51Avz-Ze7oTFJ%2BBMEBtdA@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjn8ka_Vsmq=ieB%2BwRVxgk0y%2B1VSUsDjYeaZAiwGBU-E%2BQ>