Skip to content

Decky plugin v3.8.0

Latest

Choose a tag to compare

@decodergit decodergit released this 13 Nov 20:25

3.8.0

  • Fixed fan speed, as in tdp_gui.py. The fan section now has a Fan mode selector: Firmware, Curve or Fixed speed. In fixed mode a slider sets 0–100 % (5 % steps); the value is applied once the slider stops moving.
  • The fixed speed is rewritten every 5 seconds (and the channel switched back to manual) in case the firmware takes the fan over.
  • Overheat guard: in fixed mode, from 90 °C the fan never runs slower than the curve would; the panel shows a warning while this is active. Below 90 °C the fixed speed returns.
  • The mode and fixed speed are saved (fan_control.mode, fan_control.manual_pct) and restored after a restart and after the tdp_gui.py window closes. Old configs migrate: curve on → Curve, curve off → Firmware.
  • New RPC set_fan_mode(mode, pct); enable_fan_control / disable_fan_control keep working and update the mode.
  • Build row shows 3.8.0.

3.7.0

Redesigned panel: less text, the important things first.

  • Summary on top: three tiles — FPS (green / amber / red against the goal, with the goal underneath), TDP and temperature — and one status line with a coloured dot: holding the target, raising TDP, lowering TDP, looking for the lowest TDP, short at the TDP limit, high-load boost, waiting for FPS, Auto TDP off.
  • Last-minute chart of FPS and TDP with the goal as a dashed line. The history is kept by the backend, so it does not reset when the menu is reopened.
  • Game, display mode and working levels in one line under the summary.
  • Main controls first: Plugin enabled, Auto TDP, Target FPS. TDP limits (min, max, start TDP), More settings (high-load boost and threshold, poll interval, MangoHud overlay, language) and Diagnostics (build, backend, search state, loads, FPS source, fan controller) are collapsed; they stay as left while the plugin is loaded.
  • Fan section: the curve chart with one caption (°C · % · rpm) instead of five rows.
  • The MangoHud / FPS-limit note is shown only when there is no FPS; errors are shown as a banner at the very top.
  • Shorter descriptions under toggles and sliders.
  • Language: one selector (Auto / English / Русский) instead of two toggles. Auto follows the Steam language and is the default for new configs; existing configs keep their choice.
  • Build row shows 3.7.0.

3.6.0

  • Working TDP levels are kept per display mode. The same game needs different power handheld on the built-in 2K screen and docked on a 2K or 4K monitor. Levels are now stored per game and display mode, e.g. steam:1091500@handheld-1920x1080, @external-2560x1440, @external-3840x2160, so a menu exit on the built-in screen no longer jumps to the 4K level (or the other way round).
  • The display mode comes from /sys/class/drm: which outputs are enabled (built-in eDP or external DP/HDMI) and their native resolution. Any enabled external output means docked; with several, the largest one counts.
  • Dock / undock mid-game: when the mode changes and that mode already has saved levels, TDP goes straight to its typical level (median of recent levels) instead of waiting for an FPS drop or a long search down. In simulation, docking from 35 W to a 4K screen that needs 68 W and undocking back caused no FPS drop at all.
  • The FPS section shows the display mode next to the game.
  • Levels saved by 3.4.0–3.5.0 (keyed by game only) are not reused: the mode they were learned in is unknown.
  • Build row shows 3.6.0.

3.5.0

  • RyzenAdj ships with the plugin. bin/ryzenadj (RyzenAdj v0.18.0, the same file PowerControl v3.15.1 ships) is now in the repository and in the Decky archive, so PowerControl is no longer needed, not even for the first launch. RyzenAdj stays under LGPL-3.0-or-later: the license texts are in bin/licenses/, the source link and checksum in bin/README.txt and THIRD_PARTY_NOTICES.md.
  • Decky unpacks archives with Python, which drops the executable bit. The plugin and tdp_gui.py now restore it on bin/ryzenadj at start. The archive stores ryzenadj as 755 and everything else as 644.
  • If bin/ryzenadj is missing (an old installation), the plugin still copies it from PowerControl.
  • Fan curve as a graph. The panel shows the curve as a chart (temperature 20–110 °C, speed 0–100 %) with a marker for the current temperature and fan speed. Edit curve opens an editor: drag a point to move it, tap empty space to add one; dragging up lifts the points to the right and dragging down lowers the points to the left, so the curve never decreases. A selected point can also be moved with sliders and the ◀/▶ buttons, so the editor works with a gamepad. Delete point, Reset to default, Save and Cancel are in the same window. Replaces the list of per-point sliders.
  • Build row shows 3.5.0.

3.4.0

  • Fast return after menus. A menu needs ~10 W, the location ~35 W: when the menu closed, FPS used to stay far below the target for 3–8 s while TDP climbed back. In simulation of the same switch the hard drop (FPS below goal − 4) is now 1–2 s instead of 7–8 s, with no overshoot.
  • No smoothing lag on drops. A sharp drop (latest reading below goal − 4 fps) is acted on at once, instead of waiting for the 4 s average. A mild deficit counts only readings taken after the last TDP change, so the controller no longer keeps raising after a jump on frames from the old level. Lowering still requires both the long average and the latest reading to show a surplus.
  • Working levels per game. TDP levels where FPS held near the target for 8 s are remembered and saved per game in game_stats.json (game detected from Steam's SteamLaunch AppId=… process; anything else shares one entry). On a sharp drop TDP jumps straight to the median remembered level above the current one, capped by an FPS-based estimate (FPS ∝ W^0.9, ×1.5) so a loading screen cannot send it to the maximum. The usual search then trims it down if the scene is lighter.
  • Fixed: once a plateau had been found, raises were limited to 2 W at every level, even far below that plateau. The small step now applies only near or above the learned ceiling.
  • Fixed: the raise interval was compared exactly, so timer jitter could skip every second poll. It now has a 10 % tolerance.
  • The FPS section shows the detected game and its working TDP levels.
  • tools/simulate_scene_switch.py: location → menu → location simulation on the real controller.
  • Build row shows 3.4.0.