RTX 4070 12 GB: 4-5 fps in world (copies 120 MB up / 41 MB back per frame), 6 compute pipelines refused (wave64 on a wave32 card), present stuck at 3840x2160 #832

Open
opened 2026-11-25 09:50:20 +00:00 by CQ187901 · 7 comments
CQ187901 commented 2026-11-25 09:50:20 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by CQ187901 on 2026-11-25T09:50:20Z.


Hardware: i7-13700KF, 32 GB, RTX 4070 12 GB (driver 621.24), Win 11 build 26300, page file 64 GB on E:.

Build: fxceless/victory-fork main at 2026-11-25 ~05:44 UTC (before 9376fd6 / a26859f / 8dd30ab), release, VICTORY_RELAY=2. Warm-up via translate shaders.rpf --warm all --jobs 24 (25,889 shaders, 3,644 translated, 291 refused, cache 815 MB).

Getting into the world works: prologue cutscene renders, textures and subtitles are correct, 5,000-7,000 draws/frame, no device loss, crashes.log empty.

Frame rate in the world (steady state, 1920x1080 window):

  • VICTORY_RELAY=2: 181-281 ms/frame (4-5 fps) - best
  • 356-452 ms without it
  • + VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024: worse (364-550 ms)
  • + VICTORY_LEVELS_ON_DEMAND=1: 208-281 ms at first, but once the area streams it becomes texture-bound: 267-628 ms preparing textures (308-606 MB/frame)

Per-frame breakdown at 181 ms / 5,300 draws:
preparing 84 ms (copies 42 ms / 120 MB, textures 9 MB), on the GPU 62 ms, copying back 114 ms / 41 MB
So ~156 ms of 181 ms is title-buffer traffic, GPU is 21% busy. Frame time scales with draws at ~33 us/draw.

VICTORY_CARD_BUFFERS_MB=2048 made it worse (copies 154-186 MB, copy-back 62-90 MB): VRAM is the binding constraint, more residency evicts textures.

