World: which untranslated shaders cost the most draws (ranked from two runs) #293
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#293
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?
@gw1337x on GitHub · 2026-11-24 02:06 UTC · original
To help pick shader-translation work by in-game impact, here are the shaders whose pipelines are dropped most in the world, ranked by draws and dispatches lost per frame.
Source: the diagnostics drop summary (
dropped N/frame without a host pipeline: <stage> <hash>), joined with each shader'sshader does not translate ... error=reason. It covers two real-GPU runs into the opening cutscene on an RX 7800 XT (maind2a4bae+ #135 + #242 + #230 + #124 + #130, Series X mode, v1.0.2.1). Both runs give the same order.The rates are averaged over every summary interval of a run, menus included, so the world rates are higher than shown. Use them for ranking, not as absolute numbers.
By failure reason (run 1, sum of per-shader rates)
image_sample_d_climage_gather4_lThe total is about 1,770 per frame over 82 shaders. The top two reasons alone are about 60% of it, and I found no open PR for either.
Top 15 shaders
910b4be059bfb28fe30970f1727063fd321d411b20a35ef93b90165a77d95cdff6e47efa50226bebcaa78b8ca62bc3d6caf96a3229145fa67bdefdfde461f6e3image_sample_d_cl28918b7150a7aad5adc5c689b0552cc22561af9577c472895552dac6a2b7a1fd4e35b816f2f91d68b37565055f2f7d3bf28a33a89eaa2caaSeparately, about 246 indirect rectangle-list draws per frame are dropped for another reason; that is #255.
I can rerun with other builds and post the same table, so a translation PR's effect can be measured in game.
@r4tedx on GitHub · 2026-11-24 02:42 UTC · original
This table is the most useful thing in the tracker for choosing work, thank you. Two of its rows have a PR that should clear them, and I cannot measure it myself (I have no copy of the title; everything in my PRs is tested with hand-assembled programs on an RTX 5070):
image_sample_d_cl(~53/frame, 3 shaders): #160 lowers it, with its_oand_g16forms. #318 covers the same opcode.image_gather4_l(~50/frame, 3 shaders): #160 lowers it when the level is a known 0 (a DXIL gather reads level 0 only). A gather at any other level stays refused, with the reasona gather at a level not known to be 0, so your table would show which case the title has. #136 and #360 touch the same opcode.If you rerun, could you include #160 (head
7265593) and say whether those six shaders translate and what, if anything, they stop at next? A before/after of this table is exactly the evidence that PR is missing.The same goes for most of the open translation PRs, mine included: #163 (106 more opcodes), #164 (LDS and buffer atomics) and #265 (scratch memory) do not appear to address any row here, which is worth knowing. They make instructions translate that this ranking says the world is not currently blocked on. The rows that matter most (
an address in an SGPR that is no root parameter,a descriptor neither loaded nor built) need someone who can look at those shaders.No game data used.
@Mesrine67 on GitHub · 2026-11-24 02:45 UTC · original
I opened PR #378 to add the runtime BLAKE3 container hash to
translate --listand include duplicate-DXIL containers in that listing.On my local v1.0.2.1 shader archive, using clean upstream
d2a4bae, these hashes map to:910b4be059bfb28f—MSNC_VS_LinearDepthSkin_1b4b70ba_Wrapped: descriptor neither loaded nor built.321d411b20a35ef9—MSNC_VS_LinearDepthSkin_f1f2249c_Wrapped: descriptor neither loaded nor built.adc5c689b0552cc2—MS_VS_PropFoliageDeferred_7cf79608_Wrapped: descriptor neither loaded nor built.e30970f1727063fd—CS_ComputeImposterTransform_15082ab2_Wrapped: structured buffer of unknown stride.caf96a3229145fa6—CS_CollisionRaytraced_2776e795_Wrapped: address not from a root parameter.This was a static translation scan, not a game run. It does not include the PR stack in the RX 7800 XT runs above, so these are failure mappings only; they are not updated draw-loss rates.
@Mesrine67 on GitHub · 2026-11-24 03:08 UTC · original
I reran the local v1.0.2.1
shaders.rpfcensus on cleand2a4baeand on the exact #160 head726559372b0859730de404242b53dd0fb4c96b72, usingtranslate --validate --list. Both runs saw 26,503 containers and 26,698 program instances. The static rejection tally did not change: 27 instances remain underemit: image_sample_d_cl, and 12 underemit: image_gather4_l.The priority pixel shader
7bdefdfde461f6e3remainsemit: image_sample_d_clon #160. As one gather example,e918b781c12d5815remainsemit: image_gather4_l. The CLI reports these failures by opcode, so this scan alone does not expose a more specific per-shader reason. The targeted synthetic testsample_and_gather_forms_lower_to_valid_dxilpasses on #160 (1/1); that demonstrates the tested forms, but not that these title programs translate.This was static CPU translation plus DXIL validation only: no host pipelines were created, no game executable was run, and it does not update the RX 7800 XT per-frame draw-loss measurements.
@EduAzevedo on GitHub · 2026-11-24 03:08 UTC · original
Measured
7265593againstmaind2a4baeon the retail shaders (v1.0.2.1, Series X package), offline withvictory translate --jobs 8and--list, same 26,148 programs both times. Only counts and refusal reasons below.Vertex and pixel programs emitted as DXIL: 12,284 → 12,332 (+48).
maina biased image sample with 16-bit coordinatesa scalar memory read as data, 16 ata lane mask read as dataimage_sample_d_clan image address, 2 ata cross-lane operation outside computeimage_gather4_la gather at a level not known to be 0image_sample_ov_swap_b32/v_xnor_b32To your question in #293:
image_gather4_l: the title's 12 gathers are all at a level the translator cannot prove is 0, so none of them lower with the level-0 rule.image_sample_d_cl: the opcode itself is handled, but 25 of the 27 programs then hitan image address(onmainthat reason had 2 programs). So the next refusal for those draws is the image address. I can run any follow-up the same way in a few minutes.AI-assisted.
@r4tedx on GitHub · 2026-11-24 03:09 UTC · original
Follow-up, after reviewing the open PRs that target this table's rows (built each on
maind2a4bae, RTX 5070; details are on the PRs):victory.exedoes not build (non-exhaustive match intranslate.rs); one-line fix on the PRimage_gather4_l(~50)image_sample_d_cl(~53),image_gather4_l(~50)Since nobody without the title can see these shaders, here are questions a tester can answer with counts or yes/no (no shader contents needed), which would let the two top rows be fixed properly:
victory translate --list)?victory shader-info --verbosestart below user data 8 (yes/no)?translate.rsfix noted there), how many of the 8 mesh shaders still fail witha descriptor neither loaded nor built?v_readfirstlane_b32,s_cselect_b*,ds_read*orbuffer_load*before the failing offset (yes/no each), and does the descriptor's SGPR range fall inside a root parameter's user SGPRs (yes/no)?No game data used.
@aycow on GitHub · 2026-11-24 04:03 UTC · original
Thanks for the refusal census. The largest buckets now have active work in #302, #307, and #193. On #302, spill-loaded pointers expose downstream root UAV and typed-view refusals, with raw root UAV work already in #294. On #307, the leading mesh hash still needs a matched rerun for the descriptor-phi case.
If you’re authorized to run the title and share diagnostics, could you repeat the same opening-cutscene frame window on main and then one candidate PR at a time? Please share the build SHA and PRs, GPU and driver, frame range and frame count, and counts by stage, shader hash, and refusal reason. When a reason changes, please include the next reason for that hash. If you own an overlapping fix or already have a matched run, please link its PR or comparison so we can reuse it. Aggregate counts and hashes are sufficient. Timing is tracked in #71.
@r4tedx on GitHub · 2026-11-24 04:30 UTC · original
Two measurements nobody has made yet, for anyone with the shaders or an AMD card. Both are cheap and neither needs the world to render.
1. Offline counts for three PRs that have none. #163 (106 more opcodes), #164 (memory atomics, sub-dword buffer accesses) and #265 (scratch memory) pass their own tests, but as far as I can tell they match no row of this table, and no one has run them over the title's shaders. The same comparison @EduAzevedo ran for #160, #307 and #309 would settle whether they matter:
victory translate --jobs 8 --listonmainand on each head, then how many programs are emitted, which refusal reasons change, and whether anything that translated onmainstops. If the answer is "nothing changes", that is worth knowing too: it says those PRs can wait.2. One run of the wave64 stack on a 64-lane GPU. #223 / #233 / #320 / #439 have title runs on three machines, all NVIDIA, and the reports list "a 64-lane adapter" under not tested. On an AMD card the stack should change nothing (console wave64 programs keep running natively), and that is exactly what has not been checked: the same program-by-program comparison against
main, expecting 0 gained and 0 lost, ortranslate --validate --pipelines --listcounts on both. #439's head ise49302a.Counts and reasons only, please. I have no copy of the title. AI-assisted.
@Halfect on GitHub · 2026-11-24 05:27 UTC · original
Taking the 64-lane AMD A/B requested above.
I am running
maind2a4baeand #439 heade49302aover my local v1.0.2.1shaders.rpf, usingtranslate --validate --pipelines --list --jobs 8and explicitly selecting the Radeon adapter. D3D12 reports 32..64 lanes on it. The main build has only a local adapter-selection harness change; its translation code is unchanged.No title or world run. I will report program-by-program gained/lost counts and validation/pipeline counts only, without shader contents or extracted data. AI-assisted (Kimi).
@EduAzevedo on GitHub · 2026-11-24 05:28 UTC · original
The three offline counts asked for above, on the retail shaders (v1.0.2.1, Series X package):
victory translate --jobs 8 --listonmaind2a4baeand on each head, all 26,148 programs, compared program by program.maind2a4baece1f138v_cvt_f32_f644 → 0,floating-point arithmetic in f64 is not implemented by the DXIL emitter0 → 4 (the same 4 programs)3bbc9ba7463484So on the title's shaders none of the three changes what translates: no row of the table above, and nothing lost. #163 only renames the refusal of the 4 programs that use
v_cvt_f32_f64. As you said, that says these can wait.AI-assisted.
@Halfect on GitHub · 2026-11-24 05:33 UTC · original
Completed the requested 64-lane AMD A/B for
maind2a4baeand #439 heade49302a.Environment: AMD Radeon 610M (PCI
DEV_13C0), driver32.0.21030.2001, Windows 11 build 22631, Rust 1.98.1. D3D12 reports 32..64 lanes. Both runs explicitly selected the Radeon adapter; the candidate loggedhost waves 32-64 lanes. The main build used only the local adapter-selection harness change noted above, with translation code unchanged.Command on both:
victory translate <local shaders.rpf> --validate --pipelines --list --jobs 8, usingdxil.dllfrom Windows SDK10.0.26100.0. Local shader archive: v1.0.2.1. Both runs saw 26,503 containers (614 duplicates skipped) and translated 26,084 / 26,084 programs.main: emitted / validated / pipelinesProgram-by-program comparison used 25,889 shared labels; 23 base-only and 43 candidate-only labels were excluded because parallel duplicate-DXIL container selection can choose different labels. Validator diagnostic suffixes added by the candidate were normalized before comparing outcomes.
a descriptor chosen by control flow→an SCC the emitter did not compute, anda descriptor's address or format read as data→an SCC the emitter did not compute. Neither changed a successful outcome into a failure or vice versa.The aggregate +22 compute emitted / +2 validated is reported as a whole-stack total, not attributed to Wave64 alone; #439 includes its underlying PR stack. The matched-label result is the requested 64-lane check: no validation or pipeline-creation regression was found on this AMD host.
Offline translation, DXIL validation and pipeline creation only; no title executable or world run. No shader contents or extracted data included. AI-assisted (Kimi).
@upipibi on GitHub · 2026-11-24 05:35 UTC · original
Synthetic run of @r4tedx's
integration/testerstree (7670a8acd0) on a second GPU family, without the title. It isn't the title measurement this issue asks for; it only shows the combined tree builds and passes its tests on Ampere as well as the RTX 5070 it was put together on.Tested
dxil.dllpresent, so test modules are validated.cargo build -p victoryandcargo build -p victory --profile diag --features diagnostics: both build.cargo test --workspace --no-fail-fast -- --test-threads=1: 388 passed, 0 failed, 5 ignored (22 test binaries).Not tested: the title (no copy here), AMD, wave64.
AI-assisted (Claude Code).
@Halfect on GitHub · 2026-11-24 05:41 UTC · original
Correction to the comparison in my result above: the first matcher left the failing instruction offset in failure labels, so
emit → successtransitions were incorrectly left unmatched. Re-matching by container + program label gives 25,912 shared labels, with 20 candidate-only labels excluded.The corrected matched-label result is:
emit: a lane-mask join of an untracked mask→ok.The stage totals and all other reported reason changes are unchanged. Thus the aggregate +22 compute pipelines are accounted for by the underlying stack's lane-mask fixes, rather than being an unexplained Wave64 difference. The 64-lane conclusion is unchanged in the important direction: no validation or pipeline-creation loss was found. Sorry for the undercount in the first comparison.
@r4tedx on GitHub · 2026-11-24 05:51 UTC · original
@EduAzevedo @Halfect thank you both. That answers the two measurements I asked for above.
#163, #164, #265 (counts): 0 programs gained and 0 lost for each on the title's shaders, and #163 only renames the refusal of four programs. None of the three moves a row of this table, so they can wait behind the PRs that do.
The wave64 stack on a 64-lane GPU (result, correction): nothing lost on a Radeon 610M, in validation or in pipeline creation. My expectation that the stack "should change nothing" there was wrong, and the corrected comparison shows where: 22 compute programs go from
a lane-mask join of an untracked maskto translating. That looks like #320, which translates such programs in the console flow on every host and not only on 32-lane ones. On NVIDIA the same reason goes from 21 to 0 at #320's head (table).A caveat from the same numbers: 22 programs gain a pipeline, but validation gains only 2. On NVIDIA, 20 of the 21 fail validation with the compute
samplemessage of #201, which #180 clears onmain(23 to 0 in the census rerun). I have not seen the validator message for the 20 on the Radeon. If it is the same one, they are that class.I ran nothing myself for this comment; the numbers are the linked testers'. AI-assisted.
@rocobalt1 on GitHub · 2026-11-24 06:53 UTC · original
Untranslated shaders from one world load, counted by reason (RTX 4060 Ti)
This does not answer "which shader costs the most draws" — the log does not attribute
dropped draws to a shader — but it does give the population to rank against: every shader
that fails to translate in one world load, with the converter's own reason.
Environment
VICTORY_D3D12_WARP=1for stabilitycargo build --release -p victory@d2a4baevictory.exe run <game>\game_scarlett_master.exe --executeCounts
324 distinct shaders, each refused once. By stage:
By reason, with the converter's per-address prefix stripped:
The first two families are 142 of 324, and both are mask-tracking rather than new
instructions. That is worth noting against the 64-bit image atomics: on this package the
atomics are 10 shaders, the mask cases are 142.
Frame context while this list was collected
So the drops fall as pipelines finish; what does not recover is the 324 above.
The list
Full
hash<TAB>stage<TAB>reasonlist is available — 324 lines, no game data. Say the wordand I will paste it here or attach it; the hashes are exactly the ones the log prints.
@LAKSHYA-cmd-tech on GitHub · 2026-11-24 06:58 UTC · original
Implemented lowering for both image_sample_d_cl (DXIL opcode 63 with clamp operand) and image_gather4_l/_l_o (DXIL opcode 73) in PR #694. Synthetic unit tests in ictory-shader pass and asset policy is clean.
@rocobalt1 on GitHub · 2026-11-24 06:54 UTC · original · edited 2026-11-24 06:59 UTC
The full list behind the counts above, as
hash<TAB>stage<TAB>reason:https://gist.github.com/rocobalt1/3f4f2261ebd1058dc55b07fcb945d147
324 lines, no game data: the hashes are the ones the log prints, and the reason is the converter's own string with only the
GFX10 code at 0x...offset removed.@r4tedx on GitHub · 2026-11-24 06:23 UTC · original · edited 2026-11-24 07:41 UTC
Tester tree, update 3.
integration/testersis now18c2dc4(was7670a8a, fast-forward; still onmaind2a4bae): https://github.com/r4tedx/VIctory/tree/integration/testers.INTEGRATION.mdat its root has all of this in full.e6936e3.f653ea4in #189's place on an RTX 5080 (result on #439): no device removal in a 7-minute run at loop limit 32, draws dropped without a host pipeline 1,470 → 958 per frame, the richest full-size G-buffer target 67.9% covered against 10.5%, frame time 850 → 1,233 ms (slower), presented frame still black. One run per build, their own merge, not this tree.VICTORY_SHADER_LOOP_LIMIT=32, which tells whether the no-hang result holds with the tree's other PRs on top. If it hangs,VICTORY_SKIP_WAVE64=mesh,compute(#579, diagnostics build) is the switch to try next.cargo test --workspaceon an RTX 5070, 403 passed, 0 failed, 5 ignored; release and diagnostics builds. The title was not used in these tests.A useful report is the same as before: GPU, driver and Windows build; the variables you set; dropped counts by reason; the device-removal block if there is one; whether the world shows geometry. Counts and messages only.
Update, 06:42 UTC: the head is now
46ca402(fast-forward from18c2dc4). One code commit is added, #439'sd2189ff(compute selects take lane masks held as numbers), plus a notes line.cargo test --workspaceon the RTX 5070: 404 passed, 0 failed, 5 ignored; the title was not used. Everything above still holds.Update, 06:50 UTC: the head is now
f61acfa(fast-forward from46ca402). It follows #439 to901eef9: ifBars's fix for loop-carried inputs of console mask joins and its test on every hardware adapter, plus a notes line.cargo test --workspaceon the RTX 5070: 405 passed, 0 failed, 5 ignored; the title was not used.Update, 07:40 UTC: the head is now
3076d0e(fast-forward fromf61acfa). It follows #439 toe4d899f: a translator stack overflow on a lane mask copied dword by dword now stops with a reason, and a lane read beside a whole-wave section takes the console flow. The pick conflicted in three small hunks ofemit/lower.rs; the resolution is listed inINTEGRATION.md.cargo test --workspace --no-fail-faston the RTX 5070: 406 passed, 1 failed, 5 ignored; the title was not used. The failure isframe::tests::waits_end_on_ticks_and_count_frames, a load-sensitive 5 ms timing test in victory-gpu that fails intermittently, also without this change.One caveat for runs of this tree, from a tester's target dumps on #160 (comment, one run per arm): with #160, the draws of this issue's top G-buffer pixel shader
7bdefdfde461f6e3run and cover the depth and colour targets with near-constant values, not a scene; with #587 on top the targets look like the run without #160. The tree carries #160 and neither #586 nor #587, so expect that here.AI-assisted
@ghost on GitHub · 2026-11-24 07:49 UTC · original
@r4tedx First title runs of
integration/testers, at7670a8a(before update 3): AMD RDNA4 (RX 9060 XT, Windows 11),diag+ DRED, opening cutscene. Base:d2a4bae+ #135 + #365 (B), 5 runs.0x887A0006, the knowninside freed texturefault.7bdefdfde461f6e3draws (no #587 in the tree).I'll rerun at
3076d0e.AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@r4tedx on GitHub · 2026-11-24 08:21 UTC · original
@nullmarsh thank you, this is the first run of the tree with the title, and the table says where to go next.
The tree moved while you were writing:
integration/testersis now2b1a569(update 4), not3076d0e. If you rerun, that is the head to take, because of your second row:a descriptor read from the first lane of a phi, 306 per frame. Update 4 adds #566 at6c63dea(and the rest of #307), which is aimed at exactly this reason. What is verified is synthetic only: its tests pass in the tree on an RTX 5070 and WARP. Whether those programs then run, or stop at a later reason, is what your rerun would show; nobody has measured it in the title.an address in an SGPR that is no root parameter, 891 per frame. Nothing in the tree addresses it yet. #302 is left out on purpose and its follow-up #489 and #294 are not in; each conflicts with the tree (#489 in one file, #294 in five) and neither is merged into it yet.a structured buffer of unknown stride, 226 per frame. Also not addressed: #193 is left out (its raw-handle read returns 0 on NVIDIA), and #704 on top of it is not in the tree yet.7bdefdfde461f6e3: #587 is not in the tree. It has not been reviewed for it yet.Update 4 also brings the wave64 stack to #439's
055aef9.INTEGRATION.mdat the root has the details, including one thing you should know before trusting the tree's own tests: on the integration machine the shader GPU tests are not stable when run together (11 of 14 runs passed; one stalled and in one the driver removed the device under tests that were already in the tree). Those are test programs, not the title.The longer survival (153 to 251 s against 40 to 94 s) with the same
0x887A0006fault is useful to have on record. I have no explanation for it and am not claiming the tree fixes anything there.The title was not used in the tests behind this update; the per-frame numbers above are yours. AI-assisted.
@r4tedx on GitHub · 2026-11-24 04:17 UTC · original · edited 2026-11-24 08:28 UTC
For anyone running the title: I have put the open PRs that passed a build-and-test review into one tree, so fixes can be measured together instead of one PR at a time.
Branch:
integration/testersat https://github.com/r4tedx/VIctory/tree/integration/testers (head2b1a569since 08:20 UTC, update 4. The list below describes7670a8a(update 2); update 3 and update 4 say what changed since, andINTEGRATION.mdis current).INTEGRATION.mdat its root lists everything below in full.git log --first-parentshows each), so any of them can be reverted or left out. It is not a release, and the maintainer has not reviewed any of it.cargo test --workspace(388 passed at7670a8a) and builds in release and diagnostics. I have not run it against the title, so nobody has run this tree with it yet. It makes no claim about results in the title.image_sample_d_clandimage_gather4_lrows here on the title's shaders, measured by EduAzevedo), depth bounds (#158), wave64 on 32-lane hosts (#223, #233, #320, #439 with peter-bonanni's whole-wave-section commit, and #180 for compute samples; the modules that failed validation and kept #320 / #439 as drafts were computeimage_sample, which #180 fixes), and a test-hang fix (#433).A report that would help most, counts and messages only: GPU, driver and Windows build; the drop summary by reason, in this table's form;
victory translate --validate --pipelines --listcounts (created / refused / failing validation); the device-removal block fromcrashes.logif there is one; and whether the world shows geometry. If the tree is worse thanmainanywhere,git log --first-parentand a bisect over the merges will name the PR.I will keep the branch updated as PRs are fixed, and note changes in
INTEGRATION.md.Update, 05:10 UTC: the branch moved to
7670a8a: the whole wave64 stack and #180 are in (testers measured 70 of 119 driver-refused compute programs running on an RTX 5070 Ti with that stack, nothing lost againstmain; image results not checked). One thing to check first on this head: compute samples now take the console's quads, so a wave64 compute program that samples, uses LDS and has more than 64 threads may be refused on a 32-lane host where the earlier head translated it.INTEGRATION.mdhas the details. Not in yet: real queries (#159) on the state tracker, thes_bufferdescriptor-read part of #136, and an opt-in diagnostic for passes that read what a dropped pass would have written.@rocobalt1 on GitHub · 2026-11-24 08:41 UTC · original · edited 2026-11-24 08:48 UTC
First title run of
integration/testersat2b1a569(update 4), as asked. Counts and messages only.Environment: RTX 4060 Ti 8 GB (driver 32.0.16.1656, wave32), Ryzen 9 5900X, Windows 11 Pro 26200.
diagprofile with--features diagnostics. Variables:VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1.One thing to subtract when comparing with @nullmarsh: this machine has
TdrDelay=60(set before all runs today,HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers), not the default 2 s. Survival here is therefore not directly comparable to the 153-251 s at7670a8a.Survival
Device removed 517 s after start (8m37) with
0x887A0006, after a submission of 1 list.Breadcrumbs exist on this head (on
mainthe same failure said "no breadcrumbs"), but 500+ entries readNone; the only named one is20/20 Some(0). So a run withVICTORY_D3D12_DEBUG=1is still the way to name the command - the breadcrumbs alone do not.Refused programs
169 unique hashes (at
7670a8a@nullmarsh saw 178): compute 137, mesh 19, pixel 9, vertex 4.The 25
console wave64 lanes in a group of more than 64 threadsare the caveatINTEGRATION.mdwarned about for this head, and they are real on this 32-lane host: they did not appear in the same run's shape at7670a8a.Dropped per frame
Last report before the removal: 509 draws/frame, dropped 1213 without a host pipeline (537 being made), 499 indirect, 0.4 fps, 2636 ms/frame.
Picture
The opening-credit text and several animal artworks with their patterns (a serpent, a flamingo and others), on black, from the moment they appear until the removal. The 3D scene behind them never appears, and it is not a still frame: the credits and the artwork keep drawing until the device goes. So a textured 2D element of that size decodes and uploads on this head - what fails is the 3D scene, not 2D texture data.
I can rerun at a later head or with
VICTORY_D3D12_DEBUG=1on request; I will also revertTdrDelayto the default and repeat if that comparison is more useful.@r4tedx on GitHub · 2026-11-24 08:52 UTC · original
@rocobalt1 thank you. This is the first run of the tree on an NVIDIA card, and the reason table by program is exactly what was missing. The
TdrDelay=60note is understood: 517 s here and 153 to 251 s on @nullmarsh's card are not the same measurement.Reading your table against what the tree holds:
console wave64 lanes in a group of more than 64 threads on a host without 64-lane waves, 25 programs. This is not something update 4 broke. The reason is only raised for hosts whose waves are 32 lanes, as its text says, so it belongs to your card; @nullmarsh's run was on an AMD card, and their table did not list it. The wave64 work in the tree runs console wave64 compute on 32-lane hosts for groups of up to 64 threads. Larger groups are the known remainder. There is work in progress on them that is not in the tree. IfINTEGRATION.mdreads as if this head had fixed or newly caused it, tell me which sentence and I will correct it.a structured buffer of unknown stride, 35, andan address in an SGPR that is no root parameter, 35. Not addressed in the tree, as in my reply above: #704 (on #193) and #489 / #294 are not merged into it yet.a scalar memory read as data, 19. Nothing in the tree addresses it.a descriptor read from the first lane of a phiis absent from your list. At7670a8ait was 306 dropped draws per frame in @nullmarsh's run. Update 4 added #566 for it, so its absence here is the first sign from the title that those programs now get past that reason. Two different cards, and your table covers 148 of the 169 programs, so it is a sign, not a comparison; if that reason is among the other 21, please say so.a descriptor read from the first lane of computed VGPRs, 4, is the reason some of them reach next.The device removal. A removal after a submission of one list, with breadcrumbs that are almost all
None, is still the failure nobody has named a command for. So yes, please: the run withVICTORY_D3D12_DEBUG=1, on the same head and with the sameTdrDelay, so it can be set beside this one. What would help most from it is the first debug-layer message before the removal, and whether the removal still comes. RevertingTdrDelayis the less useful of your two offers.On the head: the tree is at
92bc27bnow. The only difference from2b1a569is #453 (pixel barycentrics) with a small fix, so there is no need to move for the debug-layer run; just say which head you built.Your note on the picture matches @nullmarsh's: the credit text and the 2D artwork draw until the device goes, and the 3D scene never appears. Nothing in the tree is claimed to fix that.
The title was not used in the tests behind the tree's updates; the numbers above are yours and @nullmarsh's. AI-assisted.
@rocobalt1 on GitHub · 2026-11-24 09:04 UTC · original
Answering the two questions, then the debug-layer run.
a descriptor read from the first lane of a phiis absent, and here is the complete reason table for the run at2b1a569(169 programs, 19 reasons, nothing omitted):So the reason #566 targets is not among the 21 the earlier table left out; what its programs reach next is
a descriptor read from the first lane of computed VGPRs(4) andan address from a phi(8), which are different reasons.On @andrewpozdnakov7-jpg's meter note: this table is not from
Meter. These are the translator's owndoes not translatelines, one per shader hash, so the 1 s / 5 s drain cannot drop a program from it. Only the "dropped 1213 per frame" figure in my previous comment comes from the meter, and that one should be read with their caveat.Debug-layer run: building
2b1a569withVICTORY_D3D12_DEBUG=1now, sameTdrDelay=60, same package. I will report the first debug-layer message before the removal and whether the removal still happens.@andrewpozdnakov7-jpg on GitHub · 2026-11-24 08:58 UTC · original · edited 2026-11-24 09:16 UTC
The per-shader drop summary can miss entire bursts. In
Meter::frame, the total, indirect and per-reason counters are drained on the roughly one-second caption sample, before the separate five-second log gate. This is present on thed2a4baebaseline used in this thread and in main at58fed37. The detailed copy counters already use the full reporting interval after #87. Meter codeThe proposed change drains report counters only when a report is emitted and uses every presentation since the previous report as the denominator. The caption has its own sample. In a CPU model with 2, 3, 5, 1 and 4 frames and 90 drops in the first sample, the old summary missed the burst. The revised summary averaged 6 drops per frame over 15 frames. The omitted intervals cannot be recovered from historical summary lines.
Windows follow-up on
8e79c80(Rust 1.98.1, MSVC, diagnostics). The same regression ran once on the baseline and once with the patch. On the baseline, the caption sample emptied the pending shader-drop counter before the report. With the patch, it preserved the counter. A separate test of the patched report boundary passed and confirmed that the report drains the counter and resets the report frame count. Both checks used synthetic input without a D3D12 device or title files.This applies to the per-frame counts from
Meter. The translator emits its owndoes not translatelines independently.AI-assisted source review and CPU/Windows checks.
@cdomergue on GitHub · 2026-11-24 09:09 UTC · original · edited 2026-11-24 09:26 UTC
I replayed 2,026 shader containers recovered by hash from a Series S intro trace on an RTX 4070 SUPER (title 1.0.2.1). Both mesh shaders at the top of this issue were bound at frame 1058 in that trace. I used the same files and the same Windows DXIL validator (dxil.dll 1.9.2602.17) for all three offline runs.
910b4be059bfb28f321d411b20a35ef96285e190x28300x25706c63dea0x10980xdf0emit/lower.rshunks of #136 commit8ae232fOn #566 alone, all 13 programs that previously stopped at the first-lane phi still failed translation. Eight moved to a scalar memory read, four to a descriptor from computed VGPRs, and one to a descriptor partly joined by control flow.
I traced the eight scalar refusals through
descriptor_data. In each case its selected consumer wass_buffer_load_dwordon a table SRV with declared stride 80. For the first mesh shader, the descriptor load and consumer were at0xec0and0xee4. For the second they were at0xc18and0xc3c. The selected #136 hunks made all eight pass validation. This connects the per-hash ranking here to the earlier structured-view measurements on #136.The 17 additional passes are on this trace sample. All 1,668 previous passes still validated, but 1,295 of those outputs changed their DXIL digest. The existing first-boot rendering regression report matters when testing this change. The next measurement I would prioritize is whether the two named mesh pipelines are actually created and their draws reach the host, with the start screen as a visual control. The replay measured translation and validation only.
AI-assisted with OpenAI Codex.
I ran these checks to help narrow down the next test. If updates like this get in the way, just let me know and I'll leave the thread to you.
Nov 24 update — in-game test on RTX 4070 SUPER. The game created both mesh pipelines with its own pixel shaders. VIctory recorded at least 2,048
ExecuteIndirectcommands for910b4be059bfb28fand 1,024 for321d411b20a35ef9. Loading artwork and subtitles were visible, but the 3D scene stayed black. The run ended withDXGI_ERROR_DEVICE_HUNGabout 50 seconds after the first dense 3D frame. This confirms pipeline creation and command recording for both shaders. Whether those draws wrote any pixels to an intermediate render target is still open.@ghost on GitHub · 2026-11-24 09:27 UTC · original
@r4tedx On AMD, updates 3 and 4 don't get far enough for the measurements above. From the tree's #483 merge (
7ef2c41) on, the title dies seconds into the world with an unhandled0xc0000005atamdxc64.dll+0x861b9f(read0x8), inside a D3D12 call into AMD's driver (stackvictory.exe→D3D12Core→amdxc64). RX 9060 XT, driver 32.0.32029.2010 (amdxc64.dll8.18.10.0514),diag.7670a8a..3076d0e, own shader cache per step, one run each:41c98fa(#493) ran 147 s in the world without it.7ef2c41crashed 2 s in, and so did the later454cee9andd3bf14e.3076d0e1 of 1 runs,2b1a5693 of 3 (one with #587, one with a shader skipped).3076d0ewith7ef2c41reverted: no crash, 154 s in the world to my limit.That merge was hand-resolved and also routes #307's
fetched_indexthroughheap_guard, so I can't tell whether #483 itself or the merge causes it; #483 alone conflicts with my base.92bc27bstill carries the merge. Pointer on #483.AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@rocobalt1 on GitHub · 2026-11-24 09:27 UTC · original
Ranked per-shader drop table from the title, which the issue asks for. Same run as my previous comment (
2b1a569, diag,VICTORY_SHADER_LOOP_LIMIT=32,TdrDelay=60), still running at the opening cutscene when this was collected. The per-shaderdropped N/frame without a host pipeline: <stage> <hash>lines exist in this build; my earlier comment's table came from the translator's per-shader refusals, this one from the meter, so @andrewpozdnakov7-jpg's caveat applies to the numbers here.125 distinct shaders were dropping draws, 2 093 draws/frame in total. Top 15 by the last reported value per shader:
910b4be059bfb28f321d411b20a35ef9e30970f1727063fd3b90165a77d95cdf28918b7150a7aad5c42a31951201f9a05279ae36796c31fc5062bc7a48e842f8235e56869c1ea8832d0cace65bc05bb26afab03d484fdba3fe660f2d6d57de76098fc28e44347a004ee6e34d8e008c63903776ba469c8bacTwo things worth reading out of it:
910b4be059bfb28fand321d411b20a35ef9are the twoMSNC_VS_LinearDepthSkin…hashes that @Mesrine67 mapped earlier toa descriptor neither loaded or built, which is the reason #307's follow-up addresses. They cost 554 draws/frame together, a quarter of the total.e30970f1727063fd, which the same list maps toCS_ComputeImposterTransformanda structured buffer of unknown stride- the #193 / #704 row. 196 draws/frame.So the ranking says: after #566, the largest single win left is the mesh descriptor-phi follow-up, not the shader-instruction PRs.
Picture at this point: the intro's cards render with their text, the opening cutscene (Lucia's prison scene) plays its dialogue over a black picture, and the run has since reached the first interactive prompt ("Move around" / "Move the camera", L/R). So gameplay logic and its UI reach the player; only the 3D world is missing.
@rocobalt1 on GitHub · 2026-11-24 09:29 UTC · original
Joined the two tables on the same run (the drop meter per shader, and the translator's per-hash reason), which changes one priority. Same head
2b1a569,TdrDelay=60, still in the run. By now the run had refused 187 programs and 125 of them were dropping draws.910b4be059bfb28f321d411b20a35ef9e30970f1727063fd28918b7150a7aad53b90165a77d95cdfc42a31951201f9a05279ae36796c31fc5062bc7a48e842f8235e56869c1ea8832d0cace65bc05bb26afab03d484fdba3fe660f2d6d57de76Two corrections to earlier numbers in this thread:
a scalar memory read as datais far more expensive in the title than the static census suggested. At ~91 programs in the census it looked minor; in the running title the twoMSNC_VS_LinearDepthSkin…mesh hashes alone drop 554 draws/frame with this reason, more than half the total. If that row is cheap to lift, it is the largest single win after #566, ahead of the SGPR row.a descriptor neither loaded nor built. @Mesrine67 mapped910b4be059bfb28fand321d411b20a35ef9to that reason ond2a4bae; in this tree they get past it and stop ata scalar memory read as data. That is the same shape as #566's effect on the phi reason: the reason moved rather than the program disappearing.Together with the compute rows, the arithmetic is: 554 (scalar memory, mesh) + 196 (structured stride) + 359 (SGPR, five compute) = 1 109 of the 2 093 dropped draws/frame, from 8 programs.
@rocobalt1 on GitHub · 2026-11-24 09:35 UTC · original
The run reached a steady state, so this is what the numbers say is still needed. Same session: after the cutscene and the first control prompt, the meter reported
dropped 764 without a host pipeline (0 being made)- the compile queue is empty, so every remaining drop is a permanent refusal, not a pipeline in flight. 125 programs, 2 071 draws/frame summed per shader.Mapping the expensive rows to the open work, with the state each PR is in today:
a scalar memory read as data(mesh,910b4be059bfb28f+321d411b20a35ef9)an address in an SGPR that is no root parameter(compute)a structured buffer of unknown stride(computee30970f1727063fd)barycentrics read directly(pixel2d0cace65bc05bb2)92bc27badds - so the next head should already clear ita lane mask read as data(mesh235e56869c1ea883)So the shape of the remaining work is: one closed PR (#136) holds the fix for the single most expensive row, and two open pairs (#302/#489, #193/#704) cover the next two. That is different from what the static census implied - there,
a scalar memory read as datawas a 91-program row that looked minor next to SGPR.Two things I can do from here, whichever is more useful to you:
92bc27band run it the same way, to report whether the row moves and what the next reason for those hashes is.92bc27bon this machine, since the black-frame bisect was done on other cards, and report the same counts - with the caveat that a black frame is exactly what we already see, so the test can only be "does it get worse", not "does it look right".I have no copy of the shaders outside the title and no write access to the tree; I can only run what is published.
@cdomergue on GitHub · 2026-11-24 09:36 UTC · original
@rocobalt1 Your top two rows match the shaders I tested. With the three scalar-load hunks from #136 on top of #566, the game created both mesh pipelines with its own pixel shaders and recorded
ExecuteIndirectcommands for both on my RTX 4070 SUPER. The 3D scene stayed black. Your combined 554 drops/frame make those two hashes worth an A/B on2b1a569. Test details.@rocobalt1 on GitHub · 2026-11-24 09:39 UTC · original
Offline check of #136, because it does not merge cleanly into the tester tree. Method:
maind2a4bae+ #136 (3d3ea6a),victory translate <shaders.rpf> --validate --list --jobs 8, no GPU, no title.Totals: 25 726 programs, 22 618 validated, 2 366 refused.
The family that costs the most draws in the title:
MSNC_VS_LinearDepthSkin…The 9 refusals are all
resources: a descriptor neither loaded nor built, and all 9 are from the two label variants that @Mesrine67 mapped to the hashes my run drops (_1b4b70baand_f1f2249c).Which makes the two fixes complementary rather than alternatives:
2b1a569(has #307/#566, no #136)a scalar memory read as datamain+ #136a descriptor neither loaded nor builtSo #136 gets 237 of the 246 past the scalar-memory reason, and the tree gets the remaining 9 past the descriptor reason. Neither alone finishes the family; together they should, and that is the 554 draws/frame row.
The obstacle is mechanical: #136 conflicts with the tree in
crates/victory-shader/src/emit/lower.rsandmod.rs(it touches 307 lines in those two files), so I cannot produce the combined build myself without resolving ~50 PRs' worth of translator changes by hand.Question for you: is there a head that carries #136 on top of the tree's translator work, or would you rather someone with the tree resolve it? If you can point me at any branch that has both, I will run it the same way and report whether the LinearDepthSkin hashes stop dropping.
@rocobalt1 on GitHub · 2026-11-24 09:40 UTC · original
Debug-layer run, as asked: same head
2b1a569,VICTORY_D3D12_DEBUG=1,TdrDelay=60, same package.Result: no removal and no debug-layer message. The run reached the first control prompt and stayed there for about 40 minutes at 0.4-0.5 fps; it was stopped by me at that point, so this is "no removal in 40 minutes", not "removal ruled out".
Frame at the end:
2240 draws/frame, dropped 750 without a host pipeline (0 being made), 187 refusals.One caveat on the "no message" half: Victory reads the layer's InfoQueue only when it reports a failure (
fail()invictory-gpu/src/host.rs), so with no failure there is nothing to print. The absence of a message here says the failure path was never reached, not that the layer found nothing during the run.So the 517 s removal at the same head (my earlier run, ~1 fps) did not reproduce at 0.4-0.5 fps with the layer on. Two variables moved at once (frame time and the layer), so I cannot say which of them, if either, is the reason - only that the removal is not deterministic at this head on this card.
If it is worth another 40 minutes I can repeat with the layer off and the same frame rate (by leaving the run in the cutscene the whole time), which would separate them.
@ghost on GitHub · 2026-11-24 09:44 UTC · original
@r4tedx On the same card,
92bc27bwith7ef2c41reverted (RX 9060 XT,diag, its own cache, warm):a descriptor read from the first lane of a phiat7670a8aall get past it; none translates yet. 8 now stop ata scalar memory read as data, 5 ata descriptor read from the first lane of computed VGPRs, 1 ata descriptor partly joined by control flow. At update 3 (3076d0e, no #566), 13 of the 14 still stop at the phi reason, so the row goes between updates 3 and 5.7670a8a): those 14 programs drop 233 per frame (306 before), all reasons 1,009 (1,292).AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@rocobalt1 on GitHub · 2026-11-24 09:49 UTC · original
A gameplay measurement that the earlier comments did not cover, because reaching gameplay needed two things at once: the tree's own #454 (
VICTORY_NO_WATCHDOG=1, which it already carries) and the game's own save, so the run starts past the intro.Setup:
2b1a569, diag,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1,VICTORY_NO_WATCHDOG=1,TdrDelay=60. The watchdog hooks reportapplied=2and the run does not fault. It sits in the world at 0.1-0.2 fps.Where the frame time goes:
So about 85 % of the frame is CPU-side copying, and the GPU is idle for four seconds out of four and a half.
victory-gpu's own description of the model is "only changed title memory is copied"; at 494 MB/frame that is not what is happening in the open world.Draws for context: 2 985 per frame, 78 programs dropping 2 278 draws/frame, picture still black.
Two reasons this seems worth a line here:
I can repeat this with
VICTORY_GPU_TIMING=1if the per-list split of those 3.7 s would help locate it.@rocobalt1 on GitHub · 2026-11-24 10:05 UTC · original
I built the combination suggested by the offline test:
maind2a4bae+ #136 + #307 + #566 + #454,9ad1a17/4caca23. It does fix the row, and the row was not what makes the picture black.Offline,
victory translate --validate --list --jobs 20:MSNC_VS_LinearDepthSkin…is 246 of 246 validated, 0 refused. Globally the same run shows what the combination costs: 238 programs fixed, 276 broken (204 of those newly stop ata lane mask read as data, 22 ata structured buffer of unknown stride, 19 atthe first half of an interpolation). Net -38 validated.In the title (RTX 4060 Ti, driver 32.0.16.1656, diag,
VICTORY_NO_WATCHDOG=1,VICTORY_D3D12_DRED=1,VICTORY_SHADER_LOOP_LIMIT=32,TdrDelay=60- that last one is set machine-wide on this box, not a default):2b1a569main+ #136 + #307 + #566910b4be059bfb28f(LinearDepthSkin)321d411b20a35ef9(LinearDepthSkin)ef5409053e14aa82, 194/frameSo the two hashes really do stop being dropped, the pipelines are created and execute - GPU time more than doubles because that work now actually runs - and the world is still black. A 2D card renders its text the whole time ("PROLOGUE" over white, fading), and the only thing seen in the world during three minutes was two stray green pixels for one frame.
That is the direct confirmation of @cdomergue's result: the 554 draws/frame row is not the blocker. Two consequences for me:
The run then ended on its own: DRED reports the device removed after 60 s at a 1x1x1 compute dispatch, consistently with the hang being discussed on #71 - I posted the details there rather than duplicating them here.
@cdomergue on GitHub · 2026-11-24 10:35 UTC · original
@rocobalt1 I traced the 1080p scene plane back one pass on an RTX 4070 SUPER, native Windows D3D12, Series S, game 1.0.2.1. At frame 1250 of the intro, the brightest RGB channel on that plane was 2/255 before PresentX composited the UI. The 10-bit texture read by the final pixel shader
b30b0ce52e51bc0cpeaked at 4/1023 when I read it back at present.One upstream draw uses pixel shader
5970ee6dbc47ec61. The shader translated and its host pipeline was created. With #688 applied locally, Victory recorded that draw before present 1100, then skipped it before present 1200 because table 1 needed 42 contiguous descriptor slots and the allocation failed. The scene plane peaked at 2/255 in both samples. These were different moments in the intro.Does anyone know what
5970ee6dbc47ec61expects ats1+288? At present 1250, that 960×540 texture and its 480×270 source both had a measured RGB peak of zero. Knowing whether that input should carry scene color would tell me whether to trace its writer next.@rocobalt1 on GitHub · 2026-11-24 10:49 UTC · original
Two things on the
s1+288question, one from our runs and one pointer.From our runs: the same pipeline is in our logs on an RTX 4060 Ti -
stage="pixel" hash=5970ee6dbc47ec61 user_data=3 samplers=3. So the shader has three descriptor tables and three samplers, ands1+288is descriptor slot 18 of table 1 (16 bytes each). It is an SRV in the same table whose 42 contiguous slots failed to allocate at your present 1200.The pointer: that failure is what #747 is about. On a capped view heap (2^16 dynamic slots) the world's tables starve and indirect/mesh draws are dropped; the report there says 2^18 removes the drops on the machine that measured it. So before tracing the shader's inputs, it may be worth checking whether the draw you saw skipped was skipped because of the heap size rather than because of what it reads - in which case the 960x540 and 480x270 textures measuring zero would be a consequence, not a cause.
We cannot name the shader either (the runtime logs hashes, not names for translated programs), but we can capture the binding: in a diagnostics run the descriptor tables are dumped per slot on first bind, so we can post what
s1+288points at (dimensions, format, placed or committed) for that pipeline on this card. If that is useful, say so and we will run it; it answers the same question from a second machine and a different driver.For context on the 2/255: our runs in the world show the same thing from the other side - about 800 draws execute per frame (the rest dropped), the 2D layer renders through it all, and the only thing that reached the presented target in three minutes was two stray green pixels for one frame. So the picture being "nearly black" rather than "absent" matches what we see.
@MichaelSmithAI on GitHub · 2026-11-24 10:50 UTC · original
@rocobalt1 Your list of 73 distinct shaders from the WARP world load gives us a way to measure a narrower fix. The single-commit comparison handles a vector select when the translator can prove the scalar mask is uniform. On a synthetic Wave64 guest shader, the two input cases produced 17 and 35 on an RTX 4090 without requiring a 64-lane host wave.
If you still have the same local archive, could you compare offline translation and validation on the commit’s parent
ffe310eand on007c566for those 73 hashes? The most useful counts are how many newly validate, how many reach a different refusal and how many still fail on the select. Using the parent as the baseline separates this change from the fixes since your originald2a4baerun. No new world run or shader files are needed to share the result.@rocobalt1 on GitHub · 2026-11-24 11:00 UTC · original
Ran it, on the same archive and the same machine. The change is compiled in, and the translation outcomes are identical.
Method: a clean worktree at
ffe310e,cargo build --release -p victory,victory translate <shaders.rpf> --validate --list --jobs 16, thengit checkout 007c566in the same worktree, rebuild, run again. The two binaries differ (SHA-2568BAA3025…at the parent againstBA19C6B0…with the change), so this is not a stale build.ffe310e007c566a select on an untracked maskTaking your three counts directly: 0 newly validate, 0 reach a different refusal, 288 still fail on the select. Across the whole set there is not a single program whose outcome string changes, so nothing moved from one refusal to another either.
One caveat about the 73. I cannot map those hashes to containers offline: the runtime hashes the container with blake3 and keeps the first 16 hex digits, while
translate --listprints offsets and names, not hashes. So I compared every program refused with that reason at the parent - 288 here, against 73 on the integration tree, which is a superset of your 73. If a hash-to-offset (or container) mapping is available I will rerun restricted to the exact 73; otherwise the whole-set answer is the stronger claim, and it is that this change does not reach any of them.Two possible readings, and I cannot separate them from here: either the uniform-mask case the commit handles does not occur in the title's shaders (all 288 fail on a mask the translator cannot prove uniform rather than on an untracked one), or it occurs but the programs still stop later for an unrelated reason. The second would show up as a different refusal, and there is none - which points at the first.
@DaviTostes on GitHub · 2026-11-24 11:26 UTC · original
Another ranked run, now tested with the game on a different GPU and the newer main. Real title runs (menus → intro → loading → world), release MSVC build, package 1.0.2.1,
build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93).Setup: Arch Linux, kernel 6.18.x, AMD RX 9060 XT (RDNA4, RADV 26.3.1), Wine 11.22, DXVK 3.1.1
dxgi, vkd3d-proton 3.2.0 (Proton Experimental DLLs),WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n", VIctorymainffe310e.81 unique shaders fail in the first ~2 minutes of the world (81 hashes), plus 5 pixel scalar/lane-mask/64-bit-atomic cases. Overlapping hashes with your run include
e30970f1727063fd,f6e47efa50226beb,f28a33a89eaa2caa,caa78b8ca62bc3d6,28918b7150a7aad5.A/B with #710 (
a5a40bc, which carries #302 and #489): the top reason goes to 0, total stays 82, and the next reasons take over (16x a root UAV or typed root view,15x an address not from a root parameter,9x an address from a phi,8x stride,8x 64-bit atomic). So the #1 row is real work that lands; the rest is the next wall. Details in the #710 comment.World frame at that point: 0.2–0.4 fps,
copies 1.2–2.3 s / 27–37 MB,textures 250–480 ms / 94–104 MB, GPU 35–47 ms, 157 draws/frame; then WineRtlReleaseSRWLockExclusivewarnings and device removed0x887A0005.Not tested: Windows/NVIDIA, other GPUs, longer sessions, and a build with your diag drop summary (this was a release build, so the counts above are translation events, not draws lost per frame).
@WuDiXiaoBo on GitHub · 2026-11-24 11:32 UTC · original
Offline whole-pack translate + validate on
ffe310e— the counterpart to the runtime ranking hereThis is the other half of what #293 measures. The numbers below are offline (every program in the
retail shader pack, whether or not a frame ever touches it), so they do not say which gaps cost
draws — but they are a stable, repeatable figure that does not depend on how far a run gets.
Command (154 s, no game data leaves the machine):
Environment: Windows 11 Pro build 26300, Intel i5-12400 (6C/12T), 31.8 GB, NVIDIA RTX 4060 Ti
16 GB (Ada, wave32), commit
ffe310e,cargo build --release -p victory.Headline
dxil.dllSo 99.3 % of what is emitted is valid DXIL: 162 emitted programs fail the validator (76 vertex/
pixel, 24 compute, 62 mesh). The other 3,436 never emit — they are the histogram below.
Parsing is not the limit: all 26,084 programs structure to IR (40.6 M instructions), 25,724 of
26,084 have every used resource traced (
used-resource entries 432,762: 187 not traced), and 14,040of 14,247 vertex/pixel programs have their I/O raised. Everything below is emission.
Where the 3,436 non-emitted programs stop (ranked)
A program can appear under more than one reason, so the counts do not sum to 3,436.
image_sample_d_clThe first two alone are 1,424 programs. If the point of a PR is "how many programs does it unblock",
this table is the denominator it should be measured against.
One documentation question
The README's table (
mesh 8,191 of 8,506, vertex/pixel 10,617 of 12,346, compute 1,643 of 2,539) hassmaller denominators (23,391) than the whole pack (25,322), so I read it as the world's own subset
rather than as a stale number. If that is right, would it be worth adding the whole-pack line next to
it? It is one command, it is independent of how far a run gets, and it would make "did this PR move
the coverage" answerable without a title run.
Two smaller things seen on this machine (NVIDIA, menus only)
host pipeline refused error=0x80070057 shaders=[compute e81fd01512ba1002](also88994c3496045f51,13dfdd3b1136e407), each followed bya dispatch without a host pipeline dropped. The shaders themselves translate, so this is the PSOcreation failing, not the emission. Seen on
58fed37; the full list of 7 is in my log if useful.mesh pipeline with its MS … in the AS slot – refusedin the same menu-only run.47.8 GB system limit), with
memory allocation of 1572864 bytes failedrather than a message — whichis why #561's "commit physical pages in pieces" would matter here.
I could not contribute runtime draw rankings: this machine cannot get into the world yet (it stops at
the commit limit, not at a rendering bug), so the pack-wide numbers above are what I can measure
reliably.
AI-assisted: the run, the parsing and this text were produced with DeepSeek Harness (DeepSeek-V4-Flash)
on the reporter's machine, at their request. Every number is from the run shown; the per-program list
(shader names and pack offsets) is kept local, as
docs/asset-policy.mdasks.@EduAzevedo on GitHub · 2026-11-24 12:27 UTC · original
A run of
integration/testersat92bc27bwith the title, as asked above. RTX 2070 SUPER (Turing), driver 610.88, Windows 11 26200, diag build,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_NO_WATCHDOG=1,VICTORY_D3D12_DRED=1, stock TDR, Series X, empty cache, driven by hand into the first playable section. One run, about 8 minutes, stopped by hand.no dynamic slots(this tree carries the 2^18 reserve) and no table refused.being made(about 5,800/frame); once those are made, about 1,400-1,500 draws run per frame and the largest single drop reason left is 9/frame.On @rocobalt1's question about whether the black is the heap: on this card, with zero
no dynamic slotsdrops and no failed table, the playable section is still black, so here the heap is not what makes it black. Pixel shader5970ee6dbc47ec61never binds in this run (Series X, not Series S), so I cannot say what it reads.AI-assisted.
@h0useadv on GitHub · 2026-11-24 12:36 UTC · original
Offline coverage of open shader PRs against
mainffe310eThe whole retail shader pack, plus the console DLLs' shaders, through
victory translate --validate --list(CPU only,dxil.dllfrom SDK 10.0.26100.0, no--pipelines).mainalone, thenmain+ each candidate merged on its own. Programs are matched one by one (by container and offset), so "newly failing" means a program that validates onmainand not with the PR.mainffe310e: 21,736 of 25,334 programs validate (vertex/pixel 12,167 of 14,039, compute 1,417 of 2,582, mesh 8,152 of 8,713).a descriptor read only as data394 → 7,a scalar memory read as data771 → 300a 64-bit image atomic653 → 0fix/shader-lane-mask-ballots-and-data-reads(LAKSHYA-cmd-tech, from #653)a lane mask holding lanes elsewhere read as data272 → 0,a cross-lane operation outside compute46 → 0; most then stop ata descriptor read only as data(394 → 627)ffe310ewithout conflicts; not measuredThey stack. #180 and the lane-mask branch unblock each other: each clears the other's next blocker. #180's gains and the atomics' gains don't overlap at all (0 programs in common).
main+ #180 + lane-mask branch + #305 (merge cleanly in that order)That's 99 more compute programs than #180 alone. The three-way atomics tie means the choice between #305, #539 and #705 can rest on code review alone.
Top remaining blockers with the combination:
a lane mask read as data706,a scalar memory read as data306,a select on an untracked mask296,an address in an SGPR that is no root parameter247,a lane-mask join of an untracked mask218,an interpolation with computed barycentrics207,a structured buffer of unknown stride174.Limits: offline only. "Validated" is DXIL validation, not correct output on a GPU, and runtime-only programs aren't in the pack. In a world run on an RX 9070 XT,
main+ #493 + #483 still reported 521 programs that don't translate, 445 of them compute.AI-assisted (Claude Code). Counts and VIctory's own failure reasons only; no shader names or game data.
@h0useadv on GitHub · 2026-11-24 12:54 UTC · original
Runtime follow-up to the table above, on an RX 9070 XT with a real world run.
Build:
mainffe310e+ #493 + #483 (crash fixes) + #180 + the lane-mask branch + #305 + #160 (shader fixes; #704 and #298 conflict with this stack, so they're left out). Offline, this stack validates 23,016 of 25,334 programs (main: 21,736) and 1,862 of 2,582 compute (main: 1,417), with no program that validates onmainfailing.In the world (same scripted input,
VICTORY_D3D12_DRED=1, Windows' default 2 s GPU timeout):main+ #493 + #483shader does not translateduring the runa list stopped at command 135 of 137 (op 42)So two-thirds of the runtime translation failures go away, but with all those programs now running, GPU time per frame rises roughly tenfold. The run crosses the 2 s TDR within seconds of the world starting. That fits the earlier finding (#49, #71) that world "hangs" on this card are slow GPU work, not a stuck GPU. The newly translated programs make the timeout come much sooner. Speeding up the slowest translated programs (e.g.
04b9be3756e8f41c/a26422c01dcf5612on #71) is now what stands between this stack and a stable world at the default timeout.AI-assisted (Claude Code). Counts and VIctory's own log text only; no game data.
@h0useadv on GitHub · 2026-11-24 13:10 UTC · original
Visual follow-up to the runtime comment above (same stack:
ffe310e+ #493 + #483 + #180 + lane-mask branch + #305 + #160, RX 9070 XT, default 2 s timeout). I saved every frame around world entry withVICTORY_CAPTURE_FRAMES. The world lasted 5 presented frames before the device was removed:So with these shader fixes, world rendering produces visible lit output on this card for the first time in my runs, though it's partial and flickers (1 of 5 frames). Earlier world runs here without them showed only UI over black. Text only; I'm not posting captures of the game.
AI-assisted (Claude Code).
@r4tedx on GitHub · 2026-11-24 13:43 UTC · original
@nullmarsh thank you for the bisect, and I am sorry it took hours to get an answer. The merge you landed on,
7ef2c41, is mine, and I cannot reproduce the fault: I have no AMD card here, and the NVIDIA runs of the tree do not show it. So this is what I know, what I changed, and what would settle it.What that merge adds beyond #483 itself. Three things: the guard is also applied to #307's per-lane heap index (
fetched_index, which #483 did not know); the view heap's guard slot iscount + spare(after the tree's 2^18 dynamic slots) where #483 hadcount + DYNAMIC; and a capped sampler heap's guard is its last dynamic slot. @h0useadv ran #483 merged another way ontomainffe310eon an RX 9070 XT with your driver version for 453 s without a driver fault (on #483). That points at the tree's merge more than at #483, as you suspected. I have not found the defect by reading it.What I changed (update 6,
a172d4e).INTEGRATION.mdnow opens with this problem and your workaround (git revert -m 1 7ef2c41), so nobody on AMD runs into it unwarned. There is one new switch,VICTORY_HEAP_GUARD=0: the shaders are the same, but the host passesu32::MAXas the guard, so no index is redirected.What would settle it, if you have time for one run at
a172d4ewith nothing reverted andVICTORY_HEAP_GUARD=0:fetched_index;The name of the Direct3D call in the
victory.exeframe of the stack (pipeline creation, a draw or dispatch, a descriptor copy) would say the same from the other side, with no run at all, if your dump still has it.On your run of
92bc27bwith the merge reverted: that is the first title measurement of #566 on one card across two updates, 14 programs past the phi reason and 306 to 233 drops per frame for them. #566 is merged inmainnow. None of the 14 translating yet matches the offline counts: they stop next at the scalar-memory reason, which nothing in the tree addresses.@EduAzevedo thank you too. Eight minutes on a 2070 SUPER at
92bc27bwith no removal, nono dynamic slotsdrop and no failed table, and still black in the playable section, is a clean statement that the heap is not what makes it black on that card. It agrees with what the tree's notes say it does not fix.@rocobalt1 the complete table and the debug-layer run are both useful, and your caveat is right: with no failure the layer's queue is never read, so "no message" says only that the failure path was not reached. The repeat with the layer off at the same frame rate would separate the two variables; I would not ask for another 40 minutes for it before the tree is on current
main.Update 6 also adds #587 (mesh output bounds), with tests. The tree is still based on
d2a4bae; moving it tomainffe310eis the next step.The title was not used in the tests behind this update; the measurements above are the testers'. AI-assisted.
@r4tedx on GitHub · 2026-11-24 14:04 UTC · original
@h0useadv, on #704 being left out of your stack because it conflicts: the conflict is small. #704 (now
1f3c184) merges ontoffe310e+ #180 + the lane-mask branch (49d6d98) + #305 + #160 with one conflict, in the GPU test harness (emit/host.rs). #160 adds a texture-levels arm right next to the buffer UAV arm that #704 widens, and keeping both resolves it. The translator code merges cleanly. The result istesters/293-stack-with-704atac9e7c3. It's your merge order with #160 at its current head5ce85c5, plus #704. (#160 at6ad7e15didn't compile its tests againstffe310e.5ce85c5fixes that.)Offline census, using local title data: the title's
shaders.rpfonly, without the console DLLs. Both runs usedvictory translate --validate --list, any wave size, SDKdxil.dll, CPU only, and programs were matched one by one.The compute count of your stack matches yours exactly (1,862). My total is 12 lower, probably because the DLLs' shaders aren't included. With #704, 116 more programs validate (113 compute) and 0 that validated stop validating.
a structured buffer of unknown stridegoes from 174 to 0. Some of the unblocked programs stop on a later reason instead:a lane-mask join of an untracked mask+38 anda lane mask read as data+19.Tests on the stack (RTX 5070, serial): 358 passed, 1 failed. The failure is #160's
texel_offsets_and_levels_sample_the_texels_they_name. It also fails without #704, and it passes on #160 alone, so it comes from combining #160 with #180. #160's owner is following that up. #704's own CI failure (an access violation from two GPU tests at once on WARP) is fixed in1f3c184.Two cautions for a runtime run. Validation doesn't mean correct reads: #704 makes these programs read a raw view of the same bytes, but a slot the shader reaches only through a run-time-loaded index still holds a null view (see the #704 description). And per your runtime comment, more translated compute is more GPU work per frame. On your RX 9070 XT, 113 more compute programs could bring the 2 s TDR sooner, not later. If you try it, the useful comparison is time in the world and GPU time per frame against your current stack.
The census used local title data and reports counts and refusal reasons only. The title was not run.
AI-assisted (Claude Code).
@ghost on GitHub · 2026-11-24 14:23 UTC · original
@r4tedx Update 6
a172d4e, nothing reverted,diag, RX 9060 XT (driver 32.0.32029.2010):VICTORY_HEAP_GUARD=0: same access violation atamdxc64.dll+0x861b9fas the default, one run each. It can't reach this fault: the guard is a draw-time value, and the fault is in pipeline creation.victory.exeframes arelibrary.rs:162, thecreate()closure fromhost.rs:494:host.device.CreateComputePipelineState(&desc).1c02f8131c508c75. With it never created, two more matched501f0865fdf45dfd. With all eight never created, two more matched072f5fe96efd27e1, which had also been translated with no pipeline yet at each of my7ef2c41bisect crashes.92bc27bminus7ef2c41, all three got pipelines without a fault.So the fault moves to another compute program each time one is removed.
Not checked: their DXIL with and without the guard, a single-threaded compile, or another AMD card.
AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@r4tedx on GitHub · 2026-11-24 14:23 UTC · original
@h0useadv, a follow-up to my comment above.
testers/293-stack-with-704is now at45c03c0. It adds the two-line fix for the #160 + #180 combination explained on #160. Your stack has the same plain merge, so its compute samples with a bias after a texel offset, or with a level clamp, read the wrong texels.With the fix,
cargo test -p victory-shader --features hostpasses 135 of 135 (1 ignored) on the RTX 5070, and all-feature clippy is clean. The offline census over the localshaders.rpfis unchanged: 23,120 validated, with no program gained or lost againstac9e7c3. The fix changes which texels those samples read, not what validates.The census used local title data and reports counts only. The title was not run.
AI-assisted (Claude Code).
@fiestorra on GitHub · 2026-11-24 14:26 UTC · original
Offline whole-pack census on a third machine: your histogram reproduces exactly, and here is where each reason actually sits.
Setup. My own copy of package 1.0.2.1 (build
b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93), a clean worktree atffe310e,cargo build --release -p victory, then:Windows 11, 16 logical cores, an RTX 4090 and integrated AMD graphics — irrelevant here, nothing in this run touches a GPU.
The numbers match @WuDiXiaoBo's run line for line
containers 26,503 (614 duplicates skipped),programs 26,084 translated of 26,084 (40,601,701 IR instructions),resources 25,724 of 26,084 tracked,used-resource entries 432,762: 187 not traced— all identical.validated 21,724— identical. Emitted but refused by the validator: 162, identical, and it splits aspixel 48 + vertex 28 = 76,compute 24,mesh 62, which matches your 76/24/62.One reconciliation about the 3,436. I count 3,796 programs with a stop reason, and every program line in
--listnames exactly one reason (3,796 lines, 3,796 distinctfile@offset + programpairs — I found no program under two reasons). Splitting by the step that stops them:emit:resources:So your 3,436 is the emission stops, and there are 360 more that stop earlier, during resource tracking, and are not in that histogram. If "never emit" was meant to include those, it should read 3,796.
The tail your table cut off
Your table stops at 28. Continuing down: 19
a lane-mask join of an untracked mask, 17a hardware SGPR input, 16image_gather4_l, 15a waterfall loop whose compares do not select the access's lanes, 13a constant lane mask, 13barycentrics read directly, 9an LDS write of bytes or halves, 8a conditional export, 8a descriptor partly joined by control flow, 7an LDS read of bytes or halves, 5a whole-wave section step the simulation does not follow, 4v_cvt_f32_f64, 4an LDS operation, 3a descriptor neither loaded nor built, 2s_getpc_b64, 2a cross-lane operation in a mesh shader, 1LDS the program does not allocate, 1v_permlanex16_b32. 37 reasons in total.Where the top rows concentrate (this part is new)
a 64-bit image atomic, 653 programs: 651 of them are pixel shaders, and 591 of those are one pass.PS_AlphaPrepass_*PS_PedAlphaPrepass_*PS_PedAlphaPrepass_Decals_*PS_AlphaPrepass_Fire_*PS_AlphaPrepassSpatter_*PS_AlphaPrepassSpatter_Fire_*So this is the alpha prepass. A PR for 64-bit image atomics could be checked against that pass alone instead of the whole pack. Worth pairing with the runtime side: the ranking at the top of this issue gives this reason ~18 draws/frame over 4 shaders, so its offline volume (653) and its in-game cost are far apart, which is worth knowing when choosing what to do first.
a scalar memory read as data, 771 programs: 385 mesh, 327 pixel, 32 vertex, 27 compute. 128 distinct family names are affected; the top 15 account for 430 (56%), and they are the character shading path —PS_DeferredPedTexturedNC48,PS_MirrorReflectionDeferredPedTexturedNC47,PS_DeferredPedDecalTextured32,PS_StudioPedTextured_Eight32,PS_PedTextured_Eight_Alpha32,PS_PedTextured_Eight_Decals30,MSNC_VS_MirrorReflectionPedTransformSkinD29,MSNC_VS_PedTransformSkinD29.an address in an SGPR that is no root parameter, 195 programs: all 195 are geometry shaders. Every one of them is namedGS_VoxelizeGeneric_*(GS_VoxelizeGeneric_991d528a_Wrapped,…_899ecf3f_…,…_f406ea93_…, and 192 more). Your stage table has no geometry row, and the runtime rankings in this issue attribute this reason to compute programs — in the pack, this reason is one voxelize geometry shader in 195 variants, and 196 geometry programs exist in total, of which exactly one validates. That looks like the narrowest unit of work in the whole histogram: one stage, one family, one reason, 195 programs.A reading of
emit/lower.rsthat separates two of these rowsdescriptor_data(emit/lower.rs:2929) can stop three ways, and the messages name different causes: the load is not ans_load_dword{,x2,x4,x8,x16}writing into scalar registers →a scalar memory read as data(:2936, :2944, :2998); noRole::Resourcedescriptor traces back to the load site →a descriptor read only as data(:2960); the bits read are an address or a format rather than a size →a descriptor's address or format read as data(:2930). So the second and third largest rows of the histogram (771 and 394, the latter 305 of them compute, 35PS_PuddleDetect_*) are not the same problem, and only the first one is about sizes taken from descriptor bits.Happy to re-run this on any named commit with the same worktree method @rocobalt1 used, on this build id.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-24 14:27 UTC · original
Correction to my comment above: one number was wrong. Of the 196
Gsprograms, none validates. 195 stop withresources: an address in an SGPR that is no root parameterand one furtherGsline I could not classify. My phrase "196 geometry programs, of which exactly one validates" was arithmetic (196 − 195), not a measurement.For reference, the stage split of the 21,724 validated programs — same total as @WuDiXiaoBo's — is 2,104 vertex, 10,051 pixel, 1,417 compute, 8,152 mesh, 0 geometry. Everything else in that comment stands, including the reconciliation (3,436 emission stops + 360 resource-tracking stops = 3,796) and that all 195 are
GS_VoxelizeGeneric_*.Written with an AI assistant.
@fiestorra on GitHub · 2026-11-24 14:32 UTC · original
Does the open work on the
no root parameterrow reach the 195 geometry programs? I measured it, and the answer is no.Method as @rocobalt1 used it: a clean worktree per commit,
cargo build --release -p victory,victory translate <shaders.rpf> --validate --liston my own copy of the package (buildb99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93), default--jobs, and the runs compared.Gsprogramsffe310ed2a4baea5a40bcThe head of #710 is indistinguishable from its own merge base offline. Every total matches, no reason count changes, no program moves to a different refusal, nothing newly validates. Nothing in this package exercises what the PR changes. @DaviTostes' runtime A/B on #710 says the opposite about the world, and I think both are right: the offline pack contains none of the compute cases the PR is aimed at, and the world reaches cases this pack's offline pass never visits.
The 195 are the same 195 in all three builds.
resources: an address in an SGPR that is no root parameter= 195 atd2a4bae, ata5a40bcand atffe310e; all of themGS_VoxelizeGeneric_*; and in all three, 0 of the 196Gsprograms validate. A PR aimed at that row would have to change what a geometry program's address base is, and none of the open work in that row is written against the geometry stage.A caution about reading these tables. Main against that same merge base moves 270 programs into "stopped": validated 21,971 → 21,724, validator refusals 185 → 162, emission stops 2,932 → 3,436, resource-tracking stops 594 → 360. Both runs account for exactly 25,682 programs, so this is movement and not a counting error. A program stopped at an earlier step is reported under that step's reason, so one row can grow while programs genuinely get further. Two of these tables are only comparable when the bases match — mine do, and
ffe310eagainsta5a40bcdoes not, so reading that pair as "the PR changes X" would be wrong. I get the opposite impression from what main itself has done sinced2a4bae, which is a question for whoever tracks those merges rather than a conclusion I can draw from one run.Written with an AI assistant.
@c4k3ss on GitHub · 2026-11-24 14:41 UTC · original
The 195
GS_VoxelizeGeneric_*programs: what Leonida measured about them (no game data, pointers only)@fiestorra's census above says all 195 stop at
an address in an SGPR that is no root parameter, and that no open PR is written against the geometry stage. Leonida's translator handles this family, and its docs record the contract it measured over the same 195 programs (build 1.0.2.1). In case it saves someone the reverse engineering, pinned atd0da7dadof the continuation:s8, and below the base they read a constant ats2where the other stages use odd SGPRs. d3d12_vulkan.md L1730-L1736. That alone would give this error for a tracker that expects one dword per table from the stage base.exp. Inputs: vertex i's base is the dword offset inv0low /v0high /v1low (none of the 195 readsv2-v4), and an LDS read at base + 4·(4·reg + comp) is input-signature register reg, component comp. Outputs: emitted vertex k is dwords [k·4·nreg, (k+1)·4·nreg) of the lane's output area, thens_sendmsg MSG_GSEMIT; CUT ends the strip;MSG_GS_DONEis nothing. design.md L342, L523.VS_VoxelizeGeneric_*containers that carry two programs: noexp, outputs written to LDS withds_write*, lane id fromv_mbcnt. design.md L313.gs_tri.asm(the EXEC prologue fed froms3, three LDS vertex reads, three EMITs, CUT, DONE). It assembles withllvm-mc -mcpu=gfx1030, so it can serve as a synthetic fixture here.I don't have the title, so I can't say which of the two (the 64-bit pointer at
s8, or the LDS input/output model, whichtranslate()doesn't reach yet since it selects only VS/PS/CS/MS) each of the 195 hits first. A tester could tell from one of them withvictory shader-info --verbose: does the failing load's base sit ats8/s9?I'm starting on a geometry-stage path against a synthetic fixture and will open it as a draft. If someone is already on this, say so and I'll review theirs instead. AI-assisted (Claude Code).
@r4tedx on GitHub · 2026-11-24 15:25 UTC · original
Two things from the tester tree, which is at update 8 now (
integration/testers,d45ea23, based onmainffe310esince update 7).@c4k3ss, @fiestorra: the 195 geometry programs translate in the tree
Before you start a geometry path: one exists, in the tree since today, as two commits that are not an upstream PR yet.
dcf123ctranslates uncompressed native FSSM containers (the geometry containers need it).b40c64atranslates single-stream triangle geometry programs to DXIL geometry shaders, tracing the console's copy vertex shader for what each vertex holds.Counted offline on my copy of the title's shader file (
victory translate --host-lanes 32-32 --validate --list, 25,889 programs, compared program by program against the tree without them): all 195Gsprograms that stopped atan address in an SGPR that is no root parametervalidate, and no other program changes. There is a test that draws a geometry program's output on the GPU and compares it with a reference draw; it passes here on an RTX 5070. What is not known: what these programs draw in the title, since nobody has run them there. An independent review found other stages unchanged, and two limits that are written down inINTEGRATION.md.@c4k3ss your notes on the layout are a useful cross-check for a review of it, and a review is worth more than a second implementation. PR creation is open again upstream, so this should become a PR of its own; I will say here when it is.
@nullmarsh: what the three programs are, and something to try
Thank you for naming the call and the hashes. I found the three in my copy of the shader file by the same hash the runtime uses and looked at the DXIL the tree emits for them, offline. No program content here, only shape:
waveActiveBallotcalls. That is the wave64 stack's console flow, so they only translate at all in a tree that has that stack. That would explain why #483 on plainmainruns on an RX 9070 XT: there these programs never reach the compiler.So the next tree update will carry a translation-time switch,
VICTORY_HEAP_GUARD_FORM:uminbounds the index with oneUMinin place of the compare and select (the same value), andoffemits no bound at all, as before #483. It is written and waiting for its turn in this machine's test queue; I will post the head when it is pushed. With it, two runs on a cleared shader cache would say whether the form of the guard is what AMD's compiler trips on (uminsurvives) or the guard at all in these modules (offsurvives,umindoes not).The title was not launched for any of this; the counts and the DXIL shapes come from its shader file offline. AI-assisted.
@c4k3ss on GitHub · 2026-11-24 15:46 UTC · original
Review of r4tedx/VIctory
dcf123c+b40c64a(geometry programs) against Leonida's measured contract@r4tedx, as asked: read against Leonida's design.md "Geometry shaders" / "VS as ES" rows and the user-SGPR census, from your code and synthetic data only. I have no title files, so nothing below says what the 195 draw; it says whether the model you implemented is the one Leonida measured on them.
Where the two agree (all checked in
geometry.rs)raiseseedsv0asPacked(0)andv1asPacked(2), and onlyv_lshlrev_b32 2+v_and_b32 0x3fffc(low half) or the SDWAWORD_1form (high half) becomeInput(i). That is Leonida's "vertex i sits at the dword offset in v0 lo / v0 hi / v1 lo"; its count (all 195 read onlyv0/v1, nonev2-v4) is why refusing any other address origin costs nothing.(v, index, dword)withdword = offset0/offset1ofds_read2_b32(or byte offset / 4 fords_read_b32), thenfind_input(dword / 4, dword % 4)inlower.rs: Leonida's "LDS read at base + 4·(4·reg + comp) is input-signature register reg, component comp".[k·vertex_dwords, (k+1)·vertex_dwords)of the lane's area, checked againstinvocation_dwords, withvertex_dwords × max_vertices == invocation_dwordsenforced. Leonida saw the same shape (vertex k atk·4·nreg, 20 dwords = 5 OSG1 registers, every write inside a declared mask). You go one step further by tracing the copy VS, so dword → export target is read from the console's own program rather than assumed from the signature. Good.0x22EMIT →emitStream,0x12CUT →cutStream,3GS_DONE → nothing, on stream 0 only. Same mapping as Leonida's row.GS_OP_EMIT_CUT(0x32) is refused as "a geometry stream message"; Leonida only exercises it with a synthetic program, and since all 195 raise, none of them uses it. Fine as a limit, worth one line in INTEGRATION.md.invocation_irmatches the exact encodings ofs_bfe_i32 r, s3, (8:8)/s_bfm_b64 exec, r, 0/s_cmp_eq_u32 r, 64/s_cselect_b64 exec, -1, exec, nops the two EXEC writes and requires wave64. That is the prologue Leonida'sgs_tri.asmmirrors ("fed s3 = 64 << 8") and its FSSM wave flag count (wave64 in 195 of 195).const32at s2, and could not say what they were. Your trace answers it:s[8:9](high half masked0xff) →s_load_dword +0xb8→ ring page, shifted by 8, plus the s2 wave offset, pluslane × stridefromv_mbcnt. So the old failure ("an address in an SGPR that is no root parameter") was this internal GSVS-ring table, not a root-parameter layout difference, and exempting exactly the tracedaddress_stepsfromresource::track(rather than the whole stage) is the right fix. It is also consistent with the tree's GS user-SGPR base of 8.exp,ds_write*into LDS, lane id fromv_mbcnt) stays untranslated and the vertex slot translates theexpVS payload, with DXILloadInput(..., vertexIndex)replacing the LDS handoff on the host. Same stance as Leonida, whosefssm_crosscheck.md§6 leaves open which payload the console selects. One thing to confirm from your side: in a GS pipeline, the vertex slot's container is one of the two-payload$VS_VoxelizeGeneric_*ones;translate_forpicks the firstVs-stage program (Esis filtered out), so it should be theexppayload, and its OSG1 has to match the GS ISG1 for Direct3D to link the stages. Did the 195 GS get paired with their VS in the offline count, or only validated alone?What I ran
d45ea23(a worktree),cargo test --workspace --no-fail-fast -- --test-threads=4on an RTX 5070 Ti (driver 621.24, Windows 11): 0 failures;victory-shader237 passed, 2 ignored (benchmarks). The three geometry tests and the raw-FSSM test pass, and the draw compare ran for real (dxc.exe is beside dxil.dll 10.0.26100 here).gs_tri.asminput side verbatim (thes3prologue,v0lo /v0hi /v1lo with the SDWA high-word form, threeds_read2_b32pairs per vertex), on top of the ring prologue your tracer expects (s[8:9]+0xb8,s2,v_mbcnt,v_mad_u32_u24with stride 96 = 3 vertices × 8 dwords), writing dwords 0-5 of each vertex, EMIT ×3, CUT, GS_DONE. Assembled withllvm-mc -mcpu=gfx1030. Copy VS:v_lshl_add_u32ring address,ds_read2_b32dwords 0-3 →exp pos0, dwords 4-5 →exp param0, withparam0 → row 1in the copy's output table. Record built with a sized variant of yourgeometry_part(24 / 3 / 8 dwords).raise: 9 loads = vertex i ∈ {0,1,2} × dwords 0-5; 3Emiteach withpos(target 12, four values) andparam(target 32, two values, twoNone), thenCut; 13 address steps exempt from root tracking.gs_6_6container withSV_Position+TEXCOORD0: translates, validates with dxil.dll, and a 16×16 draw compared with the dxc GS under a PS that writesTEXCOORD0into G/B is identical on the 5070 Ti and on WARP (66/256 pixels covered). That exercises the parameter-export path (target 32+→ copy output table → OSG1 row), which the tree's own test does not (pos0only).ds_read_b32with byte offsets raises the same (vertex, dword) pairs asds_read2_b32;GS_OP_EMIT_CUTis refused; Leonida'sgs_triunmodified is refused at its firstds_write2_b32(it writes at LDS address 0, Leonida's synthetic offsets, not the table ring), which is expected.Observations, none blocking
raisecaptures each ring slot's SSA value at the EMIT that consumes it; the console's copy VS reads the ring after the GS ends. A program that rewrites vertex k's slot after its EMIT therefore translates silently with the earlier value (checked with a variant:raisereturns Ok). A compiler will not emit that for a stream-ordered GS, so this is a note for the limits list, or a cheap refusal (a store belowvertex × vertex_dwordsafter an EMIT).vertex_dwords × max_vertices == invocation_dwords, PSV0MaxVertexCount == E+0x284) holding on 195 of 195 are the evidence; worth saying so in INTEGRATION.md.EMIT_CUT, no control flow in the GS body or past the copy's stream predicate, 16-bit inputs/outputs refused.geometry_vertices_match_reference_drawreturns silently whendxc.exeis not besidedxil.dll, so a run without dxc reports it as passed. Aneprintln!or a documented skip would keep "the GPU test passed" meaningful on other machines.dcf123c: fine. TheMAX_UNPACKEDbound on raw entries mirrors the packed path, and the behaviour change (an unparseable raw entry or GS slot now fails the container) is already in your notes.Net: the model in
b40c64ais the one Leonida measured on the 195, and it is stricter where it matters (traced ring address, traced copy exports, exact prologue). I would not change anything before an upstream PR beyond the limits list; the VS-pairing question above is the one I could not answer from synthetic data. AI-assisted (Claude Code).@r4tedx on GitHub · 2026-11-24 15:47 UTC · original
@nullmarsh the switch is pushed:
integration/testersis atda605bc, one commit on update 8.VICTORY_HEAP_GUARD_FORMis read when a program is translated, so each run needs a shader cache of its own (or a cleared one):VICTORY_HEAP_GUARD_FORM=umin: the index is bounded by oneUMinwith the guard, in place of the compare and select. Same value, one operation per handle.VICTORY_HEAP_GUARD_FORM=off: no bound is emitted, as before #483. The control.What I checked here: #483's GPU test (an index past the heap reads the guard slot) passes with
uminand with the default on an RTX 5070 and WARP, and an offline count over the title's shader file withuminvalidates exactly the same programs as the default (25,889 compared, none changed). Whether either form gets past your driver's compiler is the open question, and only your card can answer it.Reading the two runs:
offsurvives andumindoes not means the bound itself, in modules of that size, is what the compiler trips on; both survive means it was the compare-and-select form, andumincan become the default. Ifoffcrashes too, the guard is not the trigger and I am wrong about what that merge changes in these three programs.No need to revert
7ef2c41for these runs. AI-assisted.@r4tedx on GitHub · 2026-11-24 15:50 UTC · original
@c4k3ss thank you. That is a real review: a second fixture, the parameter-export path the tree's own test does not reach, and a run on another card.
Your question: were the 195 paired with their vertex stage? No. The offline count validates each program on its own (
victory translate --validate), so what it shows is that all 195 geometry programs translate to modulesdxil.dllaccepts. It says nothing about whether each links with the vertex container'sexppayload, that is, whether that payload's output signature matches the geometry input signature, and no pipeline was created for them. So pairing is unverified, and it is the first thing to check before an upstream PR: a pipeline per pair over the shader file, which needs no title run.What I take from the rest, for the PR and for
INTEGRATION.mdat the tree's next update:EMIT_CUT, no control flow in the body or past the copy's stream predicate, 16-bit inputs and outputs refused;geometry_vertices_match_reference_drawreturns silently withoutdxc.exe. It ran for real here too (dxc is besidedxil.dll), but it should say when it skips.The commits are the work of another session of this project, which is preparing the upstream PR; I have passed your review on in full, including your fixture as the model for a parameter-export test. I will post the PR number here.
AI-assisted.
@h0useadv on GitHub · 2026-11-24 15:57 UTC · original
@r4tedx thanks for building the corrected stack. Runtime numbers from the RX 9070 XT, as you suggested.
Build:
testers/293-stack-with-704at45c03c0+ #493 + #483 (the crash fixes from my earlier runs). #483 conflicts with #704 indescriptor/host.rs, since both reserve slots after the dynamic range. I resolved it as title slots → dynamic → #483's guard slot (count + dynamic) → #704's alias slots (alias_base = count + extra + guard), with every heap size countingguard + aliases. Offline it validates 23,132 programs, compute 1,975, matching your 1,975 exactly. My total is 12 higher because the console DLLs' shaders are included.Runtime, default loop limit and 2 s TDR, same scripted input:
does not translateduring the runDEVICE_HUNGinmesh 4 [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]So on this card #704 neither helps nor hurts the TDR. The extra compute programs didn't make it come sooner, but the run ends where it always does: the pixel program
1af4a50c7fb40c97, whose loops run toLOOP_LIMIT(see #71). Until that loop terminates as on the console, every stack on RDNA4 hits the TDR within seconds of the world at default settings.AI-assisted (Claude Code). Counts and VIctory's own log text only; no game data.
@r4tedx on GitHub · 2026-11-24 16:07 UTC · original
@h0useadv, thanks for running it. Your offline compute count matching (1,975) and the runtime A/B together settle #704's part on RDNA4: it doesn't move the TDR either way. The run ends on the same mesh 4 / pixel
1af4a50c7fb40c97draw with and without it, so that pixel program's loop is what blocks the world on this card, as you say.Your
descriptor/host.rsresolution with #483 (title slots, then dynamic, then #483's guard slot, then #704's alias pool, with every heap size counting both) keeps #483's guard slot right after the dynamic slots (count + extra), where #483 places it, and puts #704's pool after it. That ordering looks right to me from the two PRs' code; I haven't built that combination here.AI-assisted (Claude Code).
@r4tedx on GitHub · 2026-11-24 16:17 UTC · original
Tester tree, update 9:
integration/testersis at94e0ea5. It adds #704 on #193 (buffers of unknown stride), #489 (root arguments from the spill table), #294 (root UAVs, here as bounded one-view tables) and #346 (indirect rectangle draws), onmainffe310e.Offline, on my copy of the title's shader file (
victory translate --host-lanes 32-32 --validate --list, 25,889 programs, compared program by program with update 8): 205 more programs validate and none is lost, 24,933 in all.a structured buffer of unknown stridegoes from 180 programs to 0. Of the 60 programs with "Cull" in their name, 60 validate where 30 did: the 30InstanceCullingcompute programs were all stopped at unknown stride. Tests here: 525 passed, 0 failed (one run, RTX 5070).Not known: what those programs do when they run. Nobody has run this head in the title. One tester's own port of #704 onto the tree at update 5 had four of the culling programs running and hung after 111 s on a compute dispatch, where the tree without #704 held 600 to 900 s on other cards (on #704). That was one run of another integration, taken before a guard this update has (a buffer view of no elements is no longer made; that case removed the device with
0x887A0001in another tester's run), so it is a direction to check, not a known fault.INTEGRATION.mdopens with it, with what to compare (da605bc, the head before) and what to try (VICTORY_SKIP_PIPELINESwith the newly translated compute hashes) if a run gets shorter.So the useful report from a run of this head is: how long it holds against your run of an earlier head, whether the culling programs show as translated in the log, and whether the scene changes.
@nullmarsh nothing here changes what I asked of you: the
VICTORY_HEAP_GUARD_FORMswitch is in this head as well.The title was not launched; the counts come from its shader file offline. AI-assisted.
@ghost on GitHub · 2026-11-24 16:20 UTC · original
@r4tedx Partial result for
VICTORY_HEAP_GUARD_FORMonda605bc. The default form hasn't run at this head yet, so this can't be read against your table yet. RX 9060 XT, diag build, own empty shader cache per arm, 420 s, 1 run each:1c02f8131c508c75501f0865fdf45dfd072f5fe96efd27e1uminoff(Seconds from launch; the world, first frame with ≥1,000 draws, came at 73/68 s.) So with
umin, all threeCreateComputePipelineStatecalls returned on this card. Theoffarm only reached1c02f8131c508c75, the program that faulted first at update 6.Running next: the default form (fresh cache) and
offagain, each until all three are created or it crashes.AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@ghost on GitHub · 2026-11-24 16:33 UTC · original
@r4tedx The other two arms on
da605bc, same setup (RX 9060 XT, diag build, own empty shader cache per arm, 1 run each). Seconds from launch until each pipeline was created:1c02f8131c508c75501f0865fdf45dfd072f5fe96efd27e1amdxc64.dll+0x861b9f(read 0x8), underD3D12Corefrom victory.exeoff(2nd run)umin(earlier)At the crash, six compute programs had translated without a pipeline yet,
072f5fe96efd27e1among them, so I can't name the one. Creation took 23-29 s after translation for these three in the other arms. Seconds aren't comparable across arms (other CPU work ran during some).So on this card the crash reproduces at this head with the default form, at the same driver address as on updates 3-6, and doesn't with
uminoroff. By your reading that points at the compare-and-select form. One run per arm; the firstoffrun never finished translating two of them, so it doesn't count.Correction to my earlier post: after my 420 s stop, the
uminprocess was still alive and logged a device hang (0x887A0006) 80 s later, on a mesh draw with pixelb37565055f2f7d3b. A different fault from pipeline creation.AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@ghost on GitHub · 2026-11-24 16:47 UTC · original
@r4tedx Update 9 (
94e0ea5) on the RX 9060 XT, diag build, empty shader cache,VICTORY_HEAP_GUARD_FORM=umin(the default form crashes the driver here, see above), 1 run, against myuminrun ofda605bc:da605bc94e0ea50x100000007atvictory-image+0x108557); no device removal loggedCulling / unknown stride, by hash: the 22 programs refused for unknown stride at
da605bcwere all bound again at94e0ea5; 21 translated and 20 got host pipelines.Hold time: frames stopped ~75 s before the earlier head's stop, but n=1 and the caps differ; I'm rerunning both heads with the same 900 s cap.
Scene: this run's last saved frames are loading-screen art. The
da605bcrun had, in the title's own output, a dark night sky with thin object outlines, so nothing better yet; the reruns will say more.AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@ChruutvoLuzi on GitHub · 2026-11-24 16:50 UTC · original · edited 2026-11-24 16:59 UTC
@r4tedx a first run of update 9 with the title, on NVIDIA.
Machine and tree: RTX 4090, driver 621.01, Windows 11 26200, own copy of 1.0.2.1.
integration/testersat94e0ea5, unchanged, diagnostics build, cold shader cache (new build).Settings:
VICTORY_PRESENT_1440P=1,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_NO_WATCHDOG=1,VICTORY_D3D12_DRED=1.VICTORY_SKIP_PIPELINES=eeed82b877b44b5f(CS_ComputeHitDetectionSkinnedResults). Onmainffe310e+ #493 it removed the device 6 s after its first bind in 1 of 3 runs, so I left it out to keep this run long.VICTORY_HEAP_GUARD,VICTORY_ROOT_SRV_*andVICTORY_SKIP_WAVE64at their defaults.Result: in the world about 80 s after launch, then 26 minutes there with no device removal. It was still running when I wrote this.
The four instance-culling programs from "What update 9 changes at run time" (
17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5) each translated, got a host pipeline and were first bound at frame 1058. The run went on for 26 minutes after that with no removal, so on this card they don't bring back the hang after 111 s that the notes mention.Geometry: yes. With the fallback, the window shows groups of pedestrians, poles and power lines, a few boxes and part of a vehicle in false colour, over per-pixel noise. Large parts of the frame are noise or black.
Drops, averaged over the 165 frames after the last pipeline was made: 448 draws and dispatches per frame dropped without a host pipeline (0 being made), and 540 indirect. Draws averaged 2,399 per frame. The last per-program summary (40 programs, 867 per frame) by reason:
The largest single drop is
ef5409053e14aa82(MS_VS_PedTransformPreSkinD, lane mask read as data) at 200 per frame, with its packed form235e56869c1ea883at 53.No
nvgpucomp64.dllexception, noE_OUTOFMEMORYand no pipeline refused by the driver.Speed: 6.4 s per frame on average (0.2 fps), with DRED on. The largest part was the write-watch checks of title memory: 1,889
GetWriteWatchcalls over 11.9 GB per frame, 2.3 s.Edit: that cost is DRED's, not this tree's. A second run of the same build with
VICTORY_D3D12_DREDunset (same other settings, warm cache) made 2,647 calls over 17.7 GB per frame in 74 ms, and ran at 1.2 to 1.4 s per frame (0.7 to 0.8 fps) with about 4,700 draws. Its copies took about 635 ms and the copy-back about 185 ms per frame. No device removal in its first 6 minutes in the world. With DRED on,main+ #493 spent 0.32 to 0.34 s on about 1,270 calls (numbers on #776), so DRED's cost per call is larger on this tree, which makes more draws. An earlier version of this comment called it a regression in the tree.AI-assisted (Claude Code).
@ghost on GitHub · 2026-11-24 17:08 UTC · original
@r4tedx Two more runs per head on the RX 9060 XT, both
umin(r1 cold cache,da605bcr1 capped at 420 s; r2 warm cache, 900 s cap; other CPU work ran during r2). Counted in presented frames, since frame time varies a lot between runs:da605bcda605bcvictory-image+0x5149aec94e0ea5+0x108557(read0x100000007), after 47 s of a silent log94e0ea5+0x107d10(read0x7ffaffffffff), right after a compute pipeline was madeThe new thing is the fault: update 9's two runs end in title code within 0x850 bytes of each other, and neither update 8 run did. n=2 per head.
At
94e0ea5, 49 compute programs got host pipelines that were refused atda605bc(the four instance-culling programs,e30970f1727063fd, and the root-UAV programs3b90165a77d95cdf,4ddd6f9702fab2a7,14394a322f6dd5c2,f94e5d8bf4e1cf05,5c09eb42b7a3c362among them). Following INTEGRATION.md, I'm running94e0ea5next with all 49 inVICTORY_SKIP_PIPELINES, judging by whether that fault comes back.AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@rafaconvaitis on GitHub · 2026-11-24 17:00 UTC · original · edited 2026-11-24 17:08 UTC
@r4tedx I checked the geometry linkage question from your earlier comment on
integration/testersat94e0ea5, using an RTX 4070 (Windows 11 build 26300, driver32.0.16.1664) and inbox WARP. I read the shader archive as data and used DXIL validator1.8.2502.8before creating D3D12 PSOs. The title never ran.I grouped the records by their shared label suffix, deduplicated the translated shaders and binding metadata within each group, and tested the combinations within each group. Both backends gave the same counts.
The RTX 4070 debug layer flagged actual linkage mismatches among these candidates. They include a GS-to-PS TEXCOORD register mismatch, a TEXCOORD input missing from the GS output, and a TEXCOORD input missing from the standalone VS output. Module validation alone did not expose those linkage failures.
All 195 matching vertex records contain both a native ES and a standalone VS. The ES path on this branch rejected I/O raising for all 195, so the table uses the standalone VS. Label groups are candidates. The archive reader does not establish exactly which tuples the title requested, so the 46 refused combinations should not be counted as runtime failures.
For the next pass, do you have any
host pipelineorhost pipeline refusedlines containing a geometry stage on this head? The three stage hashes and HRESULT, with any local paths omitted, are enough to select exact tuples for a follow-up. That would also give us a concrete comparison with the ES-aware path in #877.AI-assisted test harness and reporting.
Follow-up on the same candidates
I added replay keyed by the runtime's 16-hex-digit BLAKE3 prefix. All 243 distinct stage hashes for the 463 candidates resolve in the archive. The WARP replay reproduced 417 created and 46 refused on
94e0ea5.On
828f825from #877, I replayed the same hashes twice on WARP, changing only the source stage selected from each vertex container (VS or ES). The per-tuple outcome and linkage diagnostics were identical in both arms. Each created 385 PSOs, refused the same 46 at linkage, and could not try the remaining 32 because their pixel shaders did not translate on that revision. Switching to ES by itself therefore did not change this candidate matrix. The tuples observed in an actual title run are still the way to determine which of these errors matter.@crashbashash on GitHub · 2026-11-24 17:27 UTC · original
@r4tedx re update 9, two small things about 64-bit image atomics:
78dae83, rebased ontoffe310eby tarcisioads at 11:18) setsATOMIC_INT64_ON_HEAP_RESOURCE, so that note looks stale. #539 sets the equivalent flag too.mainffe310eon its own (resource::tracktakes a fourth argument now), so whoever picks one formainhas #305/#539 as the ones that build there.On the shaders the title created in one run (19,105, RX 6800 XT, validated with
dxil.dllfrom DXC 1.9.2609), #305 and #539 recover the same 393 programs (391 PS, 2 CS), with 0 lost. That matches WALID1618Y's and adamdotpy's head-to-head on #539, and h0useadv's whole-pack count on #305. Nothing to change in your tree: at94e0ea5, 476 of the 478 programs that hit the 64-bit atomic refusal onmainvalidate; the other 2 stop at "a cross-lane operation outside compute".No game data attached. AI-assisted (Claude Code).
@ChruutvoLuzi on GitHub · 2026-11-24 17:41 UTC · original
@r4tedx a follow-up to my update 9 report above: the 26 minutes without a removal weren't typical. Six runs of update 9 on the same RTX 4090, all with
VICTORY_PRESENT_1440P=1,VICTORY_SHADER_LOOP_LIMIT=32andVICTORY_NO_WATCHDOG=1. Four have #1267 merged; two of those also have a local change to which 2560x1440 target the fallback presents, which only touches presentation in diagnostics builds (#841).eeed82b877b44b5fskippedAll three removals report
0x887A0005. None has breadcrumbs: two ran without DRED, and in the DRED run the breadcrumb list came back empty. In that run the last submission was a single list of 47 commands ending in an indirect dispatch ofcabb87599722e59a(ptfx_CS_lightAtlas_NonLocalLights_Sprite). That program ran in every run, so it is only the last thing recorded, not a cause.eeed82b877b44b5fwas never bound in the two unskipped runs before the removal, so they don't show whether #704's raw views already fix it on this tree. In the skipped runs it was first bound at frames 1111 to 1196.AI-assisted (Claude Code).
@SkillIssueXO on GitHub · 2026-11-24 17:46 UTC · original
@r4tedx Series S result for
integration/testersupdate 9 (94e0ea5) on a desktop RTX 5070 Ti 16 GB (621.24), Windows 11 26300.9974, Ryzen 7 9850X3D, 32 GB RAM, title 1.0.2.1. Native D3D12 diagnostics build, loop cap 32, DRED and the PresentX fallback off.DXGI_ERROR_DEVICE_HUNG(0x887A0006) at ~151 s, after a 4.88 s submission of one compute list. Its shader set contains all four culling hashes listed inINTEGRATION.md. About 14 GiB of Windows commit was still available.The comparison also changes cache state and the capture schedule. The failed submission identifies the compute list that stalled. The specific dispatch remains unknown.
For #841, frame 1210 of the skip run shows a dialogue subtitle over black. All seven dumped RGB float targets at 1280×720 or 1920×1080 (DXGI formats 10 and 26) have a raw RGB range of 0.0 to 0.0. Two 1280×720 format-62 targets contain nonzero IDs. In the final half-size capture, 0.16% of pixels exceed RGB level 8, with the visible bright pixels in the subtitle area.
On the cold run the host created PSOs for
bad01f53f53248e5,d3e5b737ea7cc150and8dd8d739047fe557.11eeb27c2d15980dwas refused witha descriptor’s address or format read as data. Pass outputs were independently sampled only as described above.AI-assisted (Codex and Claude). Measurements and hashes only.
@crashbashash on GitHub · 2026-11-24 18:08 UTC · original
@r4tedx update 9 (
94e0ea5) againstda605bcin the title, on AMD under Linux (RADV), to sit next to nullmarsh's RX 9060 XT runs on Windows.Setup: RX 6800 XT (RDNA2, RADV / Mesa 26.2.6), CachyOS, GE-Proton11-14 (vkd3d-proton
cae8353ed), diagnostics builds of both heads unmodified (default heap guard), Series X, 1.0.2.1, own shader cache per head,VICTORY_NO_WATCHDOG=1, no loop cap. One run ofda605bc, two of94e0ea5(cold and warm cache).94e0ea5cold94e0ea5warmda605bccoldamdxc64.dllproblem doesn't apply.VICTORY_STACKS, the dump during the warm run's stop has every VIctory thread waiting (copy, pipeline and DirectStorage workers). Four title worker threads are executing at+0x50eb826/+0x50eb83d(via+0x31962and+0x25d801b), two at the same instruction in dumps a minute apart. The code there is an open-addressing hash-table probe, consistent with a lookup that doesn't terminate. Possibly the same corruption that faults in title code on Windows, but I haven't shown that.da605bcrun 2 ended at+0x5149aec. I hit the same title assert on #844's branch earlier on this machine: a pool accessor whose storage pointer is null (#844).da605bc, frame captures show the opening going on to the HUD with a rendered minimap and the opening credits. The94e0ea5runs reached the dialogue but stopped before that.One run per configuration here as well, so it's a direction: on this machine update 9 runs much more of the scene (about 3× the draws, 3–4× the copy volume), and then stops presenting frames, while update 8 kept going.
No game data attached. AI-assisted (Claude Code).
@notquiteog on GitHub · 2026-11-24 18:36 UTC · original
@r4tedx update 9 (
94e0ea5) on a desktop RTX 5060 Ti (8 GB, driver 32.0.16.2114), Windows 11 26100, i5-13600K, 32 GB, own copy of 1.0.2.1, Series X. Diagnostics build,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1, default TDR, default heap guard, no other GPU work. Scripted Enter presses only.The two removals stop in different dispatches, both from the #638/#704 producer list (the seven elamriz and neonbyte1 name on #704), and skipping the first one moves the hang to the second.
DEVICE_HUNG,slow host submission ms=4889 lists=1,nvlddmkm153 ×2VICTORY_SKIP_PIPELINES=42f717f1b4d18e94DEVICE_HUNG,slow host submission ms=5186 lists=1,nvlddmkm153 ×2DRED for each (the only incomplete list in the breadcrumbs):
Both dispatches have the same root layout:
u4from heap slot ~327,700 withShader(…, [0, 1, 5768, 0, 0, 0, 1024, 64, …])over title0xdba561ab0+0x10000,u6=0,u9=0xe423f. In A,42f717f1b4d18e94's tables include an SRV of 182,452,224 elements at0x3f740000and a UAV over(1064566784, 182452224).In B the skip took effect (
dropped 1.0/frame without a host pipeline: skipped shader 42f717f1b4d18e94, and that hash is absent from B's DRED block).1c4b3c0547e3e6fawas also bound in A, so it ran there for ~130 s without being the one that stopped.This matches the 111 s hang likecrank-dotcom reported on #704 on the same card model, whose DRED trace also began at
42f717f1b4d18e94/fdd56d97a806bcca. On this card it looks like a hang in the #704 producers that only shows on long-enough runs, one dispatch at a time, not one bad program. SkillIssueXO's 5070 Ti run (4.88 s single compute list) fits the same shape; their skip list (the fourINTEGRATION.mdnames) doesn't contain42f717f1b4d18e94or1c4b3c0547e3e6fa. A run skipping both is the obvious next step; I haven't done it yet.Side note for anyone A/B-ing update 9: reusing a cache/data directory from an older head made my first update 9 run look like a 1 fps menu regression. With fresh directories,
92bc27b,da605bc,94e0ea5and94e0ea5+VICTORY_HEAP_GUARD=0all ran the menus at 30 fps (3 min each). So that was my setup, not update 9.One run per configuration. AI-assisted (Claude Code); all runs on my machine, no game data shared.
@r4tedx on GitHub · 2026-11-24 18:38 UTC · original
Thank you all. I was away from this for two hours and came back to nine reports; here is what I take from them together, and what changes in the tree because of them.
1. The AMD driver crash: the form of the guard, as @nullmarsh's three arms show
Default form: crash at
amdxc64.dll+0x861b9fin pipeline creation.uminandoff: all three programs get pipelines, no crash. One run per arm, same card, same head. That is enough for me to change the default: the next update makesuminthe default form (VICTORY_HEAP_GUARD_FORM=selectbrings the old one back). It is the same value with one operation, it passes #483's GPU test here and validates the same programs. Until that update, AMD testers on Windows should setVICTORY_HEAP_GUARD_FORM=uminwith a fresh shader cache.2. Update 9 shortens runs. I treat that as a regression in the tree, in two different shapes
On AMD the title itself stops. @nullmarsh (RX 9060 XT, Windows): two runs of
94e0ea5end in an access violation in title code within 0x850 bytes of each other, and neither run ofda605bcdid. @crashbashash (RX 6800 XT, Linux): update 9 draws about three times as much and then stops presenting, with title threads in a hash-table probe that does not end, where update 8 kept going. Title code reading a bad pointer and a title lookup that never ends both look like title memory that changed under the title. What update 9 adds that writes to title memory is the copy-back of what newly running compute programs write: #294's root UAVs and the unordered views of #704's programs. I have not shown that this is the cause. @nullmarsh's run with the 49 newly created compute pipelines skipped is exactly the right test; if the fault goes with them, the next step is to split the 49 into the root-UAV programs and the rest.On NVIDIA 50-series cards the device hangs in the instance-culling dispatches. @notquiteog (RTX 5060 Ti):
DEVICE_HUNGafter about 130 s atdispatch 182x1x1of42f717f1b4d18e94; with that one skipped, about 590 s, then the same atdispatch 201x1x1of1c4b3c0547e3e6fa. @SkillIssueXO (RTX 5070 Ti): hung at about 151 s after a 4.88 s compute list; with four culling hashes skipped, no removal in 250 s. likecrank-dotcom's 111 s on #704 began at the same two hashes. @ChruutvoLuzi's RTX 4090 ran 26 minutes with those programs bound, then 10.6 minutes in another run. Two readings fit, and they need different fixes: the dispatch never ends (a loop limit read from data that is wrong), or it ends but takes longer than the 2 s the driver allows on these cards and not on a 4090. Both submissions that hung took about 5 s. A run that would separate them: the same build with the timeout raised (TdrDelay, as @rocobalt1's machine has it at 60), no skip. If it then holds and those dispatches show as slow submissions of a few seconds, they are slow, not endless. From reading the two programs, another session here found only counted loops, bounded by values read from a constant buffer, so a wrong or stale constant buffer is the suspect for either reading.What to use meanwhile. For the longest run,
da605bc(update 8, withuminon AMD). For update 9 or 10 on a 50-series card,VICTORY_SKIP_PIPELINES=42f717f1b4d18e94,1c4b3c0547e3e6fa,17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5.INTEGRATION.mdwill open with both shapes at the next update.3. Smaller points
a lane mask read as dataat 408 per frame is the largest row, led by one ped mesh program, and it is whatmain's stricter rule since update 7 costs (see "What update 7 costs"). It is the next thing I want back, soundly.host pipelinelines with a geometry stage to give you: nobody here has run this in the title, so the tuples the title asks for have to come from a tester's log. Anyone running update 8 or later:host pipelineandhost pipeline refusedlines that name three stages are what would settle it. The geometry work is now upstream as #1315.11eeb27c2d15980d(the tiled-lighting prescalarize program) refused witha descriptor's address or format read as datais fixed in the update being tested now.Update 10 (
4744af9, groups of several console waves) is pushed. Update 11 is in test here: #645, #1020 (the tiled-lighting rectangle draws), the scalar-buffer descriptors and the#1498mask fix. Neither changes the two regressions above, so the advice in section 2 holds for them too.The title was not run for any of this. AI-assisted.
@notquiteog on GitHub · 2026-11-24 18:45 UTC · original
Follow-up to my comment above (same RTX 5060 Ti, same
94e0ea5diag build, same settings and the same copied cache as run B).182x1x1 [compute 42f717f1b4d18e94]42f717f1b4d18e94201x1x1 [compute 1c4b3c0547e3e6fa]42f717f1b4d18e94,1c4b3c0547e3e6fa979x1x1 [compute 9209777e8face9dd]C ended the same way:
DEVICE_HUNG,slow host submission ms=4846 lists=1,nvlddmkm153 ×2.Both skips took effect (
skipped shader …in the log, and neither hash is in C's DRED block).So the hang moves to a third of the seven #638/#704 producers. Skipping programs one at a time doesn't make it go away; B's longer run looks like variance. What A, B and C share:
u4over heap slot ~327,680 with[0, 1, 5768, 0, 0, 0, 1024, 64, …]on title0xdba561ab0+0x10000,u6=0,u9=0xe423f;fdd56d97a806bcca, whose tables carry the 182,452,224-element SRV and the UAV over that range.That points at something the producer family has in common, such as the shared buffer they read and write or the run-time-indexed views r4tedx mentioned on #704, rather than one program's code. I haven't tried skipping all seven at once.
@crashbashash on GitHub · 2026-11-24 19:04 UTC · original
@r4tedx the split from your summary, on the same RX 6800 XT (Linux, RADV), same
94e0ea5diagnostics build and settings as my runs above, cold cache. Skipped only the 11 compute programs thatda605bcrefused with "an address in an SGPR that is no root parameter", which includes the five nullmarsh named:14394a322f6dd5c2,3b90165a77d95cdf,4ddd6f9702fab2a7,5c09eb42b7a3c362,5e19e7c728d956df,bb55c842c391589f,c42a31951201f9a0,e63d22c4def9ba6a,e95858837a9aa22d,f6eb6498409ca974,f94e5d8bf4e1cf05.94e0ea5cold94e0ea5warm94e0ea5cold, 11 skippedda605bccoldda605bc, while keeping update 9's draw counts. Your four culling programs and the rest of update 9's new compute ran.3b90165a77d95cdfup to 1,311 dispatches per frame,4ddd6f9702fab2a7up to 256).5c09eb42b7a3c362andf94e5d8bf4e1cf05were bound but never dispatched, so this run says nothing about those two.da605bc: the HUD's minimap panel was empty in this run (no roads drawn), whereda605bcdrew them. One frame each, so it may just be streaming; noting it in case one of the skipped programs feeds the minimap.No game data attached. AI-assisted (Claude Code).
@r4tedx on GitHub · 2026-11-24 19:07 UTC · original
@crashbashash thank you, that is the split I hoped for, and it points the same way as the code does.
What the run says: with only the 11 root-UAV compute programs left out, update 9 keeps its draw counts and goes on presenting, as
da605bcdoes. One run, as you say.What was found in the code meanwhile, by reading, not yet by a test. I had guessed the copy-back wrote stale bytes over title memory. In detail that was wrong: it does compare, and takes only bytes the shader changed. But it then writes back the whole piece around them, up to 64 KiB at a time: it reads the title's bytes, merges the shader's bytes in, and writes the piece back if anything changed. Any byte in that piece that a title thread writes between the read and the write is put back to its older value. One shader-written byte exposes its neighbours, on every submission. That is the same on upstream
main; update 9 only raised the volume, because root-UAV programs like3b90165a77d95cdf, at over a thousand dispatches a frame in your run, each bring a range that is written back. A lookup that stops ending and title code reading a half-old pointer are what a lost update looks like.The fix in progress writes back only the runs of bytes the shader changed, never the bytes around them, with a unit test that the runs cover exactly the changed bytes. It goes into the tree's next update and should go upstream on its own, since
mainhas the same code. It will not remove the race for a byte that both the shader and the title write; the console has that one too.No need to split the 9 further on my account. The run that will matter is the same A/B on the head that has the fix; I will post it here.
On the empty minimap panel: noted, and plausible that one of the 11 feeds it. With the fix in, none of them needs skipping, so I would look at it again then.
AI-assisted.
@c4k3ss on GitHub · 2026-11-24 19:05 UTC · original · edited 2026-11-24 19:07 UTC
@andrewpozdnakov7-jpg, on reflection you already wrote and tested this fix (#293), so it's yours: I'm not opening a PR for it. If upstream PR creation works for you, I'm happy to review it when you open it. AI-assisted (Claude Code).
@crashbashash on GitHub · 2026-11-24 19:10 UTC · original
@r4tedx thanks. A correction to my reports, after reading #774.
The stop I saw on
94e0ea5is very likely #774's stall: my threads were in the same lookup (+0x31962returns from a call to+0x50eb750). @Mumogg showed with a debugger why it doesn't end: the key isn't in the table because the slot's word changed after the insert, and that lookup has no exit for an absent key. So my "never finds an empty slot" was wrong. #774 also happens onmain-based stacks without update 9 (Mumogg: 3 of 5 runs at 250–420 s; oeirughrepuiohg: 1 of 8 world loads on #844), so my two stops against one clean run per arm don't separate update 9 from #774 on their own.No game data attached. AI-assisted (Claude Code).
@eazyves on GitHub · 2026-11-24 19:39 UTC · original
@r4tedx a small test fix for
integration/testers(4744af9):indirect_rectangles_reach_the_targetfails its debug-layer run here. The normal pixel run passes.Setup: RX 9070 XT, driver 32.0.32029.2010, Windows 11 26200, D3D12 debug layer installed.
(and the same for the sampler heap)
Cause: the test starts from
State::default()and never sets heaps, sobindindraw.rsfindshost_heaps == heapsand skipsSetDescriptorHeaps. The root signature has both directly-indexed flags. This looks like a gap in the test only; I have not seen it on a title path.Fix I tried, in
Scene::render, beforeOMSetRenderTargets:Unpatched it fails every time (1 run on
4744af9, several on94e0ea5). With the fix, 2 of 2 runs pass on4744af9, with "debug layer run: no errors". Without the debug layer installed, that part is skipped and the test still passes, so it is easy to miss.Synthetic test only, no game data. AI-assisted (Claude Code).
@eazyves on GitHub · 2026-11-24 20:48 UTC · original
@r4tedx a narrower result on the AMD compiler crash with the
selectguard form (RX 9070 XT, driver 32.0.32029.2010,94e0ea5, offline, title not run). Follow-up to #71.One handle is enough. With a local switch that uses
selectfor chosen handles anduminfor the rest:7b956e1f6d56609f: each of its 245 handles alone onselect: only one (number 158 in emission order) crashes. 3 of 3 repeats.072f5fe96efd27e1: bisected to one (number 165), 3 of 3 repeats. I did not test its other handles one by one.So in these two programs the crash does not need a
selecton many handles, whichINTEGRATION.mdgives as the suspicion; oneselectis enough in a large module.The form of the select does not matter. At that handle,
index < guard,index >= guardwith the arms swapped,guard > index, a constant bound, andindex < guard ? index : 0crash, 2 of 2 each, in both programs.umindoes not.What the two sites share: a resource-heap handle whose index comes from a user-data dword, used as a raw buffer with a size query, at the start of a block after many phis. I have not shown which of these matters; many other handles with a size query in the same program do not crash.
Not reproduced: 8 small synthetic HLSL compute shaders with a
selectindex (DXC-O3and-Od, up to 24 loops) all get pipelines, as do 8 controls withmin. So no self-contained case for AMD yet.For me this supports
uminas the default. AI-assisted (Claude Code). No game data, no shader listings.@Marvisak on GitHub · 2026-11-25 01:47 UTC · original · edited 2026-11-26 00:50 UTC
Automated triage for the maintainers.
This is a coordination thread: a ranking of untranslated shaders by draws lost per frame, followed by measurements of open PRs and of community integration trees. It stays open as a discussion. The individual refusal reasons are handled in their own PRs and issues; the rectangle-list drops it mentions are #255, which
mainnow handles (683ad7a).The old integration tree (
4744af9) is frozen on its pre-940d32fbase. The tester branch on currentmain(integration/testers-main) combines open PRs; theINTEGRATION.mdat its root lists what each head contains. The PRs it carries are where each change is reviewed, and a result that concerns one PR belongs on that PR. Of those named before, #158 (depth bounds) is now merged (842b0cb); #159, #2111, #1883, #2027 and #1315 are still open. Run reports from the tester branch should name the head they ran, since it differs frommain.New since the last triage (Anzymanz):
mainf3578e3, an offline pass over the title's pack refuses only 25 vertex/pixel/compute/mesh programs (13 untracked lane-mask joins, 5v_cvt_f32_f64, 4 lane masks read as data, and one each ofv_permlanex16_b32, barycentrics and a descriptor read as data), so the ranking at the top of this thread is largely out of date formain(63bcca4).Lower::live_edges; open PR #2864 addresses it.Some comments quote the title's internal shader program names. Material from the game must not be posted here; shader hashes and refusal reasons are enough to identify programs.
Generated by Claude Code
@r4tedx on GitHub · 2026-11-25 04:19 UTC · original
@eazyves thanks, both reports hold as far as I can check them here.
indirect_rectangles_reach_the_target. Confirmed by reading4744af9; I have no debug layer installed, so I did not reproduce the message itself.bindindraw.rscallsSetDescriptorHeapsonly whenhost_heaps != heaps, the test starts fromState::default()where both are zero, and the root signature has both directly-indexed flags. A gap in the test, as you say.The
selectguard on AMD. Oneselectat one handle being enough, whatever the form of the comparison, replaces my "many handles" guess inINTEGRATION.md.uminshould be the default form; on4744af9that isVICTORY_HEAP_GUARD_FORM=uminwith a fresh shader cache.mainat940d32fhas no heap guard (I searched for it), so this crash is the tree's.No further updates on this base.
mainmoved 319 commits pastffe310e, the base ofintegration/testers, and now has its own form of much of what the tree collected: rectangle lists through a geometry shader (683ad7a), a stride table for buffers of unknown stride (0b35b7f), writable twins for depth textures (13bbd6f), copy-backs limited to the pages shaders mark (cd94d35,940d32f). So4744af9stays as it is, as the last update on the old base, and neither fix above goes onto it. Whatmainstill lacks goes to pull requests againstmain, as the triage note above asks. If a combined tree is still useful after that, it will bemainplus those, under a new branch name, announced here once.For reports: a run of
4744af9is a run of the old base. Please say which of the two you ran, sincemaindiffers from it in most of the paths discussed here.Nothing was run on a GPU for this comment and no game data was used. AI-assisted.
@r4tedx on GitHub · 2026-11-25 06:08 UTC · original
A tester branch on current
main:integration/testers-mainat https://github.com/r4tedx/VIctory/tree/integration/testers-main, headf84248d, onmain940d32f.The old
integration/testersstops at4744af9(update 10). It was based onffe310e, before the maintainer's drop of 2026-11-24 and the PRs merged since, and does not merge ontomain; it stays on the fork as it is.The new branch is deliberately small: seven open PRs, each its own merge commit, no edits beyond them.
INTEGRATION.mdat its root lists them with heads.Not in it yet: the wave64 stack (#223, #233, #320, #439), until it has a head on
main. So an NVIDIA card still refuses the 64-lane compute programs on this branch, as onmain.How it was checked, on one Windows 11 PC:
clippy -D warningsclean;victory-gputests on WARP 161 passed, 0 failed;victory-shadertests withVICTORY_WARP=1259 passed and 2 failed, the two hardware-only checks that fail the same way onmainunder that setting;translate --validate --listover this PC's copy ofshaders.rpf(CPU only, counts and reasons only), program by program againstmain, gave 975 programs gained, 0 lost: all 195 geometry programs and 780 compute programs.The title was not run with this branch, and nothing from it ran on a hardware GPU here. It makes no claim about the game.
A useful report from the title: the head, GPU and driver; whether the world loads lit and for how long; the frame line's times; any device removal with DRED and the
nvlddmkmevents of the System log. On NVIDIA, check first that the Nsight Aftermath Monitor is not set to Global (leonidaavenger on #71 found it turns every world load into a device hang).AI-assisted.
@r4tedx on GitHub · 2026-11-25 07:19 UTC · original
Call for runs:
integration/testers-main, and which of its PRs need which kind of runThe branch announced above has grown and needs runs in the title that we cannot supply ourselves. It is at
f755f13as I write (eleven PRs onmain940d32f);INTEGRATION.mdat its root always lists what a given head contains and how it was checked. A larger head with more crash-fix PRs is in its check round, and the wave64 stack follows.What one run of the branch against
main940d32fwould settle, by card:main, same scene, diagnostics build5a11cf4now, the branch once the stack is merged into itVICTORY_D3D12_DEBUG=1What to post (here for the branch, on the PR for a single PR): the head, GPU, driver and Windows build; whether the world loads, whether it is lit, how long it ran; the whole frame line and the whole
copies per frameline for the branch and formain, not a part of them; a device removal with its DRED output and the System log's display-driver events. Counts, messages and hashes only, never game files, shader dumps or captures.Three cautions before you spend an evening on it:
main, none lost). It may hang or lose the device asmaincan.maindies in the AMD compiler about 35 s in and needed #1936 on top. The branch does not carry #1936 yet, so the same may hold for it on RDNA 4.Asks to people who have already measured the neighbouring thing, only if you have the time:
940d32frun on the RX 6700 XT is the one breakdown of a world frame anyone has. The same scene on the branch, with both whole lines, would show what #2136 and #2147 do to the 774-1,198 ms of preparing.mainlog on the RX 9070 XT, repeated on the branch (with #1936 if you need it), for the lit-or-not question and the frame line.mainand on the branch is the missing half.b7249e5onmainnow, and it is in the branch, so your debug-layer run can use either.This also covers the request on #400 for the
testers/preparing-skip-armbranch: the two fixes it carries are inintegration/testers-main, so one run of this branch answers both.Nothing was run for this comment.
AI-assisted (Claude Code).
@Anzymanz on GitHub · 2026-11-25 22:39 UTC · original
From a tester working with Claude (AI-assisted, Claude Code).
Two things I'm taking, so nobody duplicates them:
mainf3578e3, the slowest programs in the title's pack take 8-25 s each to lower (one took 527 s on13f91caunder Proton, which looks like a hungtranslate --cache). Nearly all of it was a quadratic scan inLower::live_edges: #2864, output byte-identical on all 25,889 containers.For whoever picks from this thread's ranking: on
mainf3578e3an offline pass over the pack refuses only 25 vertex/pixel/compute/mesh programs (13 untracked lane-mask joins, 5v_cvt_f32_f64, 4 lane masks read as data, 1 each ofv_permlanex16_b32, barycentrics, a descriptor read as data), and every one of those classes already has open PRs. The drops in our Linux world runs are mostly elsewhere: the indirect clamp under Wine's compiler (#1279, rebased by ntgata1-dotcom) and root-constant dword 4 taken as a root view offset (#2699 / #2703).No game data here: counts, hashes and timings only.