Docs: say what LEONIDA_FG_LIMIT_FPS unset, auto and 0 do #3365
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#3365
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@MoonEyes on GitHub · 2026-12-03 16:30 UTC · original
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
Pull request details or commits were not available from GitHub; kept as an issue.
@merzleckeier on GitHub · 2026-12-03 17:01 UTC · original
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.