FreeBSD-12.1 on laptop
Tomasz CEDRO
tomek at cedro.info
Thu Nov 28 23:52:17 UTC 2019
Read the instructions provided on screen - it tells you to update port
tree or disable vulnerability check and you even have command showed
how to do that :-)
It seems you did not update the ports tree as instructed so the Intel
driver will not work and cannot be built. Did you type all commands as
instructed in given order?
If "portsnap fetch update" did not update your port tree try "portsnap
fetch extract" that would fetch and extract the latest port tree.
Then go to drm port (the latest is 4.16.g20191120) and do:
make clean
make
make deinstall
make install
kldunload drm
kldunload i915kms
kldload /boot/modules/i915kms.ko
startx
You may have Intel and nVidia graphics on your machine. First make
Intel working. Then you will easily make nVidia working (replace drm
and 915kms modules with nvidia.ko).
If you still have problems with both Intel and nVidia drivers get the
default framebuffer video driver that is slow but works:
pkg install xf86-video-scfb
If that does not work for you then you are making something wrong with
all good sufficiently enough information provided from the list, now
its your time to do the homework and _understand_ how things work and
where _you_ are making the mistake :-)
Have fun :-)
On Thu, Nov 28, 2019 at 6:13 PM vm finance <vm.finance2 at gmail.com> wrote:
>
> Thanks Tomasz,
>
> Well, make at step #4 gave an error
>
> pkg install Xorg hal dbus
> portsnap fetch update
> cd /usr/ports/graphics/drm-fbsd12.0-kmod/
> make <==== error here
>
> Pls see the attached screen shot...
>
> Many thanks!
>
>
>
> On Thu, Nov 28, 2019 at 8:34 PM Tomasz CEDRO <tomek at 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"
>>
>> 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
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
More information about the freebsd-questions
mailing list