Launcher: ray activation by default (-Rays) and victory warm before the game; warm --used covers the pipelines the switches let in #64
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!64
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-64"
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/rays-and-warm-used→main· +220 −24 · 5 files · 1 commits · closed without mergingProblem
CS_ScreenProbes_ActivateRays) is left out, and the stain is there. WithVICTORY_ACTIVATE_RAYS=1it is gone.victory warm --usedpasses over the pipelines a switch lets in.--usedmakes only what earlier runs drew with (the early list). A run withVICTORY_ACTIVATE_RAYS=1,VICTORY_RT_RESOLVE=1orVICTORY_BVH_BUILDER=1draws with some 1,000 pipelines that runs without the switch never drew with, so the first run with the switch makes them while it draws.Change
victory warm --usedalso makes the pipelines whose compute program this process's switches let in (known::let_in,make::let_in_names; the two skips inmake.rsare now functions so that both sides read the same switches). It says how many it let in.victory warm --stamp <text>: nothing is done if the last whole warm in this cache was given the same text (pipelines/warm-stamp.txt); a warm cut short by--limitwrites none. Progress is told every 5 s as well as every 1,000.scripts/play-foxhound.ps1:-Rays both|resolve|activate|off, defaultactivate(VICTORY_ACTIVATE_RAYS=1);offis the launcher as before.victory warm --used --stamp <hash>runs before the game. The hash is ofvictory.exe, the display driver's version and the settings that matter to the warm, so after the first time it takes seconds.-SkipWarm,-WarmOnly,-Victory <path>.VICTORY_MENU_*, DLSS, frame generation, frame interval) are kept out of the stamp and are not given tovictory warm.victory play(apps/victory/src/play.rs) has its own settings list and is not changed here.Relation to #29
#29 (merged) drops the violet leftovers where the ambient
raisereads them. This runs the pass whose absence leaves them there. Our measurements are from a tree without #29, and we have not measured on top of it: if #29 alone is enough here, the-Raysdefault can go tooffand the rest of this PR (the warm) stands as it is.Measured
RTX 5080, Ryzen 7 9800X3D, 32 GB, Series X profile, 2560x1440, DLSS Quality, diagnostics build, 294 s unattended runs of the prologue; cell scene at 135-145 s:
VICTORY_RT_RESOLVE=1), cache warmed without it-Rays activate, warm before the game)VICTORY_ACTIVATE_RAYS=1alone;VICTORY_RT_RESOLVE=1alone does not remove it and costs about 2 FPS, hence the default.Checks
main(d12eb1b2); one conflict inapps/victory/src/main.rs(theWarmarm beside the newPlayandGetDlssarms), resolved by keeping both.cargo check --workspace --all-targets --locked: passes.cargo clippy --workspace --all-targets --all-featuresgives the same findings asmain(none new).cargo test -p victory-gpu --lib -- pipeline::known::tests pipeline::make::tests(with the newpipelines_are_found_by_their_compute_programs_name) andcargo test -p xtask(asset policy): pass.main; the measurements above are from our RTX 5080 branch, whose base is this repository's9d6300fa.@wasonidas on GitHub · 2026-11-27 19:22 UTC · original
Closing this one, for the reason #78 was closed:
victory preloadand the launcher's-Preload(29d8dbf,10862a6) landed after it and cover the same ground more completely.VICTORY_ACTIVATE_RAYS=1,VICTORY_RT_RESOLVE=1,VICTORY_BVH_BUILDER=1) are made by it. This PR'slet_inmattered only underwarm --used, which the launcher has no need of now.-Rays activatedefault was for the violet stain, which #29 takes away where it is read. We never measured it on top of #29.For the record, the measurement holds on the commit before: the first run with a ray switch on a cache warmed without it gave 3.9 FPS in the prologue's cell (p95 504 ms), and 27.0 FPS once the pipelines the switch lets in were made ahead (RTX 5080, Series X profile, 1440p).
One thing is left over and is not this PR's: a warm without a switch writes the pipelines it left out down as done, so a later one with the switch passes over them. #89 has that.
Pull request closed