Intel Arc B580 (32-lane): menus and the opening cutscene, then a first-chance write fault in a worker and the title's own fatal path (+0x23cf683) #1370
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#1370
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?
@emil-011 on GitHub · 2026-11-26 19:17 UTC · original
Related to #1252 (same reporter site, closed as fixed at
988aa41): this is a later fault on the same build family. Here the title reaches the menus and the opening cutscene, and then the reporter itself faults.Setup
52ac4ec(git rev-parse origin/main= same),cargo build --release -p victory,victory.exe run <exe> --execute.vb_sub_story), blake3b99f876b74d4a77f...(unknown tovictory-game).diagnostics/README.md(VICTORY_LEVELS_ON_DEMAND=1 VICTORY_ASYNC_SUBMIT=1 VICTORY_QUEUE2=1 VICTORY_INDIRECT_WINDOW=1 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_MERGE_GAP=64 VICTORY_MERGE_RUNS=4096 VICTORY_COPY_PLAIN=1 VICTORY_JOIN_PARTS=1 VICTORY_BACK_OWN_VIEW=1 VICTORY_INDIRECT_GATHER=1 VICTORY_CARD_REHASH_RUNS=1 VICTORY_CARD_WINDOWS_MB=2048 VICTORY_CARD_BUFFERS_MIN_KB=64 VICTORY_CARD_BUFFERS_MB=1280 VICTORY_TEXTURE_BACK=1 VICTORY_HEAP_WORKER=1),VICTORY_WINDOW_MAX=1920x1080.What happens
Menus run at 30 fps. The opening cutscene starts and runs at 0.7-2.5 fps, then the title aborts at frame ~1240-1650. Six runs, also on the DexNom fork and on upstream
main+ #189, all identical:Same RVA and same register values every time, across three trees.
The fault is deliberate
+0x23cf683ismov dword ptr [0], 0x4d8bd421- a forced access violation, the title's own fatal path. It is reached from+0x2215c35(the site #1252 reported), inside a supervisor that measures elapsed time per job and compares it with a threshold before calling a handler through a global function pointer:Under
cdbthe same build survives the same scene for much longer, so the trigger is not a fixed wall-clock limit.A first-chance fault precedes it: an index fill out of bounds
Live
cdb, breaking on the first access violation, faulting worker thread:Stack, innermost first:
At that instant
title-mainis asleep inSleepExat+0x23cef51, waiting for that worker. With the debugger attached (different heap layout) the write lands in mapped memory and the fault does not fire.What did not change it
VICTORY_DISPLAY_MODE=1920x1080: the title ignores it and presents 3840x2160 (same as run 303 indiagnostics/README.md).VICTORY_TEXTURE_BUDGET_MB=9216: no VRAM budget warning at all; same abort.--console series-s: 1920x1080 swapchain, black picture.VICTORY_DISPATCH_SPREAD=0: same abort.VICTORY_WAVE_WIDE=1(DexNom fork): same abort.main+ #189 (3e39e34+ the twocodex/pr189-firstlane-before-exec-splitcommits): 192 refused compute PSOs become 0 and the world goes from ~0.3 to ~1.3 fps, then the same+0x23cf683.Side findings, maybe for separate issues
victory_gpu::draw::host_spread_signaturecallsID3D12Device::CreateCommandSignaturewith the global cache mutex held, during recording. On this Intel driver one creation took seconds (D3D12Core!CDevice::CreateCommandSignature->igd12um64xe2->igc64); a live dump shows one thread inside it and two queued onMutex::lock_contendedinexecute_indirect. Creating outside the lock (look up, unlock, create, re-insert) or pre-creating per pipeline would remove a multi-second stall from the recording path.host pipeline library saved bytes=456052930 early=2205 made=256 loaded=1303- a 456 MBhost-pipelines.binafter a few minutes.title slot past the host heapwarnings in a 3-minute run (heap 934,464 slots, indices up to ~943,900), 132 MB of log.Ask
Any pointer to what allocates the array at
+0x555e3b1would help, or a way to have the layer report the count it handed the title for that list. I can rerun with any diagnostics and attach trimmed logs; no game files attached.@emil-011 on GitHub · 2026-11-26 22:33 UTC · original
Closing report: the abort is the title's GPU-lock watchdog, not memory.
19051 MB private ... 15544 MB left to commit), at the same0xc0000005at+0x23cf683(write0x0).GPU Loc/GPU Loc Sig: it is the title's own GPU-lock watchdog. 60 s later Windows removes the device withDXGI_ERROR_DEVICE_HUNG(0x887A0006, TdrDelay=60 on this machine).host wave lanes min=16 max=32), and the world hang is the known 32-lane-host problem tracked upstream: Marvisak/VIctory#71. Run report posted there: https://github.com/Marvisak/VIctory/issues/71#issuecomment-7204766639VICTORY_SHADER_LOOP_LIMIT=1024makes the opening credits and cutscene visible (~1.7 fps, 2878 draws/frame) but ends in a GPU page fault at0x800018c58000;VICTORY_SKIP_PIPELINESon the mesh program DRED names does not help.So: memory sizing is a prerequisite on 15.1 GB machines (32 GB page file), but the world cannot run on this GPU yet because of the wave64-on-32-lanes translation gap — not because of this fork.
Thanks for the fork; it is what got us to the cutscene.
@anes66 on GitHub · 2026-11-27 00:44 UTC · original · edited 2026-11-27 01:25 UTC
Matching final fatal stack on an RTX 3060 12 GB / Windows 10 machine, in two consecutive runs of a newer tree. This does not establish the same underlying worker fault.
Tree
de37235: fork mainb1d777aplus Windows 10 Agility support #420 and snapshot-allocation retry #360. Ryzen 7 9800X3D, 32 GB RAM, NVIDIA file version32.0.16.2114, Agility 1.620.2, diagnostics build, Series X.Options:
RELAY=2 LEVELS_ON_DEMAND=1 TEXTURE_BACK=1 CARD_BUFFERS_MIN_KB=64 CARD_BUFFERS_MB=1536 CARD_HASH_LEN=1 D3D12_DRED=light D3D12_DEBUG=1(all prefixedVICTORY_),RUST_BACKTRACE=full. Other inherited VIctory options were cleared; caches and early pipeline keys retained.The player reports intro audio over a black window, then Not Responding and process exit. Both launches ended with
0xC0000005after about 2 min 11 s and 1 min 40 s, respectively. The first-chance and unhandled fault were both a null write at title imageb99f876b74d4a77f...+0x23cf683, with the same following frames +0x2215c35, +0x2215eca. No earlier+0x555e3b1fault was found in these logs.Neither run logged allocation failure or device removal; exported NVIDIA/Display System-event lists were empty. Sampled free physical RAM minima were about 4.3 / 3.5 GiB, and system commit headroom stayed above 10.8 GiB. Thousands of pipelines were still being built. These observations do not identify the trigger.
The previous tree (
3f65974, main4c60466with the same two local ports and explicit options) completed 14 min 34 s of gameplay and was closed manually. That was before these two runs, not a repeated A/B with the now-warmer cache. The new build is withdrawn from our recommended test launcher while investigated. No title changes, dumps, raw logs or game files attached.Follow-up: after both failures, the player returned to the unchanged previous
3f65974executable (SHA-256 verified), with the same explicit FPS options and the shared caches left as the failed runs had left them. It rendered the cinematic and gameplay again, ran for 29 min 44 s, and ended by manually closing the window with exit 0. No allocation-failure, device-removal or unhandled-exception message was found; the exported NVIDIA/Display event list was empty. Intermittent white/missing water remained, with some correctly rendered blue water after standing still. This gives an old/new/new/old sequence on this machine, but does not isolate a particular change or prove the same trigger as the Intel report.