Resolution cannot be lowered from the host: VICTORY_DISPLAY_MODE=1280x720 is reported to the title (log: display mode reported width=1280 height=720) but the title still presents 3840x2160 (display_size() feeds the mode list only; presenter() takes the title's swap-chain texture desc, host.rs:6014). The title's settings container (SettingsProfileSettings, hashed-key JSON) holds no pixel values, storage/settings/settings.xml is not read, and the in-game menu has no resolution entry (console title, fixed output).

Descriptors: the debug layer reports the title asking for 2,097,152 shader-visible descriptors against the 1,000,000 limit (CreateDescriptorHeap id=645), i.e. the same clamp as #82/portable views.

Compute: every frame 6 distinct compute pipelines are refused with E_INVALIDARG (0x80070057) - make::missing reports "refused", no shader translation failures. With VICTORY_D3D12_DEBUG=1 the debug layer names the cause:
"shader wants wave lane count of 64 but maximum wave lane count for device is 32"
These are the morph/skinning class of dispatches, so character facial animation never runs. Skipping them costs 1 draw each per frame but the missing animation stays missing.

Questions:

  1. Are the 9376fd6 / a26859f processor-side changes expected to move the 200 ms floor substantially on a 12 GB card, or is the remaining cost the per-frame 120 MB up + 41 MB back (which no switch touches)?
  2. For the wave64 compute: is VICTORY_WAVE_WIDE=1 supposed to make those PS0s valid on a wave32 device, or is a translated-to-wave32 path still missing? I can test either way if you tell me which is intended.
  3. Is there a supported way to present below the title's own backbuffer size (scaled blit in the presenter), or is a smaller output simply not supported yet?

Happy to run any A/B you want on this machine and report numbers.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6601719328 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833). Originally posted by [CQ187901](https://github.com/CQ187901) on 2026-11-25T09:50:20Z. --- Hardware: i7-13700KF, 32 GB, RTX 4070 12 GB (driver 621.24), Win 11 build 26300, page file 64 GB on E:. Build: fxceless/victory-fork main at 2026-11-25 ~05:44 UTC (before 9376fd6 / a26859f / 8dd30ab), release, `VICTORY_RELAY=2`. Warm-up via `translate shaders.rpf --warm all --jobs 24` (25,889 shaders, 3,644 translated, 291 refused, cache 815 MB). Getting into the world works: prologue cutscene renders, textures and subtitles are correct, 5,000-7,000 draws/frame, no device loss, crashes.log empty. Frame rate in the world (steady state, 1920x1080 window): - `VICTORY_RELAY=2`: 181-281 ms/frame (4-5 fps) - best - 356-452 ms without it - `+ VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024`: worse (364-550 ms) - `+ VICTORY_LEVELS_ON_DEMAND=1`: 208-281 ms at first, but once the area streams it becomes texture-bound: 267-628 ms preparing textures (308-606 MB/frame) Per-frame breakdown at 181 ms / 5,300 draws: preparing 84 ms (copies 42 ms / 120 MB, textures 9 MB), on the GPU 62 ms, copying back 114 ms / 41 MB So ~156 ms of 181 ms is title-buffer traffic, GPU is 21% busy. Frame time scales with draws at ~33 us/draw. `VICTORY_CARD_BUFFERS_MB=2048` made it worse (copies 154-186 MB, copy-back 62-90 MB): VRAM is the binding constraint, more residency evicts textures. Resolution cannot be lowered from the host: `VICTORY_DISPLAY_MODE=1280x720` is reported to the title (log: display mode reported width=1280 height=720) but the title still presents 3840x2160 (`display_size()` feeds the mode list only; `presenter()` takes the title's swap-chain texture desc, host.rs:6014). The title's settings container (SettingsProfileSettings, hashed-key JSON) holds no pixel values, `storage/settings/settings.xml` is not read, and the in-game menu has no resolution entry (console title, fixed output). Descriptors: the debug layer reports the title asking for 2,097,152 shader-visible descriptors against the 1,000,000 limit (`CreateDescriptorHeap` id=645), i.e. the same clamp as #82/portable views. Compute: every frame 6 distinct compute pipelines are refused with E_INVALIDARG (0x80070057) - `make::missing` reports "refused", no shader translation failures. With `VICTORY_D3D12_DEBUG=1` the debug layer names the cause: "shader wants wave lane count of 64 but maximum wave lane count for device is 32" These are the morph/skinning class of dispatches, so character facial animation never runs. Skipping them costs 1 draw each per frame but the missing animation stays missing. Questions: 1. Are the 9376fd6 / a26859f processor-side changes expected to move the 200 ms floor substantially on a 12 GB card, or is the remaining cost the per-frame 120 MB up + 41 MB back (which no switch touches)? 2. For the wave64 compute: is `VICTORY_WAVE_WIDE=1` supposed to make those PS0s valid on a wave32 device, or is a translated-to-wave32 path still missing? I can test either way if you tell me which is intended. 3. Is there a supported way to present below the title's own backbuffer size (scaled blit in the presenter), or is a smaller output simply not supported yet? Happy to run any A/B you want on this machine and report numbers.
HLVM04 commented 2026-11-25 10:11:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-25T10:08:30Z.


Some data on questions 1 and 2 from an RTX 5070 Ti 16 GB (32-lane only, driver 616.64, Ryzen 7 9800X3D, Windows 11). Frame-line medians and means after the first 60 s in the world, one run each, so the scene is not identical between rows.

tree, profile median frame means: preparing / on the GPU / copying back
9376fd6, Series X, VICTORY_CARD_WINDOWS_MB=4096 258 ms (3.4–4.4 fps) 138 / 88 / 145 ms
9376fd6 + #798 #783 #799 #780 #770 #827, Series S 149 ms 90 / 43 / 69 ms
  1. On this card 9376fd6 alone stayed above 200 ms in the world. With the second stack the card's own time is the smallest of the three columns (they overlap, so they don't add up to the frame): the processor side, preparing and the copy-back, is what's left. On the same tree, the Series S profile with #798 alone was 169 ms against 257 ms on Series X.
  2. At 9376fd6 7 distinct compute pipelines are refused here with E_INVALIDARG for WaveSize 64. Forcing the remaining ones into the wave-wide form built 4 of the 7, but cost fps and didn't visibly reduce artifacts. #799's loose-LDS fallback builds 5 of the 7 (02384a60fda6f2d0, 2cc4c197ee29e291, 2da4beb386509b77, 369cbe906ea72764, 6b82bc7d22016cb5); with #770 on top, 2 are still refused.
