Bug 485735

Summary: Removing the mention of --xwayland from plasma-kwin_wayland.service results in a 30-sec delay in the start-up time for the plasma environment
Product: [Plasma] kwin Reporter: Oleg <oleglelchuk>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Oleg 2024-04-18 13:32:36 UTC
SUMMARY


STEPS TO REPRODUCE
1. Remove the mention of --xwayland from plasma-kwin_wayland.service

OBSERVED RESULT
It results in a 30-second long waiting period before the plasma environment appears on the screen

EXPECTED RESULT
The plasma environment should appear on the screen almost immediately

SOFTWARE/OS VERSIONS
KDE Plasma Version: either plasma 6.0.80 from the KDE Neon Unstable edition or plasma 6.0.3

ADDITIONAL INFORMATION:
If I want to disable the Xwayland-on-demand feature, then removing the mention of --xwayland from plasma-kwin_wayland.service results in a 30-second long waiting period before the plasma environment appears on the screen. It looks like the wayland session still depends on ksmserver which in turn depends on the proper functioning of Xwayland. The wayland session's hard dependency on ksmserver should be removed.
Comment 1 David Edmundson 2024-05-29 09:54:52 UTC
This is not supported. 

Disabling the splash screen might be enough for your use case.