Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2024 18:38:37 -0400
From:      Kurt Hackenberg <kh@panix.com>
To:        questions@freebsd.org
Subject:   Re: Starting Wayland
Message-ID:  <ZirbbXOmbi-XYp-6@rain.cave>
In-Reply-To: <11bf01da9757$1440f040$3cc2d0c0$@seibercom.net>
References:  <11bf01da9757$1440f040$3cc2d0c0$@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 25, 2024 at 05:25:21PM -0400, jerry@seibercom.net wrote:

>I am unable to get "wayland-1.22.0" to run on my system. This is a new
>system. I wiped the HD clean and installed FreeBSD.

I've never used wayland, but...

>I installed drm-kmod which included the "i915kms.ko". I thought that module
>was the correct one to use. All it does is lock up the system if I try to
>load it.

I think that's the problem.  i915kms.ko is the kernel module for 
graphics processors integrated in Intel CPUs, but it gets tricky.

This is an ongoing problem, since drm-kmod is distributed as 
ports/packages, not with the kernel, but it's part of the kernel and 
has to match it.  There are currently three versions of it:

     5.10    FreeBSD 13
     5.15    FreeBSD 14
     6.1     FreeBSD 15

The port drm-kmod is a meta-port, that automatically selects the right 
version.  The package version of that meta-port apparently is 
drm-kmod-20220907_3.  The meta-port/package also installs GPU firmware, 
which you need.

So you compiled and installed the meta-port drm-kmod, which compiled 
and installed drm-515-kmod and a lot of GPU firmware ports?  If you 
installed from packages rather than ports, that's supposed to work, but 
doesn't always, in my experience, I think because of version 
mismatches.  It's more reliable to compile at least the kernel module 
port, in this case drm-515-kmod.

Also, just checking, did you load the kernel module with this line in 
/etc/rc.conf?

kld_list=i915kms.ko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZirbbXOmbi-XYp-6>