AMD RX 7600 XT (RDNA 3) on 2119b0e: VICTORY_WAVE_WIDE=1 avoids driver hang; VICTORY_RELAY=2 hits 8,396,800-byte OOM at frame 1723 #321
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#321
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?
@paudcll on GitHub · 2026-11-24 23:32 UTC · original
Environment
host wave lanes min=32 max=64,host mesh shader support mesh=true), driver32.0.32029.201010.0.22000.0)fxceless/victory-fork@2119b0e(cargo build --release,VICTORY_LOG=info)7952987A(build930.048.020-vb_sub_story), Xbox Series X profile,run <exe> --executeWhat happens
memory.load_percent=95).VICTORY_WAVE_WIDE=1: Native RDNA 3wave64runs without an AMD driver hang/TDR. Intro flickering remains, while loading and audio are mostly stable. The opening cutscene renders more geometry and silhouettes than default (yellow tower, character hair/cloth shapes, dark interior furniture missing legs, shadow-only overhead wires) in a dark scene without diffuse textures before freezing and triggering a title Breakpad/WER crash (memory.load_percent=96).VICTORY_WAVE_WIDE=1+VICTORY_RELAY=2(default pagefile): Faster loading screen; reaches ~2 fps in the opening cutscene with stable audio and visible subtitles. Characters and car geometry are visible with missing diffuse/skin textures (shiny/wet specular-only look, missing clothes and eyes, dark environment) before failing with a Rust OOM (memory allocation of 8396800 bytes failed).VICTORY_WAVE_WIDE=1+VICTORY_RELAY=2(fixed 32–48 GB SSD pagefile): Slightly smoother pacing, but still hits the exact samememory allocation of 8396800 bytes failedatframe=1723right after binding compute/pixel pipelines.What the log shows before the failures
converter shader.dxil v1) dropping draws:hash=b22a16a178976e1b:GFX10 code at 0x22c: a wave sum of 16-bit floats where not every lane runs is not supportedhash=a929109552ce1e84:GFX10 code at 0xd00: v_permlanex16_b32 is not supportedhash=ceb5eb68cd99cb07(Run 3):GFX10 code at 0x38: a descriptor's address or format read as data is not supported#0 victory-image-b99f876b74d4a77f.dll+0x5149aec
#1 victory-image-b99f876b74d4a77f.dll+0xa5db22
#2 victory-image-b99f876b74d4a77f.dll+0x5453ac7
#3 victory-image-b99f876b74d4a77f.dll+0x23d0f9a
#4 victory-image-b99f876b74d4a77f.dll+0x23d1211
#5 victory-image-b99f876b74d4a77f.dll+0x257035e
#6 victory-image-b99f876b74d4a77f.dll+0x221c29c
#7 victory-image-b99f876b74d4a77f.dll+0x2215eca
#8 KERNEL32.DLL+0x2e8d7
#9 ntdll.dll+0x8c48c
rax 0xf8a0001fffe rbx 0xc rcx 0xdfcf8b420 rdx 0xc rsi 0xc rdi 0x18fff3690 rsp 0xb3d56ffac0 rbp 0x1c
r8 0xffffffff00000000 r9 0x7ffd99281de0 r10 0xd23470f30 r11 0x8 r12 0xb r13 0x0 r14 0xb3d56ffb78 r15 0xd34ef6f70
INFO title: BacktraceBreakpad: parameter
memory.load_percent, value:95(Run 1) /96(Run 2)INFO victory_gpu::draw: buffer views of the heap made ready for shaders that pick them by index slots=6933 views=152172 copies=4416 mb=2610 ms=386
VICTORY_WAVE_WIDE=1+VICTORY_RELAY=2telemetry & OOM atframe=1723):INFO victory_gpu::host: indirect mesh dispatches: the largest group count asked for 279 (run: at most 65535), 17265 groups asked per frame
INFO victory_gpu::host: submissions sent ahead per frame: 63.0 in 16.0 settles (0.0 flights each time), 96.2 ms waiting for the card in them
INFO victory_gpu::host: the relay per frame (VICTORY_RELAY=1): 65.0 flights landed in 31.0 landings by the thread that copies back, beside the submitting thread; that thread waited 169.2 ms for the card with nothing to land and 65.2 ms for fetches of card copies' pieces, and was 275.3 ms landing in all
INFO victory_gpu::host: title bytes put in under flights' shader writes per frame (VICTORY_LATE_WAIT=2): 521 pages looked at, 25812 changed runs, 0.14 MB
INFO victory_gpu::shadow: shader writes looked for on the CPU per frame: 403.8 MB in 408 ranges of title buffers' copies (377.2 MB snapshotted)
INFO victory_gpu::host: texture refreshes per frame, all threads: 112.6 ms (41.7 ms waiting for title memory to hold still)
INFO victory_gpu::pipeline: first bind pipeline=0x16dea4c41b0 frame=1723 stage="compute" size=18016 hash=6f225b641c5b0708
INFO victory_gpu::pipeline::host: host pipeline shaders=[vertex dfafaf385b2f94e8, pixel 3fcf2e878b000017]
memory allocation of 8396800 bytes failed
note: run with
RUST_BACKTRACE=1environment variable to display a backtraceLimits
VICTORY_LOG=infoonly (D3D12 debug layer / DRED andRUST_BACKTRACE=1were not enabled).@avt0m4t48 on GitHub · 2026-11-24 23:53 UTC · original
I checked the allocation sites on
2119b0e. The 8,396,800-byte size fits both a full CPU shadow snapshot and a texture scratch allocation. For example, a linear 1024 × 2050 × 4-byte texture has exactly that size. The relay's two merge scratch buffers are capped at 64 KiB each. The relay's separate D3D12 readback grows in 16 MiB steps. The current log cannot identify the caller or whether Windows was out of commit.If you can reproduce this again, could you capture the allocation backtrace with
RUST_BACKTRACE=fulland the matching Windows PDB, plus system Committed Bytes / Commit Limit and the process's Private Bytes near the failure? A matched run withVICTORY_RELAY=1and the same cache would help distinguish stage 2 from the shared relay work. The counters can also show whether the larger pagefile actually changed the available commit during the run.#360 covers one source-confirmed failure mode in the snapshot pool. Its test deliberately rejected the reported allocation size until idle buffers were freed. It has no game result yet, so the backtrace is still needed. Source and test work were assisted by Codex.
@paudcll on GitHub · 2026-11-25 15:15 UTC · original
Here is the full backtrace with matching
victory.pdbsymbols on2119b0e(VICTORY_WAVE_WIDE=1+VICTORY_RELAY=2with the fixed 32–48 GB SSD pagefile):Allocation Backtrace (
VICTORY_RELAY=2,RUST_BACKTRACE=full)The failure comes directly from the CPU shadow snapshot pool (
victory_gpu::shadow::pooledatshadow.rs:827, matching the #360 path) rather than a texture scratch allocation:15: 0x7ff6f8300f66 - alloc::raw_vec::handle_error
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\alloc\src\raw_vec\mod.rs:894
16: 0x7ff6f7f483fb - alloc::raw_vec::RawVecInner::with_capacity_in
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\alloc\src\raw_vec\mod.rs:443
17: 0x7ff6f7f483fb - alloc::raw_vec::RawVec::with_capacity_in
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\alloc\src\raw_vec\mod.rs:177
18: 0x7ff6f7f483fb - alloc::vec::Vec::with_capacity_in
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\alloc\src\vec\mod.rs:975
19: 0x7ff6f7f483fb - alloc::vec::Vec::with_capacity
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\alloc\src\vec\mod.rs:522
20: 0x7ff6f7f483fb - victory_gpu::shadow::pooled
at G:\Projectes\victory-fork\crates\victory-gpu\src\shadow.rs:827
21: 0x7ff6f7f483fb - victory_gpu::shadow::impl$4::writing::closure$4
at G:\Projectes\victory-fork\crates\victory-gpu\src\shadow.rs:1811
22: 0x7ff6f7f483fb - core::option::Option::get_or_insert_with
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\option.rs:1826
23: 0x7ff6f7f483fb - victory_gpu::shadow::Shadow::writing
at G:\Projectes\victory-fork\crates\victory-gpu\src\shadow.rs:1811
24: 0x7ff6f7f1f72f - victory_gpu::host::Host::submit
at G:\Projectes\victory-fork\crates\victory-gpu\src\host.rs:3949
25: 0x7ff6f7f181c7 - victory_gpu::host::Host::execute_late
at G:\Projectes\victory-fork\crates\victory-gpu\src\host.rs:3623
26: 0x7ff6f7f72735 - victory_gpu::queue::release_held
at G:\Projectes\victory-gpu\src\queue.rs:377
27: 0x7ff6f7f76d5b - victory_gpu::queue::submit_cut
at G:\Projectes\victory-gpu\src\queue.rs:203
28: 0x7ff6f7f76d5b - victory_gpu::queue::execute
at G:\Projectes\victory-gpu\src\queue.rs:525
29: 0x7fff945d21e3 -
30: 0x7fff94365eca -
31: 0x7ff816aedda7 - BaseThreadInitThunk
32: 0x7ff817699c5c - RtlUserThreadStart
Matched
VICTORY_RELAY=1Run & Commit Limit NoteVICTORY_RELAY=1run (with the same shader cache), the title hit an unhandled breakpoint (0x80000003) right at startup (page_table_pages=4) withr11=0xc000012d(STATUS_COMMITMENT_LIMIT):INFO victory_gpu::device: graphics virtual memory flags=0 page_table_pages=4 preserved_bytes=0
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e1d4e0
rax 0x0 rbx 0x10 rcx 0x5af rdx 0x0 rsi 0x7fff99311480 rdi 0x7fff9930f9b0 rsp 0xd688dffa90 rbp 0x7fff982d8a00
r8 0x96 r9 0x2f8 r10 0x69 r11 0xc000012d r12 0x7fff993113b8 r13 0x2 r14 0x7fff9889c270 r15 0x89700000
VICTORY_RELAY=1run with localized/WMICommitted Bytes&Private Bytesnumbers, or if you want me to test#360.Log triage and report assisted by Hydrogen.