<!-- greyfinch-sync:fxceless/victory-fork:comment:7159281310 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7159281310). Originally posted by [HLVM04](https://github.com/HLVM04) on 2026-11-25T10:08:30Z. --- Some data on questions 1 and 2 from an RTX 5070 Ti 16 GB (32-lane only, driver 616.64, Ryzen 7 9800X3D, Windows 11). Frame-line medians and means after the first 60 s in the world, one run each, so the scene is not identical between rows. | tree, profile | median frame | means: preparing / on the GPU / copying back | |---|---:|---| | `9376fd6`, Series X, `VICTORY_CARD_WINDOWS_MB=4096` | 258 ms (3.4–4.4 fps) | 138 / 88 / 145 ms | | `9376fd6` + #798 #783 #799 #780 #770 #827, Series S | 149 ms | 90 / 43 / 69 ms | 1. On this card `9376fd6` alone stayed above 200 ms in the world. With the second stack the card's own time is the smallest of the three columns (they overlap, so they don't add up to the frame): the processor side, preparing and the copy-back, is what's left. On the same tree, the Series S profile with #798 alone was 169 ms against 257 ms on Series X. 2. At `9376fd6` 7 distinct compute pipelines are refused here with E_INVALIDARG for WaveSize 64. Forcing the remaining ones into the wave-wide form built 4 of the 7, but cost fps and didn't visibly reduce artifacts. #799's loose-LDS fallback builds 5 of the 7 (`02384a60fda6f2d0`, `2cc4c197ee29e291`, `2da4beb386509b77`, `369cbe906ea72764`, `6b82bc7d22016cb5`); with #770 on top, 2 are still refused.
xunbreakablex commented 2026-11-25 11:10:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by xunbreakablex on 2026-11-25T11:04:01Z.


Needs human attention: one run, one machine, and the mapping below is "bound as a UAV", not "pixels written"; I have not shown that these passes cause the picture problem described at the end, only that they are good candidates.

AI-assisted (Claude). RTX 4070 (100 W power limit, core at most ~2300 MHz), Ryzen 5 5600 held at 3.95 GHz, Windows 11, driver 621.01, main at 9376fd6 plus a diagnostic of mine (not pushed; a counter-only patch, no game content), default settings, warm shader cache, ~400 s with the world reached, no device loss.

Your six refused compute pipelines are the same hashes I get here (02384a60, 2cc4c197, 2da4beb3, 369cbe90, plus 5dc3b25 and 6f225b64 early, and f133e35e that does not translate), so nothing new in the list. What I added is which render targets they write, and whether those targets are written by anything else. For every screen-sized (>= 1280x720) texture the diagnostic counts clears, draws, copies, and dispatches onto it through unordered views, run and not run, and flags a target with no clear in the window and dropped work onto it.

dropped dispatch reason screen-sized UAVs bound reads
2da4beb3 refused 2560x1440 and 1280x720 R11G11B10_FLOAT 2560x1440 R16G16B16A16_FLOAT, 2560x1440 depth
2cc4c197 refused 1280x720 R32_UINT two 2560x1440 textures
f133e35e not translated 2560x1440 R8_UNORM, 2560x1440 R8G8B8A8_UNORM 2560x1440 depth, a 1024x4096 D16
02384a60, 369cbe90 refused none (buffers only)

Those five textures are flagged in 51-54 of the 54 five-second windows: 0 clears, 0 draws, 0 copies; the only writers are compute dispatches, and per window e.g. the 2560x1440 R11G11B10_FLOAT got 160 dispatches that ran and 16 that did not (all "without a host pipeline"), the R8_UNORM 288 and 16. In the frame listings of 7 captured frames the dropped hashes appear only as DROPPED lines, never as run ones. So about one dispatch in eleven onto these targets is missing every frame, and nothing clears the target first.

Why I looked: in the world, moving characters show a half-transparent copy of the previous frame (a doubled head and hair on a person in consecutive captured frames; static scenery stays sharp), and depth of field looks wrong. 2da4beb3 reads an HDR colour texture and depth and writes a full-size and a half-size HDR target, which is the shape of a DoF/bloom/temporal pass; f133e35e reads depth and a shadow-map-sized texture and writes two full-size masks. If a pass is missing, whatever it would have overwritten keeps its earlier content, and a missing mask reads as 0. That fits what I see, but TAA or motion-vector history would give the same picture, so treat it as a lead.

Limits: only UAVs reached through root tables and the first range are seen (bindless or indexed access is not), and "bound" is not "written". Not tried: whether the picture changes when these pipelines are made to run. I can open the diagnostic as a PR (env VICTORY_CLEAR_DIAG=1, diagnostics builds only) if it is useful.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7160541503 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7160541503). Originally posted by [xunbreakablex](https://github.com/xunbreakablex) on 2026-11-25T11:04:01Z. --- **Needs human attention:** one run, one machine, and the mapping below is "bound as a UAV", not "pixels written"; I have not shown that these passes cause the picture problem described at the end, only that they are good candidates. AI-assisted (Claude). RTX 4070 (100 W power limit, core at most ~2300 MHz), Ryzen 5 5600 held at 3.95 GHz, Windows 11, driver 621.01, `main` at `9376fd6` plus a diagnostic of mine (not pushed; a counter-only patch, no game content), default settings, warm shader cache, ~400 s with the world reached, no device loss. Your six refused compute pipelines are the same hashes I get here (`02384a60`, `2cc4c197`, `2da4beb3`, `369cbe90`, plus `5dc3b25` and `6f225b64` early, and `f133e35e` that does not translate), so nothing new in the list. What I added is which render targets they write, and whether those targets are written by anything else. For every screen-sized (>= 1280x720) texture the diagnostic counts clears, draws, copies, and dispatches onto it through unordered views, run and not run, and flags a target with no clear in the window and dropped work onto it. | dropped dispatch | reason | screen-sized UAVs bound | reads | |---|---|---|---| | `2da4beb3` | refused | 2560x1440 and 1280x720 `R11G11B10_FLOAT` | 2560x1440 `R16G16B16A16_FLOAT`, 2560x1440 depth | | `2cc4c197` | refused | 1280x720 `R32_UINT` | two 2560x1440 textures | | `f133e35e` | not translated | 2560x1440 `R8_UNORM`, 2560x1440 `R8G8B8A8_UNORM` | 2560x1440 depth, a 1024x4096 `D16` | | `02384a60`, `369cbe90` | refused | none (buffers only) | | Those five textures are flagged in 51-54 of the 54 five-second windows: 0 clears, 0 draws, 0 copies; the only writers are compute dispatches, and per window e.g. the 2560x1440 `R11G11B10_FLOAT` got 160 dispatches that ran and 16 that did not (all "without a host pipeline"), the `R8_UNORM` 288 and 16. In the frame listings of 7 captured frames the dropped hashes appear only as DROPPED lines, never as run ones. So about one dispatch in eleven onto these targets is missing every frame, and nothing clears the target first. Why I looked: in the world, moving characters show a half-transparent copy of the previous frame (a doubled head and hair on a person in consecutive captured frames; static scenery stays sharp), and depth of field looks wrong. `2da4beb3` reads an HDR colour texture and depth and writes a full-size and a half-size HDR target, which is the shape of a DoF/bloom/temporal pass; `f133e35e` reads depth and a shadow-map-sized texture and writes two full-size masks. If a pass is missing, whatever it would have overwritten keeps its earlier content, and a missing mask reads as 0. That fits what I see, but TAA or motion-vector history would give the same picture, so treat it as a lead. Limits: only UAVs reached through root tables and the first range are seen (bindless or indexed access is not), and "bound" is not "written". Not tried: whether the picture changes when these pipelines are made to run. I can open the diagnostic as a PR (env `VICTORY_CLEAR_DIAG=1`, diagnostics builds only) if it is useful.
xunbreakablex commented 2026-11-25 13:06:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by xunbreakablex on 2026-11-25T12:56:56Z.


Correction to my comment above, and the offline check that followed (AI-assisted, Claude; same RTX 4070 machine, f85101b, no game run for this part).

  • I wrote that 2da4beb3 "is the shape of a DoF/bloom/temporal pass". It is not: per #799 and #419 it is the alpha-transmission prefilter (the glass/transparency blur chain), and HLVM04's bisect in #799 ties the glass pattern to it. So the full- and half-size R11G11B10_FLOAT targets it writes belong to the glass layer, not to depth of field. The ghosting lead in my comment should be read with that in mind: a missing glass prefilter pass explains a glass layer that looks wrong far better than doubled characters.
  • f133e35e, the one that does not translate ("a lane mask exchanged where not every lane runs"), is the tiled cascade-shadow pass (CS_ShadowRenderTiledCascades*, the same family as #779/#62), which fits the two full-size masks it writes and the dark shaded areas in #512.
  • Offline with VICTORY_HOST_MAX_WAVE=32: all six refused hashes (2cc4c197, 02384a60, 2da4beb3, 369cbe90, 5dc3b259, 6f225b64) translate and emit DXIL, but each really needs 64 lanes (VICTORY_WAVE_WHY: group sizes 64-256 with LDS shared across more than 32 lanes and read/written in the same lane-branch region; plus mask-as-data / v_mbcnt / v_readlane in some), so the host's wave32 pipeline refuses them with 0x80070057 every time. Nothing new against your title line, only the per-hash reason.
<!-- greyfinch-sync:fxceless/victory-fork:comment:7163077738 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7163077738). Originally posted by [xunbreakablex](https://github.com/xunbreakablex) on 2026-11-25T12:56:56Z. --- Correction to my comment above, and the offline check that followed (AI-assisted, Claude; same RTX 4070 machine, `f85101b`, no game run for this part). - I wrote that `2da4beb3` "is the shape of a DoF/bloom/temporal pass". It is not: per #799 and #419 it is the alpha-transmission prefilter (the glass/transparency blur chain), and HLVM04's bisect in #799 ties the glass pattern to it. So the full- and half-size `R11G11B10_FLOAT` targets it writes belong to the glass layer, not to depth of field. The ghosting lead in my comment should be read with that in mind: a missing glass prefilter pass explains a glass layer that looks wrong far better than doubled characters. - `f133e35e`, the one that does not translate ("a lane mask exchanged where not every lane runs"), is the tiled cascade-shadow pass (`CS_ShadowRenderTiledCascades*`, the same family as #779/#62), which fits the two full-size masks it writes and the dark shaded areas in #512. - Offline with `VICTORY_HOST_MAX_WAVE=32`: all six refused hashes (`2cc4c197`, `02384a60`, `2da4beb3`, `369cbe90`, `5dc3b259`, `6f225b64`) translate and emit DXIL, but each really needs 64 lanes (`VICTORY_WAVE_WHY`: group sizes 64-256 with LDS shared across more than 32 lanes and read/written in the same lane-branch region; plus mask-as-data / `v_mbcnt` / `v_readlane` in some), so the host's wave32 pipeline refuses them with 0x80070057 every time. Nothing new against your title line, only the per-hash reason.
leondood1298 commented 2026-11-25 16:12:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by leondood1298 on 2026-11-25T15:25:49Z.


Measurements from one more 12 GB card, on a26859f. Numbers only, no fix.

Setup

build hub a26859f plus one local commit that is not in the hub (PR #559, at its default); --profile diag --features diagnostics
adapter RTX 4070 SUPER 12 GB, driver 621.24, 32-lane waves only
CPU / RAM / OS i7-12700K, 64 GB, Windows 11 build 26300
console profile the program's default (no --console)
scene the first shot after the prologue, camera at rest; scripted Enter presses until 150 s, nothing after; warm shader cache; the title presents 3840x2160
switches VICTORY_RELAY=1 VICTORY_CARD_ROOM_FOR_BUFFERS=1 in every launch, plus the one named in the row
launches 20, unattended, one after another; 240 s each unless said

Frame time of a launch = median of the window caption read every 5 s over its last 60 s. In the world from
56–81 s, standing in the shot from 122–157 s.

Frame time (ms a frame)

configuration launches median launch medians preparing / on the GPU / copying back
base 5 229.2 218.5 – 237.8 100.3 / 65.6 / 136.9
VICTORY_DISPLAY_MODE=1920x1080 3 227.9 225.9 – 228.1 95.7 / 66.3 / 138.3
VICTORY_DISPLAY_MODE=2560x1440 3 233.7 226.4 – 234.9 97.6 / 66.7 / 139.0
VICTORY_ROOT_UAV_MB=16 3 232.8 223.3 – 233.8 104.3 / 62.4 / 136.9
VICTORY_CARD_REHASH_RUNS=1 3 231.6 229.7 – 232.8 99.5 / 63.4 / 136.0
base, 900 s 2 217.2 and 219.3 95.5 / 62.1 / 131.8

4,570–5,060 draws a frame. A typical frame line of a base launch:
4.4 fps, 229.1 ms/frame (98.0 preparing: copies 57.2 ms 175.0 MB, textures 7.0 ms 24.7 MB; 67.4 on the GPU; 142.0 copying back 65.9 MB), 4843 draws/frame, dropped 355 without a host pipeline (0 being made) and 1 indirect.
A first launch with a cold shader cache (242.3 ms, 420 s) is not in the table.

  • Stability: 0 ERROR lines and no device removal in all 20 launches, the two 900 s ones included. Peaks:
    23.9–25.1 GB private, 10.3–10.6 GB on the card.
  • Spread with nothing changed: the five base launches differ by 19 ms (about ±4 %). All three switches stay
    inside that, so none of them changed the frame time here.
  • What the logs say each switch did:
    • Display mode: display mode reported to the title width=1920 height=1080, then
      presenting to a window width=3840 height=2160 format=28. The title still presents 3840x2160, as in question 3
      above, so these rows say nothing about what a smaller picture would cost.
    • VICTORY_ROOT_UAV_MB=16: 16,528–16,803 pieces compared on the card a frame (last log line of each launch),
      against 16,795–17,077 in base: unchanged.
    • VICTORY_CARD_REHASH_RUNS=1: the log says "now on"; 313–320 hash passes a frame against 305–347 with it off:
      unchanged.
  • Card copies: every launch ends with 97 copies 941 MB in the card's memory, and no launch has a
    "no card copy for a title buffer" line.

The compute skinning list

Shown:

  • On a26859f, in a captured frame that has it (frame 2048 of one launch): 120 dispatches of four compute
    pipelines, recorded back to back in one command list, of 2,705 dispatches in the frame: 3cf39f4495b908d0 78,
    82a2ad6d07417d36 5, e06a21f3cea46973 33, dd24ff46af3ae6ee 4. All four are 32-lane programs.
  • Their bindings in that frame against the log's "a buffer's host copy is in the card's memory" lines (the log
    lists 98, 944 MB): the vertex data, the 174 MB buffer and the 36 MB output are card copies. A 1,081,344-byte
    view that all four read and two 2,621,440-byte tables that 82a2ad6d… reads have no card copy: they are read
    from PC memory. No copy was refused, so these are not buffers that were turned down.
  • Card time, measured one tree earlier (hub 8dd30ab plus local patches, VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1, one 420 s launch, 30 blocks of about 5 s): 68.4 ms a frame for the four pipelines
    (32.1 / 27.7 / 5.4 / 3.2), 36 % of all timed card time (188.8 ms). The per-submission line for that one list
    agrees: median 72.2 ms (65.9–90.6), for example
    the card's time by what ran: 88.5 ms a frame in 1.0 submissions a frame: 1 lists, pipelines {"[compute 3cf39f4495b908d0]", …}.
    The timing launch runs at 737 ms a frame, so it gives card time per command, not a frame time.
  • The time does not follow the size: about 600,000 threads a frame, about 115 ns each; slow-command warnings give
    4.2 ms for a dispatch of 23 groups and 5.0 ms for one of 788.

Suspected, not shown:

  • That the loads from the views in PC memory (15–49 load sites per program read the 1 MB view) are what keeps the
    list near 70 ms. I have not measured it with those views on the card.
  • How often the list runs. Of 12 frames captured in these launches, 7 have no skinning dispatch at all, so I
    cannot say that every 230 ms frame carries it.

Not measured: the list's card time on a26859f itself, the card time of the layer's own hash and compare passes
(they carry no timestamps), any other card, AMD.

Launches were run by a script on my PC; the numbers were taken from the logs and this report was written with
Claude Code (Mythos 5.2).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7166829228 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7166829228). Originally posted by [leondood1298](https://github.com/leondood1298) on 2026-11-25T15:25:49Z. --- Measurements from one more 12 GB card, on `a26859f`. Numbers only, no fix. **Setup** | | | |---|---| | build | hub `a26859f` plus one local commit that is not in the hub (PR #559, at its default); `--profile diag --features diagnostics` | | adapter | RTX 4070 SUPER 12 GB, driver 621.24, 32-lane waves only | | CPU / RAM / OS | i7-12700K, 64 GB, Windows 11 build 26300 | | console profile | the program's default (no `--console`) | | scene | the first shot after the prologue, camera at rest; scripted Enter presses until 150 s, nothing after; warm shader cache; the title presents 3840x2160 | | switches | `VICTORY_RELAY=1 VICTORY_CARD_ROOM_FOR_BUFFERS=1` in every launch, plus the one named in the row | | launches | 20, unattended, one after another; 240 s each unless said | Frame time of a launch = median of the window caption read every 5 s over its last 60 s. In the world from 56–81 s, standing in the shot from 122–157 s. **Frame time (ms a frame)** | configuration | launches | median | launch medians | preparing / on the GPU / copying back | |---|---|---|---|---| | base | 5 | 229.2 | 218.5 – 237.8 | 100.3 / 65.6 / 136.9 | | `VICTORY_DISPLAY_MODE=1920x1080` | 3 | 227.9 | 225.9 – 228.1 | 95.7 / 66.3 / 138.3 | | `VICTORY_DISPLAY_MODE=2560x1440` | 3 | 233.7 | 226.4 – 234.9 | 97.6 / 66.7 / 139.0 | | `VICTORY_ROOT_UAV_MB=16` | 3 | 232.8 | 223.3 – 233.8 | 104.3 / 62.4 / 136.9 | | `VICTORY_CARD_REHASH_RUNS=1` | 3 | 231.6 | 229.7 – 232.8 | 99.5 / 63.4 / 136.0 | | base, 900 s | 2 | 217.2 and 219.3 | | 95.5 / 62.1 / 131.8 | 4,570–5,060 draws a frame. A typical frame line of a base launch: `4.4 fps, 229.1 ms/frame (98.0 preparing: copies 57.2 ms 175.0 MB, textures 7.0 ms 24.7 MB; 67.4 on the GPU; 142.0 copying back 65.9 MB), 4843 draws/frame, dropped 355 without a host pipeline (0 being made) and 1 indirect`. A first launch with a cold shader cache (242.3 ms, 420 s) is not in the table. - **Stability:** 0 ERROR lines and no device removal in all 20 launches, the two 900 s ones included. Peaks: 23.9–25.1 GB private, 10.3–10.6 GB on the card. - **Spread with nothing changed:** the five base launches differ by 19 ms (about ±4 %). All three switches stay inside that, so none of them changed the frame time here. - **What the logs say each switch did:** - Display mode: `display mode reported to the title width=1920 height=1080`, then `presenting to a window width=3840 height=2160 format=28`. The title still presents 3840x2160, as in question 3 above, so these rows say nothing about what a smaller picture would cost. - `VICTORY_ROOT_UAV_MB=16`: 16,528–16,803 pieces compared on the card a frame (last log line of each launch), against 16,795–17,077 in base: unchanged. - `VICTORY_CARD_REHASH_RUNS=1`: the log says "now on"; 313–320 hash passes a frame against 305–347 with it off: unchanged. - **Card copies:** every launch ends with `97 copies 941 MB` in the card's memory, and no launch has a "no card copy for a title buffer" line. **The compute skinning list** Shown: - On `a26859f`, in a captured frame that has it (frame 2048 of one launch): 120 dispatches of four compute pipelines, recorded back to back in one command list, of 2,705 dispatches in the frame: `3cf39f4495b908d0` 78, `82a2ad6d07417d36` 5, `e06a21f3cea46973` 33, `dd24ff46af3ae6ee` 4. All four are 32-lane programs. - Their bindings in that frame against the log's "a buffer's host copy is in the card's memory" lines (the log lists 98, 944 MB): the vertex data, the 174 MB buffer and the 36 MB output are card copies. A 1,081,344-byte view that all four read and two 2,621,440-byte tables that `82a2ad6d…` reads have no card copy: they are read from PC memory. No copy was refused, so these are not buffers that were turned down. - Card time, measured one tree earlier (hub `8dd30ab` plus local patches, `VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1`, one 420 s launch, 30 blocks of about 5 s): 68.4 ms a frame for the four pipelines (32.1 / 27.7 / 5.4 / 3.2), 36 % of all timed card time (188.8 ms). The per-submission line for that one list agrees: median 72.2 ms (65.9–90.6), for example `the card's time by what ran: 88.5 ms a frame in 1.0 submissions a frame: 1 lists, pipelines {"[compute 3cf39f4495b908d0]", …}`. The timing launch runs at 737 ms a frame, so it gives card time per command, not a frame time. - The time does not follow the size: about 600,000 threads a frame, about 115 ns each; slow-command warnings give 4.2 ms for a dispatch of 23 groups and 5.0 ms for one of 788. Suspected, not shown: - That the loads from the views in PC memory (15–49 load sites per program read the 1 MB view) are what keeps the list near 70 ms. I have not measured it with those views on the card. - How often the list runs. Of 12 frames captured in these launches, 7 have no skinning dispatch at all, so I cannot say that every 230 ms frame carries it. Not measured: the list's card time on `a26859f` itself, the card time of the layer's own hash and compare passes (they carry no timestamps), any other card, AMD. Launches were run by a script on my PC; the numbers were taken from the logs and this report was written with Claude Code (Mythos 5.2).
HAL9000RELOADED commented 2026-11-25 22:07:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by HAL9000RELOADED on 2026-11-25T21:18:02Z.


On AMD the 9 compute programs named here are created: Radeon RX 7900 XTX, Adrenalin 32.0.32015.7029, Windows 10, fxceless main d510ee4 + #402, victory translate --validate --pipelines validated and created all of them, and the rest of the pack, with 0 refused. Details in #891 (https://github.com/fxceless/victory-fork/issues/891#issuecomment-7174882385).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7174889711 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7174889711). Originally posted by [HAL9000RELOADED](https://github.com/HAL9000RELOADED) on 2026-11-25T21:18:02Z. --- On AMD the 9 compute programs named here are created: Radeon RX 7900 XTX, Adrenalin 32.0.32015.7029, Windows 10, fxceless `main` `d510ee4` + #402, `victory translate --validate --pipelines` validated and created all of them, and the rest of the pack, with 0 refused. Details in #891 (https://github.com/fxceless/victory-fork/issues/891#issuecomment-7174882385).
HoLa-Lee commented 2026-11-26 16:35:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by HoLa-Lee on 2026-11-26T16:35:52Z.


Where the numbers in this report go, measured on the same kind of scene and the same switch (VICTORY_RELAY=2).

Yours: 181-281 ms a frame at 4-5 fps, 5,000-7,000 draws, copies 120 MB up and 41 MB back a frame. Ours on an RTX 4080 SUPER with 4,088-5,873 draws: 211-238 ms, copies 138-196 MB and copy-back 55-82 MB - close enough that the breakdown below should carry over.

I instrumented the copy-back (Shadow::relay_merge, the relay path this machine runs) with three timers and printed them beside the existing per-frame relay line. Story frames, five consecutive reports:

per frame
the frame line's "copying back" (= the relay thread's landing in all) 60-127 ms
that thread waiting for the card with nothing to land 29-46 ms
that thread waiting for fetches of card copies' pieces 33-82 ms
pieces merged / bytes actually written 132-171 pieces, 2.2-2.7 MB
the snapshot lock's wait 0.00 ms
everything under the lock before the write (copy, diff, title read, merge) 2.4-2.9 ms
the write into title memory 0.38-0.52 ms

Two things that follow, and that change what is worth trying:

  1. 95 % of the copy-back is waiting, not byte work. The merge is ~3 ms and the write is half a millisecond; the rest is round trips to the card - a fetch of each piece, 5-9 landings a frame. That is why VICTORY_RELAY=2 is your best arm: it moves the work off the submitting thread, but it cannot move the waits. Levers are fewer/larger round trips per landing, or the submission's own planning moved beside the submit thread - which is what VICTORY_PORT_GUARD does in avatarmanz/VIctory-7900XTX (title-thread waits 29 ms -> ~2 ms there).
  2. The "X MB copying back" in the frame line counts bytes examined, not bytes written. In our frames that is 55-82 MB examined for 2.2-2.7 MB actually put back. Chasing that number as bandwidth will lead nowhere.

For reference, the same run's other terms, so the copy-back is read in proportion: copies 46-64 ms (138-196 MB), GPU 80-121 ms, textures 0.1-0.3 ms with the stride switch on.

No ask here - just the decomposition, since your report has the numbers but not the split inside them.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7197853061 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7197853061). Originally posted by [HoLa-Lee](https://github.com/HoLa-Lee) on 2026-11-26T16:35:52Z. --- **Where the numbers in this report go, measured on the same kind of scene and the same switch (`VICTORY_RELAY=2`).** Yours: 181-281 ms a frame at 4-5 fps, 5,000-7,000 draws, copies 120 MB up and 41 MB back a frame. Ours on an RTX 4080 SUPER with 4,088-5,873 draws: 211-238 ms, copies **138-196 MB** and copy-back **55-82 MB** - close enough that the breakdown below should carry over. I instrumented the copy-back (`Shadow::relay_merge`, the relay path this machine runs) with three timers and printed them beside the existing per-frame relay line. Story frames, five consecutive reports: | per frame | | |---|---| | the frame line's "copying back" (= the relay thread's landing in all) | **60-127 ms** | | that thread **waiting for the card with nothing to land** | **29-46 ms** | | that thread **waiting for fetches of card copies' pieces** | **33-82 ms** | | pieces merged / bytes actually written | 132-171 pieces, **2.2-2.7 MB** | | the snapshot lock's wait | **0.00 ms** | | everything under the lock before the write (copy, diff, title read, merge) | **2.4-2.9 ms** | | the write into title memory | **0.38-0.52 ms** | Two things that follow, and that change what is worth trying: 1. **95 % of the copy-back is waiting, not byte work.** The merge is ~3 ms and the write is half a millisecond; the rest is round trips to the card - a fetch of each piece, 5-9 landings a frame. That is why `VICTORY_RELAY=2` is your best arm: it moves the work off the submitting thread, but it cannot move the waits. Levers are fewer/larger round trips per landing, or the submission's own planning moved beside the submit thread - which is what `VICTORY_PORT_GUARD` does in avatarmanz/VIctory-7900XTX (title-thread waits 29 ms -> ~2 ms there). 2. **The "X MB copying back" in the frame line counts bytes examined, not bytes written.** In our frames that is 55-82 MB examined for **2.2-2.7 MB** actually put back. Chasing that number as bandwidth will lead nowhere. For reference, the same run's other terms, so the copy-back is read in proportion: copies 46-64 ms (138-196 MB), GPU 80-121 ms, textures 0.1-0.3 ms with the stride switch on. No ask here - just the decomposition, since your report has the numbers but not the split inside them.
gangganghaofeifange commented 2026-11-28 10:55:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by gangganghaofeifange on 2026-11-28T10:55:50Z.


4 GB data point, plus one thing I have not seen reported here: a warm-built pipeline library can hang the title at the loading screen.

Hardware: GeForce GTX 1650 SUPER 4 GB (Turing, 32-lane only), i7-10700, 32 GB RAM, Windows 10 22H2 (19045.6466), driver 32.0.15.8115. Started with play --series-s --res 1440 --dlss off --fps 30 --set VICTORY_BVH_BUILDER=0 --set VICTORY_PIPELINE_WAIT_MS=24.

Steady in-world frame line:

value
frame 2.9 fps, 347 ms
preparing 55.7 ms (copies 17.1 ms / 103.8 MB, textures 0.2 ms / 10.7 MB)
on the GPU 271.8 ms
copying back 35.2 ms / 27.2 MB
draws 8602 a frame
dropped 2264 without a host pipeline (0 being made) + 813 indirect

On this card the GPU is about 78% of the frame: the balance is the opposite of the 12-16 GB reports above, where copies dominate. 8602 draws at 271 ms is simply what a 1650 SUPER does at 1280x720.

The 2264 dropped draws with 0 being made look permanent: the floor and parts of buildings stay black in every frame. The same count appears on main (2374) and on top of #1140 (2264), so it is not a regression there but a shader-coverage gap on this card. Lines around it:

WARN converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64   (hash 6b82bc7d22016cb5, x3)
WARN a pipeline creation method that is not implemented   (x29)

The warm/library problem (the part I think is new). play records pipelines (VICTORY_PIPELINE_BOOK=1), and victory warm --used --jobs 8 built 1789 of them (median 342 ms each, p90 2646 ms, max 11835 ms). After that the title hung at the loading screen for more than ten minutes: 30 fps, 9-10 draws a frame, 0.0 on the GPU, dropped 0 without a host pipeline (0 being made), no progress at all.

Deleting pipelines/host-pipelines.bin — leaving the translated-shader cache in place — made the same binary load normally again, and the next run reported slow_this_run=9 instead of 676 pipelines being made during play.

So a library built under one set of switches appears to be accepted by a run started with another set instead of being rebuilt. A guard would help: keep the switch set (or a hash of it) beside the library and ignore the library when it differs.

The title is the same 1.0.2.1 build as above: blake3 b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93, sha256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7238214093 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/833#issuecomment-7238214093). Originally posted by [gangganghaofeifange](https://github.com/gangganghaofeifange) on 2026-11-28T10:55:50Z. --- 4 GB data point, plus one thing I have not seen reported here: a warm-built pipeline library can hang the title at the loading screen. Hardware: **GeForce GTX 1650 SUPER 4 GB** (Turing, 32-lane only), i7-10700, 32 GB RAM, Windows 10 22H2 (19045.6466), driver 32.0.15.8115. Started with `play --series-s --res 1440 --dlss off --fps 30 --set VICTORY_BVH_BUILDER=0 --set VICTORY_PIPELINE_WAIT_MS=24`. Steady in-world frame line: | | value | |---|---| | frame | 2.9 fps, 347 ms | | preparing | 55.7 ms (copies 17.1 ms / 103.8 MB, textures 0.2 ms / 10.7 MB) | | on the GPU | **271.8 ms** | | copying back | 35.2 ms / 27.2 MB | | draws | 8602 a frame | | dropped | **2264 without a host pipeline (0 being made)** + 813 indirect | On this card the GPU is about 78% of the frame: the balance is the opposite of the 12-16 GB reports above, where copies dominate. 8602 draws at 271 ms is simply what a 1650 SUPER does at 1280x720. The 2264 dropped draws with `0 being made` look permanent: the floor and parts of buildings stay black in every frame. The same count appears on `main` (2374) and on top of #1140 (2264), so it is not a regression there but a shader-coverage gap on this card. Lines around it: ```text WARN converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 (hash 6b82bc7d22016cb5, x3) WARN a pipeline creation method that is not implemented (x29) ``` **The warm/library problem (the part I think is new).** `play` records pipelines (`VICTORY_PIPELINE_BOOK=1`), and `victory warm --used --jobs 8` built 1789 of them (median 342 ms each, p90 2646 ms, max 11835 ms). After that the title **hung at the loading screen for more than ten minutes**: 30 fps, 9-10 draws a frame, `0.0 on the GPU`, `dropped 0 without a host pipeline (0 being made)`, no progress at all. Deleting `pipelines/host-pipelines.bin` — leaving the translated-shader cache in place — made the same binary load normally again, and the next run reported `slow_this_run=9` instead of 676 pipelines being made during play. So a library built under one set of switches appears to be accepted by a run started with another set instead of being rebuilt. A guard would help: keep the switch set (or a hash of it) beside the library and ignore the library when it differs. The title is the same 1.0.2.1 build as above: blake3 `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93`, sha256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`.
Sign in to join this conversation.
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
fxceless/victory-fork#832
No description provided.