Retail title (Xbox Series 1.0.2.1) reaches actual gameplay on RDNA3 — then 0xC0000005 in the title (+0x23cf683) #534

Open
opened 2026-11-26 04:24:55 +00:00 by github-bot · 15 comments
Owner

@⁠remembering7896 on GitHub · 2026-11-24 01:29 UTC · original

First of all: this build works far better than the README's state suggests. The README's
"a newer retail game" row says "gameplay not reached yet". On this machine the same game got past
the menus and into real gameplay — the title's own debug info at crash time says
Game State: Game Running, Game Running Time: 0h:5m:11s, Frame: 2193, with the intro mission
streaming (fbk_stry000_FBK_STRY000_INTRO), 74 peds / 239 vehicles / 8,521 buildings resident.
So gameplay is reachable; what follows is what it ends with.

I built main from source (release, cargo build --release --workspace) — not a CI artifact —
so line numbers/commit may need matching on your side.


Environment

OS Windows 11 Pro 10.0.26300
CPU AMD Ryzen 7 9800X3D
RAM 30.9 GB
GPU AMD Radeon RX 7900 XTX, 24,516 MiB VRAM (RDNA3, native wave64, SM 6.6 + mesh shaders)
GPU driver 32.0.32029.2010 (2026-11-18)
DXC 1.9.2602.17 (21d28f72), found next to xcl.exe
XGameRuntime System32\xgameruntime.dll 10.0.26100.9656, GameInput.dll 0.2309.26100.9818
XCL 0.1.0, built from source, backend = real
Title <package id>, TitleId 7952987a, package 1.0.2.1, title memory Advanced, PLS 2048 MB, console type Anaconda, sandbox RETAIL, version 930.048.020-vb_sub_story

What worked

  • Menus and gameplay render at 28–30 fps, 2,819 presentations in the run.
  • 79,737 draws / 4,096 dispatches with translated pipelines, 0 skipped, 0 on PC pipelines;
    sparse 7,445 MB, coherent 3,998/4,095 MB, 214 blocks held for 214 allocators.
  • Shader traffic: 19,210 unique programs / 274,779 submitted (19,101 xbox-native + 109 DXBC);
    by stage ps 134,404 / vs 112,044 / as 25,479 / cs 2,742 / rootsig 110;
    hardware stages CS 2,734 / NGG 6,685 / PS 8,520 / VS 1,162;
    37,858,990 RDNA2 instructions decoded, 0 undecoded dwords, 0 xbox_errors, 0 rejected pointers.
  • Audio: xapu 5,521 packets decoded into 5,265,528 frames (3,958,653 non-zero samples), 0 errors.
  • All 8 modules mapped (title exe + msvcp140, vcruntime140, vcruntime140_1, xboxbvhbuilder,
    amd_fidelityfx_loader_xbox, libhttpclient.gdk, bink2scarlett); only one stubbed import
    (xmem.dll!XMemIsToolsMemAvailable).
  • XGameRuntime classes: everything answered by XCL except XStore: unavailable (offline) — expected
    without Xbox Live (CreateTicketXbl3 → 0x80072EFD).

The crash

crash: unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683
       (write at address 0x0)
exit_code: 3221225477 (0xC0000005)
presents: 2819

Registers and stack as recorded:

rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rsi=0x61879ff7e8 rdi=0x1687a8a70d2 rbp=0x0
r8=0x7074d8c40 r9=0x7074d8e20 r10=0x7074d8ad8 r11=0x7074d8c40 r12=0x16823e24134
r13=0x146845c28 r14=0x7ffb335db220 r15=0x1686903bec8 rsp=0x61879ff770
on the stack: game_scarlett_master.exe+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca

Title-side debug info at the moment of the crash (their own handler):

Game Running Time: 0h:5m:11s   Frame: 2193   Game State: Game Running
Streaming Requests: 610        TileHeap: used 3646Mb / total 6236Mb
Game Virtual 962148864/1228931056   Game Physical 2207948432/2305818624
Mission: fbk_stry000_FBK_STRY000_INTRO (Prestream)
Pools: BUILDING 8521/22500  VEHICLE 239/700  PED 74/600  OBJECT 6374/27500
       INSTANCE_LIST 21168/45000  GRASS 2408/9000  LIGHT 668/8000
Player: pos <-1782.700, -1913.000, 5.027>  health 130/130  wanted 0

Caveat, stated honestly: I ended the session by closing the XCL window
(CloseMainWindow), and the crash was recorded during that teardown while the intro mission was
streaming — XCL's log shows XCL window closed – ending the game process immediately before
process ends (thread …). So this may be a shutdown-path fault rather than an in-gameplay one.
The title reported itself as Game State: Game Running at that moment, so I cannot rule out that it
is organic. A 28.8 MB minidump (temp\0b80a248-….dmp) and the title's *.crash.log are both
available if you want them.

Other things worth knowing (all from the same run)

  1. 42 mesh pipelines refused, exactly the "minimap" pattern the README mentions:
    mesh pipeline with its MS <hash> in the AS slot – refused, 42 distinct MS hashes
    (d7c434f7…, 8659e9d5…, 2569510a…, …). fallback_pipelines = 0, failed_pipelines = 0.

  2. DirectStorage BCPack fills nothing: every refused request reports filled_bytes = 0:

    format requests destination bytes filled bytes
    BC1 2,079 148,672,512 0
    BC5 110 7,274,496 0
    BC7 208 32,501,760 0
    BC6H 1 1,048,576 0

    Log line: DirectStorage: BCPack BC1: mode 1 unsupported (src=39541, intermediate=0, dst=65536, swizzle=0); the request fails with E_DECOMPRESSION then a request failed (0x89240030).
    ~188 MB of texture payload ends up empty this way — BC1 × 2,079 is the bulk of it.

  3. Background pipeline queue is far behind: at crash time 58 done, 0 running, 58,706 queued
    (out of 19,210 unique programs); menu fps sat at 16 while compiling and rose to 28–30 afterwards.

  4. 10 called stubs, all D3D12.X (call counts from the run):

    ID3D12CommandAllocator::#9 (not on PC)                    2905  (game_scarlett_master.exe+0x188501)
    ID3D12GraphicsCommandList10::#126 (not on PC)             2824  (+0x3263e)
    ID3D12GraphicsCommandList10::#142 (not on PC)             2824  (+0x329e9)
    ID3D12GraphicsCommandList10::#75 (console extension)      2824  (+0x32820)
    ID3D12CommandQueue::#31 (newer layout)                     367  (caller 0x0)
    ID3D12GraphicsCommandList10::#131 (not on PC)               13  (+0x2478bc5)
    ID3D12GraphicsCommandList10::#101 (not on PC)                8  (+0x50a6657)
    ID3D12GraphicsCommandList10::#131 (not on PC)                4  (+0x2478cba)
    ID3D12GraphicsCommandList10::#132 (not on PC)                4  (+0x2478c99)
    ID3D12GraphicsCommandList10::#132 (not on PC)                1  (+0x2478ba4)
    
  5. 13 unknown IIDs requested: 0742a90b…, 0adf7d52…, 433be922…, 54ec77fa…, 79cf2233…,
    85611e73…, 9b7e4a00…, a2a9f815…, aec22fb8…, b898d4fd…, cbe8c719…, db6f6ddb…,
    ffffffff-1bbe-4d12-afbf-8fdf7e0a87c7.

  6. Internal slot layouts the title actually walked: ID3D12CommandAllocator 246, ID3D12GraphicsCommandList10 512,
    ID3D12Resource2 321, ID3D12CommandQueue 23, ID3D12Fence1 19, ID3D12Device14 42.

Attachments

In xcl-feedback.zip: the redacted report.json of that run, the full xcl.log, the title's
*.crash.log (shared id and telemetry id removed), and system-info.txt. The 28.8 MB minidump is
included separately (0b80a248-f45c-4d78-9c2e-637fc50c3191.dmp) — say the word and it goes up too.
Paths and the account name are replaced with <user> / <game folder>.

issue.md

xcl-feedback.zip

