Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2024 00:07:43 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        questions@freebsd.org
Subject:   Re: Starting Wayland
Message-ID:  <CA%2B1FSigAe3cB-ELzHqoQE1D%2Bx8Lg81bSw_fLJYdiWr-HgpZhLQ@mail.gmail.com>
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

[-- Attachment #1 --]
Try this tutorial written by me,bro' :

https://forums.freebsd.org/threads/updated-tutorial-about-how-to-install-wayland-wayfire-on-freebsd-14-keeping-your-nvidia-gpu-as-primary.92685/#post-647438

On Thu, Apr 25, 2024 at 11:32 PM <jerry@seibercom.net> wrote:

> 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.
>


-- 
Mario.

[-- Attachment #2 --]
<div dir="ltr"><div>Try this tutorial written by me,bro&#39; : </div><div><br></div><div><a href="https://forums.freebsd.org/threads/updated-tutorial-about-how-to-install-wayland-wayfire-on-freebsd-14-keeping-your-nvidia-gpu-as-primary.92685/#post-647438">https://forums.freebsd.org/threads/updated-tutorial-about-how-to-install-wayland-wayfire-on-freebsd-14-keeping-your-nvidia-gpu-as-primary.92685/#post-647438</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2024 at 11:32 PM &lt;<a href="mailto:jerry@seibercom.net">jerry@seibercom.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1109580640866777836"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="m_1109580640866777836WordSection1"><p class="MsoNormal">FreeBSD 14.0-RELEASE-p6<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am unable to get &quot;wayland-1.22.0&quot; to run on my system. This is a new system. I wiped the HD clean and installed FreeBSD.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I think I did everything that was posed in the FreeBSD documentation: <a href="https://docs.freebsd.org/en/books/handbook/wayland/" target="_blank">https://docs.freebsd.org/en/books/handbook/wayland/</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Still, I cannot get it up and running. I did place the this in the env<u></u><u></u></p><p class="MsoNormal">XDG_RUNTIME_DIR=/var/run/user/1001<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I ran the following command and got back the following data:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Script started on Thu Apr 25 16:03:59 2024<u></u><u></u></p><p class="MsoNormal">Command: wayfire -c /home/gerard/.config/wayfire/wayfire.ini<u></u><u></u></p><p class="MsoNormal">[0;34mII 25-04-24 16:03:59.926 - [src/main.cpp:348] Starting wayfire version v0.8.1[0m<u></u><u></u></p><p class="MsoNormal">[0;34mII 25-04-24 16:03:59.945 - [libseat] [libseat/libseat.c:77] Seat opened with backend &#39;seatd&#39;[0m<u></u><u></u></p><p class="MsoNormal">[0;34mII 25-04-24 16:03:59.945 - [libseat] [libseat/backend/seatd.c:212] Enabling seat[0m<u></u><u></u></p><p class="MsoNormal">[0;34mII 25-04-24 16:03:59.945 - [backend/session/session.c:109] Successfully loaded libseat session[0m<u></u><u></u></p><p class="MsoNormal">[0;34mII 25-04-24 16:03:59.954 - [backend/session/session.c:467] Waiting for a DRM card device[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.237 - [backend/backend.c:210] Found 0 GPUs, cannot create backend[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.237 - [backend/backend.c:376] Failed to open any DRM device[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.238 - [src/main.cpp:140] Fatal error: Segmentation fault[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #1  0x37bedd &lt;main+0x156d&gt; at /usr/local/bin/wayfire[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #2  0x82cbe453f &lt;pthread_sigmask+0x53f&gt; at /lib/libthr.so.3[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #3  0x82cbe3afb &lt;pthread_setschedparam+0x83b&gt; at /lib/libthr.so.3[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #4  0x821ca02d3 &lt;???&gt; at ???[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #5  0x822b26644 &lt;wlr_backend_get_drm_fd+0x4&gt; at /usr/local/lib/libwlroots.so.12[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #6  0x37ad45 &lt;main+0x3d5&gt; at /usr/local/bin/wayfire[0m<u></u><u></u></p><p class="MsoNormal">[1;31mEE 25-04-24 16:04:10.240 - #7  0x82ab4fafa &lt;__libc_start1+0x12a&gt; at /lib/libc.so.7[0m<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Command exit status: 255<u></u><u></u></p><p class="MsoNormal">Script done on Thu Apr 25 16:04:10 2024<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Then I tried hikara<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Script started on Thu Apr 25 16:13:32 2024<u></u><u></u></p><p class="MsoNormal">Command: hikari -c /home/gerard/.config/hikari/hikari.conf<u></u><u></u></p><p class="MsoNormal">00:00:10.595 [1;31m[backend/backend.c:217] Found 0 GPUs, cannot create backend[0m<u></u><u></u></p><p class="MsoNormal">00:00:10.595 [1;31m[backend/backend.c:386] Failed to open any DRM device[0m<u></u><u></u></p><p class="MsoNormal">error: could not create backend<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Command exit status: 1<u></u><u></u></p><p class="MsoNormal">Script done on Thu Apr 25 16:13:43 2024<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">wayfire -c ~/.config/wayfire/wayfire.ini<u></u><u></u></p><p class="MsoNormal">II 25-04-24 15:28:27.464 - [src/main.cpp:348] Starting wayfire version v0.8.1<u></u><u></u></p><p class="MsoNormal">II 25-04-24 15:28:27.464 - [libseat] [libseat/libseat.c:77] Seat opened with backend &#39;seatd&#39;<u></u><u></u></p><p class="MsoNormal">II 25-04-24 15:28:27.464 - [libseat] [libseat/backend/seatd.c:212] Enabling seat<u></u><u></u></p><p class="MsoNormal">II 25-04-24 15:28:27.464 - [backend/session/session.c:109] Successfully loaded libseat session<u></u><u></u></p><p class="MsoNormal">II 25-04-24 15:28:27.467 - [backend/session/session.c:467] Waiting for a DRM card device<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.955 - [backend/backend.c:210] Found 0 GPUs, cannot create backend<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.955 - [backend/backend.c:376] Failed to open any DRM device<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - [src/main.cpp:140] Fatal error: Segmentation fault<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #1  0x37bedd &lt;main+0x156d&gt; at /usr/local/bin/wayfire<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #2  0x82c4a353f &lt;pthread_sigmask+0x53f&gt; at /lib/libthr.so.3<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #3  0x82c4a2afb &lt;pthread_setschedparam+0x83b&gt; at /lib/libthr.so.3<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #4  0x821e6c2d3 &lt;???&gt; at ???<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #5  0x822bfb644 &lt;wlr_backend_get_drm_fd+0x4&gt; at /usr/local/lib/libwlroots.so.12<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #6  0x37ad45 &lt;main+0x3d5&gt; at /usr/local/bin/wayfire<u></u><u></u></p><p class="MsoNormal">EE 25-04-24 15:28:37.956 - #7  0x82b38fafa &lt;__libc_start1+0x12a&gt; at /lib/libc.so.7<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">FreeBSD seems to be recognizing my CPU: 12th Gen Intel(R) Core(TM) i7-12700 (2112.00-MHz K8-class CPU)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I installed drm-kmod which included the &quot;i915kms.ko&quot;. I thought that module was the correct one to use. All it does is lock up the system if I try to load it.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am at a complete loss. I have no idea what to do.<u></u><u></u></p></div></div></div></blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSigAe3cB-ELzHqoQE1D%2Bx8Lg81bSw_fLJYdiWr-HgpZhLQ>