Files
club-3090/scripts/systemd
Alex b7d5aabe74 Add nvidia-power-cap.service for boot-time GPU power cap (#483) (#485)
scripts/gpu-mode.sh `power-cap on` restarts nvidia-power-cap.service as
the single-source-of-truth enforcer, but the repo never shipped the unit
— so the path silently fell back to a direct `nvidia-smi -pl 230` and no
cap survived reboot.

Ship the Type=oneshot unit (250W both 3090s — the rtx-3090.yml
`power_cap_w_prefill` point; higher caps trigger GPU1 fall-off-bus on the
X670E rig). Ordered After=gpu-tune.service so on rigs where another
oneshot also sets -pl at boot, this unit is the last writer; After= on an
absent unit is a no-op, so the file stays portable. See #483.

Co-authored-by: Alex <alex@botty.dev>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 21:08:26 +05:00
..