**@⁠remembering7896** on GitHub · 2026-11-24 01:29 UTC · [original](https://github.com/xcl-dev/xcl/issues/534) First of all: **this build works far better than the README's state suggests.** The README's "a newer retail game" row says "gameplay not reached yet". On this machine the same game got past the menus and into **real gameplay** — the title's own debug info at crash time says `Game State: Game Running`, `Game Running Time: 0h:5m:11s`, `Frame: 2193`, with the intro mission streaming (`fbk_stry000_FBK_STRY000_INTRO`), 74 peds / 239 vehicles / 8,521 buildings resident. So gameplay **is** reachable; what follows is what it ends with. I built `main` from source (release, `cargo build --release --workspace`) — not a CI artifact — so line numbers/commit may need matching on your side. --- ## Environment | | | |---|---| | OS | Windows 11 Pro 10.0.26300 | | CPU | AMD Ryzen 7 9800X3D | | RAM | 30.9 GB | | GPU | AMD Radeon RX 7900 XTX, 24,516 MiB VRAM (RDNA3, native wave64, SM 6.6 + mesh shaders) | | GPU driver | 32.0.32029.2010 (2026-11-18) | | DXC | 1.9.2602.17 (21d28f72), found next to `xcl.exe` | | XGameRuntime | `System32\xgameruntime.dll` 10.0.26100.9656, `GameInput.dll` 0.2309.26100.9818 | | XCL | 0.1.0, built from source, `backend = real` | | Title | `<package id>`, TitleId `7952987a`, package 1.0.2.1, `title memory Advanced`, PLS 2048 MB, console type Anaconda, sandbox RETAIL, version `930.048.020-vb_sub_story` | ## What worked - **Menus and gameplay render at 28–30 fps**, 2,819 presentations in the run. - **79,737 draws / 4,096 dispatches with translated pipelines, 0 skipped, 0 on PC pipelines**; sparse 7,445 MB, coherent 3,998/4,095 MB, 214 blocks held for 214 allocators. - **Shader traffic:** 19,210 unique programs / 274,779 submitted (19,101 xbox-native + 109 DXBC); by stage `ps 134,404 / vs 112,044 / as 25,479 / cs 2,742 / rootsig 110`; hardware stages `CS 2,734 / NGG 6,685 / PS 8,520 / VS 1,162`; **37,858,990 RDNA2 instructions decoded, 0 undecoded dwords, 0 xbox_errors, 0 rejected pointers.** - **Audio:** `xapu` 5,521 packets decoded into 5,265,528 frames (3,958,653 non-zero samples), 0 errors. - All 8 modules mapped (title exe + `msvcp140`, `vcruntime140`, `vcruntime140_1`, `xboxbvhbuilder`, `amd_fidelityfx_loader_xbox`, `libhttpclient.gdk`, `bink2scarlett`); only one stubbed import (`xmem.dll!XMemIsToolsMemAvailable`). - XGameRuntime classes: everything answered by XCL except `XStore: unavailable (offline)` — expected without Xbox Live (`CreateTicketXbl3` → 0x80072EFD). ## The crash ``` crash: unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) exit_code: 3221225477 (0xC0000005) presents: 2819 ``` Registers and stack as recorded: ``` rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rsi=0x61879ff7e8 rdi=0x1687a8a70d2 rbp=0x0 r8=0x7074d8c40 r9=0x7074d8e20 r10=0x7074d8ad8 r11=0x7074d8c40 r12=0x16823e24134 r13=0x146845c28 r14=0x7ffb335db220 r15=0x1686903bec8 rsp=0x61879ff770 on the stack: game_scarlett_master.exe+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca ``` Title-side debug info at the moment of the crash (their own handler): ``` Game Running Time: 0h:5m:11s Frame: 2193 Game State: Game Running Streaming Requests: 610 TileHeap: used 3646Mb / total 6236Mb Game Virtual 962148864/1228931056 Game Physical 2207948432/2305818624 Mission: fbk_stry000_FBK_STRY000_INTRO (Prestream) Pools: BUILDING 8521/22500 VEHICLE 239/700 PED 74/600 OBJECT 6374/27500 INSTANCE_LIST 21168/45000 GRASS 2408/9000 LIGHT 668/8000 Player: pos <-1782.700, -1913.000, 5.027> health 130/130 wanted 0 ``` **Caveat, stated honestly:** I ended the session by closing the XCL window (`CloseMainWindow`), and the crash was recorded during that teardown while the intro mission was streaming — XCL's log shows `XCL window closed – ending the game process` immediately before `process ends (thread …)`. So this may be a shutdown-path fault rather than an in-gameplay one. The title reported itself as `Game State: Game Running` at that moment, so I cannot rule out that it is organic. A 28.8 MB minidump (`temp\0b80a248-….dmp`) and the title's `*.crash.log` are both available if you want them. ## Other things worth knowing (all from the same run) 1. **42 mesh pipelines refused, exactly the "minimap" pattern the README mentions:** `mesh pipeline with its MS <hash> in the AS slot – refused`, 42 distinct MS hashes (`d7c434f7…`, `8659e9d5…`, `2569510a…`, …). `fallback_pipelines = 0`, `failed_pipelines = 0`. 2. **DirectStorage BCPack fills nothing:** every refused request reports `filled_bytes = 0`: | format | requests | destination bytes | filled bytes | |---|---|---|---| | BC1 | 2,079 | 148,672,512 | **0** | | BC5 | 110 | 7,274,496 | **0** | | BC7 | 208 | 32,501,760 | **0** | | BC6H | 1 | 1,048,576 | **0** | Log line: `DirectStorage: BCPack BC1: mode 1 unsupported (src=39541, intermediate=0, dst=65536, swizzle=0); the request fails with E_DECOMPRESSION` then `a request failed (0x89240030)`. ~188 MB of texture payload ends up empty this way — BC1 × 2,079 is the bulk of it. 3. **Background pipeline queue is far behind:** at crash time `58 done, 0 running, 58,706 queued` (out of 19,210 unique programs); menu fps sat at 16 while compiling and rose to 28–30 afterwards. 4. **10 called stubs**, all D3D12.X (call counts from the run): ``` ID3D12CommandAllocator::#9 (not on PC) 2905 (game_scarlett_master.exe+0x188501) ID3D12GraphicsCommandList10::#126 (not on PC) 2824 (+0x3263e) ID3D12GraphicsCommandList10::#142 (not on PC) 2824 (+0x329e9) ID3D12GraphicsCommandList10::#75 (console extension) 2824 (+0x32820) ID3D12CommandQueue::#31 (newer layout) 367 (caller 0x0) ID3D12GraphicsCommandList10::#131 (not on PC) 13 (+0x2478bc5) ID3D12GraphicsCommandList10::#101 (not on PC) 8 (+0x50a6657) ID3D12GraphicsCommandList10::#131 (not on PC) 4 (+0x2478cba) ID3D12GraphicsCommandList10::#132 (not on PC) 4 (+0x2478c99) ID3D12GraphicsCommandList10::#132 (not on PC) 1 (+0x2478ba4) ``` 5. **13 unknown IIDs** requested: `0742a90b…`, `0adf7d52…`, `433be922…`, `54ec77fa…`, `79cf2233…`, `85611e73…`, `9b7e4a00…`, `a2a9f815…`, `aec22fb8…`, `b898d4fd…`, `cbe8c719…`, `db6f6ddb…`, `ffffffff-1bbe-4d12-afbf-8fdf7e0a87c7`. 6. Internal slot layouts the title actually walked: `ID3D12CommandAllocator` 246, `ID3D12GraphicsCommandList10` 512, `ID3D12Resource2` 321, `ID3D12CommandQueue` 23, `ID3D12Fence1` 19, `ID3D12Device14` 42. ## Attachments In `xcl-feedback.zip`: the redacted `report.json` of that run, the full `xcl.log`, the title's `*.crash.log` (shared id and telemetry id removed), and `system-info.txt`. The 28.8 MB minidump is included separately (`0b80a248-f45c-4d78-9c2e-637fc50c3191.dmp`) — say the word and it goes up too. Paths and the account name are replaced with `<user>` / `<game folder>`. [issue.md](https://github.com/user-attachments/files/35306357/issue.md) [xcl-feedback.zip](https://github.com/user-attachments/files/35306358/xcl-feedback.zip)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:24:55 +00:00
Author
Owner

@⁠yozcinar on GitHub · 2026-11-24 01:33 UTC · original

Damn

**@⁠yozcinar** on GitHub · 2026-11-24 01:33 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7119213344) Damn
Author
Owner

@⁠loxthemofo on GitHub · 2026-11-24 01:34 UTC · original

Video proof?image_search_1795374554396.jpg

**@⁠loxthemofo** on GitHub · 2026-11-24 01:34 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7119243958) Video proof?![image_search_1795374554396.jpg](https://github.com/user-attachments/assets/8accb6d5-1c7f-4a0e-9085-6843795d6339)
Author
Owner

@⁠13hourstilliland on GitHub · 2026-11-24 01:50 UTC · original

Same stop as #505: +0x23cf683 is the report hook of the #232 stall watchdog (hook installed at +0x23cf6f7, called from the watchdog at +0x2215c33). Details and the heartbeat sites are in my #505 comment. For this run (RDNA3, wave64, gameplay reached) the useful check is [+0x71b6334] and the writer of +0x71b6338 at the stop.

AI use: Claude Code (Claude Opus 5.5), static read only; no game files attached.

**@⁠13hourstilliland** on GitHub · 2026-11-24 01:50 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7119493491) Same stop as #505: `+0x23cf683` is the report hook of the #232 stall watchdog (hook installed at `+0x23cf6f7`, called from the watchdog at `+0x2215c33`). Details and the heartbeat sites are in my #505 comment. For this run (RDNA3, wave64, gameplay reached) the useful check is `[+0x71b6334]` and the writer of `+0x71b6338` at the stop. AI use: Claude Code (Claude Opus 5.5), static read only; no game files attached.
Author
Owner

@⁠XackiGiFF on GitHub · 2026-11-24 02:01 UTC · original · edited 2026-11-24 02:02 UTC

I`m start it right now and see 5 srars, then it crash...) But... I think it`s possible

