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

Open
opened 2026-11-26 19:22:09 +00:00 by github-bot · 2 comments
Owner

@⁠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

  • GPU: Intel Arc B580 12 GB, driver 32.0.101.9175 (2026-11-04); D3D12 wave lanes 16..32, feature level 12_2.
  • CPU / RAM: Ryzen 7 9800X3D, 15.1 GB (about 33 GB commit with the pagefile).
  • OS: Windows 11 26200.
  • Build: tip 52ac4ec (git rev-parse origin/main = same), cargo build --release -p victory, victory.exe run <exe> --execute.
  • Title: Xbox Series X build 930.048.020 (vb_sub_story), blake3 b99f876b74d4a77f... (unknown to victory-game).
  • Switches: the "test set" from 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:

First-chance exception 0xc0000005 at victory-image-<hash>.dll+0x23cf683 (write 0x0)
  rax 0x0 rbx 0x0 rcx 0xd0024c348 rdx 0x1 rbp 0x0
  r8 0xd074d8c40 r9 0xd074d8e20 r10 0xd074d8ad8 r11 0xd074d8c40 r14 0x7ffdd9b3b220
  #0 +0x23cf683  #1 +0x2215c35  #2 +0x2215eca  #3 KERNEL32  #4 ntdll

Same RVA and same register values every time, across three trees.

The fault is deliberate

+0x23cf683 is mov 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:

+0x2215bbd  vcvtsi2ss xmm0, xmm1, rcx      ; elapsed
+0x2215bc2  vmulss xmm8, xmm0, [rip+...]
+0x2215bd8  vucomiss xmm8, xmm7
+0x2215bdc  jae +0x2215c0c                 ; over the threshold -> fatal path

Under cdb the 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:

+0x555e3b1  448900   mov dword ptr [rax], r8d    ; writes 1,2,3,... stepping by rcx
+0x555e3a4  41b801000000             mov r8d, 1
+0x555e3aa  4801ca                   add rdx, rcx

Stack, innermost first:

+0x555e3b1 <- +0x2478f41 <- +0x19f4f54 <- +0x580437e
           <- +0x43a4911 <- +0x224070b <- +0x23cf00a <- thread entry +0x2215eca

At that instant title-main is asleep in SleepEx at +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 in diagnostics/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.
  • Upstream main + #189 (3e39e34 + the two codex/pr189-firstlane-before-exec-split commits): 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

  1. victory_gpu::draw::host_spread_signature calls ID3D12Device::CreateCommandSignature with 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 on Mutex::lock_contended in execute_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.
  2. host pipeline library saved bytes=456052930 early=2205 made=256 loaded=1303 - a 456 MB host-pipelines.bin after a few minutes.
  3. 310,720 title slot past the host heap warnings 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 +0x555e3b1 would 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 19:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/1370) 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 - GPU: Intel Arc B580 12 GB, driver 32.0.101.9175 (2026-11-04); D3D12 wave lanes 16..32, feature level 12_2. - CPU / RAM: Ryzen 7 9800X3D, 15.1 GB (about 33 GB commit with the pagefile). - OS: Windows 11 26200. - Build: tip `52ac4ec` (`git rev-parse origin/main` = same), `cargo build --release -p victory`, `victory.exe run <exe> --execute`. - Title: Xbox Series X build 930.048.020 (`vb_sub_story`), blake3 `b99f876b74d4a77f...` (unknown to `victory-game`). - Switches: the "test set" from `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: ``` First-chance exception 0xc0000005 at victory-image-<hash>.dll+0x23cf683 (write 0x0) rax 0x0 rbx 0x0 rcx 0xd0024c348 rdx 0x1 rbp 0x0 r8 0xd074d8c40 r9 0xd074d8e20 r10 0xd074d8ad8 r11 0xd074d8c40 r14 0x7ffdd9b3b220 #0 +0x23cf683 #1 +0x2215c35 #2 +0x2215eca #3 KERNEL32 #4 ntdll ``` Same RVA and same register values every time, across three trees. ## The fault is deliberate `+0x23cf683` is `mov 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: ``` +0x2215bbd vcvtsi2ss xmm0, xmm1, rcx ; elapsed +0x2215bc2 vmulss xmm8, xmm0, [rip+...] +0x2215bd8 vucomiss xmm8, xmm7 +0x2215bdc jae +0x2215c0c ; over the threshold -> fatal path ``` Under `cdb` the 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: ``` +0x555e3b1 448900 mov dword ptr [rax], r8d ; writes 1,2,3,... stepping by rcx +0x555e3a4 41b801000000 mov r8d, 1 +0x555e3aa 4801ca add rdx, rcx ``` Stack, innermost first: ``` +0x555e3b1 <- +0x2478f41 <- +0x19f4f54 <- +0x580437e <- +0x43a4911 <- +0x224070b <- +0x23cf00a <- thread entry +0x2215eca ``` At that instant `title-main` is asleep in `SleepEx` at `+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 in `diagnostics/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. - Upstream `main` + #189 (`3e39e34` + the two `codex/pr189-firstlane-before-exec-split` commits): 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 1. `victory_gpu::draw::host_spread_signature` calls `ID3D12Device::CreateCommandSignature` with 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 on `Mutex::lock_contended` in `execute_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. 2. `host pipeline library saved bytes=456052930 early=2205 made=256 loaded=1303` - a 456 MB `host-pipelines.bin` after a few minutes. 3. 310,720 `title slot past the host heap` warnings 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 `+0x555e3b1` would 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:22:09 +00:00
