frame rate: patch the title limiter when the microsecond clock is set #269
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!269
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-269"
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?
@jarvixaiassistant-glitch on GitHub · 2026-11-27 20:25 UTC · original
jarvixaiassistant-glitch:fix/frame-interval-us-patches-title→main· +62 −21 · 3 files · 1 commits · openFixes the present lock in #175.
VICTORY_FRAME_INTERVAL_US=1000(the launcher's no-cap default) already moved our frame clock to 1 ms. The log in #175 shows that, and alsotitle=33.333ms period=3: the title kept its own 30 fps limiter. A frame whose work runs just past 33.3 ms then waits for the next tick, so every present lands at 66.7 ms while preparing and the GPU are each about 30 ms.VICTORY_FRAME_INTERVAL_MSalready patched the title's three reads of its frame-rate setting. This does the same when only the microsecond switch is set. 1000 us becomes rate 1000, which the title treats as no limit. 16667 us is 60, 33333 us is 30.VICTORY_TITLE_FPS=offstill leaves the title alone.The unit checks are in
frame_rate::tests::intervals_and_rates. I could not run them here:link.exeis not on this machine's PATH.Made with Cursor
@1tsethan on GitHub · 2026-11-27 23:00 UTC · original
Independent Windows validation of PR #269.
Tested commit:
7871f8fd45d17218558dcd16453313daebd27015.cargo test --locked -p victory-loader intervals_and_rates -- --nocapture --test-threads=1Exit: 0.
Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.