**@⁠XackiGiFF** on GitHub · 2026-11-24 02:01 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7119683464) · edited 2026-11-24 02:02 UTC I\`m start it right now and see 5 srars, then it crash...) But... I think it\`s possible
Author
Owner

@⁠MonkeyPython on GitHub · 2026-11-24 02:11 UTC · original

Vendor-independence data point from NVIDIA (this issue's run is RDNA3): the BCPack refusals and the mesh-pipeline AS-slot refusals are not AMD-specific — the same title/package shows both on an RTX 3080 Ti.

Setup: Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB, RTX 3080 Ti 12 GB (driver 621.24 for the loading-phase run), plain main a6f5f7a, release, XCL_NETWORK=0 + firewall. Grand Theft Auto VI, Xbox Series package 1.0.2.1, 3840×2160. A 600 s run that reached the loading screen (profile/menus navigated by hand) crashed with the #232 null write at ~390 s; the counters below are from that run. A second 600 s run at main 508a0c7 stayed at the profile selector.

BCPack (loading-phase run): every request fails with E_DECOMPRESSION (BCPack BC7: mode 7 unsupported …, same shape for BC1/BC5). Final tally: BCPack refusals so far: 2048 requests: BC1 1762 (107614208 bytes), BC5 108 (7143424 bytes), BC6H 1 (1048576 bytes), BC7 177 (24690688 bytes). Same refusal family as this issue's BC1 2079 / BC5 110 / BC7 208, different counts (shorter run, crashed before gameplay). This build's log does not print a filled_bytes field, so I cannot confirm the filled_bytes = 0 detail on NVIDIA — only that the requests are refused with E_DECOMPRESSION. The selector-phase run made no BCPack requests at all (they start with loading).

Mesh pipelines: console shaders in the PSO without a translation: mesh pipeline with its MS <hash> in the AS slot – refused — 40 refusals, 40 unique MS hashes in the loading-phase run, and the same 40 unique in the selector-phase run at 508a0c7. Same "minimap" pattern as this issue's 42, on a different vendor and driver.

Not tested: gameplay past the crash, RDNA3, whether the refused meshes are exactly the same set as this issue's (hashes available on request).

AI use: Gentle Shell (Pi coding agent), model qwen4-max: ran the title and wrote this report from the logs; a human reviews it before posting. No code changes.

**@⁠MonkeyPython** on GitHub · 2026-11-24 02:11 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7119839689) Vendor-independence data point from NVIDIA (this issue's run is RDNA3): the BCPack refusals and the mesh-pipeline AS-slot refusals are not AMD-specific — the same title/package shows both on an RTX 3080 Ti. **Setup:** Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB, RTX 3080 Ti 12 GB (driver 621.24 for the loading-phase run), plain main `a6f5f7a`, release, `XCL_NETWORK=0` + firewall. Grand Theft Auto VI, Xbox Series package 1.0.2.1, 3840×2160. A 600 s run that reached the loading screen (profile/menus navigated by hand) crashed with the #232 null write at ~390 s; the counters below are from that run. A second 600 s run at main `508a0c7` stayed at the profile selector. **BCPack (loading-phase run):** every request fails with `E_DECOMPRESSION` (`BCPack BC7: mode 7 unsupported …`, same shape for BC1/BC5). Final tally: `BCPack refusals so far: 2048 requests: BC1 1762 (107614208 bytes), BC5 108 (7143424 bytes), BC6H 1 (1048576 bytes), BC7 177 (24690688 bytes)`. Same refusal family as this issue's BC1 2079 / BC5 110 / BC7 208, different counts (shorter run, crashed before gameplay). This build's log does not print a `filled_bytes` field, so I cannot confirm the `filled_bytes = 0` detail on NVIDIA — only that the requests are refused with `E_DECOMPRESSION`. The selector-phase run made no BCPack requests at all (they start with loading). **Mesh pipelines:** `console shaders in the PSO without a translation: mesh pipeline with its MS <hash> in the AS slot – refused` — **40 refusals, 40 unique MS hashes** in the loading-phase run, and the same **40 unique** in the selector-phase run at `508a0c7`. Same "minimap" pattern as this issue's 42, on a different vendor and driver. **Not tested:** gameplay past the crash, RDNA3, whether the refused meshes are exactly the same set as this issue's (hashes available on request). **AI use:** Gentle Shell (Pi coding agent), model qwen4-max: ran the title and wrote this report from the logs; a human reviews it before posting. No code changes.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 03:07 UTC · original

Static read of the same binary (byte-verified: SHA-256 e95020b2…, disassembly local/offline). Complementing the #505-side analysis with the actual crash instruction: exe+0x23cf683 is not an accidental null write — it is an unconditional mov dword ptr [0], 0x4d8bd421, i.e. the title deliberately kills itself with a magic tag when the watchdog path is taken:

+0x23cf664: mov  edx, eax
+0x23cf666: call exe+0x2215950        ; report/telemetry of the stall
+0x23cf66b: cmp  byte ptr [rsp+0x34], 1
+0x23cf670: jne  exe+0x23cf683        ; → kill path
+0x23cf679: (zero-fill loop over the staged message buffer)
+0x23cf683: mov  dword ptr [0], 0x4d8bd421   <== reported as 0xc0000005 "write at 0x0"

Two things follow:

  1. Detectable signature. The write value is constant — a fault filter can match write of 0x4d8bd421 to address 0 and print "title watchdog tripped" with the staged report instead of a generic AV. The same function also checksums its stall message beforehand (rolling 8-bit sum seeded with 0xff65664f over a byte string at rdx, per +0x23cf651..0x23cf662) — dumping that string at the report call would name what the title thinks stalled, on every host.
  2. The AV is downstream of the real failure. #581/#616 are the same self-kill; chasing the memory bug should target whatever keeps the watchdog deadline missed (frame pacing / present progress), not this instruction — the title gives a window between +0x23cf666 (report) and the kill.

(Consistent with the stall-watchdog hook reading already noted in this thread; this pins the kill itself.)

**@⁠pickles976** on GitHub · 2026-11-24 03:07 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7120788520) Static read of the same binary (byte-verified: SHA-256 `e95020b2…`, disassembly local/offline). Complementing the #505-side analysis with the actual crash instruction: `exe+0x23cf683` is **not an accidental null write — it is an unconditional `mov dword ptr [0], 0x4d8bd421`**, i.e. the title deliberately kills itself with a magic tag when the watchdog path is taken: ``` +0x23cf664: mov edx, eax +0x23cf666: call exe+0x2215950 ; report/telemetry of the stall +0x23cf66b: cmp byte ptr [rsp+0x34], 1 +0x23cf670: jne exe+0x23cf683 ; → kill path +0x23cf679: (zero-fill loop over the staged message buffer) +0x23cf683: mov dword ptr [0], 0x4d8bd421 <== reported as 0xc0000005 "write at 0x0" ``` Two things follow: 1. **Detectable signature.** The write value is constant — a fault filter can match *write of `0x4d8bd421` to address 0* and print "title watchdog tripped" with the staged report instead of a generic AV. The same function also checksums its stall message beforehand (rolling 8-bit sum seeded with `0xff65664f` over a byte string at `rdx`, per `+0x23cf651..0x23cf662`) — dumping that string at the report call would name what the title thinks stalled, on every host. 2. **The AV is downstream of the real failure.** #581/#616 are the same self-kill; chasing the memory bug should target whatever keeps the watchdog deadline missed (frame pacing / present progress), not this instruction — the title gives a window between `+0x23cf666` (report) and the kill. (Consistent with the stall-watchdog hook reading already noted in this thread; this pins the kill itself.)
Author
Owner

@⁠remembering7896 on GitHub · 2026-11-24 07:17 UTC · original

Addendum — the run now ends in a Rust allocation failure, not a title fault

Two more main snapshots since my first report (14:47 and 15:06), and the failure signature changed. Posting what I measured.

What happens now

Both later builds reach a stable 30.0 fps (1,200 frames, no dropouts), then the xcl process dies with:

memory allocation of 2073600 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Game exited with code 0xc0000409 (3221226505) — that is abort, i.e. the Rust allocator gave up, not an access violation inside the title. Sizes I have seen: 2,073,600 B (exactly one 1920x1080 byte-plane), 1,048,576 B, 4,765,216 B.

Memory curve (5 s sampling, Private Bytes of both xcl processes)

t Private Working set FPS
5 s 7.66 GB 6.02 GB compiling
10 s 14.78 GB 11.40 GB 27.6
15 s 23.36 GB 16.37 GB 29.9
20 s 26.55 GB 19.39 GB 30.1
25 s 27.47 GB 20.30 GB 29.8
30 s 30.69 GB 20.55 GB 30.2
35 s 40.22 GB 8.27 GB (thrashing) 30.0
40 s 21.1 GB 8.00 GB window gone

Commit limit here is 54.3 GB (30.9 GB RAM + 23.9 GB pagefile, automatic), so this is commit exhaustion, not address-space exhaustion.

What it is not

  • Not late_release. With XCL_LATE_RELEASE=0 the same build still OOMs, with the same curve.
  • Not proven to be a regression either. An 08:58 build of the same tree ran 90 s with Private flat at 15 GB — but its translator identity no longer matches my translated cache, so it was still compiling and only reached 4.2 fps. It never got to the streaming phase, so the comparison is not clean. Flagging as "different", not "regression proven".

Where the memory seems to go

xcl.log repeatedly prints, growing monotonically:

D3D12.X: a texture at 0x... lies in a GPU view of the title's CPU memory: kept in step with 0x... (32768 so far)
title textures: 4096 uploads left out so far - the texture's memory held what it held at its last upload

This run mirrored 32,768 textures; the slow 08:58 run had only 512. The mirror count scales with how fast the title streams, so the better the GPU performs the more memory XCL needs: on a 7900 XTX at 30 fps it goes 8 GB -> 40 GB in 25 seconds. Sparse window traffic is heavy but not the dominant term:

sparse windows timing: write-watch 4234 ms (1859322 dirty pages), chunk scan 71 ms, upload 152 ms (117538 runs)
sparse windows: 2048 submits, 1648 MB of CPU writes uploaded, 159 ms spent, 15419 tiles mapped

Questions

  1. Is the per-texture CPU mirror meant to be bounded? If the title's CPU memory is aliased into the UMA window, could the mirror be dropped/aliased rather than copied, or evicted under LRU, so a long session does not grow ~1 GB / 2 s?
  2. Is there a knob I am missing — XCL_UMA_MB (2048 default), XCL_COHERENT_MB, XCL_COHERENT_HEAPS=0 — that trades some present latency for a bounded footprint? Happy to run any A/B you want on this machine and send the curves.
  3. Worth handling allocation failure more gracefully? A reserve or catch_unwind would let the window survive long enough to flush the report; right now report.json comes back with every counter zeroed because abort beats the stats flush.

Also

  • late_release looks correct from the outside: no CORRUPTION id 921 in the debug layer, no timeout / deadlock / watchdog lines, 30.0 fps steady after 1,200 frames. Nice.
  • Minor: the Discord invite in README.md / SECURITY.md has changed three times in a day (discord.gg/xcl -> Tb4UbPUzRH -> yB5tstRHrn -> xcl). Anyone following the earlier link lands somewhere stale.

Happy to attach the full xcl.log, the minidump from the earlier title crash, or a symbolicated trace of this OOM (the release profile now keeps debuginfo, so xcl.pdb is here).

**@⁠remembering7896** on GitHub · 2026-11-24 07:17 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7124830363) ## Addendum — the run now ends in a Rust allocation failure, not a title fault Two more `main` snapshots since my first report (14:47 and 15:06), and the failure signature changed. Posting what I measured. ### What happens now Both later builds reach a **stable 30.0 fps** (1,200 frames, no dropouts), then the **xcl process** dies with: ``` memory allocation of 2073600 bytes failed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` `Game exited with code 0xc0000409 (3221226505)` — that is `abort`, i.e. the Rust allocator gave up, **not** an access violation inside the title. Sizes I have seen: 2,073,600 B (exactly one 1920x1080 byte-plane), 1,048,576 B, 4,765,216 B. ### Memory curve (5 s sampling, Private Bytes of both xcl processes) | t | Private | Working set | FPS | | --- | --- | --- | --- | | 5 s | 7.66 GB | 6.02 GB | compiling | | 10 s | 14.78 GB | 11.40 GB | 27.6 | | 15 s | 23.36 GB | 16.37 GB | 29.9 | | 20 s | 26.55 GB | 19.39 GB | 30.1 | | 25 s | 27.47 GB | 20.30 GB | 29.8 | | 30 s | 30.69 GB | 20.55 GB | 30.2 | | 35 s | **40.22 GB** | 8.27 GB (thrashing) | 30.0 | | 40 s | 21.1 GB | 8.00 GB | window gone | Commit limit here is 54.3 GB (30.9 GB RAM + 23.9 GB pagefile, automatic), so this is commit exhaustion, not address-space exhaustion. ### What it is not - **Not `late_release`.** With `XCL_LATE_RELEASE=0` the same build still OOMs, with the same curve. - **Not proven to be a regression either.** An 08:58 build of the same tree ran 90 s with Private flat at 15 GB — but its translator identity no longer matches my translated cache, so it was still compiling and only reached 4.2 fps. It never got to the streaming phase, so the comparison is not clean. Flagging as "different", not "regression proven". ### Where the memory seems to go `xcl.log` repeatedly prints, growing monotonically: ``` D3D12.X: a texture at 0x... lies in a GPU view of the title's CPU memory: kept in step with 0x... (32768 so far) title textures: 4096 uploads left out so far - the texture's memory held what it held at its last upload ``` This run mirrored **32,768** textures; the slow 08:58 run had only **512**. The mirror count scales with how fast the title streams, so the better the GPU performs the more memory XCL needs: on a 7900 XTX at 30 fps it goes 8 GB -> 40 GB in 25 seconds. Sparse window traffic is heavy but not the dominant term: ``` sparse windows timing: write-watch 4234 ms (1859322 dirty pages), chunk scan 71 ms, upload 152 ms (117538 runs) sparse windows: 2048 submits, 1648 MB of CPU writes uploaded, 159 ms spent, 15419 tiles mapped ``` ### Questions 1. Is the per-texture CPU mirror meant to be bounded? If the title's CPU memory is aliased into the UMA window, could the mirror be dropped/aliased rather than copied, or evicted under LRU, so a long session does not grow ~1 GB / 2 s? 2. Is there a knob I am missing — `XCL_UMA_MB` (2048 default), `XCL_COHERENT_MB`, `XCL_COHERENT_HEAPS=0` — that trades some present latency for a bounded footprint? Happy to run any A/B you want on this machine and send the curves. 3. Worth handling allocation failure more gracefully? A reserve or `catch_unwind` would let the window survive long enough to flush the report; right now `report.json` comes back with every counter zeroed because `abort` beats the stats flush. ### Also - `late_release` looks correct from the outside: no `CORRUPTION` id 921 in the debug layer, no `timeout` / `deadlock` / `watchdog` lines, 30.0 fps steady after 1,200 frames. Nice. - Minor: the Discord invite in `README.md` / `SECURITY.md` has changed three times in a day (`discord.gg/xcl` -> `Tb4UbPUzRH` -> `yB5tstRHrn` -> `xcl`). Anyone following the earlier link lands somewhere stale. Happy to attach the full `xcl.log`, the minidump from the earlier title crash, or a symbolicated trace of this OOM (the release profile now keeps debuginfo, so `xcl.pdb` is here).
Author
Owner

@⁠remembering7896 on GitHub · 2026-11-24 08:16 UTC · original

Rebuilt again from main (16:09 snapshot, the one with hle/d3d12x/alloc_pool.rs). Short version: the allocator fix works, the OOM is untouched.

alloc_pool does what it says. No debug-layer id 541, no 0x887a0001, no device removal. The counter reads 214 blocks held for 214 allocators — bounded, as the comment in the file promises, and steady across 1,200+ frames. 30.0 fps throughout. Tried it with XCL_ALLOC_SWAP=0 too; both run.

The OOM is unchanged, curve almost identical to the 15:06 build (5 s samples, Private Bytes of both xcl processes):

10s 14.37GB  28.7 fps      25s 27.71GB  30.8 fps
15s 23.75GB  30.0 fps      30s 32.67GB  29.0 fps
20s 26.74GB  29.7 fps      35s 40.74GB  30.0 fps  <- working set dropping, thrashing
                           40s 12.69GB  window gone

This time it died on memory allocation of 9486488 bytes failed. Exit 0xc0000409, same as before.

One thing I ruled out. I read gpu/uma.rs to see whether the coherent window was the lever:

  • MAX_SIZE = (4096 << 20) - GRAIN, so XCL_COHERENT_MB can never make a window larger than 4 GB — the run already prints coherent 3998/4095 MB, i.e. the window is effectively full.
  • NEEDS_FOR_COHERENT_HEAPS = 17 GB of free commit before the title's GPU heaps go into the coherent window at all.

So "give it a bigger window" is not available as a workaround, and 4 GB being full is at most a symptom, not the cause. The growth is in the mirrors (kept in step with ... (32768 so far)), which is what my previous comment was about.

Still happy to attach logs/dumps or run whatever A/B is useful — just say which env variables you want varied.

**@⁠remembering7896** on GitHub · 2026-11-24 08:16 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7125936352) Rebuilt again from `main` (16:09 snapshot, the one with `hle/d3d12x/alloc_pool.rs`). Short version: the allocator fix works, the OOM is untouched. **`alloc_pool` does what it says.** No debug-layer id 541, no `0x887a0001`, no device removal. The counter reads `214 blocks held for 214 allocators` — bounded, as the comment in the file promises, and steady across 1,200+ frames. 30.0 fps throughout. Tried it with `XCL_ALLOC_SWAP=0` too; both run. **The OOM is unchanged**, curve almost identical to the 15:06 build (5 s samples, Private Bytes of both xcl processes): ``` 10s 14.37GB 28.7 fps 25s 27.71GB 30.8 fps 15s 23.75GB 30.0 fps 30s 32.67GB 29.0 fps 20s 26.74GB 29.7 fps 35s 40.74GB 30.0 fps <- working set dropping, thrashing 40s 12.69GB window gone ``` This time it died on `memory allocation of 9486488 bytes failed`. Exit `0xc0000409`, same as before. **One thing I ruled out.** I read `gpu/uma.rs` to see whether the coherent window was the lever: - `MAX_SIZE = (4096 << 20) - GRAIN`, so `XCL_COHERENT_MB` can never make a window larger than 4 GB — the run already prints `coherent 3998/4095 MB`, i.e. the window is effectively full. - `NEEDS_FOR_COHERENT_HEAPS = 17 GB` of free commit before the title's GPU heaps go into the coherent window at all. So "give it a bigger window" is not available as a workaround, and 4 GB being full is at most a symptom, not the cause. The growth is in the mirrors (`kept in step with ... (32768 so far)`), which is what my previous comment was about. Still happy to attach logs/dumps or run whatever A/B is useful — just say which env variables you want varied.
Author
Owner

@⁠WuDiXiaoBo on GitHub · 2026-11-24 11:13 UTC · original

Same fault, same registers, on NVIDIA (32-lane waves) — and it does not need the teardown path

Confirming #534 from an independent machine. It is the same fault — 0xc0000005 (write at 0x0) in
game_scarlett_master.exe+0x23cf683 — and the registers line up with yours almost field for field:

rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rsi=0x76fbfbe8 rdi=0x600c5a515 rbp=0x0
r8=0x7074d8c40 r9=0x7074d8e20 r10=0x7074d8ad8 r11=0x7074d8c40 r12=0x5ceaf5bd7
r13=0x146845c28 r14=0x7ff9c805b220 r15=0x5eeed17b3 rsp=0x76fbfb70
on the stack: game_scarlett_master.exe+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca

rax, rbx, rcx, rdx, rbp, r8–r11, r13 are identical to your values; rsi, rdi, r12,
r14, r15, rsp differ the way stack and heap addresses do. Same four stack frames.

On this machine it does not need a teardown. The XCL window was never touched: the run was started
detached, nobody focused, minimized or closed it, and xcl.log holds no window closed line at all.
The fault came 190 s into the run, after 3,132 presentations, as the title left its first-run setup
and started the opening sequence
— i.e. before any gameplay, in the transition the README describes
as "the world", not on shutdown.

Environment

OS Windows 11 Pro 10.0.26300
CPU / RAM Intel Core i5-12400 (6C/12T) / 31.8 GB
GPU NVIDIA GeForce RTX 4060 Ti 16 GB, driver 32.0.16.2114 (621.14) — 32-lane waves
DXC 1.9.2602.17, Windows SDK 10.0.26100.0
XGameRuntime System32\xgameruntime.dll 10.0.26100.9656
XCL 384f7f7 (merge of #1009 / #1012 / #1023), built from source, release, backend = real
Title <package id> 1.0.2.1, TitleId 7952987a, title memory Advanced, PLS 2048 MB

From the same run, before the fault

  • translated_pipelines: 60; background_pipelines: [60, 0, 58705]; DXIL cache 23 hits / 79 misses.
  • Shaders: 19,210 unique / 274,783 submitted; 37,858,990 RDNA2 instructions, 0 undecoded dwords,
    0 xbox_errors — the same numbers you report, so the recompiler is not the variable here.
  • 41 × mesh pipeline with its MS … in the AS slot – refused (your 42 — same pattern, the minimap).
  • DirectStorage: a request failed (0x89240009) on ttdb_vehicles_loose_0_1.ttpf and
    ttdb_props_1_3.ttpf, 8–16 KiB each, a few per minute. On this machine it is 0x89240009,
    not the 0x89240030 you see.
  • The same 10 called stubs, at the same rate per frame: ID3D12CommandAllocator::#9 3,305;
    ID3D12GraphicsCommandList10::#126 / #142 / #75 3,139 each; ID3D12CommandQueue::#31 396.
  • 30 fps for most of the run, then 9.7 fps over the last 300 frames while large compute PSOs were
    built: 408440 B DXIL 7021 ms, 181100 B 1855 ms, 132472 B 1759 ms, 92192 B 1377 ms.

Two things that may save whoever picks this up some time

  1. With XCL_PSO_WAIT_MS unset, a bind waits for the build (pso_async.rs documents this, and the
    title's own watchdog at 30 s). At this point in the run the title is therefore being held for
    seconds at a time. The stall and the null write coincide in every run I have; I could not show that
    one causes the other.
  2. A second run of the same build builds those same PSOs in 0–3 ms (the driver's blob of an earlier build) and keeps the setup screens at 30 fps. So the "queue far behind" point is much
    better on the second start — worth knowing before it is taken as the cause.

I could not separate "the stall ends it" from "an unrelated fault at the same point": a third run with
XCL_PSO_WAIT_MS=100 sat at the setup screens, because nothing advanced them. Happy to produce that
run (and the XCL_TRACE_FAULTS=1 variant) if it is useful.

Attachments

xcl.log (2.4 MB) and report.json of the crashed run; paths are replaced with <game> / <user>.

AI use

The run, the log extraction and this text were produced by an AI agent (DeepSeek Harness,
DeepSeek-V4-Flash) on the reporter's machine, at their request. Every number above comes from the run
described; nothing is estimated.

xcl.log

report.json

**@⁠WuDiXiaoBo** on GitHub · 2026-11-24 11:13 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7129820337) Same fault, same registers, on NVIDIA (32-lane waves) — and it does not need the teardown path Confirming #534 from an independent machine. It is the same fault — `0xc0000005` (write at `0x0`) in `game_scarlett_master.exe+0x23cf683` — and the registers line up with yours almost field for field: ``` rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rsi=0x76fbfbe8 rdi=0x600c5a515 rbp=0x0 r8=0x7074d8c40 r9=0x7074d8e20 r10=0x7074d8ad8 r11=0x7074d8c40 r12=0x5ceaf5bd7 r13=0x146845c28 r14=0x7ff9c805b220 r15=0x5eeed17b3 rsp=0x76fbfb70 on the stack: game_scarlett_master.exe+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca ``` `rax`, `rbx`, `rcx`, `rdx`, `rbp`, `r8`–`r11`, `r13` are identical to your values; `rsi`, `rdi`, `r12`, `r14`, `r15`, `rsp` differ the way stack and heap addresses do. Same four stack frames. **On this machine it does not need a teardown.** The XCL window was never touched: the run was started detached, nobody focused, minimized or closed it, and `xcl.log` holds no `window closed` line at all. The fault came **190 s into the run, after 3,132 presentations, as the title left its first-run setup and started the opening sequence** — i.e. before any gameplay, in the transition the README describes as "the world", not on shutdown. ## Environment | | | |---|---| | OS | Windows 11 Pro 10.0.26300 | | CPU / RAM | Intel Core i5-12400 (6C/12T) / 31.8 GB | | GPU | NVIDIA GeForce RTX 4060 Ti 16 GB, driver 32.0.16.2114 (621.14) — **32-lane waves** | | DXC | 1.9.2602.17, Windows SDK 10.0.26100.0 | | XGameRuntime | `System32\xgameruntime.dll` 10.0.26100.9656 | | XCL | `384f7f7` (merge of #1009 / #1012 / #1023), built from source, release, `backend = real` | | Title | `<package id>` 1.0.2.1, TitleId `7952987a`, title memory Advanced, PLS 2048 MB | ## From the same run, before the fault - `translated_pipelines`: 60; `background_pipelines`: `[60, 0, 58705]`; DXIL cache 23 hits / 79 misses. - Shaders: 19,210 unique / 274,783 submitted; 37,858,990 RDNA2 instructions, 0 undecoded dwords, 0 `xbox_errors` — the same numbers you report, so the recompiler is not the variable here. - 41 × `mesh pipeline with its MS … in the AS slot – refused` (your 42 — same pattern, the minimap). - `DirectStorage: a request failed (0x89240009)` on `ttdb_vehicles_loose_0_1.ttpf` and `ttdb_props_1_3.ttpf`, 8–16 KiB each, a few per minute. On this machine it is `0x89240009`, not the `0x89240030` you see. - The same 10 called stubs, at the same rate per frame: `ID3D12CommandAllocator::#9` 3,305; `ID3D12GraphicsCommandList10::#126` / `#142` / `#75` 3,139 each; `ID3D12CommandQueue::#31` 396. - 30 fps for most of the run, then **9.7 fps over the last 300 frames** while large compute PSOs were built: `408440 B DXIL 7021 ms`, `181100 B 1855 ms`, `132472 B 1759 ms`, `92192 B 1377 ms`. ## Two things that may save whoever picks this up some time 1. With `XCL_PSO_WAIT_MS` unset, a bind waits for the build (`pso_async.rs` documents this, and the title's own watchdog at 30 s). At this point in the run the title is therefore being held for seconds at a time. The stall and the null write coincide in every run I have; I could not show that one causes the other. 2. A **second** run of the same build builds those same PSOs in 0–3 ms (`the driver's blob of an earlier build`) and keeps the setup screens at 30 fps. So the "queue far behind" point is much better on the second start — worth knowing before it is taken as the cause. I could not separate "the stall ends it" from "an unrelated fault at the same point": a third run with `XCL_PSO_WAIT_MS=100` sat at the setup screens, because nothing advanced them. Happy to produce that run (and the `XCL_TRACE_FAULTS=1` variant) if it is useful. ## Attachments `xcl.log` (2.4 MB) and `report.json` of the crashed run; paths are replaced with `<game>` / `<user>`. ## AI use The run, the log extraction and this text were produced by an AI agent (DeepSeek Harness, DeepSeek-V4-Flash) on the reporter's machine, at their request. Every number above comes from the run described; nothing is estimated. [xcl.log](https://github.com/user-attachments/files/35327936/xcl.log) [report.json](https://github.com/user-attachments/files/35327940/report.json)
Author
Owner

