Created attachment 211531 [details] v1 May improve stability for X11 applications. Chase ports r525681. Disclaimer: I've never used KDE on FreeBSD, let alone with Wayland.
Moin moin Thanks, we are in the process of trying to get plasma-wayland to work/test/use it -- so that may be integrated into that work. mfg Tobias
Can you test plasma-wayland with an NVIDIA GPU? Apply the patch in bug 244087, enable NVIDIA option in x11-servers/xwayland-devel then check if hardware acceleration works in X11 applications.
Ping. See also https://www.phoronix.com/scan.php?page=news_item&px=Fedora-XWayland-Standalone-Pkg
Ping. Without this helping kde@ (e.g., bug 251836) is PITA for those who dogfood Wayland.
(In reply to Jan Beich from comment #4) Are there any negative side effects when switching to the -devel port? mfg Tobias
None after years of dogfooding. Sway package switched when released version of Xwayland (1.19.1) was actually less stable than snapshot. Later I've applied a WIP patch written by a KDE developer and extended by others (see PATCHFILES) but it is nop for unaware consumers like cage/hikari/wayfire. non-devel version currently lacks https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/515 which is critical for hardware acceleration.
xwayland-devel is updated frequently (usually once a week), so poudriere will rebuild plasma5-kwin, plasma5-plasma-workspace, etc. which maybe a bit annoying. If you only rebuild plasma5-kwin then poudriere won't obsolete indirect consumers. I often use the trick with qt5-webengine to quickly test yuzu-qt5 (one of my ports). poudriere supports -S flag to reduce rebuilds but it's partially broken atm. See also https://github.com/DankBSD/ports/commit/e0bf02a902b2
Created attachment 220700 [details] v2 Moin moin I would suggest using an option, what do you think? mfg Tobias
Comment on attachment 220700 [details] v2 (In reply to Tobias C. Berner from comment #8) > +OPTIONS_DEFAULT= NORMAL Non-default options have no impact on binary packages e.g., $ pkg install sway kde5 [...] Checking integrity... done (1 conflicting) - xwayland-1.20.9_2,1 conflicts with xwayland-devel-1.20.0.800 on /usr/local/bin/Xwayland Cannot solve problem using SAT solver, trying another plan [...] $ pkg info -d plasma5-kwin pkg: No package(s) matching plasma5-kwin $ pkg install kde5 [...] Installed packages to be REMOVED: sway: 1.5.1 wlroots: 0.12.0 xwayland-devel: 1.20.0.800 [...] $ pkg info plasma5-kwin plasma5-kwin-5.20.4 [...] Options : DEVEL : off NORMAL : on [...] $ pkg info -d wlroots pkg: No package(s) matching wlroots $ pkg install sway [...] Installed packages to be REMOVED: dolphin: 20.12.0 kde-baseapps: 20.12.0 kde5: 5.20.4.20.12.0 plasma5-kde-cli-tools: 5.20.4 plasma5-kdeplasma-addons: 5.20.4 plasma5-khotkeys: 5.20.4 plasma5-kinfocenter: 5.20.4 plasma5-kmenuedit: 5.20.4 plasma5-kwin: 5.20.4 plasma5-plasma: 5.20.4 plasma5-plasma-desktop: 5.20.4 plasma5-plasma-workspace: 5.20.4 plasma5-powerdevil: 5.20.4 plasma5-systemsettings: 5.20.4 xwayland: 1.20.9_2,1 [...]
Is there a reason to keep both xwayland and xwayland-devel in the ports at all?
Probably no, see bug 251947. From wlroots package POV I need xwayland fresh enough to support new features e.g., https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/270 https://github.com/swaywm/wlroots/pull/2092