victory warm: pipelines left out or refused are not written down as done #89

Open
github-bot wants to merge 1 commit from github-bot/gh-89 into main AGit
Owner

@⁠Yorivel on GitHub · 2026-11-27 17:51 UTC · original
Yorivel:fix/warm-left-out → main · +8 −1 · 1 files · 1 commits · open

victory warm writes every pipeline its child reports to warm-done.txt, including those that got no host pipeline (there == false): pipelines left out by the run's switches, or refused.

Consequence. Without VICTORY_BVH_BUILDER=1, make.rs leaves out the ~1,000 CS_RaytracingResolve pipelines, and the ray activation ones, as "shades ray-tracing hits without BVH". A warm run without the builder marks them all done. A later warm with the builder then skips them for good, so every ray-traced run compiles them during play:

  • about 670 "being made" in the first minutes;
  • frames of 3-10 s while NVIDIA's D3D background threads compile them. A profile showed the four background threads at 100 % in nvgpucomp64.dll, and the title's frame thread spinning.

Change. Only pipelines with a host pipeline are written down as done; the others are asked for again by the next warm. Refusals cost no compile, so a warm that finds them again stays quick.

Workaround for those affected now: VICTORY_BVH_BUILDER=1 victory warm --again --used. On an RTX 4090 that took 15 s for 3,121 pipelines and removed the start-up RT pipeline builds.

Testing: cargo check. The workaround above was what we played with; this change itself was not run in a warm yet.

🤖 Generated with Claude Code

**@⁠Yorivel** on GitHub · 2026-11-27 17:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/89) `Yorivel:fix/warm-left-out` → `main` · +8 −1 · 1 files · 1 commits · open `victory warm` writes every pipeline its child reports to `warm-done.txt`, including those that got **no host pipeline** (`there == false`): pipelines left out by the run's switches, or refused. **Consequence.** Without `VICTORY_BVH_BUILDER=1`, `make.rs` leaves out the ~1,000 `CS_RaytracingResolve` pipelines, and the ray activation ones, as "shades ray-tracing hits without BVH". A warm run without the builder marks them all done. A later warm with the builder then skips them for good, so every ray-traced run compiles them during play: - about 670 "being made" in the first minutes; - frames of 3-10 s while NVIDIA's D3D background threads compile them. A profile showed the four background threads at 100 % in `nvgpucomp64.dll`, and the title's frame thread spinning. **Change.** Only pipelines with a host pipeline are written down as done; the others are asked for again by the next warm. Refusals cost no compile, so a warm that finds them again stays quick. **Workaround for those affected now:** `VICTORY_BVH_BUILDER=1 victory warm --again --used`. On an RTX 4090 that took 15 s for 3,121 pipelines and removed the start-up RT pipeline builds. **Testing:** `cargo check`. The workaround above was what we played with; this change itself was not run in a warm yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A pipeline that gets no host pipeline in the warm's child (left out by the
run's switches, like the ~1,000 CS_RaytracingResolve without
VICTORY_BVH_BUILDER=1, or refused) was still written to warm-done.txt. A
later warm with the structure builder on then skipped them for good, and
every ray-traced run compiled them in play: ~670 pipelines "being made" in
the first minutes, and NVIDIA's background compile kept frames waiting for
seconds (RTX 4090: frames of 3-10 s while the D3D background threads
compiled). Only those with a host pipeline are done now; the others are
asked again by the next warm (refusals cost no compile).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 17:59:56 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/89/head:github-bot/gh-89'
git switch 'github-bot/gh-89'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-89'
git switch 'github-bot/gh-89'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-89'
git switch 'github-bot/gh-89'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-89'
git switch 'main'
git merge --squash 'github-bot/gh-89'
git switch 'main'
git merge --ff-only 'github-bot/gh-89'
git switch 'main'
git merge 'github-bot/gh-89'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.