@⁠RockFellerX on GitHub · 2026-11-24 12:37 UTC · original

Confirming #534 on AMD RDNA 2 (RX 6750 XT 12 GB) / Windows 11 on 47efa2e: BCPack decompression (8cad517) and allocator pooling work cleanly with zero OOM or device removals, and the run still hits the same 0xc0000005 (write at address 0x0) stall-watchdog abort at game_scarlett_master.exe+0x23cf683 right as loading finishes, during heavy compute PSO compilation.

Environment

  • Game & package version: RockstarGamesInc.28872443D20A7 1.0.2.1 (TitleId 7952987A)
  • XCL version: 0.1.0, commit 47efa2e (cargo build --release --workspace, backend = real, default xcl.toml)
  • CPU / RAM: AMD Ryzen 5 5600X, 32 GB DDR4
  • GPU & driver: AMD Radeon RX 6750 XT (12242 MiB VRAM, RDNA 2, native wave64, SM 6.6 + mesh shaders, undervolted), driver 32.0.21045.16010
  • Windows version: Windows 11 Pro 24H2 (26100.3775), inbox D3D12 (no Agility SDK)
  • DXC: 1.9.2602.17 (21d28f72) (C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64)
  • XGameRuntime: System32\xgameruntime.dll 10.0.26100.8066
  • Rust: rustc 1.98.1 (x86_64-pc-windows-msvc)

