|Summary:||x11-wm/plasma5-kwin: switch to Xwayland snapshot|
|Product:||Ports & Packages||Reporter:||Jan Beich <jbeich>|
|Component:||Individual Port(s)||Assignee:||freebsd-kde (Team) <kde>|
|Status:||In Progress ---|
|Severity:||Affects Only Me||CC:||makc, tcberner|
Description Jan Beich 2020-02-10 10:29:20 UTC
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.
Comment 1 Tobias C. Berner 2020-02-11 18:40:24 UTC
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
Comment 2 Jan Beich 2020-02-13 04:44:29 UTC
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.
Comment 3 Jan Beich 2020-12-01 01:59:29 UTC
Comment 4 Jan Beich 2020-12-16 12:20:06 UTC
Ping. Without this helping kde@ (e.g., bug 251836) is PITA for those who dogfood Wayland.
Comment 5 Tobias C. Berner 2020-12-17 15:46:21 UTC
(In reply to Jan Beich from comment #4) Are there any negative side effects when switching to the -devel port? mfg Tobias
Comment 6 Jan Beich 2020-12-17 17:18:11 UTC
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.
Comment 7 Jan Beich 2020-12-17 17:34:14 UTC
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
Comment 8 Tobias C. Berner 2020-12-18 19:06:35 UTC
Created attachment 220700 [details] v2 Moin moin I would suggest using an option, what do you think? mfg Tobias
Comment 9 Jan Beich 2020-12-18 21:11:59 UTC
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-184.108.40.2060 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: 220.127.116.110 [...] $ 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: 18.104.22.168.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 [...]
Comment 10 Max Brazhnikov 2020-12-18 21:46:11 UTC
Is there a reason to keep both xwayland and xwayland-devel in the ports at all?
Comment 11 Jan Beich 2020-12-18 22:36:53 UTC
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