The last unclaimed thermal lever. Our 2026-07-24 finding: on this Plasma-Wayland box Xwayland pins the RTX 2060 'active' regardless of runtime-PM (control=auto, --rtd3), so the dGPU never actually suspends live and keeps drawing ~4-5 W + idle heat. The ONLY real off is EnvyControl's 'integrated' mode (blacklist nvidia) — but that's a persistent config change that needs a re-login, categorically unlike the instant perf.sh modes (governor/EPP/RAPL). So it gets its own tool, not a perf-mode. gpu-mode.sh (new, at repo root beside perf.sh) ---------------------------------------------- A guarded EnvyControl front-end: `query` (default — manager mode + live dGPU runtime state, with the right advice per mode), `integrated` (dGPU off; warns you lose CUDA/NVENC for demucs/audio-ML until you switch back), `hybrid` (restore with aggressive --rtd3 3 = D3cold-when-idle). Every switch confirms (skip with -y), runs `sudo envycontrol ...` (prompts for your password), then prints the exact re-login step (reboot safest; verify with `./gpu-mode.sh query` + `nvidia-smi`). Deliberately NOT added to the passwordless perf-audio sudoers whitelist: this is a rare, considered, re-login-required switch — the web Bridge and tray must never be able to power-cycle the GPU config unattended. Runs by hand only. Cockpit surfacing (Bridge + tray) --------------------------------- - perf.py: gpu_manager_mode() reads `envycontrol --query`, cached 300s (the mode is static within a login session; a re-login restarts this --user service and refreshes the cache), defensive → None if envycontrol absent. Added to snapshot() as `gpu_manager`. - Bridge UI: the `gpu` chip folds it in — shows `off↻` when integrated-but-pending- re-login (dot green: this is the quiet goal), and in hybrid its title now names the manager mode and points at `./gpu-mode.sh integrated` for a real off. - Tray tooltip mirrors it (`gpu awake·hybrid`, or `off↻` when armed). Validation: 24 perf tests pass (2 new — parse+cache, and absent→None; snapshot-shape now asserts dgpu/gpu_manager/thermald). Live: `./gpu-mode.sh query` reads hybrid + active(0000:01:00.0) and fires the Xwayland warning; Bridge /api/perf serves gpu_manager=hybrid; both services restarted clean.
| Name |
Last commit
|
Last update |
|---|---|---|
| .gitea/workflows | Loading commit data... | |
| armada | Loading commit data... | |
| blocks | Loading commit data... | |
| blog | Loading commit data... | |
| copycat | Loading commit data... | |
| docs | Loading commit data... | |
| gifts | Loading commit data... | |
| lib-parvagues | Loading commit data... | |
| live | Loading commit data... | |
| output | Loading commit data... | |
| releases | Loading commit data... | |
| sandbox | Loading commit data... | |
| study | Loading commit data... | |
| test | Loading commit data... | |
| tools | Loading commit data... | |
| utils | Loading commit data... | |
| viz | Loading commit data... | |
| .gitignore | Loading commit data... | |
| BootTidal.hs | Loading commit data... | |
| BootTidal.hs.broken | Loading commit data... | |
| BootTidal.visuals.broken.hs | Loading commit data... | |
| CLAUDE.md | Loading commit data... | |
| LICENSE | Loading commit data... | |
| PatchBay_MultiChannel.xml | Loading commit data... | |
| PatchBay_Perf.xml | Loading commit data... | |
| PatchBay_Perf5.1.xml | Loading commit data... | |
| README.md | Loading commit data... | |
| backlog.md | Loading commit data... | |
| bullet_train.tidal | Loading commit data... | |
| collide.sh | Loading commit data... | |
| debug.tidal | Loading commit data... | |
| didacticpatternvisualizer.pde | Loading commit data... | |
| gpu-mode.sh | Loading commit data... | |
| hello.sc | Loading commit data... | |
| init_midi.sh | Loading commit data... | |
| intro.md | Loading commit data... | |
| library.txt | Loading commit data... | |
| link_jack.sh | Loading commit data... | |
| link_samples.sh | Loading commit data... | |
| link_samples_all.txt | Loading commit data... | |
| main_fairbanks.scd | Loading commit data... | |
| notes.md | Loading commit data... | |
| perf-audio.sudoers | Loading commit data... | |
| perf-tray.py | Loading commit data... | |
| perf.sh | Loading commit data... | |
| samples.txt | Loading commit data... | |
| start_and_midi.scd | Loading commit data... | |
| test.tidal | Loading commit data... |