What happens

  • Intro and loading play at 30 fps with image and sound most of the time, with a few stutters during the loading screen and a crash right once loading ends.
  • Progress before crash (~169 s):
    • 1,828 frames presented: 29.3–30.0 fps through frame 1,500 (59.6 s), dropping to 4.5 fps through frame 1,800 (125.9 s), then 28 frames over the next ~43 s while compiling compute PSOs.
    • BCPack (8cad517): 2,388 unpacked with 0 failed and 0 refused (BC1: 2,085 / 148.2 MB, BC5: 107 / 7.1 MB, BC6H: 1 / 1.0 MB, BC7: 195 / 25.2 MB; down from 2,488 refused on e74dda2). DirectStorage request failures dropped from 16 to 2.
    • GPU / shaders / audio: 722 translated pipelines (0 fallback, 0 failed; 40 MS ... in the AS slot mesh pipelines refused), 1,342 DXIL cache hits, 48 new DXIL compilations (0 failures), 10 cached driver-blob hits (2 ms), 15,245+ draws (0 skipped), 2,048+ dispatches (0 skipped), 21,203 Opus packets decoded (0 errors), 0 device removals.
    • Memory / allocators: coherent 3998/4095 MB, sparse 7445 MB, 142 blocks held for 141 allocators, memory.load_percent = 82 (~5.85 GB free RAM, no OOM).
  • Compute PSO stalls leading into the abort:
    • Multiple long compute PSO compiles occurred on AMD Adrenalin 32.0.21045.16010 (41,168 ms at [47.175], 9,581 ms at [150.698], 16,604 ms at [164.278], plus 21,314 ms and 17,987 ms finishing on worker threads during crash teardown), and saved driver blobs logged 0 KB ([47.175], [143.004], [149.086], [159.595], [167.348]):
    [  150.698][12032][INFO ] D3D12.X: compute PSO with the translated console CS (160052 B DXIL, 9581 ms)
    [  164.278][12096][INFO ] D3D12.X: compute PSO with the translated console CS (226308 B DXIL, 16604 ms)
    [  167.348][12096][INFO ] D3D12.X: 16 driver blobs kept on disk for the next run (this one: 556 ms, 0 KB)
    [  168.977][14376][ERROR] unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rsi=0x3f53fcb8 rdi=0x429a67d31 rbp=0x0 r8=0x7074d8c40 r9=0x7074d8e20 r10=0x7074d8ad8 r11=0x7074d8c40 r12=0x3e8a8b9e4 r13=0x146845c28 r14=0x7ffc5b143730 r15=0x417e11d82 rsp=0x3f53fc40; on the stack: game_scarlett_master.exe+0x4e4ba89, game_scarlett_master.exe+0x2215c35, game_scarlett_master.exe+0x71b9a20, game_scarlett_master.exe+0x2215eca, msvcrt.dll+0x83cb0, msvcrt.dll+0x9e500
    

Tested

  • cargo test --workspace -- --test-threads=4 on 47efa2e (RX 6750 XT): 741 passed, 0 failed, 41 ignored (0 GPU tests skipped).
  • Release run (.\target\release\xcl.exe run <game dir>) on 47efa2e.

Not tested

  • XCL_PSO_WAIT_MS overrides, other GPUs (NVIDIA, RDNA 3 / RDNA 4), or Linux/Proton.

AI use

  • Test report drafted from real local report.json and xcl.log outputs using Antigravity (Gemini 4 Neon); build, tests, and run performed and reviewed by me on the hardware listed above.

Attachments

xcl.log
report.json