Author
Owner

@⁠emil-011 on GitHub · 2026-11-26 22:33 UTC · original

Closing report: the abort is the title's GPU-lock watchdog, not memory.

  • With the page file raised to 32 GB (commit limit 47.1 GB) the world loads and the earlier exhaustion is gone: the run aborts with 15.5 GB of commit free (19051 MB private ... 15544 MB left to commit), at the same 0xc0000005 at +0x23cf683 (write 0x0).
  • The faulting thread's stack holds GPU Loc / GPU Loc Sig: it is the title's own GPU-lock watchdog. 60 s later Windows removes the device with DXGI_ERROR_DEVICE_HUNG (0x887A0006, TdrDelay=60 on this machine).
  • This host is an Intel Arc B580 (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-7204766639
  • VICTORY_SHADER_LOOP_LIMIT=1024 makes the opening credits and cutscene visible (~1.7 fps, 2878 draws/frame) but ends in a GPU page fault at 0x800018c58000; VICTORY_SKIP_PIPELINES on 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.

**@⁠emil-011** on GitHub · 2026-11-26 22:33 UTC · [original](https://github.com/fxceless/victory-fork/issues/1370#issuecomment-7204780000) **Closing report: the abort is the title's GPU-lock watchdog, not memory.** - With the page file raised to 32 GB (commit limit 47.1 GB) the world loads and the earlier exhaustion is gone: the run aborts with **15.5 GB of commit free** (`19051 MB private ... 15544 MB left to commit`), at the same `0xc0000005` at `+0x23cf683` (write `0x0`). - The faulting thread's stack holds `GPU Loc ` / `GPU Loc Sig`: it is the title's own GPU-lock watchdog. 60 s later Windows removes the device with `DXGI_ERROR_DEVICE_HUNG` (0x887A0006, TdrDelay=60 on this machine). - This host is an Intel Arc B580 (`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-7204766639 - `VICTORY_SHADER_LOOP_LIMIT=1024` makes the opening credits and cutscene visible (~1.7 fps, 2878 draws/frame) but ends in a GPU page fault at `0x800018c58000`; `VICTORY_SKIP_PIPELINES` on 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.
Author
Owner

@⁠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 main b1d777a plus Windows 10 Agility support #420 and snapshot-allocation retry #360. Ryzen 7 9800X3D, 32 GB RAM, NVIDIA file version 32.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 prefixed VICTORY_), 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 0xC0000005 after about 2 min 11 s and 1 min 40 s, respectively. The first-chance and unhandled fault were both a null write at title image b99f876b74d4a77f... +0x23cf683, with the same following frames +0x2215c35, +0x2215eca. No earlier +0x555e3b1 fault 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, main 4c60466 with 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 3f65974 executable (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.

**@⁠anes66** on GitHub · 2026-11-27 00:44 UTC · [original](https://github.com/fxceless/victory-fork/issues/1370#issuecomment-7206709091) · 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`](https://github.com/anes66/victory-fork/commit/de37235e282bbb2854f82a2398b8d2fb3c4a0dfb): fork main `b1d777a` plus Windows 10 Agility support #420 and snapshot-allocation retry #360. Ryzen 7 9800X3D, 32 GB RAM, NVIDIA file version `32.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 prefixed `VICTORY_`), `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 `0xC0000005` after about 2 min 11 s and 1 min 40 s, respectively. The first-chance and unhandled fault were both a null write at title image `b99f876b74d4a77f...` +`0x23cf683`, with the same following frames +`0x2215c35`, +`0x2215eca`. No earlier `+0x555e3b1` fault 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`, main `4c60466` with 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 `3f65974` executable (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.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#1370
No description provided.