feat(pipeline): VICTORY_PIPELINE_WAIT_MS sets how long a frame waits for new host pipelines (500 ms by default, as before) #638
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/lobomfz--VIctory-xmem!638
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-638"
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?
@Raptorbk45 on GitHub · 2026-12-05 22:37 UTC · original
Raptorbk45:feat/pipeline-wait-ms→main· +44 −2 · 3 files · 1 commits · openThe per-frame budget draws spend waiting for host pipelines met for the first time is a fixed 500 ms.
VICTORY_PIPELINE_WAIT_MS=<0..10000>sets it; unset or unparsable is 500, values above 10000 are clamped. Passes over the screen keep their own 10 s budget. A value other than 500 is logged once.Lower values trade a stall for draws that appear some frames late (a pass drawn only once whose pipeline is not ready is lost); higher ones the reverse. Useful for comparing runs and for machines where prewarm is incomplete.
Default unchanged:
wait_budget()returns 500 ms exactly as before when the variable is unset.How it was checked
Run after the final edit, on Linux (CachyOS), against
mainat8c4e6633:./build.sh check(release, MSVC target): passes; the one warning (room_latelynever used,resource.rs) is already onmaincargo xtask policy: passescargo test -p victory-core --lib menu: 18 passedPKG=victory-gpu ./build.sh test --lib -- pipeline::makeunder Wine: 8 passed,the_wait_budget_is_parsedincludedNot run: the game.
Branch head:
575ea49b.New test
the_wait_budget_is_parsed(unset, empty, garbage, negative, 0, padded, clamped).No performance claim: we have not measured values other than 500 on current
main.Checks
docs/SETTINGS.md,run.conf.default(# choices: 0|50|100|250|1000)VICTORY_PIPELINE_KICKPR (same file, different functions; both add a test at the end of the tests module, so the second to land needs a trivial rebase)cargo xtask policyView 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.