Starting Wayland

From: <jerry_at_seibercom.net>
Date: Thu, 25 Apr 2024 21:25:21 UTC
FreeBSD 14.0-RELEASE-p6

 

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 think I did everything that was posed in the FreeBSD documentation:
https://docs.freebsd.org/en/books/handbook/wayland/

 

Still, I cannot get it up and running. I did place the this in the env

XDG_RUNTIME_DIR=/var/run/user/1001

 

I ran the following command and got back the following data:

 

Script started on Thu Apr 25 16:03:59 2024

Command: wayfire -c /home/gerard/.config/wayfire/wayfire.ini

[0;34mII 25-04-24 16:03:59.926 - [src/main.cpp:348] Starting wayfire version
v0.8.1[0m

[0;34mII 25-04-24 16:03:59.945 - [libseat] [libseat/libseat.c:77] Seat
opened with backend 'seatd'[0m

[0;34mII 25-04-24 16:03:59.945 - [libseat] [libseat/backend/seatd.c:212]
Enabling seat[0m

[0;34mII 25-04-24 16:03:59.945 - [backend/session/session.c:109]
Successfully loaded libseat session[0m

[0;34mII 25-04-24 16:03:59.954 - [backend/session/session.c:467] Waiting for
a DRM card device[0m

[1;31mEE 25-04-24 16:04:10.237 - [backend/backend.c:210] Found 0 GPUs,
cannot create backend[0m

[1;31mEE 25-04-24 16:04:10.237 - [backend/backend.c:376] Failed to open any
DRM device[0m

[1;31mEE 25-04-24 16:04:10.238 - [src/main.cpp:140] Fatal error:
Segmentation fault[0m

[1;31mEE 25-04-24 16:04:10.240 - #1  0x37bedd <main+0x156d> at
/usr/local/bin/wayfire[0m

[1;31mEE 25-04-24 16:04:10.240 - #2  0x82cbe453f <pthread_sigmask+0x53f> at
/lib/libthr.so.3[0m

[1;31mEE 25-04-24 16:04:10.240 - #3  0x82cbe3afb
<pthread_setschedparam+0x83b> at /lib/libthr.so.3[0m

[1;31mEE 25-04-24 16:04:10.240 - #4  0x821ca02d3 <???> at ???[0m

[1;31mEE 25-04-24 16:04:10.240 - #5  0x822b26644
<wlr_backend_get_drm_fd+0x4> at /usr/local/lib/libwlroots.so.12[0m

[1;31mEE 25-04-24 16:04:10.240 - #6  0x37ad45 <main+0x3d5> at
/usr/local/bin/wayfire[0m

[1;31mEE 25-04-24 16:04:10.240 - #7  0x82ab4fafa <__libc_start1+0x12a> at
/lib/libc.so.7[0m

 

Command exit status: 255

Script done on Thu Apr 25 16:04:10 2024

 

Then I tried hikara

 

Script started on Thu Apr 25 16:13:32 2024

Command: hikari -c /home/gerard/.config/hikari/hikari.conf

00:00:10.595 [1;31m[backend/backend.c:217] Found 0 GPUs, cannot create
backend[0m

00:00:10.595 [1;31m[backend/backend.c:386] Failed to open any DRM device[0m

error: could not create backend

 

Command exit status: 1

Script done on Thu Apr 25 16:13:43 2024

 

wayfire -c ~/.config/wayfire/wayfire.ini

II 25-04-24 15:28:27.464 - [src/main.cpp:348] Starting wayfire version
v0.8.1

II 25-04-24 15:28:27.464 - [libseat] [libseat/libseat.c:77] Seat opened with
backend 'seatd'

II 25-04-24 15:28:27.464 - [libseat] [libseat/backend/seatd.c:212] Enabling
seat

II 25-04-24 15:28:27.464 - [backend/session/session.c:109] Successfully
loaded libseat session

II 25-04-24 15:28:27.467 - [backend/session/session.c:467] Waiting for a DRM
card device

EE 25-04-24 15:28:37.955 - [backend/backend.c:210] Found 0 GPUs, cannot
create backend

EE 25-04-24 15:28:37.955 - [backend/backend.c:376] Failed to open any DRM
device

EE 25-04-24 15:28:37.956 - [src/main.cpp:140] Fatal error: Segmentation
fault

EE 25-04-24 15:28:37.956 - #1  0x37bedd <main+0x156d> at
/usr/local/bin/wayfire

EE 25-04-24 15:28:37.956 - #2  0x82c4a353f <pthread_sigmask+0x53f> at
/lib/libthr.so.3

EE 25-04-24 15:28:37.956 - #3  0x82c4a2afb <pthread_setschedparam+0x83b> at
/lib/libthr.so.3

EE 25-04-24 15:28:37.956 - #4  0x821e6c2d3 <???> at ???

EE 25-04-24 15:28:37.956 - #5  0x822bfb644 <wlr_backend_get_drm_fd+0x4> at
/usr/local/lib/libwlroots.so.12

EE 25-04-24 15:28:37.956 - #6  0x37ad45 <main+0x3d5> at
/usr/local/bin/wayfire

EE 25-04-24 15:28:37.956 - #7  0x82b38fafa <__libc_start1+0x12a> at
/lib/libc.so.7

 

FreeBSD seems to be recognizing my CPU: 12th Gen Intel(R) Core(TM) i7-12700
(2112.00-MHz K8-class CPU)

 

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 am at a complete loss. I have no idea what to do.