GPU register reads stall all CPU cores ~4-5 ms; mem-clock switches cause stall storms and audio dropouts (610.43.03, RTX 5080 Mobile, GSP)
Summary
nvidia-powerd (Dynamic Boost) causes synchronized ~4–5 ms stalls of all CPU cores simultaneously, 2–3 times per second, while a game is rendering on the dGPU. Each stall is long enough to overrun typical PipeWire audio buffers (5–10 ms), producing frequent audible audio dropouts on any output device (verified on both an ALSA analog sink and a Bluetooth sink). Stopping nvidia-powerd reduces the stall rate ~5×, and the audio dropouts become unnoticeable; starting it brings them straight back (A/B/A verified).
Possibly related to the GSP stutter reports in #777 and #693 — the stall signature (multi-ms, whole-system, driver-triggered) looks like a long non-preemptible section around GPU/GSP communication, and nvidia-powerd's frequent polling multiplies the trigger rate.
Environment
- Laptop: Lenovo Legion Pro 7 16IAX10H (Arrow Lake-S + RTX 5080 Laptop GPU, hybrid graphics), BIOS Q7CN77WW (2026-02-11)
- GPU: NVIDIA GeForce RTX 5080 Laptop GPU
- Driver: 610.43.03, open kernel module (
NVRM: NVIDIA UNIX Open Kernel Module for x86_64 610.43.03) - Kernel: 7.1.3-2-cachyos (Arch-based CachyOS), PipeWire 1.6.8, KDE Plasma / Wayland
- Workload while reproducing: Palworld under Proton, music playback in Firefox
How the stalls were measured
RT-priority latency canary: a SCHED_FIFO 70 thread doing a 1 ms clock_nanosleep loop, logging every wakeup that overshoots by >3 ms:
import time, sys
with open(sys.argv[1], "a", buffering=1) as f:
while True:
t0 = time.monotonic_ns()
time.sleep(0.001)
dt = time.monotonic_ns() - t0 - 1_000_000
if dt > 3_000_000:
f.write(f"{time.time():.3f} stall={dt/1e6:.1f}ms\n")
Run as taskset -c <cpu> chrt -f 70 python3 canary.py <log>.
Four canaries pinned to CPUs 2, 8, 16, 22 over 7 minutes of gameplay logged 787 / 786 / 787 / 787 stalls respectively, with matching timestamps to within ~1 ms — i.e., every stall freezes all cores at the same instant, uniformly 3.5–6.5 ms long (median 4.2 ms).
Ruled out:
- SMIs:
MSR_SMI_COUNT(0x34) did not increment during a 10 s window in which the canary logged ~20 stalls. - Thermal throttling:
/sys/devices/system/cpu/cpu0/thermal_throttle/*counters static during stalls; no TRM interrupts. - ACPI/EC activity: GPE rate ~0.4/s, uncorrelated.
- Scheduling/PipeWire config: PipeWire RT threads at RR priority, sink driver reports zero xruns; the xruns land on client streams (all clients simultaneously at stall instants, per
pw-topERR counters).
A/B/A result (same game session, continuous canary)
| Condition | Stall rate |
|---|---|
nvidia-powerd running (baseline, 7 min) |
~1.9/s (100–300/min) |
systemctl stop nvidia-powerd (11 min) |
~0.4–0.8/s (20–50/min) |
systemctl start nvidia-powerd (2.5 min) |
~3.1/s (460 stalls) |
Stall duration distribution is identical in all three conditions (median ~4 ms) — only the frequency changes. Audio dropouts track the stall rate and were subjectively absent with the daemon stopped.
A residual ~0.5 stalls/s remains with nvidia-powerd stopped whenever the dGPU is under load, so the daemon appears to be the highest-frequency trigger of an underlying driver/GSP stall path rather than the sole cause.
Expected behavior
Polling GPU power state (or rebalancing Dynamic Boost budget) should not freeze every CPU core for multiple milliseconds at a time.
Workaround
systemctl disable --now nvidia-powerd — makes audio usable during gaming at the cost of Dynamic Boost.
Happy to provide nvidia-bug-report.sh output, canary logs, or run instrumented builds/driver settings on request.
Update: root cause is broader than nvidia-powerd — any GPU register read stalls the machine; memory-clock switches do it in bursts
Further investigation shows my original attribution to nvidia-powerd was incomplete. powerd is just one client of a more general problem, and disabling it does not fix the audio glitches (it actually makes them worse — see below). Corrected findings:
1. Any NVML/GPU register read stalls the entire machine for ~4–5 ms.
Four RT-priority latency canaries (SCHED_FIFO 70, 1 ms sleep loop, logging >3 ms overshoots) pinned to different cores record identical stall timestamps — 117/117 stalls simultaneous across all 24 CPUs, i.e. a whole-machine/bus stall, not scheduler jitter. Polling nvidia-smi --query-gpu=power.draw at 2 Hz raises the stall rate by exactly ~2/s (3.65/s → 5.30/s), so the mapping is ~1:1 read→stall.
2. Memory-clock/pstate switches trigger dense stall storms. Under gaming load the driver produces bursts of 10–35 stalls/second (one every ~25 ms) lasting seconds. These storms coincide with mem-clock/pstate transitions and are what actually breaks userspace: PipeWire client streams log xrun bursts and audio audibly glitches exactly during storm windows (verified live — a listener called out glitches in real time against a wall-clock stall log, 4/4 matches). Steady stalls at up to ~5/s are absorbed silently.
3. A power-limited GPU makes it constant.
With Dynamic Boost off (nvidia-powerd disabled) this 80 W-base-TGP laptop GPU is power-starved under load and flaps mem clock/pstate continuously (P4/9001 ↔ P2/11001 several times a minute) — so glitches become near-constant. This is why disabling powerd worsened the symptom my original report blamed powerd for.
4. Workaround that resolves the audible symptom:
nvidia-smi -lmc 14001,14001
Pinning the memory clock stops the switches; audio xruns drop ~10× immediately and audible glitches stop, at full performance (powerd enabled, P0, mem steady, 150–169 W sustained).
5. Residual storm mode with mem clock locked. With mem pinned, a weaker storm mode remains during bursty/oscillating GPU load (utilization swinging 43–99%, SM clock 1485–2512 MHz): one ~3-minute episode logged ~2300 stalls and ~50 xruns while the mem clock never moved. Suspect: power-management activity around the (unlocked) graphics clock. Under steady high load the machine is quiet (~1 stall/s).
Related issues that look like the same underlying problem: #1061 (nvidia-powerd microstuttering, RTX 4060 Laptop — matches my original wrong attribution; powerd is a stall client, not the cause) and #659 (periodic ~500 ms freezes with GSP RPC timeouts, RTX 4070 Laptop, absent on the proprietary driver). On Blackwell laptops neither escape hatch exists — RTX 50 requires the open modules and GSP — so clock pinning is currently the only mitigation.
Environment: Lenovo Legion Pro 7 16IAX10H, RTX 5080 Laptop (GB203M, GSP), driver 610.43.03 (open modules), kernel 7.1.3-2-cachyos (PREEMPT), Core Ultra 9 275HX.
Tooling/method (RT canary + stall/xrun/GPU-state monitor): https://github.com/radical89/legion-pro7-linux — tools/, README issue #8 has the full writeup. Happy to provide logs or run diagnostics against test builds.
FYI, nvidia proprietary drivers 2022 https://gitlab.freedesktop.org/pipewire/pipewire/-/work_items/2375
@MaxKh — thanks, useful pointer. #2375 (2022, RTX 3060, proprietary driver 510.68) is worth cross-referencing: it shows reclock-triggered audio drop-outs on NVIDIA GPUs predate the open modules / Blackwell, and it converged on the same workaround I use — nvidia-smi --lock-memory-clocks (or PowerMizer "Prefer Maximum Performance"). The PipeWire maintainers closed it as not a PipeWire bug with an FAQ note, i.e. already understood as driver-side.
One difference worth stating so the two don't get conflated: in that 2022 report the drop-outs were specific to audio routed through the NVIDIA GPU's output — the reporter noted built-in Intel audio stayed fine during the same events. In my case the glitches hit every output including Bluetooth, which is what pointed me to a whole-machine ~4-5 ms stall on GPU register access (all cores simultaneously) rather than something localised to the NVIDIA audio path. So: related via a shared trigger (mem-clock/pstate transitions) and shared mitigation (pinning clocks), but not necessarily the same mechanism.
That thread also didn't reach a firm mechanistic conclusion — one reporter correlated blips with the PCIe link-gen up-switch riding along the mem-clock jump; another couldn't reproduce a consistent correlation and saw no change disabling PCIe/ASPM power management — so the exact trigger there stayed open. Posting to record the cross-reference; happy to run instrumented builds.
ive traced Hyprland to the death, adding various cpu and gpu queries. there was a intermittent ~5ms stall every 0.100ms. in eglCreateSyncKHR only to find out disabling nvidia-powerd got rid of this.