Repository navigation
Use NVIDIA's RTX Spark driver in omarchy-power-profiles-daemon - #1047
Merged
Merged
Conversation
Our CPPC driver (#897) ran balanced and power-saver as CPPC autonomous frequency selection at EPP 64 and 192 with the schedutil governor. On the NVIDIA N1x that let the kernel's energy-aware scheduling keep Hyprland on the Cortex-A725 cores while the firmware held them at their 338 MHz floor, and the desktop lagged. NVIDIA's own driver, proposed upstream as !236 and shipped in their RTX Spark images, takes its place. It sets the preference per core type (E/P: 5/5 in performance, 76/114 in balanced, 76/153 in power-saver), and uses the governor to turn EAS on and off: schedutil in power-saver and in balanced on battery, performance otherwise. The preferences only take effect with autonomous selection on, which NVIDIA's images and Omarchy's N1x setup turn on outside the daemon. The driver only probes on processors that report "NVIDIA RTX Spark" in SMBIOS, so other cppc_cpufreq machines, which our driver also claimed, get stock power-profiles-daemon's placeholder profiles. The first start after the upgrade comes up in balanced, because the saved profile names the old driver.
Contributor
This was referenced Oct 14, 2026
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.
Replaces our CPPC driver from #897 with NVIDIA's own RTX Spark driver, power-profiles-daemon !236, the same patch NVIDIA ships in their RTX Spark images. NVIDIA asked us to carry it until upstream merges it.
Why
Our driver ran balanced and power-saver as CPPC autonomous frequency selection at EPP 64 and 192 with the schedutil governor, on every core. On the N1x that let the kernel's energy-aware scheduling keep Hyprland on the Cortex-A725 cores while the firmware held them at their 338 MHz floor, and the desktop lagged (Hyprland IPC round trips up to 39 ms). The N1x kernel has kept EAS off since.
NVIDIA designed the profiles differently:
The governor is the EAS switch (NVIDIA: performance places tasks by capacity, P cores first; schedutil lets EAS move low-cost threads to the E cores). The EPP values only take effect with CPPC autonomous selection on, which NVIDIA's images turn on outside the daemon (
dgx-desktop-power-knobs), after resetting the CPPC range the N1x firmware leaves pegged at its maximum. Omarchy does the same with a udev rule from its N1x setup (omacom/omarchy n1x branch, migration1791867831).What changes
nvidia-rtx-spark-power-profiles.patch(!236) replacescppc-cpufreq-driver.patch; pkgrel 2.NVIDIA RTX Sparkin SMBIOS. Othercppc_cpufreqmachines, which our driver also claimed, get stock power-profiles-daemon's placeholder profiles.Order
Ship this before
linux-omarchy-aarch647.2.8-9 (the kernel PR into n1x, which turns EAS back on for this driver). Under 0.30-1's balanced, EAS brings the lag back.#1029 also bumps this package to pkgrel 2 and is based on our CPPC patch. Its
cpufreq-boost-driver.patchandcpufreq-caps.patchclash with this patch only in list context (the driver lists insrc/meson.buildandsrc/power-profiles-daemon.c, and one hunk oftests/integration_test.py), so whichever lands second needs a small rebase.Tested
On an ASUS ProArt P14 (N1X), kernel 7.2.8-7, installed in place of 0.30-1:
bin/build --package omarchy-power-profiles-daemon --arch aarch64withcheck(): 131 OK, includingtest_nvidia_rtx_sparkandtest_nvidia_rtx_spark_processor_gate.tests/pinned-sources.shpasses.CpuDriverisnvidia_rtx_spark. Every profile writes the table above to all 20 policies, on AC and on battery, and unplugging switches balanced's governor without a restart. After an s2idle cycle the daemon rewrote the profile.Known issues in the driver, not yet raised with NVIDIA: with a CPU offline every profile switch fails on that policy's EPP file, and a CPU that comes back online after the daemon started is never written again until it restarts.