Skip to content

Keep Hyprland off rtkit realtime until its RT watchdog kills are fixed - #17103

Merged
emirb merged 1 commit into
omacom:quattrofrom
shawnyeager:fix/hyprland-skips-realtime
Oct 30, 2026
Merged

emirb merged 1 commit into
omacom:quattrofrom
shawnyeager:fix/hyprland-skips-realtime

Conversation

@shawnyeager

@shawnyeager shawnyeager commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Remove once hyprwm/Hyprland#16737 lands

Fixes #17102

What

Since #16824 installs rtkit on x86, Hyprland 0.57 gets SCHED_RR from rtkit with RLIMIT_RTTIME capped at 200 ms. One slow kernel call on the main thread (a monitor probe, a wake from DPMS off, a busy Xwayland game) crosses the cap, and the kernel SIGKILLs the compositor before its SIGXCPU fallback can run. That's hyprwm/Hyprland#16648.

This sets HYPRLAND_NO_RT=1 in the uwsm session defaults. That's the switch Hyprland already reads to skip gainRealTime(), and Hyprland ran this way on x86 Omarchy before rtkit was installed. default/uwsm/default is read at every login, so it needs no migration. Users who want realtime anyway can set HYPRLAND_NO_RT=0 in ~/.config/uwsm/env.d/. Hyprland treats 0 as unset.

PipeWire keeps the realtime from #16824. This only changes the compositor.

Testing

  • Sourcing default/uwsm/default exports HYPRLAND_NO_RT=1.
  • With the same export in ~/.config/uwsm/env.d/ on an XPS 14 (Panther Lake, xe), Hyprland runs SCHED_OTHER with an unlimited realtime timeout. It had six silent deaths the day before, and none since, across two idle wakes, two Thunderbolt display hotplugs and two Steam game launches.
  • test/shell.d/browser-env-test.sh passes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

Disables Hyprland realtime scheduling by adding HYPRLAND_NO_RT=1 to the shared session defaults.

  • Hyprland skips rtkit realtime scheduling by default.

Reviews (1) · Last reviewed commit: "Keep Hyprland off rtkit realtime until i..." · Reviewed by Greptile

@emirb emirb self-assigned this Oct 30, 2026
@emirb emirb added this to the 4.5 milestone Oct 30, 2026
@emirb

emirb commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Merged! Should be fixed in edge in an hour or so, and in rc3 and final 4.5 release.

The failing test is a flaky test, fixing that separately.

@emirb
emirb merged commit cf71857 into omacom:quattro Oct 30, 2026
1 of 2 checks passed
mark-groves added a commit to mark-groves/omarchy that referenced this pull request Oct 31, 2026
@shawnyeager
shawnyeager deleted the fix/hyprland-skips-realtime branch October 31, 2026 03:47
@emirb emirb modified the milestones: 4.5, 4.5.1 Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hyprland 0.57 gets silently SIGKILLed now that rtkit is installed on x86

2 participants