12.1 on Thinkpad - problem making graphics work

Tomasz CEDRO tomek at cedro.info
Fri Nov 8 21:55:56 UTC 2019

On Fri, Nov 8, 2019 at 9:00 PM Steve O'Hara-Smith <steve at sohara.org> wrote:
>         Yes the one in pkg is the latest - but it's built on 12.0 not 12.1
> and that causes a problem. It's mentioned in the 12.1 Errata that you need
> to build the port, however if that doesn't do the job I'm stumped.

Sorry, I got angry, did a mistake somewhere. Did read the GitHub
thread and with the hints I fixed my machine. Still I am surprised
that this situation happened.. luckily I did not update my client
machines ;-)

Rebuilding latest graphics/drm-fbsd12.0-kmod DID SOLVE the problem for
12.1-RELEASE :-)

# portsnap fetch update
# cd /usr/ports/graphics/drm-fbsd12.0-kmod
# make deinstall
# make clean
# make install

Also make sure that rc.conf contains:
kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko"

Using the "default" drm.ko and i915.ko does not provide acceleration.
Why are they bundled then?

Also note that packages provided by PKG will not solve the problem
because they are built on 12.0 and 12.1 allows loading them leading to
crash (and there was some kernel API change between 12.0 and 12.1).

Thank you! :-)

CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

More information about the freebsd-questions mailing list