RTX 4070 Ti SUPER on 0a43566: the picture is right and the warm frame is 69-81 ms, but six compute pipelines are refused and indirect kinds 0/1/2/10 fail to prepare #70

Open
opened 2026-11-26 03:31:44 +00:00 by github-bot · 3 comments
Owner

@⁠chenzhehao1129-eng on GitHub · 2026-11-26 01:34 UTC · original

Hardware: RTX 4070 Ti SUPER 16 GB (NVIDIA driver 32.0.15.8097 / 580.97), Ryzen 9 9900X, 61.5 GB RAM, Windows 11 10.0.26100, window 2474x1392.

Build: 0a43566, cargo build --locked --profile diag -p victory --features diagnostics, scripts\play.ps1 -Exe <game exe> with its default settings (diag, fresh cache, Series X profile, no -RayTracing, no -Safe).

Short version: on this card the picture is right and the warm frame is 69–81 ms. Faces, skin, hair, vegetation, water reflections, shadows, the HUD and subtitles all render — this is the best picture the VIctory lineage has produced on this machine. No ERROR line, no device removal, no error=converter, in an 11-minute session that reached gameplay (prison yard). What I have not seen filed is the per-frame drop accounting, which on this card is large: up to 3,627 draws dropped in one frame, 192 on average.

Warm frame

After the first ~6 minutes of pipeline building (dropped 1170 without a host pipeline (495 being made), 2.4 fps / 408.9 ms), it settles:

frames ms/frame preparing on the GPU copying back draws/frame private memory
13.4 fps 74.5 26.3 38.3 9.0 2,840 39.2 GB
15 fps 64.7 — — — 946 —
12 fps 85.9 32.0 32.4 17.9 1,430 —
14.4 fps 69.4 33.2 9.0 17.3 4,446 32.4 GB working set

So preparing is no longer the wall on this card (26–38 ms), which matches the point of this fork; the frame is now spread over GPU + copy-back + preparation.

Drops, by reason

I split the log into records by timestamp (35,361 records over 11 minutes) and classified the 747 dropped … without a host pipeline lines:

reason in the log records what it is
refused [compute 02384a60fda6f2d0] 95 pipeline refused, never retried
refused [compute 369cbe906ea72764] 94 "
refused [compute 2cc4c197ee29e291] 81 "
refused [compute 2da4beb386509b77] 80 "
refused [compute 6f225b641c5b0708] 7 "
refused [compute 5dc3b25986622949] 7 "
indirect kind 0: prepare failed 48 indirect draw
indirect kind 1: prepare failed 44 indirect indexed draw
indirect kind 2: prepare failed 53 indirect dispatch
indirect kind 10: prepare failed 46 indirect mesh dispatch
a stage of the ray-tracing structure builder, which is off 95 expected with -RayTracing absent
being made 53 cold start only

Peak: dropped 3627/frame. Examples, verbatim:

2026-11-26T01:20:58.580027Z INFO victory_gpu::host: dropped 1.0/frame without a host pipeline: refused [compute 02384a60fda6f2d0]
2026-11-26T01:22:23.564556Z INFO victory_gpu::host: dropped 4.0/frame without a host pipeline: indirect kind 0: prepare failed
2026-11-26T01:24:17.326791Z INFO victory_gpu::host: dropped 88.1/frame without a host pipeline: a stage of the ray-tracing structure builder, which is off

The indirect drops are the interesting ones: prepare failed is not "still being built" (those say being made and go away), and not a shader that could not be translated (error=converter is zero in this run). Those six compute pipelines are refused once and then stay refused for the whole session.