**@⁠RockFellerX** on GitHub · 2026-11-24 12:37 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7131694432) Confirming `#534` on **AMD RDNA 2 (`RX 6750 XT 12 GB`) / Windows 11** on `47efa2e`: BCPack decompression (`8cad517`) and allocator pooling work cleanly with zero OOM or device removals, and the run still hits the same `0xc0000005` (`write at address 0x0`) stall-watchdog abort at `game_scarlett_master.exe+0x23cf683` right as loading finishes, during heavy compute PSO compilation. ### Environment - **Game & package version**: `RockstarGamesInc.28872443D20A7` `1.0.2.1` (TitleId `7952987A`) - **XCL version**: `0.1.0`, commit `47efa2e` (`cargo build --release --workspace`, `backend = real`, default `xcl.toml`) - **CPU / RAM**: AMD Ryzen 5 5600X, 32 GB DDR4 - **GPU & driver**: AMD Radeon RX 6750 XT (12242 MiB VRAM, RDNA 2, native wave64, SM 6.6 + mesh shaders, undervolted), driver `32.0.21045.16010` - **Windows version**: Windows 11 Pro 24H2 (`26100.3775`), inbox D3D12 (no Agility SDK) - **DXC**: `1.9.2602.17 (21d28f72)` (`C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64`) - **XGameRuntime**: `System32\xgameruntime.dll` `10.0.26100.8066` - **Rust**: `rustc 1.98.1` (`x86_64-pc-windows-msvc`) ### What happens - Intro and loading play at 30 fps with image and sound most of the time, with a few stutters during the loading screen and a crash right once loading ends. - **Progress before crash (`~169 s`)**: - `1,828` frames presented: `29.3–30.0 fps` through frame `1,500` (`59.6 s`), dropping to `4.5 fps` through frame `1,800` (`125.9 s`), then `28` frames over the next `~43 s` while compiling compute PSOs. - **BCPack (`8cad517`)**: `2,388` unpacked with `0` failed and `0` refused (`BC1`: 2,085 / 148.2 MB, `BC5`: 107 / 7.1 MB, `BC6H`: 1 / 1.0 MB, `BC7`: 195 / 25.2 MB; down from `2,488` refused on `e74dda2`). DirectStorage request failures dropped from `16` to `2`. - **GPU / shaders / audio**: `722` translated pipelines (`0` fallback, `0` failed; `40` `MS ... in the AS slot` mesh pipelines refused), `1,342` DXIL cache hits, `48` new DXIL compilations (`0` failures), `10` cached driver-blob hits (`2 ms`), `15,245+` draws (`0` skipped), `2,048+` dispatches (`0` skipped), `21,203` Opus packets decoded (`0` errors), `0` device removals. - **Memory / allocators**: `coherent 3998/4095 MB`, `sparse 7445 MB`, `142 blocks held for 141 allocators`, `memory.load_percent = 82` (`~5.85 GB` free RAM, no OOM). - **Compute PSO stalls leading into the abort**: - Multiple long compute PSO compiles occurred on AMD Adrenalin `32.0.21045.16010` (`41,168 ms` at `[47.175]`, `9,581 ms` at `[150.698]`, `16,604 ms` at `[164.278]`, plus `21,314 ms` and `17,987 ms` finishing on worker threads during crash teardown), and saved driver blobs logged `0 KB` (`[47.175]`, `[143.004]`, `[149.086]`, `[159.595]`, `[167.348]`): ```text [ 150.698][12032][INFO ] D3D12.X: compute PSO with the translated console CS (160052 B DXIL, 9581 ms) [ 164.278][12096][INFO ] D3D12.X: compute PSO with the translated console CS (226308 B DXIL, 16604 ms) [ 167.348][12096][INFO ] D3D12.X: 16 driver blobs kept on disk for the next run (this one: 556 ms, 0 KB) [ 168.977][14376][ERROR] unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rsi=0x3f53fcb8 rdi=0x429a67d31 rbp=0x0 r8=0x7074d8c40 r9=0x7074d8e20 r10=0x7074d8ad8 r11=0x7074d8c40 r12=0x3e8a8b9e4 r13=0x146845c28 r14=0x7ffc5b143730 r15=0x417e11d82 rsp=0x3f53fc40; on the stack: game_scarlett_master.exe+0x4e4ba89, game_scarlett_master.exe+0x2215c35, game_scarlett_master.exe+0x71b9a20, game_scarlett_master.exe+0x2215eca, msvcrt.dll+0x83cb0, msvcrt.dll+0x9e500 ``` ### Tested - `cargo test --workspace -- --test-threads=4` on `47efa2e` (RX 6750 XT): `741 passed, 0 failed, 41 ignored` (`0` GPU tests skipped). - Release run (`.\target\release\xcl.exe run <game dir>`) on `47efa2e`. ### Not tested - `XCL_PSO_WAIT_MS` overrides, other GPUs (NVIDIA, RDNA 3 / RDNA 4), or Linux/Proton. ### AI use - Test report drafted from real local `report.json` and `xcl.log` outputs using Antigravity (Gemini 4 Neon); build, tests, and run performed and reviewed by me on the hardware listed above. ### Attachments [xcl.log](https://github.com/user-attachments/files/35331192/xcl.log) [report.json](https://github.com/user-attachments/files/35331190/report.json)
Author
Owner

@⁠remembering7896 on GitHub · 2026-11-24 13:49 UTC · original

21:43 main (10 files) — on a 30.9 GB machine this build is a regression: three runs, all OOM, 92 s / 43 s / 35 s

Same test box as my earlier comments: RX 7900 XTX, 9800X3D, 30.9 GB RAM (54.3 GB commit limit, 23.9 GB page file), Win11 26300, driver 32.0.32029.2010, DXC 1.9.2602.17. Build: 31.18 s, EXITCODE 0, xcl.exe 6.94 MB, pdb 74.66 MB.

The 19:09 build (previous snapshot) reached 3,300 frames / 196 s, 30 fps, and ended in the title's own 0xC0000005 write at 0x0 @ +0x23cf683 with no Rust-side OOM. This build goes the other way:

run settings frames end
1 cold 1,500 92 s — memory allocation of 5636096 bytes failed; one compute PSO took 16,116 ms
2 warm (driver blobs on disk) 600 43 s — Private 43.65 GB → reclaim to 11.19 GB → memory allocation of 4743244 bytes failed
3 XCL_DXC_THREADS=4 600 35 s — 30.43 GB at 20 s, memory allocation of 8294400 bytes failed

The driver PSO cache does work: 64 compute pipelines made from the driver's blob of an earlier run, warm total compute-compile time 33.4 s vs 87.6 s cold (225 PSOs in both runs). Nice win.

What I think caused it: wanted deliberately skips the back-off in dxc::wait_for_memory (WORKING < WANTED_AT_ONCE && wanted()), so up to 6 wanted compiles of 0.1–0.7 GB each start while commit is already short. On this box that back-off is the only thing keeping the title alive — my 18:19 run survived only because the compiles were being throttled, and as I wrote then, the OOM was "speed-related". With wanted getting through, commit is overrun within the first 20 s. The 16 s cold compile is the same effect from the other side: 6 wanted compiles × their DXC instances contending on 16 cores.

Suggestion: keep the wanted fast-path but bound it by headroom (e.g. don't take the wanted branch when ullAvailPageFile is below ~N GB), or cap concurrent wanted compiles at 2–3. I can A/B XCL_PSO_DISK_CACHE=0 and a patched WANTED_AT_ONCE on request — tell me what to build and I'll report back.

I rolled my deployment back to the 19:09 build for now.

**@⁠remembering7896** on GitHub · 2026-11-24 13:49 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7133400595) ### 21:43 main (10 files) — on a 30.9 GB machine this build is a regression: three runs, all OOM, 92 s / 43 s / 35 s Same test box as my earlier comments: RX 7900 XTX, 9800X3D, 30.9 GB RAM (54.3 GB commit limit, 23.9 GB page file), Win11 26300, driver 32.0.32029.2010, DXC 1.9.2602.17. Build: 31.18 s, EXITCODE 0, `xcl.exe` 6.94 MB, pdb 74.66 MB. The 19:09 build (previous snapshot) reached **3,300 frames / 196 s**, 30 fps, and ended in the title's own `0xC0000005 write at 0x0 @ +0x23cf683` with **no Rust-side OOM**. This build goes the other way: | run | settings | frames | end | | --- | --- | --- | --- | | 1 | cold | 1,500 | 92 s — `memory allocation of 5636096 bytes failed`; one compute PSO took **16,116 ms** | | 2 | warm (driver blobs on disk) | 600 | 43 s — Private 43.65 GB → reclaim to 11.19 GB → `memory allocation of 4743244 bytes failed` | | 3 | `XCL_DXC_THREADS=4` | 600 | 35 s — 30.43 GB at 20 s, `memory allocation of 8294400 bytes failed` | **The driver PSO cache does work**: `64 compute pipelines made from the driver's blob of an earlier run`, warm total compute-compile time 33.4 s vs 87.6 s cold (225 PSOs in both runs). Nice win. **What I think caused it**: `wanted` deliberately skips the back-off in `dxc::wait_for_memory` (`WORKING < WANTED_AT_ONCE && wanted()`), so up to 6 wanted compiles of 0.1–0.7 GB each start while commit is already short. On this box that back-off is the only thing keeping the title alive — my 18:19 run survived only because the compiles were being throttled, and as I wrote then, the OOM was "speed-related". With `wanted` getting through, commit is overrun within the first 20 s. The 16 s cold compile is the same effect from the other side: 6 wanted compiles × their DXC instances contending on 16 cores. **Suggestion**: keep the wanted fast-path but bound it by headroom (e.g. don't take the wanted branch when `ullAvailPageFile` is below ~N GB), or cap concurrent wanted compiles at 2–3. I can A/B `XCL_PSO_DISK_CACHE=0` and a patched `WANTED_AT_ONCE` on request — tell me what to build and I'll report back. I rolled my deployment back to the 19:09 build for now.
Author
Owner

@⁠RodrigoTorreao on GitHub · 2026-11-24 17:00 UTC · original

RDNA2: with a warm driver cache and the earlier-run pipeline preload, the title got through its first world load and ran 30 fps for about 20 s. The +0x23cf683 watchdog then fired in a second load. The second load needed pipelines that were not cached yet. This is the same card as @⁠RockFellerX's report above. I am adding what changes when the compile stall is taken out of the first load.

Setup:

  • RX 6750 XT (RDNA2, 12 GB), AMD driver 32.0.21045.29003, i5-14600KF, 16 GB RAM (48 GB commit limit), Windows 11 26200.
  • DXC 1.9.2609 via XCL_DXC_DIR, main 47efa2e (release), retail 1.0.2.1, XCL_NETWORK=0, default xcl.toml.
  • Input: keyboard, through the first-run flow into the story.
