docs: what was learned on an RTX 5080, with and without the title's ray tracing #535

Open
github-bot wants to merge 2 commits from github-bot/gh-535 into main AGit
Owner

@⁠Rafa7046 on GitHub · 2026-11-28 00:30 UTC · original
Rafa7046:docs/findings-rtx5080 → main · +102 −0 · 1 files · 2 commits · open

An NVIDIA desktop section for docs/findings.md, in the shape of the 7900 XTX one and #480: an RTX 5080 16 GB with a Ryzen 9 9950X3D, Series X, 1440p, DLSS Performance, frame generation off, diagnostics build at df2daaf. The same stretch was run without the builder and with VICTORY_BVH_BUILDER=1 (twice): Lucia's arrest cutscenes, then Jason on the boat and a minute standing still.

The short version:

  • Without the builder: 35.2 fps median (p10 26.1, p90 45.2), preparing 21 ms, the card 71 % busy and idle about 8 ms a frame behind the submitting thread. The frame is ours, as on the 7900 XTX.
  • With the builder, on the boat: about 23.5 fps (42 ms), reproduced in both runs. Unlike the 7900 XTX, where fork-ray-tracing.md gives some 40 ms more of the card, the card keeps its headroom here (62-84 % busy, still idle behind us). What grows is our side of title memory by address: the submitting thread 26.5 → 44.4 ms, copies 10 → 15 ms, copying back 5.2 → 9.1 ms, landing threads waiting for the title's bytes 1.1 → 9.5 ms. So on this card 30 fps with the title's ray tracing is the same problem as 30 fps without it, plus about 10 ms of landing and copies.
  • Draws dropped without a host pipeline: 127 a frame without the builder, 1 with it.
  • The first three minutes with the builder run at 1-4 fps, and it is not the pipeline cache: the second run came after a victory warm that had nothing left to make, and looked the same. In that stretch the builder unpacks the shipped static structures (700-1,040 builder dispatches a frame), about 1,100 pipelines are still in flight, the card is 6-20 % busy, and about 190 ms of a 270 ms frame pass "while the title had not submitted". What the title waits for there is not shown by these lines.
  • The structures' sizes: VICTORY_BVH_TRACE tied 175 of 2,972 copies (first run) and 63 of 2,967 (second) to a size it saw arrive, each one frame after it was asked. Whether the rest used a stale size or the trace does not tie them to their ask is left open, not claimed.
  • victory shaders with VICTORY_HOST_WAVE=32: 225 of 25,760 do not translate (22 wave64 programs with no wave32 lowering, two of them created in these runs).

Nothing of the title is in the change: figures, shader hashes and a description of the scenes. cargo xtask policy passes.

🤖 Generated with Claude Code

