| Summary: | KWin can't start in realtime priority via RTKit - Operation not permitted | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Ángel Navarro <jesusnavarrojr188> |
| Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | ahiemstra |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ángel Navarro
2026-01-26 23:34:25 UTC
By the way, I discovered it because this is the first thing kwin_wayland --replace prints: ~ » kwin_wayland --replace Failed to gain real time thread priority (See CAP_SYS_NICE in the capabilities(7) man page). error: Operation not permitted This is with an untouched security.d directory, which means that Arch Linux's Plasma can't run on realtime by default, leading to this error. "Git Master" sounds like a self-compiled version of KWin. This likely means the executable does not have `cap_sys_nice` set, as the error message mentions. This is not really something we can change, as the only way to set that is to execute `setcap`, which requires root. I'll note though, that the kwin_wayland from Arch Linux's beta packages works fine and seems to be able to acquire realtime priority just fine. So this most likely is an issue with how you're building KWin. |