run cache state first world load end
1, 2 cold presents stop at 122 / 114 s watchdog at 150.5 / 141.9 s. One compute pipeline is in the driver for the whole stall: 300 KB of DXIL for 26 s, then 160 KB for 19 s.
3 driver cache warmed by a partial xcl shaders --precompile --only cs --pipelines (about 750 pipelines) got further watchdog at 198 s, logged with device removed 0x887A0006 on the watchdog thread. No TDR event in the System log.
4 the same warm cache, the preload (used-pipelines.txt, 148 shader sets), after a reboot got through: 14 s with few presents (116–130 s), then 30 fps at about 650 draws per 2 s from 132 to 150 s a second load at about 152 s: 48 compute pipelines not in the cache, 63 s of driver time. Presents stop at about 181 s, watchdog at 217.5 s
5 the same, with 214 sets preloaded presents stop at about 118 s watchdog at 162 s. New, uncached pipelines (280 KB for 14.6 s, 133 KB for 11.4 s) and a 14 KB one that took 9.7 s

What this shows:

  • The pipelines a load needs decide whether the watchdog fires. In every run, the watchdog fired 28–44 s after the last present, while compute pipelines that had not been compiled before were in the AMD driver. With them cached, the first load got through. With new ones in the second load, it fired again.
  • The preload helps only for what an earlier run used, and the set changes between runs. In runs 4 and 5 the loads needed different pipelines, so the list (148 → 214 → 262 shader sets) did not converge in three runs.
  • This 16 GB machine slows every compile in a load. VRAM was overcommitted (13.9 GB local on a 12 GB card) and commit reached about 28 GB. In run 4, 5–25 KB pipelines took 14 s each in that state. On machines with 32 GB or more the margin is probably larger.
  • After the device removal in run 3, the next two launches died during start-up and did not recover until a reboot. The title thread stalled about 21 s after creating its compute queue (type 2), then device removed 0x887A0006 and assert 0x80000003 with E_OUTOFMEMORY in rax at +0x24788a6, with no pipeline created. A fresh driver cache (a renamed exe) behaved the same, and a small direct-queue GPU test passed. After a reboot, start-up was normal again.
  • The AMD driver's shader cache is per executable, so a precompile only helps a title run from the same xcl.exe file.

Not tested

  • A full precompile. The whole compute set is about 8 h on this machine, and I will report it separately.
  • Whether a full cache gets past the second load.
  • Run-to-run spread beyond these five runs.
  • What run 3's device removal was: a real hang, or an effect of the watchdog's report path.
  • Any other RDNA2 board or driver.

Logs (xcl.log, report.json) are available on request. They have no game data.

AI use: Claude Code (Claude Opus 5.5) ran the runs on my machine, read the logs and wrote this report. I played the title. The numbers are copied from xcl.log and the Windows event logs.

**@⁠RodrigoTorreao** on GitHub · 2026-11-24 17:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7138554827) **RDNA2: with a warm driver cache and the earlier-run pipeline preload, the title got through its first world load and ran 30 fps for about 20 s. The `+0x23cf683` watchdog then fired in a second load. The second load needed pipelines that were not cached yet.** This is the same card as @⁠RockFellerX's report above. I am adding what changes when the compile stall is taken out of the first load. **Setup:** - RX 6750 XT (RDNA2, 12 GB), AMD driver 32.0.21045.29003, i5-14600KF, 16 GB RAM (48 GB commit limit), Windows 11 26200. - DXC 1.9.2609 via `XCL_DXC_DIR`, `main` `47efa2e` (release), retail 1.0.2.1, `XCL_NETWORK=0`, default `xcl.toml`. - Input: keyboard, through the first-run flow into the story. | run | cache state | first world load | end | |---|---|---|---| | 1, 2 | cold | presents stop at 122 / 114 s | watchdog at 150.5 / 141.9 s. One compute pipeline is in the driver for the whole stall: 300 KB of DXIL for 26 s, then 160 KB for 19 s. | | 3 | driver cache warmed by a partial `xcl shaders --precompile --only cs --pipelines` (about 750 pipelines) | got further | watchdog at 198 s, logged with `device removed 0x887A0006` on the watchdog thread. No TDR event in the System log. | | 4 | the same warm cache, the preload (`used-pipelines.txt`, 148 shader sets), after a reboot | **got through**: 14 s with few presents (116–130 s), then 30 fps at about 650 draws per 2 s from 132 to 150 s | a second load at about 152 s: 48 compute pipelines not in the cache, 63 s of driver time. Presents stop at about 181 s, **watchdog at 217.5 s** | | 5 | the same, with 214 sets preloaded | presents stop at about 118 s | watchdog at 162 s. New, uncached pipelines (280 KB for 14.6 s, 133 KB for 11.4 s) and a 14 KB one that took 9.7 s | What this shows: - **The pipelines a load needs decide whether the watchdog fires.** In every run, the watchdog fired 28–44 s after the last present, while compute pipelines that had not been compiled before were in the AMD driver. With them cached, the first load got through. With new ones in the second load, it fired again. - **The preload helps only for what an earlier run used, and the set changes between runs.** In runs 4 and 5 the loads needed different pipelines, so the list (148 → 214 → 262 shader sets) did not converge in three runs. - **This 16 GB machine slows every compile in a load.** VRAM was overcommitted (13.9 GB local on a 12 GB card) and commit reached about 28 GB. In run 4, 5–25 KB pipelines took 14 s each in that state. On machines with 32 GB or more the margin is probably larger. - **After the device removal in run 3, the next two launches died during start-up and did not recover until a reboot.** The title thread stalled about 21 s after creating its compute queue (type 2), then `device removed 0x887A0006` and assert `0x80000003` with `E_OUTOFMEMORY` in `rax` at `+0x24788a6`, with no pipeline created. A fresh driver cache (a renamed exe) behaved the same, and a small direct-queue GPU test passed. After a reboot, start-up was normal again. - **The AMD driver's shader cache is per executable,** so a precompile only helps a title run from the same `xcl.exe` file. **Not tested** - A full precompile. The whole compute set is about 8 h on this machine, and I will report it separately. - Whether a full cache gets past the second load. - Run-to-run spread beyond these five runs. - What run 3's device removal was: a real hang, or an effect of the watchdog's report path. - Any other RDNA2 board or driver. Logs (`xcl.log`, `report.json`) are available on request. They have no game data. **AI use:** Claude Code (Claude Opus 5.5) ran the runs on my machine, read the logs and wrote this report. I played the title. The numbers are copied from `xcl.log` and the Windows event logs.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 17:02 UTC · original

This pair of runs is the cleanest mechanism evidence posted all weekend, and it reconciles two observations that looked contradictory:

  • My #1247-side note this evening: the 5-minute record died with "16,374 draws translated, 0 skipped" — zero refusals on the draw path, watchdog fired anyway. That led to the (correct) conclusion that refusal counts don't predict kills.
  • Your runs: warm cache + preload ⇒ first world load passes at a solid 30; second load with cache misses ⇒ watchdog. Nothing refused here either — the kill tracks translation latency on the critical path, not refusals.

Put together: the watchdog budgets time-to-completion, so cold pipeline builds feed it in two distinct ways — (a) the draw itself takes seconds to translate mid-load (your mechanism), and (b) even with nothing skipped, a fat tail of mid-frame builds eats the same budget (the 5-min record's slow-out). Refusal count is the wrong denominator on both counts; cold-translation count during gameplay is the right one. Two consequences worth acting on this week:

  1. Preload coverage becomes a measurable axis with your A/B as the calibration point: xcl logs every translation (and reports.json carries counters), so "pipelines translated while in-world" is countable per run — the prediction to test is that a run where that counter is ~0 at second-load survives second-load, exactly as yours did at first. RockFellerX's same-card result becomes a coverage comparison, not a mystery.
  2. This is the empirical case for the cache work — persistent positive caches are already xcl's design (which is why warm-cache depth keeps beating cold), and the negative-caching PR from today (#1472, reviewing) plus validator-checked artifacts keep warm runs honest when the corpus changes. A curated second-load preload list (the pipeline set your logs show was cold) would be the first community "patch data" artifact — nothing in it is game content, just pipeline identifiers, which both asset policies permit.

If you and RockFellerX can attach the in-world translation counters for the three tiers (cold / warm-driver / preload), that's the table that tells everyone how many seconds of watchdog budget each cache level buys on this card class.

**@⁠pickles976** on GitHub · 2026-11-24 17:02 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7138597480) This pair of runs is the cleanest mechanism evidence posted all weekend, and it reconciles two observations that looked contradictory: - My #1247-side note this evening: the 5-minute record died with **"16,374 draws translated, 0 skipped"** — zero refusals on the draw path, watchdog fired anyway. That led to the (correct) conclusion that refusal *counts* don't predict kills. - Your runs: **warm cache + preload ⇒ first world load passes at a solid 30; second load with cache misses ⇒ watchdog.** Nothing refused here either — the kill tracks translation **latency on the critical path**, not refusals. Put together: the watchdog budgets **time-to-completion**, so cold pipeline builds feed it in two distinct ways — (a) the draw itself takes seconds to translate mid-load (your mechanism), and (b) even with nothing skipped, a fat tail of mid-frame builds eats the same budget (the 5-min record's slow-out). Refusal count is the wrong denominator on both counts; **cold-translation count *during gameplay*** is the right one. Two consequences worth acting on this week: 1. **Preload coverage becomes a measurable axis with your A/B as the calibration point**: xcl logs every translation (and reports.json carries counters), so "pipelines translated while in-world" is countable per run — the prediction to test is that a run where that counter is ~0 at second-load survives second-load, exactly as yours did at first. RockFellerX's same-card result becomes a coverage comparison, not a mystery. 2. **This is the empirical case for the cache work** — persistent positive caches are already xcl's design (which is why warm-cache depth keeps beating cold), and the negative-caching PR from today (#1472, reviewing) plus validator-checked artifacts keep warm runs honest when the corpus changes. A curated **second-load preload list** (the pipeline set your logs show was cold) would be the first community "patch data" artifact — nothing in it is game content, just pipeline identifiers, which both asset policies permit. If you and RockFellerX can attach the in-world translation counters for the three tiers (cold / warm-driver / preload), that's the table that tells everyone how many seconds of watchdog budget each cache level buys on this card class.
Author
Owner

