[GH #73] VICTORY_PIPELINE_WAIT_MS: pipelines still being built are dropped, so models vanish; 2000 beats 24 on a slow GPU — and TEXTURE_BUDGET_MB matters on 4 GB #73
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 Zettrox/ztrx. Originally posted by zhien114514 on 2026-11-25T08:19:18Z.
Related but different: #42 reports visual defects after a 30 min run (2–3 fps,
corrupted textures, flat lighting). This one is about draws being dropped, i.e.
geometry that never reaches the GPU at all.
Two parameter findings from a Radeon 780M (RDNA3 iGPU, 4 GB UMA), tested with the
diag build and
--console series-x. Both are about the same symptom: characters andscene geometry disappearing, which on a slow GPU is not a rendering bug but drops.
Machine: Windows 11 build 26340, Ryzen 7 H 255 (8C/16T), Radeon 780M, driver
32.0.13046.2004, page file 16/40 GB. Build: ztrx
main, diag, GNU toolchain.Base switches:
VICTORY_RELAY=2 VICTORY_TEXTURE_GUARD=0.1.
VICTORY_PIPELINE_WAIT_MS: the README's 24 makes models disappearThe README lists this as a debugging switch ("shorter per-frame wait for pipelines
still being built"), but on a machine that cannot build pipelines fast enough it is
what removes geometry: a draw whose host pipeline is not ready is dropped, and the
next frame drops it again.
Counting
dropped N without a host pipeline (M being made):VICTORY_PIPELINE_WAIT_MSbeing madedrops24500(default)2000dropped 157 ... (0 being made))Raising the budget is both more complete and faster here, because waiting once
beats dropping the same draw every frame and retrying.
Note the default 500 ms is already marginal on this adapter — the shader translation
of 26k containers on a non-cached run does not fit in it. On a cold cache, 2000 is the
value that produced a stable picture.
2.
VICTORY_TEXTURE_BUDGET_MB: worth documenting for small VRAMresource.rs::room()allows 2 GB of host texture copies unconditionally, then keepsgoing while video memory is under 90 % of budget, and falls back to a hard 4 GB
when it cannot read the card's budget. A 4 GB UMA part sits exactly on that line.
With
VICTORY_TEXTURE_BUDGET_MB=3000the numbers I see change a lot:=3000(
memory of textures: 13851 title textures have no host copy yet (10940 MB)stillreports the deferred copies, which is expected — the point is the driver no longer has
to thrash inside 4 GB.)
Suggestion: a line in the README for 4–8 GB cards, e.g. set
VICTORY_TEXTURE_BUDGET_MBto about 70–75 % of VRAM.
Things that did not help here (so nobody re-runs them)
--console series-s: black frames the whole run (every capture 1.5 KB), and moretextures missing (11127 / 8.8 GB). Matches the README's Series S warning.
VICTORY_DISPLAY_MODE=1920x1080: honoured (display mode reported to the title width=1920 height=1080) but frame time unchanged (0.2 fps, copies went up to150–230 ms). The bottleneck on this part is CPU-side
preparing, not fill rate.VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1: no measurable difference.What is still dropped (not a parameter problem)
With the two settings above, per frame:
compute b22a16a178976e1b—a wave sum of 16-bit floats ...pixel 6b6db9f1a526daeb—a descriptor read only as datapixel 2fd01fca16993001— same classrefused [mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]So after the two parameters, geometry loss from the pipeline queue is gone; what is
left is the 8 shaders that do not translate plus the (intentional) RT build silence.
Happy to test a branch or a different value on this adapter.
No title files or translated shader dumps are attached; the quotes above are log lines
from my own run on a legally owned copy.