Repository navigation
Add power-profiles-daemon for the Surface Pro 11's platform profile - #829
Closed
turbineBMW wants to merge 1 commit into
Closed
turbineBMW wants to merge 1 commit into
turbineBMW wants to merge 1 commit into
Conversation
The Surface Pro 11 exposes its performance mode only as a platform-profile class device. Without ACPI, power-profiles-daemon falls back to its placeholder driver and profile changes do nothing; no released version reads the class device yet (upstream issue 178). Build 0.30 with a patch that reads it and accepts the kernel's balanced-performance spelling, install only the daemon, and select it with a service drop-in so Arch's package keeps everything else. It requires at least the release it is built from, and an upstream watch flags new releases, so an Arch update cannot block upgrades. Publish to edge. Validated with test.sh, a package build, and on a Surface Pro 11: the platform_profile driver is used and each profile reaches the kernel. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 6, 2026
turbineBMW
added a commit
to turbineBMW/omarchy-pkgs
that referenced
this pull request
Oct 13, 2026
…aemon Backports two changes merged upstream after 0.30: the balanced-performance spelling fix (!238) and the generic cpufreq driver (!237). On top, caps each CPU cluster's maximum frequency on Snapdragon X (scmi and qcom-cpufreq-hw), which has no energy preference and otherwise gets placeholder profiles: 60% in power-saver, 75% in balanced, none in performance. The caps are proposed upstream as !239. The CPPC driver is unchanged; the drivers claim different scaling drivers. Replaces the Surface Pro 11 package proposed in omacom#829. Validated on a Surface Pro 11 (X1E-80-100): 181/181 tests in check(), cpufreq driver picked, 1.92/2.52/3.42 GHz on AC and battery, caps lifted when the daemon stops. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Replaced by #1029, which adds frequency caps to |
ryanrhughes
added a commit
that referenced
this pull request
Oct 14, 2026
…aemon (#1102) Backports two changes merged upstream after 0.30: the balanced-performance spelling fix (!238) and the generic cpufreq driver (!237). On top, caps each CPU cluster's maximum frequency on Snapdragon X (scmi and qcom-cpufreq-hw), which has no energy preference and otherwise gets placeholder profiles: 60% in power-saver, 75% in balanced, none in performance. The caps are proposed upstream as !239. NVIDIA's RTX Spark driver is unchanged; the drivers claim different scaling drivers. Replaces the Surface Pro 11 package proposed in #829. Rebased onto NVIDIA's RTX Spark driver (#1047), which replaced the CPPC driver; the generic cpufreq driver now sits beside it. Validated on a Surface Pro 11 (X1E-80-100): 181/181 tests in check(), cpufreq driver picked, 1.92/2.52/3.42 GHz on AC and battery, caps lifted when the daemon stops. Co-authored-by: Brandon Williams <turbine.bmw@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
platform-profileclass device. With no ACPI, power-profiles-daemon falls back to its placeholder driver and profile changes do nothing. No released version reads the class device yet (upstream issue 178).balanced-performancespelling. Installs only the daemon and selects it with a service drop-in, so Arch's package keeps everything else.power-profiles-daemon>=0.30rather than an exact version, and an upstream watch flags new releases, so an Arch bump never blocks-Syu.Dependencies
None to build. Needs
SURFACE_PLATFORM_PROFILE, whichlinux-sp11enables (separate PR).Test plan
test.shpasses; package buildsplatform_profiledriver is used, and each profile reaches/sys/class/platform-profile/*/profile