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
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#70
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
ERRORline, no device removal, noerror=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:So
preparingis 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 pipelinelines:refused [compute 02384a60fda6f2d0]refused [compute 369cbe906ea72764]refused [compute 2cc4c197ee29e291]refused [compute 2da4beb386509b77]refused [compute 6f225b641c5b0708]refused [compute 5dc3b25986622949]indirect kind 0: prepare failedindirect kind 1: prepare failedindirect kind 2: prepare failedindirect kind 10: prepare faileda stage of the ray-tracing structure builder, which is off-RayTracingabsentbeing madePeak:
dropped 3627/frame. Examples, verbatim:The indirect drops are the interesting ones:
prepare failedis not "still being built" (those saybeing madeand go away), and not a shader that could not be translated (error=converteris zero in this run). Those six compute pipelines are refused once and then stay refused for the whole session.Questions
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.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, wouldVICTORY_INDIRECT_WINDOW=0/VICTORY_INDIRECT_REST=0take the fallback and bring those draws back? I am happy to run either and report.ray-tracing structure builder, which is offdrops: 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?VICTORY_THIN): is 69–81 ms at 2474x1392 with a correct picture the expected NVIDIA result at0a43566, 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 tryvictory shaders+victory warm --usednext, 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 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 exactly02384a60,2cc4c197,369cbe90andf133e35eas the four programs that need paired host waves, and says2cc4c197(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:
2cc4c197alone.a51c1ea9(a wave64 mask parked as twos_mov_b32and restored), after whichf133e35etranslates without meetings.The separate
indirect kind 0/1/2/10: prepare faileddrops (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.
@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 withVICTORY_PORT_CBVon or off:02384a60fda6f2d0,2da4beb386509b77,369cbe906ea72764,5dc3b25986622949,6f225b641c5b0708,6b82bc7d22016cb5. Five match the ones in this report.2cc4c197ee29e291is not refused here, and6b82bc7d22016cb5is refused here but isn't in your list. In one session the first three were each logged 44 times asrefused [compute …]and the other two 5 times each.Indirect drops.
indirect kind 0/1/2/10: prepare failedalso 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 18:28 UTC · original
Follow-up on the
indirect kind 0/1/2/10: prepare faileddrops (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 becomesprepare failed (<why>). In a run with that change, every indirect drop had one reason: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:
c9c932c, default settings (noVICTORY_PORT_DESCRIPTORS), about 4.5 minutes: 18–19prepare failedlines 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.So
VICTORY_INDIRECT_WINDOW=0/VICTORY_INDIRECT_REST=0probably 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).