Repository navigation
Decky plugin v3.2.0
·
7 commits
to main
since this release
3.2.0
- Fixed fan curve editor layout. Temperature and speed sliders for one point were placed in a single row, so the section looked like duplicated points. Now all temperature sliders come first, then all speed sliders, each point numbered once.
- Duplicates in the stored curve are merged.
curveFromConfignow collapses several values for the same temperature (e.g."70"and"70.0", or a hand-edited config) into one point, keeping the higher speed. Invalid entries are dropped instead of rendering as extra points. - Saving merges duplicates too, so a curve can no longer be written back with two values for one temperature.
- Reset already replaced the curve rather than adding points; this is now covered by tests (3 points → exactly 9, repeated resets stay at 9).
- Build row shows 3.2.0.
3.1.0
- TDP now ramps up proportionally instead of in fixed steps. The step depends on two values: the width of the available TDP range (max − min) and the relative FPS shortfall. On a 65 W range with a 12 fps shortfall the step is about 6.5 W, with 4 fps about 2 W, with 2 fps about 1 W. A narrow range gives proportionally smaller steps, so the same rule works for any limits.
- The step is capped at half the range, and while a plateau check is open at 12 % of the range, so a single window cannot run far above the working level.
- Plateau detection is now two-strike. One failed check is often just noise (±1.5 fps over two or three samples easily crosses the threshold). The cap is applied only after two failures in a row, which removed the cases where the TDP stalled below the level that still delivers frames.
- Plateau requires a shortfall. The cap is not applied when the raise already brought FPS to the target: that is a reached result, not a plateau.
- Learned ceiling. Once a plateau has been found, later raises above that level are small (2 W) and rare (10 s), so the controller does not spend power above a level already shown to be useless.
- Simulation, 25 W start, target requiring 44 W: reaching working TDP takes 4–6 s at noise ±0, ±1.5 and ±3 fps. In 3.0.0 two runs out of eight took 67 s because of a false plateau.
- Build row shows 3.1.0.
3.0.0
- FPS ramps up much faster. Poll interval now defaults to 1 s instead of 3 s, and the raise interval follows the poll interval instead of being fixed at 2 s. In simulation, reaching the target from 25 W took 90 s before and 9 s now.
- Fixed a false plateau lock. The plateau check compared the FPS after a raise with the FPS recorded at the moment of the raise, which still belonged to the old TDP. When polls were infrequent the comparison window was also too short, so the plateau fired on the first raise and TDP stuck at the bottom. The check now compares a stable average before the raise with a stable average at the end of the window, and waits for at least two samples.
- Fixed the FPS reader cost. Each poll read the whole MangoHud CSV three times, once per metric;
stats()read it a fourth time. On a 2 MB log that was 240 ms per poll, so a shorter interval would have made things worse. Now the header and a 64 KB tail are read once for all metrics: 2.7 ms regardless of file size, 9–88× faster.stats()no longer re-reads. - New Poll interval slider (0.5–5 s) in the interface, saved as
check_interval_sec. The raise interval and the plateau window follow it automatically. - Build row shows 3.0.0.
2.7.0
dist/index.jsis now built fromsrcwith rollup instead of being edited by hand. The manual copy could drift from the source; that risk is gone.- Fixed
package.json:@decky/uiwas pinned to^2.0.0, a version that does not exist, sonpm installfailed. Now^4.15.1. - Fixed
tsconfig.json:jsxwasreact-jsx, which emits calls to a JSX runtime module. Decky passes React itself (SP_REACT), so the bundle now uses the classicReact.createElement. - Fixed the bundle footer so the script value is the plugin object, as the legacy Decky loader expects.
- Added
tools/collect_metrics.pyandtools/analyze_metrics.pyfor on-device checks: TDP, FPS, temperature, fan speed, and an analysis of how fast TDP falls, how often it changes, and whether lowering the TDP causes FPS drops. Nothing in the system is modified. - Build row shows 2.7.0.
2.6.0
- Fan curve editor in the interface: each point has a temperature and a speed slider, points can be added and removed, and the curve can be saved or reset. A rejected curve shows the backend reason instead of a bare failure.
- TDP search status in the interface: search state, the lowest level that holds the goal, the highest level that does not, and the number of tries.
- Initialization errors are collected by the backend and shown in the Status section, instead of only being written to the log.
- Dictionary extended to 87 keys per language; English and Russian stay in sync.
- Build row shows 2.6.0.
2.5.0
- Fan controller: hysteresis (the curve is recalculated only after the temperature moved more than 2 °C), a 2 % PWM dead band (no sysfs writes for smaller changes), a ramp limit (+25 %/s up, −10 %/s down), a minimum of 18 % while control is on, the maximum over all found temperature sensors, and a 1 s poll that writes only on change.
- Fan feed-forward: a TDP increase raises the target fan speed by 1.5 % per watt for 8 s (capped at 30 %). TDP decreases add nothing.
set_fan_curveandreset_fan_curvereturn{ok, error}; a rejected curve reports the reason.- Tests for each fan requirement on a fake hwmon.