Docs: say what LEONIDA_FG_LIMIT_FPS unset, auto and 0 do #3365
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3365"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:30:37Z.
Claimed in the coordination issue as:
LEONIDA_FG_LIMIT_FPSdoc fix (claim comment in #3312)Refs: #3328 (the
autolimiter regression; this only fixes what the doc says, not the limiter)What and why
The doc-comment of
LEONIDA_FG_LIMIT_FPSinfg.rs, and so the generatedd3d12/docs/switches.md, still said "unset or 0: no limit, as before". Since #3062 an unset orautovalue follows the rendered rate and only0removes the limit;d3d12/README.md,play-nvidia.ps1, the launcher anddocs/launcher.mdalready say so. The comment now reads "unset orauto: it follows the rendered rate; 0: no limit", andswitches.mdis regenerated withpython -I tools/d3d12_switches.py --out d3d12/docs/switches.md(one line changes). Comment-only change in Rust, no behaviour change.Tested
python -I tests/test_d3d12_switches.py(21 tests, including the check that the tracked page matches the sources),python -I scripts/check_no_game_data.py.limit_us()andlimit_follows(); regenerated page compared to the branch (identical);git merge-treeagainst #3216, #3278 and #3295 (the other PRs touchingfg.rs) is clean.GPUs tested: n/a
AI-assisted: yes. Written with Claude Sonnet 5.5; independently reviewed read-only by Claude Opus 5.5.
Checklist
mainand merges cleanly.Generated by Claude Code
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T17:01:35Z.
Reviewed
0e472cd3onfba6f09ctogether with the default-limit tests in #3295 (af01c295) and the full catalog check in #3308 (2d006714). The combined merge is clean. All 22 switch-catalog tests passed, including a byte-for-byte regeneration ofswitches.md.I also compiled the frame-limit helpers and their three unit tests in an isolated Rust harness. Fresh processes confirmed that unset, empty and
autoselect adaptive mode,0disables the limit, and28selects a fixed interval. This verifies the setting semantics; no GPU tests were run. AI-assisted with OpenAI Codex.