The world: 64 indirect draws/frame dropped, 282 compute / 14 mesh / 17 VS-PS shaders do not translate (RX 9070 XT) #748
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?
Imported from Marvisak/VIctory. Originally posted by KricsDavid on 2026-11-24T09:28:08Z.
Setup: Windows 11 Pro 26300, Ryzen 7 5800X3D, 32 GB, AMD RX 9070 XT (driver 32.0.32029.2010),
retail title 1.0.2.1, build
c7a5f49(release) and the same commit as adiagbuild.game_dirpoints at my own dump;victory.tomlotherwise default.What works: boot screens, intro video with sound, start screen, profile, loading into the
world (~50 s), the first mission's intro and its title card. The window caption shows ~1 fps in the
world; menus were 30 fps for me. GPU sits at ~38%, so this is not GPU-bound.
Translate pass (
victory translate --pipelines, ran to completion on this dump):Run (
VICTORY_GPU_TIMING=1, diag build, no capture): the title reaches the world and rendersthe title card, then the scene is dark. The log (debug level) shows the scene is being dropped
rather than drawn:
Questions
dropped 64.0/frame … indirect kind 0: prepare failedexpected at this stage (theREADME says most of the scene is missing), or is it a separate defect worth a trace? The
prepare failed (compute false, mesh false)reads like the arguments buffer's pipeline couldnot be resolved before the indirect call.
64-bit image atomicandscalar memory read as datagroups from the translate pass (the RaytracingResolve /InterpolateStrands family). Is there a list of shader hashes I should attach, or is a
VICTORY_SKIP_PIPELINESrun with those hashes the useful next data point?streamer wrote them) or the failed BCPack reads?
VICTORY_SHADER_LOOP_LIMIThelp world frame time on this title? At the default it is~1 fps/frame here; I can measure a lower limit and report the difference if that is useful.
Not tested: NVIDIA, Series S mode, and other titles. The GPU hung hard once when entering the
world on a real device (the README warns about this); the run above is the one that got through.
AI use: written by an AI agent (DeepSeek Harness,
deepseek-flash) from my run logs; the runs,the hardware and the dump are mine. No game files are attached.
Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T10:34:01Z.
Rebased and verified the root-constant address pair lowering on top of recent main (#710 / commit
github.com/LAKSHYA-cmd-tech/VIctory@44aec54b83), including s_load_dword* scalar reads through root constants. All 111 tests in victory-shader and 68 in victory-gpu pass cleanly.Imported from Marvisak/VIctory. Originally posted by MichaelSmithAI on 2026-11-24T10:43:37Z.
For question 2, your completed debug run should already contain the most useful comparison. In
c7a5f49, theshader does not translatewarning includesstage,hashanderrortogether. Could you share those three fields for the following hashes if they appear in that warning?a197f50cd8481541andc85822de2e41cfaaadc5c689b0552cc2You reported five drops per frame for each. The error on each matching row would tell us which translator change to test for those draws. If a hash only appears in the drop summary, that is useful too. The 653 atomic and 604 scalar-read counts cover the entire archive, so they cannot tell us which error an individual world shader hit. Searching your existing log is sufficient for this comparison.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:50:10Z.
Automated triage for the maintainers.
Complete run report (RX 9070 XT, driver 32.0.32029.2010, Windows 11 26300,
c7a5f49). The world is reached but stays dark, which matches the README's current state. The untranslated-shader drops are coordinated in #293.On your questions:
indirect kind 0: prepare failed (compute false, mesh false): this is a draw whose host pipeline exists, butState::preparerefused it (State::execute_indirectincrates/victory-gpu/src/draw.rs). It is a different path from "no host pipeline". On currentmain, the diag build adds the reason after a colon on this line. A rerun on currentmainthat shows that reason would settle it. Merged #1635 now drops calls whose pipeline isn't built yet before the argument clamp, but that does not change this path.a197f50cd8481541,c85822de2e41cfaa,adc5c689b0552cc2) are the useful next data point. Hashes and refusal reasons are enough. Please don't post shader program names from the title.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by Jackster on 2026-11-26T14:30:07Z.
The three programs on another RDNA3 card: two translate and bind, one is dropped by a root-view-offset check that #2703 fixes
Our logs answer the
stage/hash/errorquestion from a 300 s world run of retail 1.0.2.1 on an RX 7900 XTX (1002:744c, driver 32.0.32029.2010, Windows 10 26300.10075), diagnostics build,VICTORY_LOG=victory=info.a197f50cd8481541shader translated stage="compute"), host pipeline made,first bind ... frame=1724 stage="compute" size=8340. No refusal, no per-hash drop.adc5c689b0552cc2[mesh adc5c689b0552cc2, pixel d3bf7d8dc468a3d7],first bind ... frame=1213 stage="mesh" size=22912. No refusal, no per-hash drop.c85822de2e41cfaafirst bind ... frame=1724, size 13308), but on unpatchedmainit is dropped at dispatch with a reason.The one per-hash reason, from
mainat63bcca4(29–32 lines per run):So for this program the drop is not a translation refusal and not the pipeline queue: it is the root-view-offset check in
draw.rs's user-data loop taking a root constant's dword 4 for a view offset. With #2703 (a root constant's dword 4 is a value, not a view offset) in the tree the same program translates, makes its pipeline and binds — the drop is gone, and this is a named program the fix restores, which the PR's description does not have.Two other observations from the same logs, since the 64/frame in the report is aggregate:
shader does not translatewarning in our runs is for one of three programs, none of them yours:90a0692af4320129and82a2ad6d07417d36(both "GFX10 code at 0x14dc/0x150c: a lane mask read as data", the BVH-skinning pair) anda929109552ce1e84.dropped … without a host pipeline: being madeanddropped … indirect kind 10: no host pipeline— so the per-frame number cannot be attributed to individual programs beyondc85822.Written with an AI assistant.
Imported from Marvisak/VIctory. Originally posted by borosf on 2026-11-27T08:42:01Z.
The world renders on an Intel Arc B580, and its per-frame drops are descriptor slots, not translation
Different hardware and a different dump from the report above, so this is a second data point rather than a disagreement: on main
63bcca4(diag build,VICTORY_LOG=info,VICTORY_CAPTURE_WORLD) the world is reached and drawn on an Arc B580 12 GB (Ryzen 5 5600, 32 GB, Windows 11, retail 1.0.2.1, my own dump), and what is missing from the scene here is not the translate pass.Translate covers all but 7 programs on this dump (vs 282 compute / 14 mesh / 17 vertex-pixel in the report above):
Run. The highest rate of each drop over the 5 s report windows of a world run, series-x / series-s:
indirect kind 10: prepare failed (compute false, mesh true): no dynamic slots for root viewsdispatch: a root view's offset: no root view, or outside title buffers [compute f6e47efa50226beb]indirect kind 10: prepare failed (compute false, mesh true): no dynamic slots for its tablesrefused [compute caa78b8ca62bc3d6]dispatch: a root view's offset: no root view, or outside title buffers [compute 3b90165a77d95cdf]indirect kind 2: no host pipelineindirect kind 2: prepare failed (compute true, mesh false): no dynamic slots for its tablesSo the largest single category here is
no dynamic slots for root viewson mesh draws — 1.5k draws a frame out of 4.6–6.8k drawn, every frame. Its one-shot warning fires at world start:which is
ROOT_VIEW_RUN = 256(draw.rs:130) requested per list throughHostHeap::dynamic(descriptor/host.rs:315) — the search failing, not the translator.Frame cost here, unlike the RX 9070 XT above — the world is GPU-bound on this card, not at 38%:
What it looks like. Captured world frames are not black on series-x: the scene is there (buildings, a crane, power lines, a car in the foreground) but blown out with visible seams between regions, which reads as exposure/tonemapping over a partially drawn frame rather than geometry that never arrived. On series-s the same world frames are black (max channel 2 of 255 across 36% of pixels), which matches the "scene is dark" report above; series-s is also where the title logs
FFX FSR4 ... DeserializeComputePipelineStateX FAILED ... falling back to NewBEfor its upscaler passes.Question for the maintainers: is the mesh
indirect kind 10category the same slot leak #688 addresses (giving back what a list that ran took), or does the per-list 256-slot request deserve its own trace? I can attach the full log for either console, or rerun withVICTORY_GPU_TIMING=1— though its per-command breakdown came out empty here (lists 1955.7 ms/frame of wall time, their commands 0.0 ms/frame), so it names no pass yet.