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

Closed
Rafa7046 wants to merge 2 commits from upstream-pr/535 into main
Rafa7046 commented 2026-11-28 00:30:01 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Rafa7046 on 2026-11-28T00:30:01Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5534933608 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/535). Originally posted by [Rafa7046](https://github.com/Rafa7046) on 2026-11-28T00:30:01Z. --- 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)
Rafa7046 commented 2026-11-28 01:47:02 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Rafa7046 on 2026-11-28T01:47:02Z.


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.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231913595 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/535#issuecomment-7231913595). Originally posted by [Rafa7046](https://github.com/Rafa7046) on 2026-11-28T01:47:02Z. --- 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.
trustno1-coder commented 2026-11-28 02:50:06 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T02:50:06Z.


Merged into main (8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7232623682 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/535#issuecomment-7232623682). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T02:50:06Z. --- Merged into main (8fc2254) and shipped in [v2026.11.27.10](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.10). The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!535
No description provided.