[Bug 262873] Update: The FreeBSD GNOME Project
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 262873] Update: The FreeBSD GNOME Project"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 03:46:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873
--- Comment #5 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Charlie Li from comment #3)
> GNOME uses Wayland by default,
On FreeBSD GNOME cannot use Wayland at all due to bug 258042 and
https://gitlab.gnome.org/GNOME/mutter/-/issues/1800
If one doesn't need GNOME itself then various GNOME applications (e.g.,
gnome-calendar) work fine under Wayland.
Most FreeBSD contributors interested in Wayland focus on wlroots nowadays:
- licensed under MIT thus similar to BSD in spirit (important for proprietary
vendors or anyone with GNU allergy)
- inclusive upstream that tries hard to be portable and doesn't cheat POSIX via
`-D_GNU_SOURCE` or `-D__BSD_VISIBLE`
- no single stakeholder: sway, wayfire, gamescope, phoc, kwinft, river, labwc,
cage, cagebreak, dwl, etc.
- flexible architecture, see also
https://wayfire.org/2019/02/24/X11-WLC-Libweston-Wlroots.html and
https://subdiff.org/blog/2021/wlroots-in-kwinft/
- avoids DE-centric bloat like DBus, see also
https://blogs.kde.org/2020/10/11/linux-desktop-shell-ipc-wayland-vs-d-bus-and-lack-agreement-when-use-them
- like Xorg you still need a window manager
- like Xorg has many protocol extensions (some are shared with KDE and Mir)
- like Xorg has simple API (wlr_scene since 0.15.0)
- large actively developed ecosystem (e.g., unlike weston, swc)
- supports modern features like Variable Refresh Rate, Vulkan renderer, DRM
leasing
> thus the lack of dependency link is correct.
Likely because the Handbook already describes installing Xorg in a separate
subchapter, preceeding GNOME. For examples, xorg-minimal is suggested as a
smaller alternative.
Curiously, kde5 meta-package does pull xorg-server via plasma5-plasma-desktop
via xf86-input-libinput.
(In reply to Graham Perrin from comment #4)
> pkg_tree -v gnome | grep wayland-
Since bug 227509 binary packages for desktop stuff almost always have wayland
as an indirect dependency. Try testing Wayland support from Xorg comfort zone:
$ pkg install cage firefox
$ : ${XDG_RUNTIME_DIR:=$(mktemp -dt .run)}
$ cage -d env -u DISPLAY firefox about:support
[...]
Window Protocol: wayland
[...]
$ sockstat -u
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root Xorg 1111 4 stream /tmp/.X11-unix/X0
[...]
foo cage 2222 8 stream -> /tmp/.X11-unix/X0
foo cage 2222 25 stream /tmp/.run.XXXX/wayland-0
[...]
foo firefox 3333 8 stream -> /tmp/.run.XXXX/wayland-0
[...]
--
You are receiving this mail because:
You are the assignee for the bug.