Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • perf-audio.sudoers
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    feat(perf): smart-silent mode + Bridge/tray thermal cockpit · 2960c9fb
    Problem: the laptop ran hot even idle, and the bafd3133 RAPL watt caps were
    committed but NEVER deployed — the live /usr/local/sbin/perf-audio predated
    them, so every --cool set clock-% while RAPL sat at the BIOS 135W (measured
    90C under an all-core encode). Watts are the thermal lever, not percent.
    
    - perf.sh: new --silent ("smart-silent") — powersave + EPP power + 55% clock
      ceiling + a hard 12W/25W RAPL cap + allow_dgpu_suspend (nudge the discrete
      GPU toward D3cold) + audio still RT. Quieter than --cool without disabling
      turbo (low PL2 keeps SuperDirt DSP transients from xrunning). Tunable via
      SILENT_PL1_W / SILENT_MAX_PCT.
    - perf-audio.sudoers: whitelist --silent (flag-scoped, no wildcard).
    - tools/bridge/perf.py: MODES gains silent (tray + web inherit it);
      detect_mode disambiguates silent vs cool by EPP; snapshot() gains cores_pct
      (per-cpu util deltas), dgpu (runtime_status), thermald, watts (live RAPL
      caps), power_w (actual draw — null until energy_uj is unlocked, then lights).
    - ui/index.html: the bar is a cockpit now — 16 "dancing cores" (height=util,
      colour=temp, hover=cpu/util/temp), folded chips (watt cap / dGPU asleep-awake
      / thermald), a distinct teal+snowflake tint for Silent, and a 60s temp+power
      sparkline.
    - perf-tray.py: the icon's decorative sine is now a REAL temp-history
      sparkline; tooltip + menu fold in cap/gpu/thermald.
    
    Verified: POST /api/perf {silent} -> live RAPL 12/25W; {cool} -> 28/50W; the
    135W furnace is leashed. perf tests 7-pass.
    PLN (Algolia) authored Jul 24, 2026
    2960c9fb
perf-audio.sudoers 1.01 KB
EditWeb IDE
×

Replace perf-audio.sudoers

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.