Help wanted: frame pacing and a 60 fps / uncapped option #41
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/ThatRecompDev--five-star-recomp#41
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?
@ThatRecompDev on GitHub · 2026-11-25 16:23 UTC · original
the game targets 30 fps on console. once the world runs at speed we'd like an option to unlock it (60 fps or uncapped), like other PC ports offer.
what we need to find out:
--fps-cap 60/--fps-cap 0, plus whatever the game needs to stay correct at a different rateno game data or exe bytes in the issue please, addresses/RVAs and a description of the code are fine. background:
docs/d3d12x-shim.md(present, frame pacing).@ThatRecompDev on GitHub · 2026-11-25 17:05 UTC · original
dug into this a bit. the 30 fps cap is actually the game's own choice: every frame it says which rate it wants, and that becomes a 33.3 ms interval for the console's frame events, which our pacer just follows. the engine clearly runs at other rates too (it has dividers for 60/30/20/15 and a 120 Hz table, plus an unlocked mode that doesn't wait on frame events at all), so it most likely measures frame time instead of assuming fixed steps.
so there's now a
--frame-rate 30|60|uncappedoption on main (default 30, same as console). 60 shortens the frame interval to one 60 Hz refresh, uncapped drops the wait and vsync. haven't checked physics/animation at 60 in the world yet, so if anyone tries it, cutscene speed vs audio and walking speed are the things to watch(honest note: right now the GPU side is way slower than 30 anyway, --gpu-timings from #40 shows one pass alone eating ~276 ms a frame, so that's where the real work is)