Questions

  1. Are those six refused [compute …] expected on a 32-lane NVIDIA host — i.e. the same class as #66 (wave64 builder programs counted as 64 threads), or are they shaders the driver returned an error for that should be retried/skipped with a fallback path? Every frame they cost their draws, so it would be good to know which of the two it is.
  2. For indirect kind 0/1/2/10: prepare failed: is that the clamp/indirect step giving up (so the plain path would recover those draws), or the title's own argument buffer? If it is ours, would VICTORY_INDIRECT_WINDOW=0 / VICTORY_INDIRECT_REST=0 take the fallback and bring those draws back? I am happy to run either and report.
  3. The ray-tracing structure builder, which is off drops: should we pass -RayTracing (BVH builder) on NVIDIA to get them, given the README's note that without it dark rooms are too dark? Or is dropping them the intended behaviour?
  4. Comparing with #61 (4060 Ti: GPU idle, 398 ms) and #62 (5070 Ti: 11.2 fps at 1920x1080 without VICTORY_THIN): is 69–81 ms at 2474x1392 with a correct picture the expected NVIDIA result at 0a43566, or should this card be doing better?

What I can run next

Cold-start is the other half of the complaint: the first ~6 minutes are 2.4 fps because pipelines are being made (495 being made, 1,170 draws dropped a frame). I am going to try victory shaders + victory warm --used next, and I can report the warm numbers here if that is useful.

Logs are available on request; this report has program hashes and counts only, no game data.

**@⁠chenzhehao1129-eng** on GitHub · 2026-11-26 01:34 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/70) **Hardware:** RTX 4070 Ti SUPER 16 GB (NVIDIA driver 32.0.15.8097 / 580.97), Ryzen 9 9900X, 61.5 GB RAM, Windows 11 10.0.26100, window 2474x1392. **Build:** `0a43566`, `cargo build --locked --profile diag -p victory --features diagnostics`, `scripts\play.ps1 -Exe <game exe>` with its default settings (diag, fresh cache, Series X profile, no `-RayTracing`, no `-Safe`). **Short version: on this card the picture is right and the warm frame is 69–81 ms.** Faces, skin, hair, vegetation, water reflections, shadows, the HUD and subtitles all render — this is the best picture the VIctory lineage has produced on this machine. No `ERROR` line, no device removal, no `error=converter`, in an 11-minute session that reached gameplay (prison yard). What I have not seen filed is the per-frame **drop accounting**, which on this card is large: up to 3,627 draws dropped in one frame, 192 on average. ## Warm frame After the first ~6 minutes of pipeline building (`dropped 1170 without a host pipeline (495 being made)`, 2.4 fps / 408.9 ms), it settles: | frames | ms/frame | preparing | on the GPU | copying back | draws/frame | private memory | |---|---|---|---|---|---|---| | 13.4 fps | 74.5 | 26.3 | 38.3 | 9.0 | 2,840 | 39.2 GB | | 15 fps | 64.7 | — | — | — | 946 | — | | 12 fps | 85.9 | 32.0 | 32.4 | 17.9 | 1,430 | — | | 14.4 fps | 69.4 | 33.2 | 9.0 | 17.3 | 4,446 | 32.4 GB working set | So `preparing` is no longer the wall on this card (26–38 ms), which matches the point of this fork; the frame is now spread over GPU + copy-back + preparation. ## Drops, by reason I split the log into records by timestamp (35,361 records over 11 minutes) and classified the 747 `dropped … without a host pipeline` lines: | reason in the log | records | what it is | |---|---|---| | `refused [compute 02384a60fda6f2d0]` | 95 | pipeline refused, never retried | | `refused [compute 369cbe906ea72764]` | 94 | " | `refused [compute 2cc4c197ee29e291]` | 81 | " | `refused [compute 2da4beb386509b77]` | 80 | " | `refused [compute 6f225b641c5b0708]` | 7 | " | `refused [compute 5dc3b25986622949]` | 7 | " | `indirect kind 0: prepare failed` | 48 | indirect draw | | `indirect kind 1: prepare failed` | 44 | indirect indexed draw | | `indirect kind 2: prepare failed` | 53 | indirect dispatch | | `indirect kind 10: prepare failed` | 46 | indirect mesh dispatch | | `a stage of the ray-tracing structure builder, which is off` | 95 | expected with `-RayTracing` absent | | `being made` | 53 | cold start only | Peak: `dropped 3627/frame`. Examples, verbatim: ``` 2026-11-26T01:20:58.580027Z INFO victory_gpu::host: dropped 1.0/frame without a host pipeline: refused [compute 02384a60fda6f2d0] 2026-11-26T01:22:23.564556Z INFO victory_gpu::host: dropped 4.0/frame without a host pipeline: indirect kind 0: prepare failed 2026-11-26T01:24:17.326791Z INFO victory_gpu::host: dropped 88.1/frame without a host pipeline: a stage of the ray-tracing structure builder, which is off ``` The indirect drops are the interesting ones: `prepare failed` is not "still being built" (those say `being made` and go away), and not a shader that could not be translated (`error=converter` is zero in this run). Those six compute pipelines are refused once and then stay refused for the whole session. ## Questions 1. Are those six `refused [compute …]` expected on a 32-lane NVIDIA host — i.e. the same class as #66 (wave64 builder programs counted as 64 threads), or are they shaders the driver returned an error for that should be retried/skipped with a fallback path? Every frame they cost their draws, so it would be good to know which of the two it is. 2. For `indirect kind 0/1/2/10: prepare failed`: is that the clamp/indirect step giving up (so the plain path would recover those draws), or the title's own argument buffer? If it is ours, would `VICTORY_INDIRECT_WINDOW=0` / `VICTORY_INDIRECT_REST=0` take the fallback and bring those draws back? I am happy to run either and report. 3. The `ray-tracing structure builder, which is off` drops: should we pass `-RayTracing` (BVH builder) on NVIDIA to get them, given the README's note that without it dark rooms are too dark? Or is dropping them the intended behaviour? 4. Comparing with #61 (4060 Ti: GPU idle, 398 ms) and #62 (5070 Ti: 11.2 fps at 1920x1080 without `VICTORY_THIN`): is 69–81 ms at 2474x1392 with a correct picture the expected NVIDIA result at `0a43566`, or should this card be doing better? ## What I can run next Cold-start is the other half of the complaint: the first ~6 minutes are 2.4 fps because pipelines are being made (`495 being made`, 1,170 draws dropped a frame). I am going to try `victory shaders` + `victory warm --used` next, and I can report the warm numbers here if that is useful. Logs are available on request; this report has program hashes and counts only, no game data.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:44 +00:00
Author
Owner

