https://bugs.kde.org/show_bug.cgi?id=528852
Bug ID: 528852
Summary: KWin deadlocks with Xwayland during session startup
Classification: Plasma
Product: kwin
Version First 6.8.2
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: xwayland
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198471
--> https://bugs.kde.org/attachment.cgi?id=198471&action=edit
kwin_wayland: backtrace while deadlocked
SUMMARY
On a two-output kiosk setup, KWin's main thread deadlocks with Xwayland during
session startup when xwaylandvideobridge autostarts. The session never finishes
loading. Killing Xwayland breaks the deadlock and the session then continues
startup normally.
The problem doesn't appear if either monitor's HDMI is disconnected at login:
both are required. Disconnecting the USB interface doesn't seem to change the
occurrence in a few tests.
Ultimately, disabling the xwaylandvideobridge service avoids the problem.
STEPS TO REPRODUCE
1. Later Fedora 44 / Fedora 45 KDE, Wayland session, two displays on HDMI-A-1
and HDMI-A-2. Both are USB touch panels: a regular Waveshare 8" HDMI + a
narrow Waveshare 7.9" HDMI.
2. xwaylandvideobridge installed with its default autostart enabled.
3. Boot and log in through Plasma Login. (automatic or manual login, doesn't
matter)
OBSERVED RESULT
The splash screen never completes and the desktop stays at the loading stage.
The session never becomes usable. SSH login as the user and running
`kill $(pgrep Xwayland)` immediately unblocks the desktop init.
Reproducibility:
[9/10] boots with both displays connected.
[3/3] with only one USB interface connected
[0/5] with only one HDMI interface connected
[0/10] with the xwaylandvideobridge autostart disabled
EXPECTED RESULT
The session to start normally, not hung at / slightly after the splashscreen.
SOFTWARE/OS VERSIONS
Hardware: GMKtec NucBoxG5, Intel N97 (Alder Lake-N), i915
Kernel: 7.3.3-300.fc45.x86_64
Mesa: 26.2.6-1.fc45
libxcb: 1.17.0-8.fc45
wayland: 1.26.0-3.fc45
Xwayland: 24.1.14-2.fc45
ADDITIONAL INFORMATION
Various states captured while hung
Possibly related: bug 442846, bug 511410, bug 528723
Attachments:
bt-kwin_wayland.txt, bt-Xwayland.txt, bt-xwaylandvideobr.txt,
ss-queues.txt, kwin-journal.txt, kwin-support.txt, session-startup.txt
--
You are receiving this mail because:
You are watching all bug changes.