Intel Arc A750 measurements: offline shader-gap inventory, 63 draws/frame dropped, frame budget, and storage #3936
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by spektra on 2026-12-01T11:48:41Z.
Follow-up to #3932 (the world-entry
0x80000003assert, now root-caused and fixed in the DirectStorage write-watch path). These are measurements and reproducible leads from the first long Intel Arc A750 (8 GB) session after that fix, i.e. with the title stable in-world for 30+ minutes. Posting them so the next person does not have to rediscover them.Environment: Windows 10, Arc A750 8 GB, XeSS ultra-performance (640x360 -> 1080p), RT/BVH off,
VICTORY_CARD_BUFFERS_MB=256,VICTORY_UNWATCHED_FRAMES=2,VICTORY_JOIN_COPIES=1,VICTORY_CARD_REHASH_RUNS=1,VICTORY_WIDE_MERGE=1. Everything below is from that one run unless noted.1. You can reproduce shader-translation gaps offline, without the title (big time saver)
The
translatesubcommand runs every container in a shader pack through the same translator the game uses, and there are env hooks inapps/victory/src/translate.rsthat make a gap analysable in seconds instead of an 8-minute title load:prints one line per program with the resulting error, including the shader's name — which is usually enough to know what you are missing.
Then, to get the actual bytecode for one family:
dumps matching containers as
<name>.<hash>.cdxil, ands_…-only debug output goes to stderr. A single dumped.cdxilcan be passed straight back as a path, so the loop is: dump once, then rebuild +translate --list <file>in ~30 s per hypothesis.One caveat worth knowing:
translateuses every logical core by default and will starve a running title (we saw it drop a live game from 8 fps to 0 fps / 3.4 s per frame). Use--jobsif the game is running.2. Full translation-gap inventory of this title's pack (26,503 containers)
programs 26084 translated of 26084, then by stage-2 failure:Only the six a run actually binds show up as
shader does not translatewarnings, so the log badly understates the gaps. In our in-world run it was exactly fourPS_PuddleDetect_2dd9cfaavariants plus the twoCS_TransmissionVolumetricsones.3. Those gaps are visible: 63 draws are dropped every world frame
The per-frame line read
920 draws/frame, dropped 63 without a host pipelinefor the entire session (occasionally 0 during menus, and 63-127 at scene transitions). 63 is stable, which is the signature of one material rather than a transient.Diagnosing it needed
--features diagnostics; without that feature the per-reason breakdown (dropped N/frame without a host pipeline: <why>) is not logged at all, only the total. Worth enabling by default for anyone chasing missing geometry — the total alone gives you nowhere to go.Two failure classes are worth calling out because they are not hardware limits like the 20 pipelines in
VICTORY_SKIP_PIPELINES:a descriptor read only as data(PS_PuddleDetect).VICTORY_DESC_WHY=1on a dumped container shows the load iss_load_dwordx8on a dynamically indexed table entry, and its destination dwords are consumed only bys_lshr_b32/s_lshl_b32/s_bfe_u32— i.e. the shader inspects descriptor format/swizzle fields numerically. No image or buffer instruction uses that particular load, sodescriptor_datafinds noused_kind, and thetwinheuristic does not fire either (the twin must be another load of the same address; here there are two loads with different dynamic indices).raw_dwordsalready exists and could serve this if the load could be attributed to a table at all — that attribution is the missing piece.a hardware SGPR input(PS_PedTexturedCutOutTint_Zero). These wants17,s18and — interestingly —s126/s127.s126/s127areir::EXEC(gfx10const), read at the very top of the shader (s_mov_b64thens_wqm_b64), which is the standard pixel-shader lane-mask prologue;inputs()has no case for EXEC (Reg::S(EXEC)is only handled on the phi path), so the prologue is reported as an unknown hardware input.s17/s18are read ass_mov_b32at0x68and vias_bfe_u32at0x2f94/0x2fa4/0x2fbc, i.e. bitfields of a packed system value.PS_TexturedDeferred(10 variants) fails the other way,a descriptor chosen by control flow, which is a different code path and possibly the more urgent one — it is a core deferred shader, and it would be dropped if the title ever binds those variants.We have not fixed any of these; the dumps and the offline loop above are the useful part.
4. Frame budget on this hardware (what is actually slow)
Stable in-world, 4K-asset title at 640x360 internal with XeSS:
and, from the same run:
So the GPU is idle for roughly half of every frame while the CPU assembles the next one: this is CPU-bound frame assembly, not a GPU limit. At 640x360 internal the GPU is not the problem at all.
VRAM at the same time (never crashed):
The texture queue is backed up behind our own mirrors. Note there is no eviction for streamed texture mirrors in
umem.rs/texture.rs(checked: no LRU/evict path), so that 2.4 GiB is not reclaimed under pressure even though the queue is 7k deep. That looks like the most promising memory/perf lever left, and it lines up with "characters missing / untextured": in-engine cutscenes are close-ups that need exactly the textures that never land.5. Storage was probably the dominant hidden cost
The title was running from a 3 TB WD30PURZ surveillance HDD (E:). Measured on that machine:
The HDD figure was taken while the title was loading, i.e. contended, which is the honest number. The run showed multi-second frames exactly where streaming bursts would be (0.2-1.8 fps for several seconds, 222-326 draws dropped, 3.4-12.2 s per frame) and a ~8 minute load. If you are testing this on a mechanical drive, measure an SSD before attributing stalls to the emulator.
6. Two smaller notes
GlobalMemoryStatusExis called exactly once per run, after the exception is raised (crash reporter). Shaping it withVICTORY_SYSMEM_MBcannot prevent anything;memory.load_percent: 93in the breakpad params is diagnostic only. (This falsifies host-memory shaping as a lever for this title.)VICTORY_SKIP_PIPELINESlist in the Arc launcher (64-bit typed atomics the A750/A580 lack) is a genuine hardware gap, unlike the translation gaps above. Do not confuse the two when readingdropped N.Happy to turn any of this into a PR; the offline
translateloop makes the descriptor and EXEC-input gaps cheap to iterate on for anyone with an Arc (or any card that hits the same translator paths).