Unlock the frame rate: 60 fps and above instead of the game's 30 #20
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?
Imported from edsuuu/VI-BR-PORT. Originally posted by edsuuu on 2026-11-28T21:53:00Z.
The game runs at most at 30 frames a second: the title sets its frame interval itself (the console's 30 Hz pacing) and our engine follows it. Machines that render faster than 33 ms a frame should be able to go to 60 and above, from a setting.
Where the cap is
crates/victory-gpu/src/frame.rs: the title sets a frame interval and waits for each frame to begin; ours is a clock started by the first interval set, ticking once per interval (origin, vblank and flip events once per tick). The title paces itself by the blocking wait for the flip before each present, so the interval it asks for is the frame rate it gets.What to do
VICTORY_FRAME_INTERVAL_US=<µs>(16667 for 60, 8333 for 120, a very small value for no cap), the title's own interval when unset. Other forks use the same name (VICTORY_FRAME_INTERVAL_US=1000meaning no cap), worth keeping compatible.To check
Reference
The NVIDIA fork (
trustno1-coder/VIctory-NVIDIA, commit22c6be2e7, "no frame rate cap") setsVICTORY_FRAME_INTERVAL_US=1000by default from its launcher, with the cap in its F1 menu.