I've been trying to get a gui running for FreeBSD with QEMU, to no avail. I've asked in the WM forums and the solutions I've been offered from the helpful people there sadly did not work for me, so I'm wondering if it's an issue with QEMU. answers for either X or wayland would be helpful, i've been trying to get *something* running! i am using the latest versions of all softwares, and use intel graphics.
whenever i boot into my virt machine, i type
XORG
i've been following the freebsd documentation and also a youtube tutorial (here
View: https://youtu.be/59w2UMZistg?si=uHiirohjM8Jzamt3
) to install xorg, everything goes fine until I type startx, and i get this error
you can read more about my struggle with xorg on this thread here https://forums.freebsd.org/threads/...ound-trouble-starting-xorg.96512/#post-687315 , where I just get a "serverauth x not found error" every time i try to start xorg, no matter how many things i tweak and edit, or things i download.
WAYLAND
for wayland, this is my first time coming to the forums. i have been trying to install wayland with the wayfire compositior tonight, and ive been following the official freebsd documentation for this word for word here https://docs.freebsd.org/en/books/handbook/wayland/#wayland-wayfire
however, whenever i do
I'm not sure what this means, or what to do about these issues , im very new to freebsd. the first workarounds i tried to do were reconfiguring the wayfire.ini file, and also switching my graphics display server to see if it had something to do with the "0 gpus found" error, but that didnt do anything. i really appreciate any help i can get, thank you!
whenever i boot into my virt machine, i type
sudo qemu-system-x86_64 -m 3096 -smp 2 -bios /usr/share/ovmf/OVMF.fd -serial mon:stdio -drive file=FreeBSD-14.2-RELEASE-amd64.qcow2 -enable-kvm into my terminal. i tried again with the gui and the same things happened.XORG
i've been following the freebsd documentation and also a youtube tutorial (here
) to install xorg, everything goes fine until I type startx, and i get this error
Code:
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[2673.183] Current Operating System: FreeBSD daemonik 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 [2673.183] [2673.183] Current version of pixman: 0.42.2
[2673.183] Before reporting problems, check http://wiki.x.org
[
to make sure that you have the latest version.
[2673. 1831 Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2673.183] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 24 22:16:58 2025 2673.183] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 2673.183] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" 2673.183] (==) ServerLayout "XSPICE Example'
2673.183] (**) -->Screen "XSPICE Screen" (0)
-->Monitor "Configured Monitor"
[
[
[
2673.183] (**) |
[
2673.183] (**) | -->Device "XSPICE"
[ 2673.183] (**)
[
2673.1831 (**)
-->Input Device "XSPICE POINTER"
[
-->Input Device "XSPICE KEYBOARD"
2673.183] (**) Option "AutoAddDevices" "False"
[ 2673.183] (**) Allowing byte-swapped clients 2673.183] (**) Not automatically adding devices
[
[
[
2673.183] (==) Automatically enabling devices
2673.183] (==) Automatically adding GPU devices
[ 2673.183] (==) Automatically binding GPU devices
[
2673.183] (==) Max clients allowed: 256, resource mask: 0x1fffff [2673.183] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[2673.183] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[2673.183] (==) |-->Input Device "<default pointer>"
[
2673.183] (==) |-->Input Device "<default keyboard>"
[2673.183] (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration.
[2673. 183] (==) The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration.
[2673.183] (II) Module ABI versions:
file "/var/log/Xorg.0.log", 110 lines
WAYLAND
for wayland, this is my first time coming to the forums. i have been trying to install wayland with the wayfire compositior tonight, and ive been following the official freebsd documentation for this word for word here https://docs.freebsd.org/en/books/handbook/wayland/#wayland-wayfire
however, whenever i do
% wayfire -c ~/.config/wayfire/wayfire.ini im met with this error:
Code:
II 27-01-25 23:59:34.012
[src/main.cpp:364] Starting wayfire version v0.9.0 II 27-01-25 23:59:34.013 [libseat] [libseat/libseat.c:77] Seat opened with backend 'seatd' nabling seat
II 27-01-25 23:59:34.013 [libseat] [libseat/backend/seatd.c:212] E
II 27-01-25 23:59:34.013 - [backend/session/session.c:109] Successfully loaded libseat session 467] Waiting for a DRM card device
EE 27-01-25 23:59:44.055
-
end.c:376] Failed to open any DRM device
-
II 27-01-25 23:59:34.030 - [backend/session/session.c:
[backend/backend.c:2101 Found 0 GPUs, cannot create backend
EE 27-01-25 23:59:44.055
EE 27-01-25 23:59:44.056 - [src/main.cpp:141] Fatal error: Segmentation fault 0x338f20 <main+0x1900> at /usr/local/bin/wayfire
#1
#2
#3
0x82c68e410 <pthread_sigmask+0x540> at /lib/libthr.so.3 0x82c68d9cb <pthread_setschedparam+0x84b> at /lib/libthr.so.3 0x8215b12d3 <???> at ???
EE 27-01-25 23:59:44.057 EE 27-01-25 23:59:44.060 EE 27-01-25 23:59:44.060 EE 27-01-25 23:59:44.061 EE 27-01-25 23:59:44.061 EE 27-01-25 23:59:44.061 EE 27-01-25 23:59:44.061 #7 root@daemonikin #
#4 #5
#6
0x821854294 <wlr_backend_get_drm_fd+0x4> at /usr/local/lib/libulroots.so.12 0x337af5 <main+0x4d5> at /usr/local/bin/wayfire
0x829ccec3a <___libc_start1+0x12a> at /lib/libc.so.7
[backend/back
I'm not sure what this means, or what to do about these issues , im very new to freebsd. the first workarounds i tried to do were reconfiguring the wayfire.ini file, and also switching my graphics display server to see if it had something to do with the "0 gpus found" error, but that didnt do anything. i really appreciate any help i can get, thank you!