@⁠chenzhehao1129-eng on GitHub · 2026-11-26 04:59 UTC · original

Follow-up from the same session, because @⁠Qedycik's numbers in Marvisak/VIctory#71 answer question 1 of this report.

The six compute pipelines refused on this card are 02384a60fda6f2d0, 369cbe906ea72764, 2cc4c197ee29e291, 2da4beb386509b77, 6f225b641c5b0708, 5dc3b25986622949. In VIctory#71 (2026-11-25, Qedycik) the wave64-on-32-lane work names exactly 02384a60, 2cc4c197, 369cbe90 and f133e35e as the four programs that need paired host waves, and says 2cc4c197 (CS_Tiling_Generate_Opaque) is the one that removes the stair-step blocks along the shoulder edge when it runs.

So the refusals are almost certainly "a wave64 program on a 32-lane host" (#66 in that repository), not a driver error that should be retried — which also means those draws stay dropped for the whole session by design. Two known directions, if you want to try either on this tree:

  • Qedycik's local translator change (pairs of host waves meeting where the console wave would), turned on per program by hash prefix; they measured ~84 ms of GPU time a frame at 4K when it is on for everything, and +9.7 ms (+8%) for 2cc4c197 alone.
  • VItoriaBr's a51c1ea9 (a wave64 mask parked as two s_mov_b32 and restored), after which f133e35e translates without meetings.

The separate indirect kind 0/1/2/10: prepare failed drops (191 records, peak 3,627 draws in one frame) are still unexplained on my side; if they are the same cause seen from the indirect side, then fixing the wave64 side may take both at once.

No game data included; hashes and counts only.

**@⁠chenzhehao1129-eng** on GitHub · 2026-11-26 04:59 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/70#issuecomment-7183087611) Follow-up from the same session, because @⁠Qedycik's numbers in Marvisak/VIctory#71 answer question 1 of this report. The six compute pipelines refused on this card are `02384a60fda6f2d0`, `369cbe906ea72764`, `2cc4c197ee29e291`, `2da4beb386509b77`, `6f225b641c5b0708`, `5dc3b25986622949`. In VIctory#71 (2026-11-25, Qedycik) the wave64-on-32-lane work names exactly `02384a60`, `2cc4c197`, `369cbe90` and `f133e35e` as the four programs that need paired host waves, and says `2cc4c197` (`CS_Tiling_Generate_Opaque`) is the one that removes the stair-step blocks along the shoulder edge when it runs. So the refusals are almost certainly "a wave64 program on a 32-lane host" (#66 in that repository), not a driver error that should be retried — which also means those draws stay dropped for the whole session by design. Two known directions, if you want to try either on this tree: - Qedycik's local translator change (pairs of host waves meeting where the console wave would), turned on per program by hash prefix; they measured ~84 ms of GPU time a frame at 4K when it is on for everything, and +9.7 ms (+8%) for `2cc4c197` alone. - VItoriaBr's `a51c1ea9` (a wave64 mask parked as two `s_mov_b32` and restored), after which `f133e35e` translates without meetings. The separate `indirect kind 0/1/2/10: prepare failed` drops (191 records, peak 3,627 draws in one frame) are still unexplained on my side; if they are the same cause seen from the indirect side, then fixing the wave64 side may take both at once. No game data included; hashes and counts only.
Author
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-26 17:19 UTC · original

Data point from a 32-lane NVIDIA card on a newer main: RTX 2070 SUPER 8 GB (Turing, driver 621.14), Ryzen 7 5800X, 32 GB RAM, Windows 11, main at c9c932c.

Refused compute pipelines. Six are refused here with E_INVALIDARG, the same with VICTORY_PORT_CBV on or off: 02384a60fda6f2d0, 2da4beb386509b77, 369cbe906ea72764, 5dc3b25986622949, 6f225b641c5b0708, 6b82bc7d22016cb5. Five match the ones in this report. 2cc4c197ee29e291 is not refused here, and 6b82bc7d22016cb5 is refused here but isn't in your list. In one session the first three were each logged 44 times as refused [compute …] and the other two 5 times each.

Indirect drops. indirect kind 0/1/2/10: prepare failed also shows up here, 37–39 lines per kind in one session, peaking at 191 draws in a frame. I'm looking into where it comes from and will post what I find.

Hashes and counts only, no game data.

This comment was written with AI assistance (Claude Code).

**@⁠Jesper-Andersson** on GitHub · 2026-11-26 17:19 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/70#issuecomment-7198818076) Data point from a 32-lane NVIDIA card on a newer main: **RTX 2070 SUPER 8 GB** (Turing, driver 621.14), Ryzen 7 5800X, 32 GB RAM, Windows 11, main at `c9c932c`. **Refused compute pipelines.** Six are refused here with `E_INVALIDARG`, the same with `VICTORY_PORT_CBV` on or off: `02384a60fda6f2d0`, `2da4beb386509b77`, `369cbe906ea72764`, `5dc3b25986622949`, `6f225b641c5b0708`, `6b82bc7d22016cb5`. Five match the ones in this report. `2cc4c197ee29e291` is not refused here, and `6b82bc7d22016cb5` is refused here but isn't in your list. In one session the first three were each logged 44 times as `refused [compute …]` and the other two 5 times each. **Indirect drops.** `indirect kind 0/1/2/10: prepare failed` also shows up here, 37–39 lines per kind in one session, peaking at 191 draws in a frame. I'm looking into where it comes from and will post what I find. Hashes and counts only, no game data. This comment was written with AI assistance (Claude Code).
Author
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-26 18:28 UTC · original

Follow-up on the indirect kind 0/1/2/10: prepare failed drops (question 2). Same machine as my comment above: RTX 2070 SUPER 8 GB, 32 GB RAM, Windows 11.

Cause: the dynamic descriptor slots run out. The indirect draw or dispatch itself is fine. It fails while its descriptor tables are bound, so it belongs to #35.

How I checked: a diagnostics-only change makes each exit of State::prepare_for / State::bind (crates/victory-gpu/src/draw.rs) record why it returned false, and the drop line becomes prepare failed (<why>). In a run with that change, every indirect drop had one reason:

dropped 354.0/frame without a host pipeline: indirect kind 2: prepare failed (descriptor table: no free slots)
dropped 55.0/frame without a host pipeline: indirect kind 10: prepare failed (descriptor table: no free slots)
dropped 4.0/frame without a host pipeline: indirect kind 0: prepare failed (descriptor table: no free slots)

At the same moment the log has no free dynamic descriptor slots: a table is not made n=27, and PR #237's counter reads 12,063 tables asked and 91 refused, over 8 frames with 45,057 list calls. No other exit fired: no missing pipeline, missing view heap, or root SRV/UAV problem.

Runs:

  • main c9c932c, default settings (no VICTORY_PORT_DESCRIPTORS), about 4.5 minutes: 18–19 prepare failed lines per kind. The worst frames dropped 309 / 96 / 952 / 2,504 (kinds 0 / 1 / 2 / 10). The first "found no free slots" warning came 43 s before the first indirect drop.
  • main plus a local merge of PR #237 and about 30 other open PRs, about 3.5 minutes: the drops above, all in one window. This run was shorter, ended elsewhere in the prologue and ran at 1.0–1.6 fps, so it isn't a like-for-like comparison with the main run. #237 may make the slot shortage rarer, but it doesn't remove it on this card.

So VICTORY_INDIRECT_WINDOW=0 / VICTORY_INDIRECT_REST=0 probably won't bring these draws back: the clamp step isn't what fails. The six refused compute pipelines are a separate cause (wave64 programs on a 32-lane host, see the comments above).

Hashes and counts only, no game data.

This comment was written with AI assistance (Claude Code).

**@⁠Jesper-Andersson** on GitHub · 2026-11-26 18:28 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/70#issuecomment-7200503321) Follow-up on the `indirect kind 0/1/2/10: prepare failed` drops (question 2). Same machine as my comment above: RTX 2070 SUPER 8 GB, 32 GB RAM, Windows 11. **Cause: the dynamic descriptor slots run out.** The indirect draw or dispatch itself is fine. It fails while its descriptor tables are bound, so it belongs to #35. How I checked: a diagnostics-only change makes each exit of `State::prepare_for` / `State::bind` (`crates/victory-gpu/src/draw.rs`) record why it returned false, and the drop line becomes `prepare failed (<why>)`. In a run with that change, every indirect drop had one reason: ``` dropped 354.0/frame without a host pipeline: indirect kind 2: prepare failed (descriptor table: no free slots) dropped 55.0/frame without a host pipeline: indirect kind 10: prepare failed (descriptor table: no free slots) dropped 4.0/frame without a host pipeline: indirect kind 0: prepare failed (descriptor table: no free slots) ``` At the same moment the log has `no free dynamic descriptor slots: a table is not made n=27`, and PR #237's counter reads 12,063 tables asked and 91 refused, over 8 frames with 45,057 list calls. No other exit fired: no missing pipeline, missing view heap, or root SRV/UAV problem. Runs: - **main `c9c932c`, default settings** (no `VICTORY_PORT_DESCRIPTORS`), about 4.5 minutes: 18–19 `prepare failed` lines per kind. The worst frames dropped 309 / 96 / 952 / 2,504 (kinds 0 / 1 / 2 / 10). The first "found no free slots" warning came 43 s before the first indirect drop. - **main plus a local merge of PR #237 and about 30 other open PRs**, about 3.5 minutes: the drops above, all in one window. This run was shorter, ended elsewhere in the prologue and ran at 1.0–1.6 fps, so it isn't a like-for-like comparison with the main run. #237 may make the slot shortage rarer, but it doesn't remove it on this card. So `VICTORY_INDIRECT_WINDOW=0` / `VICTORY_INDIRECT_REST=0` probably won't bring these draws back: the clamp step isn't what fails. The six refused compute pipelines are a separate cause (wave64 programs on a 32-lane host, see the comments above). Hashes and counts only, no game data. This comment was written with AI assistance (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/avatarmanz--VIctory-7900XTX#70
No description provided.