You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin enabled switch is now the first row of the plugin. When it is off, the plugin writes nothing: Auto TDP stops and the fan is handed back to the firmware. The other sections are hidden. The switch is saved as plugin_enabled and survives restarts.
tdp_gui.py pauses the plugin while it is open. The window writes its PID to /run/gpd5cachyautotdp/gui.pid; the plugin checks it every second, stops Auto TDP and the fan curve, and reports back in plugin.json. The window applies its own limit and fan mode only after that report (or after 8 s if the plugin does not answer). When the window closes, or crashes, the plugin resumes its saved state. A stale PID that does not belong to tdp_gui.py is ignored.
While paused or switched off, the plugin refuses start_monitor, set_tdp, set_fan_speed and enable_fan_control, and does not reset the TDP on unload.
Plugin icon: a chip with a lightning bolt instead of the ⚡ emoji. It follows the Decky theme colour (currentColor). The drawing is also in assets/icon.svg.
tools/build_release.py builds the Decky archive into release/ (ignored by git): it checks that the versions match, rebuilds dist/index.js and packs the plugin folder.
Build row shows 3.3.0.
3.2.2
tdp_gui.py: the limit is applied when the slider is released (mouse or arrow keys), not while dragging.
tdp_gui.py: the chosen limit is rewritten every 5 seconds, so a firmware or other tool reset is corrected. Nothing is written until a limit is chosen.
tdp_gui.py: the “Apply” and “Read from system” buttons are removed.
tdp_gui.py: if not started as root, it asks for the sudo password in a dialog, checks it with sudo -S -v (the password is passed on stdin, never on the command line), then restarts itself with sudo -n env DISPLAY=… XAUTHORITY=….
tdp_gui.py: fan control. Modes “Auto (firmware)”, “Curve” (the backend fan curve) and “Manual” (0–100 % slider, rewritten every 5 seconds). The window shows temperature, fan speed and RPM. Closing the window hands the fan back to the firmware.
tdp_gui.py: fixed the layout: separators were placed on rows already used by labels and crossed the text. The window no longer crashes when no fan is found, and fan status no longer eats the first status line.
tdp_gui.py: settings (TDP limit, fan mode, manual fan speed) are saved to ~/.config/gpd5-tdp-gui.json of the user who started the window and applied on the next start.
tdp_gui.py: the sudo password is asked only the first time and when the saved one stops working. It is kept in the system keyring (Secret Service via secret-tool), never in a file. Without secret-tool it is asked every time.
Build row shows 3.2.2.
3.2.1
tdp_gui.py is part of the project and is included in both archives: a Tk desktop window with a live chip power indicator (from the powercap/RAPL energy counter, shown as “no data” when the counter is absent) and a 5–80 W limit slider. It lets you change the limit without switching to Big Picture. Turn Auto TDP off first, otherwise the plugin keeps rewriting the limit.
The Decky archive previously left the desktop tool out; it is now included.