Skip to content

Start the Snapdragon CPU floor at boot instead of dropping it in a cycle - #18978

Merged
dhh merged 2 commits into
quattrofrom
worktree-fix-floor-ordering-cycle
Nov 15, 2026
Merged

dhh merged 2 commits into
quattrofrom
worktree-fix-floor-ordering-cycle

Conversation

@dhh

@dhh dhh commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

The CPU floor from #18745 never started at boot. power-profiles-daemon's unit orders itself After=multi-user.target, while the floor service was WantedBy=multi-user.target and ordered after the daemon. systemd broke that cycle on every boot by deleting the floor's start job:

multi-user.target: Found ordering cycle: omarchy-powerprofiles-floor.service/start after power-profiles-daemon.service/start after multi-user.target/start - after omarchy-powerprofiles-floor.service
multi-user.target: Job omarchy-powerprofiles-floor.service/start deleted to break ordering cycle starting with multi-user.target/start

So after every reboot Speedometer 3.1 fell back to ~21 on a Zenbook A16 in performance mode, with uclamp.min at 0 on the session.

  • The floor service is now wanted by graphical.target, like power-profiles-daemon itself, so the order runs multi-user → power-profiles-daemon → floor → graphical.
  • A migration reinstalls the unit on Snapdragon machines that already have it, re-enables it to move the wants link, and starts it.

Verified on the A16: the migration moved the link to graphical.target.wants, the service is active, and Speedometer 3.1 scored 45.2 in performance.

🤖 Generated with Claude Code

power-profiles-daemon orders itself after multi-user.target, and the floor
service was wanted by multi-user.target while ordered after the daemon.
systemd broke the cycle every boot by deleting the floor's start job, so
Speedometer fell back to ~21 after each reboot. Want it from
graphical.target like the daemon itself, and re-enable existing installs.

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

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new blocking issues were found.

Summary

The PR fixes CPU floor startup on Snapdragon laptops and lets an interrupted migration finish the boot repair on retry.

  • The Snapdragon CPU floor starts after power-profiles-daemon at boot.

Reviews (3) · Last reviewed commit: "Finish the floor's boot link repair when..." · Reviewed by Greptile

Comment thread migrations/1794734797.sh Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit f928a2f into quattro Nov 15, 2026
2 checks passed
@dhh
dhh deleted the worktree-fix-floor-ordering-cycle branch November 15, 2026 10:05
IronsideXXVI added a commit to IronsideXXVI/omarchy-mac-pkgs that referenced this pull request Nov 24, 2026
The floor unit is ordered after power-profiles-daemon.service, whose
stock unit starts after multi-user.target, and was wanted by
multi-user.target. That is an ordering cycle: at every boot systemd
logged "Found ordering cycle" and deleted the floor's start job, so the
unit stayed enabled and inactive and no process got a floor (MacBook
Pro 14-inch M4, Hyprland util.min 0 in performance).

Want it from graphical.target instead, which power-profiles-daemon
starts before, as the runtime's own Snapdragon unit does
(omacom/omarchy#18978).

Signed-off-by: Dylan Ironside <dylan@dylanironside.io>
@emirb emirb added this to the 4.6.0 milestone Dec 1, 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.

2 participants