**@⁠Rafa7046** on GitHub · 2026-11-28 00:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/535) `Rafa7046:docs/findings-rtx5080` → `main` · +102 −0 · 1 files · 2 commits · open An NVIDIA desktop section for `docs/findings.md`, in the shape of the 7900 XTX one and #480: an RTX 5080 16 GB with a Ryzen 9 9950X3D, Series X, 1440p, DLSS Performance, frame generation off, diagnostics build at `df2daaf`. The same stretch was run without the builder and with `VICTORY_BVH_BUILDER=1` (twice): Lucia's arrest cutscenes, then Jason on the boat and a minute standing still. The short version: - **Without the builder: 35.2 fps median** (p10 26.1, p90 45.2), `preparing` 21 ms, the card 71 % busy and idle about 8 ms a frame behind the submitting thread. The frame is ours, as on the 7900 XTX. - **With the builder, on the boat: about 23.5 fps** (42 ms), reproduced in both runs. Unlike the 7900 XTX, where `fork-ray-tracing.md` gives some 40 ms more of the card, **the card keeps its headroom here** (62-84 % busy, still idle behind us). What grows is our side of title memory by address: the submitting thread 26.5 → 44.4 ms, copies 10 → 15 ms, copying back 5.2 → 9.1 ms, landing threads waiting for the title's bytes 1.1 → 9.5 ms. So on this card 30 fps with the title's ray tracing is the same problem as 30 fps without it, plus about 10 ms of landing and copies. - Draws dropped without a host pipeline: 127 a frame without the builder, 1 with it. - **The first three minutes with the builder run at 1-4 fps, and it is not the pipeline cache**: the second run came after a `victory warm` that had nothing left to make, and looked the same. In that stretch the builder unpacks the shipped static structures (700-1,040 builder dispatches a frame), about 1,100 pipelines are still in flight, the card is 6-20 % busy, and about 190 ms of a 270 ms frame pass "while the title had not submitted". What the title waits for there is not shown by these lines. - The structures' sizes: `VICTORY_BVH_TRACE` tied 175 of 2,972 copies (first run) and 63 of 2,967 (second) to a size it saw arrive, each one frame after it was asked. Whether the rest used a stale size or the trace does not tie them to their ask is left open, not claimed. - `victory shaders` with `VICTORY_HOST_WAVE=32`: 225 of 25,760 do not translate (22 wave64 programs with no wave32 lowering, two of them created in these runs). Nothing of the title is in the change: figures, shader hashes and a description of the scenes. `cargo xtask policy` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Two diagnostics runs over the same stretch (Lucia's arrest cutscenes, Jason
on the boat), one with VICTORY_BVH_BUILDER=1 (made twice). On this card the
builder's cost is on our side of title memory by address (copies, copying
back, landing), not on the card, which stays idle behind the submitting
thread. The slow first minutes with the builder are not missing pipelines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 00:34:36 +00:00
A third run with the builder, after a full warm whose book held the
builder's pipelines: the recording threads waited for pipelines for 25 s
instead of two and a half minutes, no pipeline took 0.5 s to come, and the
boat ran at 28.4 fps. What stays: 30-40 s at 2-7 fps at scene cuts while
packed structures arrive, with no waiting for pipelines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠Rafa7046 on GitHub · 2026-11-28 01:47 UTC · original

Updated with a third run with the builder, which corrects what the first version said about the slow start.

  • On df2daaf the first three minutes with the builder ran at 1-4 fps, and the title's recording threads were waiting 450-500 ms a frame for pipelines (all of VICTORY_PIPELINE_WAIT_MS) for about two and a half minutes. That is the time the card's clock line counts as "the title had not submitted".
  • On 64d4931, after a full victory warm whose book held the pipelines that runs with the builder had written down, those waits lasted about 25 s. A local log of every pipeline that took 0.5 s or more to come found none, and the boat ran at 28.4 fps (preparing 28 ms; 27.8 fps over the steady stretches of the cutscenes).
  • So the slow start was pipelines after all, and making them ahead removes it. What I can't explain: the warm before the second run reported nothing left to make, and that run still waited just as long.
  • What stays with the builder: 30-40 s at 2-7 fps at scene cuts, with no waiting for pipelines, while 35-112 MB of packed structures arrive every ten seconds and preparing goes to 90-200 ms.
**@⁠Rafa7046** on GitHub · 2026-11-28 01:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/535#issuecomment-7231913595) Updated with a third run with the builder, which corrects what the first version said about the slow start. - On `df2daaf` the first three minutes with the builder ran at 1-4 fps, and the title's recording threads were waiting **450-500 ms a frame for pipelines** (all of `VICTORY_PIPELINE_WAIT_MS`) for about two and a half minutes. That is the time the card's clock line counts as "the title had not submitted". - On `64d4931`, after a full `victory warm` whose book held the pipelines that runs with the builder had written down, those waits lasted **about 25 s**. A local log of every pipeline that took 0.5 s or more to come found none, and the boat ran at **28.4 fps** (`preparing` 28 ms; 27.8 fps over the steady stretches of the cutscenes). - So the slow start was pipelines after all, and making them ahead removes it. What I can't explain: the `warm` before the second run reported nothing left to make, and that run still waited just as long. - What stays with the builder: 30-40 s at 2-7 fps at scene cuts, with no waiting for pipelines, while 35-112 MB of packed structures arrive every ten seconds and `preparing` goes to 90-200 ms.
This pull request has changes conflicting with the target branch.
  • docs/findings.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

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