docs: what was learned on an RTX 5070 Ti Laptop, and five things that did not move the frame #480

Closed
superboynick wants to merge 1 commit from upstream-pr/480 into main
superboynick commented 2026-11-27 23:15:45 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by superboynick on 2026-11-27T23:15:45Z.


An NVIDIA section for this file, in the same shape as the 7900 XTX one: where a frame goes on a 12 GB laptop card at Series X, five changes that shortened work the frame does not wait on, two faults found, and the one lever that is left.

The short version of what it adds:

  • Series X in the world: 383-410 ms median. Inside preparing, the largest item is a settle waiting for the card (226-326 ms), and a microsecond breakdown by what was read shows it is all a fill of upload memory — a 0x20-byte fill waiting on shader writes declared over a 174 MB view (descriptor/host.rs buffer_copy takes the view's own extent, so tightening the range is not available; VICTORY_ROOT_UAV_MB only bounds the root path and changes nothing: 310.5 / 334.5 / 341.8 ms at default / 4 MB / 1 MB).
  • VICTORY_FILL_TITLE=1 moves that wait (310 -> 226 ms, preparing 236 -> 117 ms) and the frame median stays at 404 ms: the buckets trade places. card_steps.rs already describes this shape from the AMD side.
  • Five changes that shortened work the frame does not wait on, with numbers: leaving the shadow masks out (GPU -44 ms, but the picture goes dark), halving the mask dispatch (never reached the pass — indirect — retracted), another branch's pipeline group (GPU -21 %, frame unchanged), striping the mapping lock (GPU -24 %, frame unchanged, but loading frames 499 -> 258 ms), DLSS Super Resolution (1.00 upscalings a frame, 375 done, none failed, frame unchanged) and the title's own upscaler set lower (internal resolution clearly lower, frame unchanged).
  • Two faults: a Streamline folder with sl.dlss_g.dll but no sl.dlss.dll — DLSS was silently absent for days and upscaler-check said only "feature missing", get-dlss fixed it; and VICTORY_UPLOAD_QUEUE wrapping a large MiB count (mebibytes << 20), found by ANDREANIADS in #60 and fixed with checked_mul and a test.

If a section like this does not belong in findings.md, say where it should go and I will move it; the measurements are worth keeping either way, mostly so that nobody re-runs the five that do nothing on this hardware.

A day later, one line in that document turned out to be the most useful thing in it. The line that counts the CPU's search for shader writes (shader writes looked for on the CPU per frame) says, in parentheses, which of those searches the card could do instead. At the default 16 MiB threshold on a 12 GiB card that was 377 MB a frame searched on the CPU; at 512 KiB it is 14.7 MB, and the frame in the same part of the same scene goes from 470.4 ms to 188.6 ms (seven draw-matched windows, then an 8 minute soak at 181.2 median, P90 188.4). #641 carries that number and the change.

So the figures in this document (383-410 ms a frame, GPU 177-228 ms) are the ones from before that: they are what the frame looked like while the CPU was doing that search. With it cut, the same scene is 184-186 ms and the card is 76-82 percent of it. Both are written down here because the second only makes sense against the first.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5534322392 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/480). Originally posted by [superboynick](https://github.com/superboynick) on 2026-11-27T23:15:45Z. --- An NVIDIA section for this file, in the same shape as the 7900 XTX one: where a frame goes on a 12 GB laptop card at Series X, five changes that shortened work the frame does not wait on, two faults found, and the one lever that is left. The short version of what it adds: - Series X in the world: 383-410 ms median. Inside `preparing`, the largest item is a settle waiting for the card (**226-326 ms**), and a microsecond breakdown by what was read shows it is **all a fill of upload memory** — a `0x20`-byte fill waiting on shader writes declared over a 174 MB view (`descriptor/host.rs buffer_copy` takes the view's own extent, so tightening the range is not available; `VICTORY_ROOT_UAV_MB` only bounds the root path and changes nothing: 310.5 / 334.5 / 341.8 ms at default / 4 MB / 1 MB). - `VICTORY_FILL_TITLE=1` moves that wait (310 -> 226 ms, preparing 236 -> 117 ms) and the frame median stays at 404 ms: the buckets trade places. `card_steps.rs` already describes this shape from the AMD side. - Five changes that shortened work the frame does not wait on, with numbers: leaving the shadow masks out (GPU -44 ms, but the picture goes dark), halving the mask dispatch (never reached the pass — indirect — retracted), another branch's pipeline group (GPU -21 %, frame unchanged), striping the mapping lock (GPU -24 %, frame unchanged, **but loading frames 499 -> 258 ms**), DLSS Super Resolution (1.00 upscalings a frame, 375 done, none failed, frame unchanged) and the title's own upscaler set lower (internal resolution clearly lower, frame unchanged). - Two faults: a Streamline folder with `sl.dlss_g.dll` but no `sl.dlss.dll` — DLSS was silently absent for days and `upscaler-check` said only "feature missing", `get-dlss` fixed it; and `VICTORY_UPLOAD_QUEUE` wrapping a large MiB count (`mebibytes << 20`), found by ANDREANIADS in #60 and fixed with `checked_mul` and a test. If a section like this does not belong in `findings.md`, say where it should go and I will move it; the measurements are worth keeping either way, mostly so that nobody re-runs the five that do nothing on this hardware. --- **A day later, one line in that document turned out to be the most useful thing in it.** The line that counts the CPU's search for shader writes (`shader writes looked for on the CPU per frame`) says, in parentheses, which of those searches the card could do instead. At the default 16 MiB threshold on a 12 GiB card that was **377 MB a frame searched on the CPU**; at 512 KiB it is **14.7 MB**, and the frame in the same part of the same scene goes from **470.4 ms to 188.6 ms** (seven draw-matched windows, then an 8 minute soak at 181.2 median, P90 188.4). #641 carries that number and the change. So the figures in this document (383-410 ms a frame, GPU 177-228 ms) are the ones from before that: they are what the frame looked like while the CPU was doing that search. With it cut, the same scene is 184-186 ms and the card is 76-82 percent of it. Both are written down here because the second only makes sense against the first.
trustno1-coder commented 2026-11-28 02:49:58 +00:00 (Migrated from github.com)

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


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:7232622250 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/480#issuecomment-7232622250). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T02:49:58Z. --- 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!480
No description provided.