@⁠bvironn on GitHub · 2026-11-24 17:36 UTC · original

12 GB NVIDIA data point: same +0x23cf683 / GPU Loc Sig 7333478d, with BCPack and DirectStorage clean

Adding a run with a 12 GB card, because the reports here and in #505 come from 8, 16 and 24 GB cards, and this one isolates the remaining failure: with the current main, BCPack and DirectStorage no longer fail at all, and the abort still happens with the same signature.

Environment

XCL main 9e3831e (BCPack in dstorage.rs), plus one local commit that only changes the precompile progress print (crates/xcl/src/shaders.rs); the runtime is unchanged
CPU Intel i5-14400F (10C/16T)
GPU NVIDIA GeForce RTX 5070, 11,943 MiB VRAM, driver 32.0.16.2124
RAM 32 GB
OS Windows 11 build 10.0.26100
DXC 1.9.2602.17 from Windows SDK 10.0.26100
Build release, cargo build --release -p xcl
Title RockstarGamesInc.28872443D20A7 1.0.2.1, unpacked
Cache cold: %LOCALAPPDATA%\XCL was deleted before the run, so every pipeline compiled during it

Run: 180 s, XCL_NETWORK=0 XCL_ACTIVITY=1, XCL_PRESS_A_AT=20,32,44,56,68,80,95,110,130,150, no other input, nothing else on the GPU.

What happened

2,724 presents in 163.9 s. By 82 s the title had drawn 37,742 draws and 2,048 dispatches with translated pipelines (0 skipped), then it stopped submitting: 0 presents, 0 submits, 0 draws, 0 dispatches in every 2 s window for the ~80 s before the abort. At 163.9 s:

unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)
[debug] parameter `GPU Loc Sig`, value: `7333478d`
process ends with status 0xc0000005

7333478d is the value sub-north reported on a 4070 Ti SUPER and emirduran707 on a 9060 XT in #505, and the faulting RVA is the one in #534. Same stop, fourth GPU vendor/model.

The two things that are no longer failing on this machine

Counter (report.json / xcl.log) Previous run (077ce40, no BCPack) This run (9e3831e)
BCPack requests refused 1,024 (BC1 787, BC5 107, BC6H 1, BC7 129) 0
DirectStorage failures 0x89240030 up to 2,048 in one 2 s window 0
presents 1,082 2,724
peak commit 15,697 MB 28,363 MB

So the texture path is not the blocker here any more: the world streams, and what ends the run is the 80 s without a submit followed by the title's own abort.

Not tested / caveats

  • The DXIL cache was cold, so 55 of 58,709 pipelines were built during the run (24 cache hits, 69 misses). I cannot fully separate a compile stall from the ordering problem from this run alone; what I can say is that the title submitted nothing at all for 80 s, not that a frame took long.
  • 12 GB VRAM against a title that reaches 28,363 MB of commit: this card is at the low end for the world, and I have not tried a warm-cache run yet (one is queued: precompiling the pack first).

I can rerun with a warm cache and attach both report.json files if that helps.

**@⁠bvironn** on GitHub · 2026-11-24 17:36 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7139447355) ### 12 GB NVIDIA data point: same `+0x23cf683` / `GPU Loc Sig 7333478d`, with BCPack and DirectStorage clean Adding a run with a **12 GB** card, because the reports here and in #505 come from 8, 16 and 24 GB cards, and this one isolates the remaining failure: with the current main, BCPack and DirectStorage no longer fail at all, and the abort still happens with the same signature. **Environment** | | | |---|---| | XCL | `main` `9e3831e` (BCPack in `dstorage.rs`), plus one local commit that only changes the precompile progress print (`crates/xcl/src/shaders.rs`); the runtime is unchanged | | CPU | Intel i5-14400F (10C/16T) | | GPU | NVIDIA GeForce RTX 5070, 11,943 MiB VRAM, driver 32.0.16.2124 | | RAM | 32 GB | | OS | Windows 11 build 10.0.26100 | | DXC | 1.9.2602.17 from Windows SDK 10.0.26100 | | Build | release, `cargo build --release -p xcl` | | Title | `RockstarGamesInc.28872443D20A7` 1.0.2.1, unpacked | | Cache | **cold**: `%LOCALAPPDATA%\XCL` was deleted before the run, so every pipeline compiled during it | Run: 180 s, `XCL_NETWORK=0 XCL_ACTIVITY=1`, `XCL_PRESS_A_AT=20,32,44,56,68,80,95,110,130,150`, no other input, nothing else on the GPU. **What happened** 2,724 presents in 163.9 s. By 82 s the title had drawn 37,742 draws and 2,048 dispatches with translated pipelines (0 skipped), then it stopped submitting: `0 presents, 0 submits, 0 draws, 0 dispatches` in every 2 s window for the ~80 s before the abort. At 163.9 s: ``` unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) [debug] parameter `GPU Loc Sig`, value: `7333478d` process ends with status 0xc0000005 ``` `7333478d` is the value `sub-north` reported on a 4070 Ti SUPER and `emirduran707` on a 9060 XT in #505, and the faulting RVA is the one in #534. Same stop, fourth GPU vendor/model. **The two things that are no longer failing on this machine** | Counter (report.json / xcl.log) | Previous run (`077ce40`, no BCPack) | This run (`9e3831e`) | |---|---|---| | BCPack requests refused | 1,024 (BC1 787, BC5 107, BC6H 1, BC7 129) | **0** | | DirectStorage failures `0x89240030` | up to 2,048 in one 2 s window | **0** | | presents | 1,082 | 2,724 | | peak commit | 15,697 MB | **28,363 MB** | So the texture path is not the blocker here any more: the world streams, and what ends the run is the 80 s without a submit followed by the title's own abort. **Not tested / caveats** - The DXIL cache was cold, so 55 of 58,709 pipelines were built during the run (24 cache hits, 69 misses). I cannot fully separate a compile stall from the ordering problem from this run alone; what I can say is that the title submitted nothing at all for 80 s, not that a frame took long. - 12 GB VRAM against a title that reaches 28,363 MB of commit: this card is at the low end for the world, and I have not tried a warm-cache run yet (one is queued: precompiling the pack first). I can rerun with a warm cache and attach both `report.json` files if that helps.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 17:40 UTC · original

Static analysis from the hash-matched copy, on the two things your run newly isolates:

① 7333478d is computed, not a constant — and that's informative. I scanned the whole exe image for it in both endiannesses: zero occurrences. It is also not a string from xcl or the exe, so the label "GPU Loc Sig" comes from title data at runtime. Consequence: identical values on a 5070, a 4070 Ti SUPER and a 9060 XT cannot be a GPU-derived fingerprint — they are a hash/enum the title computes from title-side state, and vendor-equality means the same deterministic gate is failing everywhere. Decomposing it statically is impossible (no constant to anchor on); the cheap runtime route exists though: whoever has the debug-channel instrumentation, log the call stack at the title's debug-parameter write (the call that emits "parameter … value") — first hit of "GPU Loc Sig" tells you which subsystem signs the location, and the value becomes readable as (site, enum) instead of an opaque word.

② Your run is the tightest elimination set posted anywhere, and I want to state what it leaves. Ruled in by your own counters: 12 GB (no 8 GB budget-kill shape), BCPack clean, DirectStorage clean, 0 skipped draws, and then — the sharpest CPU-stall evidence on the board — 0 presents, 0 submits, 0 draws, 0 dispatches for ~80 s straight: the title stopped submitting while healthy, exactly the semaphore-block picture from the sync traces, and the watchdog dutifully fired. What remains alive as explanations is short: the #549 enqueue-snapshot class (absence of DS errors does not exclude it — the failure mode is a completion that never fires, not a refusal), and cold compile latency (your cache was deliberately cold, avg ~16.6 presents/s over the run says compile stalls ate the whole session). One question that would sharpen it further: your local commit touches precompile progress — was the precompile flag itself ON, and does its corpus cover second-load pipelines? If yes, latency is also partly excluded on this run, and #549 becomes near-exclusive — which makes it the experiment everyone else should be waiting on rather than new traces.

**@⁠pickles976** on GitHub · 2026-11-24 17:40 UTC · [original](https://github.com/xcl-dev/xcl/issues/534#issuecomment-7139535353) Static analysis from the hash-matched copy, on the two things your run newly isolates: **① `7333478d` is computed, not a constant — and that's informative.** I scanned the whole exe image for it in both endiannesses: **zero occurrences**. It is also not a string from xcl or the exe, so the label "GPU Loc Sig" comes from title data at runtime. Consequence: identical values on a 5070, a 4070 Ti SUPER and a 9060 XT cannot be a GPU-derived fingerprint — they are a hash/enum the **title** computes from title-side state, and vendor-equality means the same deterministic gate is failing everywhere. Decomposing it statically is impossible (no constant to anchor on); the cheap runtime route exists though: whoever has the debug-channel instrumentation, **log the call stack at the title's debug-parameter write** (the call that emits "parameter … value") — first hit of "GPU Loc Sig" tells you which subsystem signs the location, and the value becomes readable as (site, enum) instead of an opaque word. **② Your run is the tightest elimination set posted anywhere, and I want to state what it leaves.** Ruled in by your own counters: 12 GB (no 8 GB budget-kill shape), BCPack clean, DirectStorage clean, **0 skipped draws**, and then — the sharpest CPU-stall evidence on the board — **`0 presents, 0 submits, 0 draws, 0 dispatches` for ~80 s straight**: the title stopped *submitting* while healthy, exactly the semaphore-block picture from the sync traces, and the watchdog dutifully fired. What remains alive as explanations is short: the #549 enqueue-snapshot class (absence of DS *errors* does not exclude it — the failure mode is a completion that never fires, not a refusal), and cold compile latency (your cache was deliberately cold, avg ~16.6 presents/s over the run says compile stalls ate the whole session). One question that would sharpen it further: your local commit touches **precompile progress** — was the precompile flag itself ON, and does its corpus cover second-load pipelines? If yes, latency is also partly excluded on this run, and #549 becomes near-exclusive — which makes it the experiment everyone else should be waiting on rather than new traces.
This discussion has been locked. Commenting is limited to contributors.
No description provided.