Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2019 22:55:39 +0100
From:      Tomasz CEDRO <tomek@cedro.info>
To:        "Steve O'Hara-Smith" <steve@sohara.org>,  FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Cc:        "James E. Pace" <james@pacehouse.com>
Subject:   Re: 12.1 on Thinkpad - problem making graphics work
Message-ID:  <CAFYkXj=_5SOn0Nu%2BFLndWfuKmn7sqE1Z=X1LKC7EAqxf3BDNtQ@mail.gmail.com>
In-Reply-To: <20191108200005.21a9cdac18587cc36bd7cb01@sohara.org>
References:  <CAN1es4Jqy17VZeJkEFrUtX872929eLt78Bmrc20jPcernhk88A@mail.gmail.com> <CAN1es4Lab0uvZRPb51PaSjDDOH%2B9ZQTQedi1xvKO%2BCbnsbr20g@mail.gmail.com> <20191108194652.50c4f8e7c87ec76b9abc6e19@sohara.org> <CAFYkXjkWLwfZaBwR6pXRp18ZWV76B2%2BBwUeuyKVTgv6Trzy_qQ@mail.gmail.com> <20191108200005.21a9cdac18587cc36bd7cb01@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 8, 2019 at 9:00 PM Steve O'Hara-Smith <steve@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! :-)
Tomek

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXj=_5SOn0Nu%2BFLndWfuKmn7sqE1Z=X1LKC7EAqxf3BDNtQ>