Launcher: real game speed above 30 FPS (the title told its rate), 12 pipeline makers at normal priority #65
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!65
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-65"
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?
@wasonidas on GitHub · 2026-11-27 15:39 UTC · original
wasonidas:launcher/real-speed-pipeline-makers→main· +16 −2 · 1 files · 3 commits · openLauncher only (
scripts/play-foxhound.ps1); two commits.Problem
VICTORY_FRAME_INTERVAL_US, 1000 by default: no cap). The title's simulation still stepsclamp(dt, 1/sim_rate, 1/15 s)with its own rate left at 30, so every frame shorter than 33.3 ms moves game time 33.3 ms: at N rendered frames a second the game runs N/30 times too fast.Change
-Fpsnow setsVICTORY_FRAME_INTERVAL_MS, which also patches the title's own rate. Without a cap (the default) the launcher setsVICTORY_FRAME_INTERVAL_MS=0andVICTORY_TITLE_FPS=59: the title is told 59 rather than its own "no limit", which halves a per-frame scale of its own and shows its scripts 1000 FPS.-FixedStepkeeps our clock alone, as before.VICTORY_PIPELINE_LOWEST=0,VICTORY_PIPELINE_WORKERS=12,VICTORY_PIPELINE_SLOW=0: 12 makers at normal priority, no slow limit; they finish before the world (38-46 s). The wait for a pipeline stays at 500 ms: at 50 ms a pass a face needs was dropped.No Rust code changes: the switches are the ones
mainalready reads (frame.rs,frame_rate.rs,pipeline/make.rs).victory play(apps/victory/src/play.rs) has its own settings list, still setsVICTORY_FRAME_INTERVAL_US, and is not changed here.-Moreoverrides any of these, for instance-More @{VICTORY_PIPELINE_WORKERS='4'}on a processor with fewer threads.Relation to #18
#18 makes
VICTORY_FRAME_INTERVAL_UScount for the title's rate too. With no cap that gives the title its "no limit" (1000), the case this PR avoids by telling it 59.Measured
RTX 5080, Ryzen 7 9800X3D (8 cores, 16 threads), 32 GB, Series X profile, 2560x1440, DLSS Quality, diagnostics build, 294 s unattended runs of the prologue.
Pipeline makers, intro cutscene (73-125 s):
Cell scene (135-145 s) in the same two runs: 27.0 -> 30.5 FPS. Visual review clean.
Game speed:
VICTORY_FRAME_INTERVAL_US=1000)VICTORY_FRAME_INTERVAL_MS=0+VICTORY_TITLE_FPS=59The run with both changes: cutscene 24.3 FPS, cell 29.9, route (199-226 s) 30.3, no device removed, no out-of-memory lines; the release exe ran 295 s without errors. Real speed brings no frame rate of its own, and frame rates above 30 measured with the old clock had the speed-up in them.
Checks
main(0cef07e9):-Preloadand the FSR 3 block are kept beside-FixedStepand the frame interval; againstmainthe branch changes this script only. The script parses (PowerShell 5.1);cargo check --workspace --all-targets --lockedandcargo test -p xtask(asset policy) pass.main; the measurements above are from our RTX 5080 branch, whose base is this repository's9d6300fa.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.