| Summary: | [Bug] Occasionally, kwin_wayland failing to get access to input devices from logind, resulting in inaccessible mouse and keyboard in its graphical session. | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | craftfever <craftfever> |
| Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | major | CC: | agurenko, denis7774, duha.bugs, kdedev, nate |
| Priority: | HI | ||
| Version First Reported In: | 6.5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
craftfever
2025-11-04 11:47:38 UTC
*I wrongly reversed observed and expected results fields< so vice versa, little correction. I am able to reproduce it with Gentoo on SDDM/Wayland with kwin (In reply to Denis Reva from comment #2) > I am able to reproduce it with Gentoo on SDDM/Wayland with kwin Please provide information about your system, either from kinfo on command line or About This System. Thanks. (In reply to TraceyC from comment #3) > (In reply to Denis Reva from comment #2) > > I am able to reproduce it with Gentoo on SDDM/Wayland with kwin > > Please provide information about your system, either from kinfo on command > line or About This System. Thanks. For the topic, I ant to share further observations. It looks like there is interference woth real-time scheduling of kwin_wayland and CAP_SYS_NICE capability. I removed this capability from kwin_wayland (with setcao) to disable RT scheduling and additional interference permission and issue has completely gone. Before, that same occasional inaccessible input devices in Kwin Wayland session. (But I don't remember, that this happened in 6.4.x version, only starting from 6.5.0 and onward issue appears. So removing CAP_SYS_NICE capability with disabling RT kwin sched helps. (In reply to craftfever from comment #4) > (In reply to TraceyC from comment #3) > > (In reply to Denis Reva from comment #2) > > > I am able to reproduce it with Gentoo on SDDM/Wayland with kwin > > > > Please provide information about your system, either from kinfo on command > > line or About This System. Thanks. > > For the topic, I ant to share further observations. It looks like there is > interference woth real-time scheduling of kwin_wayland and CAP_SYS_NICE > capability. I removed this capability from kwin_wayland (with setcao) to > disable RT scheduling and additional interference permission and issue has > completely gone. Before, that same occasional inaccessible input devices in > Kwin Wayland session. (But I don't remember, that this happened in 6.4.x > version, only starting from 6.5.0 and onward issue appears. So removing > CAP_SYS_NICE capability with disabling RT kwin sched helps. *setcap, correction |