Retail title 1.0.2.1 (Linux, RTX 3060 Ti 8 GB): past the end of story loading, then title assert 0x80000003 at +0x4da6315 #1164

Open
opened 2026-11-26 04:45:39 +00:00 by github-bot · 12 comments
Owner

@⁠alvarro71 on GitHub · 2026-11-24 12:44 UTC · original

Linux / NVIDIA 8 GB: one run got past the end of story loading (the cross-queue Wait64 stall from #662 / #675) and ran the world for about 170 s with a black screen. It then ended on the title's own assert 0x80000003 at game+0x4da6315, which no other issue reports. This is the setup and the local changes that got it that far.

Setup

  • Garuda Linux, kernel 7.3.5-zen1, RTX 3060 Ti 8 GB, NVIDIA 620.73.04, 32 GB RAM (zram swap only).
  • Wine from Proton Experimental experimental-11.0-20261112, vkd3d-proton 3.1 with the #257 patch, DXVK DXGI, DXC 1.9.2609.5. xcl.exe is cross-built for x86_64-pc-windows-msvc (release). Retail title 1.0.2.1, Series X profile, no network (XCL_NETWORK=0).
  • Tree (local merges, not pushed): main 6bac4b4 + #905 + #684 + #533 + #267 + #708. On top of that, three small local changes:
    1. wait_gate.rs: a reached Wait64 gate opens after 2 s if its memory condition is still unmet (XCL_GATE_TIMEOUT_MS), like the bounded CPU waits. Without this, one gate on a compute queue waited for ever at about 416 s, every queue then queued up behind it, and the run ended in 0x887a0005.
    2. list_x.rs (CpuCycleBreak): the value released on the CPU is also written to the title's memory (fetch_max, outside sparse windows). This lets the title and the gates see the counter move.
    3. XCL_GPU_WAIT_RELEASE_MS (the idea of #1046) makes the 5 s queue.Wait watchdog configurable. With 20000 the watchdog stops releasing waits whose producer is still coming.
  • Env: XCL_PSO_WAIT_MS=1 XCL_COMPUTE_PSO_WAIT_MS=1 XCL_COHERENT_MB=512 XCL_GPU_WAIT_RELEASE_MS=20000 VKD3D_CONFIG=ignore_shared_fence.

What happened (1 run)

  • Story loading ran at 27-30 fps up to about 550 s, past the point where runs without change 3 stop (440-490 s → +0x23cf683).
  • Then the title submitted 1500-2200 draws and 400-800 dispatches every 2 s at 2-6 fps (rising as pipelines finished), with every presented frame 0xff000000. GameInput saw button presses.
  • The counters showed 236295 draws (6761 skipped), 84669 dispatches (524288 skipped). Most of the skipped dispatches have a pipeline still building, which matches #1096 (NVIDIA compiling large compute shaders for minutes).
  • At 720.4 s:
unhandled exception 0x80000003 in game_scarlett_master.exe+0x4da6315 rax=0x3 rbx=0x475d808 rcx=0x5e2baa8 rdx=0x4222d522f5328744 rsi=0xd0ff70008 rdi=0x4222d522f5328744 rbp=0x1568ac90 r8=0x5e2ba50 r9=0x3 r10=0x600aa700 r11=0x600a0000 r12=0x14039c4 r13=0x4018d r14=0x5e2b740 r15=0x5e2b6d8 rsp=0x5e2b578; on the stack: game+0x4da62b9, game+0x528a1ad, game+0x4da63cc, game+0x54c1b7, game+0x7947bb, game+0x54c028

The log just before it says title textures: 131072 uploads left out so far.

A second run of the same tree ended at the end of loading in 0x887a0005 (deferred 64-bit write ... did not complete). It is not deterministic, so 1 of 2 runs got into the world.

Also seen on NVIDIA/Linux: at each of these stalls the kernel logs thousands of NVRM: _threadNodeCheckTimeout ... Timeout was set to: 30000 msecs, with no Xid. They begin when the hung process is torn down, so they look like a consequence and not the cause.

Not tested: Windows, AMD, the unit tests (the crate is built on Linux and not run there), the scripts/smoke.ps1 regression pair, and a run without the 1 ms PSO limits past loading. The three local changes are not a PR; I can open them as one if they look useful.

AI use: Claude Code (Claude Opus 5.5) made the local changes, ran the title on this machine, read the logs and wrote this report. No game files are attached.

**@⁠alvarro71** on GitHub · 2026-11-24 12:44 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164) Linux / NVIDIA 8 GB: one run got past the end of story loading (the cross-queue Wait64 stall from #662 / #675) and ran the world for about 170 s with a black screen. It then ended on the title's own assert `0x80000003` at `game+0x4da6315`, which no other issue reports. This is the setup and the local changes that got it that far. **Setup** - Garuda Linux, kernel 7.3.5-zen1, RTX 3060 Ti 8 GB, NVIDIA 620.73.04, 32 GB RAM (zram swap only). - Wine from Proton Experimental `experimental-11.0-20261112`, vkd3d-proton 3.1 with the #257 patch, DXVK DXGI, DXC 1.9.2609.5. xcl.exe is cross-built for `x86_64-pc-windows-msvc` (release). Retail title 1.0.2.1, Series X profile, no network (`XCL_NETWORK=0`). - Tree (local merges, not pushed): `main` `6bac4b4` + #905 + #684 + #533 + #267 + #708. On top of that, three small local changes: 1. `wait_gate.rs`: a reached Wait64 gate opens after 2 s if its memory condition is still unmet (`XCL_GATE_TIMEOUT_MS`), like the bounded CPU waits. Without this, one gate on a compute queue waited for ever at about 416 s, every queue then queued up behind it, and the run ended in `0x887a0005`. 2. `list_x.rs` (`CpuCycleBreak`): the value released on the CPU is also written to the title's memory (`fetch_max`, outside sparse windows). This lets the title and the gates see the counter move. 3. `XCL_GPU_WAIT_RELEASE_MS` (the idea of #1046) makes the 5 s `queue.Wait` watchdog configurable. With 20000 the watchdog stops releasing waits whose producer is still coming. - Env: `XCL_PSO_WAIT_MS=1 XCL_COMPUTE_PSO_WAIT_MS=1 XCL_COHERENT_MB=512 XCL_GPU_WAIT_RELEASE_MS=20000 VKD3D_CONFIG=ignore_shared_fence`. **What happened (1 run)** - Story loading ran at 27-30 fps up to about 550 s, past the point where runs without change 3 stop (440-490 s → `+0x23cf683`). - Then the title submitted 1500-2200 draws and 400-800 dispatches every 2 s at 2-6 fps (rising as pipelines finished), with every presented frame `0xff000000`. GameInput saw button presses. - The counters showed `236295 draws (6761 skipped), 84669 dispatches (524288 skipped)`. Most of the skipped dispatches have a pipeline still building, which matches #1096 (NVIDIA compiling large compute shaders for minutes). - At 720.4 s: ``` unhandled exception 0x80000003 in game_scarlett_master.exe+0x4da6315 rax=0x3 rbx=0x475d808 rcx=0x5e2baa8 rdx=0x4222d522f5328744 rsi=0xd0ff70008 rdi=0x4222d522f5328744 rbp=0x1568ac90 r8=0x5e2ba50 r9=0x3 r10=0x600aa700 r11=0x600a0000 r12=0x14039c4 r13=0x4018d r14=0x5e2b740 r15=0x5e2b6d8 rsp=0x5e2b578; on the stack: game+0x4da62b9, game+0x528a1ad, game+0x4da63cc, game+0x54c1b7, game+0x7947bb, game+0x54c028 ``` The log just before it says `title textures: 131072 uploads left out so far`. **A second run of the same tree** ended at the end of loading in `0x887a0005` (`deferred 64-bit write ... did not complete`). It is not deterministic, so 1 of 2 runs got into the world. **Also seen on NVIDIA/Linux:** at each of these stalls the kernel logs thousands of `NVRM: _threadNodeCheckTimeout ... Timeout was set to: 30000 msecs`, with no Xid. They begin when the hung process is torn down, so they look like a consequence and not the cause. **Not tested:** Windows, AMD, the unit tests (the crate is built on Linux and not run there), the `scripts/smoke.ps1` regression pair, and a run without the 1 ms PSO limits past loading. The three local changes are not a PR; I can open them as one if they look useful. **AI use:** Claude Code (Claude Opus 5.5) made the local changes, ran the title on this machine, read the logs and wrote this report. No game files are attached.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:45:39 +00:00
Author
Owner

@⁠Ali-AbdulHadii on GitHub · 2026-11-24 13:10 UTC · original

Linux / NVIDIA runs of the same title that answer your open point: no PSO limits at all, so nothing is skipped. The screen stays black, and the run then ends on the title's watchdog after long compile stalls.

Setup: CachyOS, RTX 5080 16 GB, NVIDIA 620.73.04, Ryzen 5 5600X, 31 GB RAM + zram, proton-cachyos-slr Wine, vkd3d-proton master 30b0eb9 + scripts/linux/vkd3d-proton-xcl.patch, DXVK DXGI, DXC 1.9.2609.5. XCL: a local branch of main 47efa2e + #640, #765, #172, #1055, #1102, #1063, #549 (not pushed). XCL_PSO_WAIT_MS=0, XCL_COMPUTE_WAIT_MS unset, XCL_EAGER_COMPUTE=1, XCL_GPU_WAIT_TIMEOUT_MS=60000 (a local knob for the 5 s release, like your change 3), XCL_PAGE_BUDGET_MB=2048, no network.

Two runs (wd1, wd2):

  • Last counters: 22188 draws (0 skipped) … 8192 dispatches (0 skipped) and 36641 draws (0 skipped) … 8192 dispatches (0 skipped). 0 bridged Wait64 waits released, 0 DirectStorage failures (#549 merged).
  • The world ran at 1–30 fps with stalls. The screen stayed black, and the last frame dumps are flat dark grey. So with these merges, skipping work is not what keeps the picture black here.
  • wd1 ended at 302 s and wd2 at 426 s, both after no frames for 26 s and 34 s. Your assert at +0x4da6315 did not come up in these runs. It did in our earlier runs that skipped dispatches.

The watchdog has two stages. +0x23cf683 is mov dword ptr [0], 0x4d8bd421 followed by add rsp, 0x48; ret. I stepped over just that instruction with a local switch, and the title went on. But 2 ms later a separate thread (entry +0x2215eca) ended it at +0x2215c35 (mov dword ptr [0], 0 then int3). That thread loops over 64 slots, compares (now − stamp) × scale with a limit, and only does so when a lookup of hash 0x89aee1d6 returns true. So stepping over +0x23cf683 alone does not keep the title alive. The stall has to stay under the limit.

What the stalls were, from thread dumps and the build log:

  1. wd1 at 272–302 s: the title loaded a new area and needed 61 compute pipelines (63 s of compiles), and all of them were built on the title's own threads. No xcl-pso worker logged a build after 13 s. At the end, 5 of the 8 were waiting in real::Slots::acquire for the BIG_COMPILES slot (one big driver compile at a time) behind the one compiling. So eager compute builds had stopped for the rest of the run. Locally, a worker that waits for that slot now gets a stand-in worker for the time it waits. That is ~80 lines with a test, which fails without the change.
  2. wd2 at 398–426 s: title threads waited 13.6, 25.2 and 20.8 s for three compute pipelines whose driver compiles took 13.6, 1.2 and 0.17 s. The rest was the DXC queue: one FIFO for the background's compiles and the title's, so a title thread's compile went in behind the background's. Locally, a title thread's compile now goes in its own lane with 4 DXC workers kept for it. Not yet run in the game.

About title textures: N uploads left out so far: it counts uploads that were skipped because the texture's memory held the same bytes as at its last upload (#504). We see it in every run (8 192 – 32 768). I don't think it is related to the assert.

Not tested: Windows, AMD, an 8 GB card, the two local pool/DXC changes in a full run.

AI use: Claude Code (Claude Opus 5.5) made the local changes, ran the title, read the logs and thread dumps, and wrote this text. The user approved posting it.

**@⁠Ali-AbdulHadii** on GitHub · 2026-11-24 13:10 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7132463372) Linux / NVIDIA runs of the same title that answer your open point: **no PSO limits at all**, so nothing is skipped. The screen stays black, and the run then ends on the title's watchdog after long compile stalls. **Setup:** CachyOS, RTX 5080 16 GB, NVIDIA 620.73.04, Ryzen 5 5600X, 31 GB RAM + zram, proton-cachyos-slr Wine, vkd3d-proton master `30b0eb9` + `scripts/linux/vkd3d-proton-xcl.patch`, DXVK DXGI, DXC 1.9.2609.5. XCL: a local branch of `main` `47efa2e` + #640, #765, #172, #1055, #1102, #1063, #549 (not pushed). `XCL_PSO_WAIT_MS=0`, `XCL_COMPUTE_WAIT_MS` unset, `XCL_EAGER_COMPUTE=1`, `XCL_GPU_WAIT_TIMEOUT_MS=60000` (a local knob for the 5 s release, like your change 3), `XCL_PAGE_BUDGET_MB=2048`, no network. **Two runs (wd1, wd2):** - Last counters: `22188 draws (0 skipped) … 8192 dispatches (0 skipped)` and `36641 draws (0 skipped) … 8192 dispatches (0 skipped)`. 0 bridged `Wait64` waits released, 0 DirectStorage failures (#549 merged). - The world ran at 1–30 fps with stalls. The screen stayed black, and the last frame dumps are flat dark grey. So with these merges, skipping work is not what keeps the picture black here. - wd1 ended at 302 s and wd2 at 426 s, both after no frames for 26 s and 34 s. Your assert at `+0x4da6315` did not come up in these runs. It did in our earlier runs that skipped dispatches. **The watchdog has two stages.** `+0x23cf683` is `mov dword ptr [0], 0x4d8bd421` followed by `add rsp, 0x48; ret`. I stepped over just that instruction with a local switch, and the title went on. But 2 ms later a separate thread (entry `+0x2215eca`) ended it at `+0x2215c35` (`mov dword ptr [0], 0` then `int3`). That thread loops over 64 slots, compares `(now − stamp) × scale` with a limit, and only does so when a lookup of hash `0x89aee1d6` returns true. So stepping over `+0x23cf683` alone does not keep the title alive. The stall has to stay under the limit. **What the stalls were**, from thread dumps and the build log: 1. wd1 at 272–302 s: the title loaded a new area and needed 61 compute pipelines (63 s of compiles), and all of them were built on the title's own threads. No `xcl-pso` worker logged a build after 13 s. At the end, 5 of the 8 were waiting in `real::Slots::acquire` for the `BIG_COMPILES` slot (one big driver compile at a time) behind the one compiling. So eager compute builds had stopped for the rest of the run. Locally, a worker that waits for that slot now gets a stand-in worker for the time it waits. That is ~80 lines with a test, which fails without the change. 2. wd2 at 398–426 s: title threads waited 13.6, 25.2 and 20.8 s for three compute pipelines whose driver compiles took 13.6, 1.2 and 0.17 s. The rest was the DXC queue: one FIFO for the background's compiles and the title's, so a title thread's compile went in behind the background's. Locally, a title thread's compile now goes in its own lane with 4 DXC workers kept for it. Not yet run in the game. **About `title textures: N uploads left out so far`:** it counts uploads that were skipped because the texture's memory held the same bytes as at its last upload (#504). We see it in every run (8 192 – 32 768). I don't think it is related to the assert. Not tested: Windows, AMD, an 8 GB card, the two local pool/DXC changes in a full run. AI use: Claude Code (Claude Opus 5.5) made the local changes, ran the title, read the logs and thread dumps, and wrote this text. The user approved posting it.
Author
Owner

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

Windows / AMD RDNA4, plain main 47efa2e: the same assert at title+0x4da6315 with XCL_PSO_WAIT_MS=50; without it the run ends on the watchdog (+0x23cf683)

A second machine for this assert, on Windows and with no local changes. Two runs of the same retail title (package 1.0.2.1), one without and one with XCL_PSO_WAIT_MS=50.

Tested

  • AMD Radeon RX 9070 XT 16 GB (driver 32.0.31044.16), Ryzen 9 5950X, 64 GB RAM, 4 GB page file, Windows 11 Home 26H2 (26300). rustc 1.100.0, release, DXC 1.9.2602.17 from the Windows SDK. No System32\xgameruntime.dll on this machine (Gaming Services not installed).
  • main 47efa2e, no local changes, cargo build --release --workspace.
  • xcl run <game folder> with XCL_NETWORK=0 XCL_ACTIVITY=1; run 2 adds XCL_PSO_WAIT_MS=50. Menus passed by hand. One run each.
  • Run 1 was the title's first run on this machine (512 MB coherent window, cold caches). Run 2 was the second (4095 MB window, warm DXIL cache).
run 1 (no budget) run 2 (XCL_PSO_WAIT_MS=50)
first #101 302.4 s 105.2 s
end 337.3 s: 0xc0000005 at title+0x23cf683 (write at 0x0) 196.2 s: 0x80000003 at title+0x4da6315
time after #101 35 s 91 s
draws (last counter line) 131 072, 0 skipped 22 410, 38 197 skipped, 4 096 with PC pipelines
dispatches (last counter line) 5 882, 0 skipped 8 628, 78 110 skipped
pipelines late after 50 ms – 1 025
Wait64BitValueX timeouts (2000 ms) 0 7
"would close a GPU cycle – signalled on CPU" 0 6
DirectStorage requests failed 0 2 072, all 0x89240009
peak commit 29 559 MB 40 321 MB
peak video memory, local / non-local 14 117 / 1 202 MB 21 610 / 5 438 MB

Run 2 in more detail:

  • 81 presents in the 91 s after #101, so under 1 fps. No device removal in either run.
  • The 2 072 DirectStorage failures (E_ACCESS_VIOLATION) come during loading: 2 069 in the 2 s window ending at 78 s and 3 at about 100 s. The first skipped draw or dispatch is logged at 112 s, so the failures come before any skipping.
  • Local video memory goes from 13.5 GB to 20.2 GB between 110 s and 120 s, on a 16 253 MiB card.
  • The assert:
unhandled exception 0x80000003 in title+0x4da6315 rax=0x1 rbx=0x0 rcx=0x38a6b848 rdx=0xa1e5e36a071007b0 rsi=0xc87cc8fc8 rdi=0xa1e5e36a071007b0 rbp=0x70197ac90 r8=0x38a6b820 r9=0x1 r10=0x50060000 r11=0x50000000 r12=0x4c01101 r13=0xb7bf4 r14=0x0 r15=0x38a6b670 rsp=0x38a6b548
on the stack: title+0x4da62b9, title+0x4e641dd, title+0x40471, libhttpclient.gdk.dll+0xc06e3, title+0x465aaf, title+0x465bae

The first frame (+0x4da62b9) is the same as in the report above; the callers differ.

  • In both runs the title's crash reporter tried to upload a minidump after the fault, and XCL_NETWORK=0 refused it (WinHttpConnect fails (no network)).

Not tested

  • A clean A/B: run 2 differs from run 1 in two ways (the budget, and the 4095 MB coherent window with warm caches), so I cannot say which of them the DirectStorage failures or the assert follow from.
  • More than one run per setting, so nothing here says how repeatable it is.
  • What was on screen: no frame dumps were taken.
  • The test suite and scripts/smoke.ps1 were not run on this machine.
  • main after 47efa2e, NVIDIA / Intel GPUs, a machine with Gaming Services installed.
  • Whether an open PR already covers the 0x89240009 failures (I did not check them).

Logs are not attached; I can post excerpts of xcl.log from either run.

AI use: Claude Code (Claude Fable 5.2) built main, started the runs, read the two xcl.log files and wrote this report. A person passed the menus. All numbers are from the logs of these two runs.

**@⁠komglebissarov** on GitHub · 2026-11-24 13:50 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7133423706) **Windows / AMD RDNA4, plain `main` `47efa2e`: the same assert at `title+0x4da6315` with `XCL_PSO_WAIT_MS=50`; without it the run ends on the watchdog (`+0x23cf683`)** A second machine for this assert, on Windows and with no local changes. Two runs of the same retail title (package 1.0.2.1), one without and one with `XCL_PSO_WAIT_MS=50`. **Tested** - AMD Radeon RX 9070 XT 16 GB (driver 32.0.31044.16), Ryzen 9 5950X, 64 GB RAM, 4 GB page file, Windows 11 Home 26H2 (26300). rustc 1.100.0, release, DXC 1.9.2602.17 from the Windows SDK. No `System32\xgameruntime.dll` on this machine (Gaming Services not installed). - `main` `47efa2e`, no local changes, `cargo build --release --workspace`. - `xcl run <game folder>` with `XCL_NETWORK=0 XCL_ACTIVITY=1`; run 2 adds `XCL_PSO_WAIT_MS=50`. Menus passed by hand. One run each. - Run 1 was the title's first run on this machine (512 MB coherent window, cold caches). Run 2 was the second (4095 MB window, warm DXIL cache). | | run 1 (no budget) | run 2 (`XCL_PSO_WAIT_MS=50`) | |---|---|---| | first `#101` | 302.4 s | 105.2 s | | end | 337.3 s: `0xc0000005` at `title+0x23cf683` (write at 0x0) | 196.2 s: `0x80000003` at `title+0x4da6315` | | time after `#101` | 35 s | 91 s | | draws (last counter line) | 131 072, 0 skipped | 22 410, 38 197 skipped, 4 096 with PC pipelines | | dispatches (last counter line) | 5 882, 0 skipped | 8 628, 78 110 skipped | | pipelines late after 50 ms | – | 1 025 | | `Wait64BitValueX` timeouts (2000 ms) | 0 | 7 | | "would close a GPU cycle – signalled on CPU" | 0 | 6 | | DirectStorage requests failed | 0 | 2 072, all `0x89240009` | | peak commit | 29 559 MB | 40 321 MB | | peak video memory, local / non-local | 14 117 / 1 202 MB | 21 610 / 5 438 MB | Run 2 in more detail: - 81 presents in the 91 s after `#101`, so under 1 fps. No device removal in either run. - The 2 072 DirectStorage failures (`E_ACCESS_VIOLATION`) come during loading: 2 069 in the 2 s window ending at 78 s and 3 at about 100 s. The first skipped draw or dispatch is logged at 112 s, so the failures come before any skipping. - Local video memory goes from 13.5 GB to 20.2 GB between 110 s and 120 s, on a 16 253 MiB card. - The assert: ``` unhandled exception 0x80000003 in title+0x4da6315 rax=0x1 rbx=0x0 rcx=0x38a6b848 rdx=0xa1e5e36a071007b0 rsi=0xc87cc8fc8 rdi=0xa1e5e36a071007b0 rbp=0x70197ac90 r8=0x38a6b820 r9=0x1 r10=0x50060000 r11=0x50000000 r12=0x4c01101 r13=0xb7bf4 r14=0x0 r15=0x38a6b670 rsp=0x38a6b548 on the stack: title+0x4da62b9, title+0x4e641dd, title+0x40471, libhttpclient.gdk.dll+0xc06e3, title+0x465aaf, title+0x465bae ``` The first frame (`+0x4da62b9`) is the same as in the report above; the callers differ. - In both runs the title's crash reporter tried to upload a minidump after the fault, and `XCL_NETWORK=0` refused it (`WinHttpConnect fails (no network)`). **Not tested** - A clean A/B: run 2 differs from run 1 in two ways (the budget, and the 4095 MB coherent window with warm caches), so I cannot say which of them the DirectStorage failures or the assert follow from. - More than one run per setting, so nothing here says how repeatable it is. - What was on screen: no frame dumps were taken. - The test suite and `scripts/smoke.ps1` were not run on this machine. - `main` after `47efa2e`, NVIDIA / Intel GPUs, a machine with Gaming Services installed. - Whether an open PR already covers the `0x89240009` failures (I did not check them). Logs are not attached; I can post excerpts of `xcl.log` from either run. **AI use:** Claude Code (Claude Fable 5.2) built `main`, started the runs, read the two `xcl.log` files and wrote this report. A person passed the menus. All numbers are from the logs of these two runs.
Author
Owner

@⁠Ali-AbdulHadii on GitHub · 2026-11-24 14:12 UTC · original

@⁠komglebissarov about your open point on the 0x89240009 failures: #549 (open) covers that case. A destination page array the title fills after EnqueueRequest reaches the DirectStorage worker before the title's Submit, and the request fails with E_ACCESS_VIOLATION. Yours look the same: ~2 000 at once during loading, and the run continues afterwards.

On Linux / RTX 5080 we had 128 to over 2 048 of them in each of 11 runs. With #549 merged: 0 in every run since (10 runs, counted over all 2 s activity windows). Details on #549: https://github.com/ivall/xcl/pull/549#issuecomment-7131509269

Not tested: Windows, AMD, your title setup.

AI use: Claude Code (Claude Opus 5.5) wrote this from our run logs; the user approved posting it.

**@⁠Ali-AbdulHadii** on GitHub · 2026-11-24 14:12 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7133997547) @⁠komglebissarov about your open point on the `0x89240009` failures: #549 (open) covers that case. A destination page array the title fills after `EnqueueRequest` reaches the DirectStorage worker before the title's `Submit`, and the request fails with `E_ACCESS_VIOLATION`. Yours look the same: ~2 000 at once during loading, and the run continues afterwards. On Linux / RTX 5080 we had 128 to over 2 048 of them in each of 11 runs. With #549 merged: 0 in every run since (10 runs, counted over all 2 s activity windows). Details on #549: https://github.com/ivall/xcl/pull/549#issuecomment-7131509269 Not tested: Windows, AMD, your title setup. AI use: Claude Code (Claude Opus 5.5) wrote this from our run logs; the user approved posting it.
Author
Owner

@⁠alvarro71 on GitHub · 2026-11-24 15:06 UTC · original

Follow-up, same machine and tree plus #751 (local merge), about 15 runs in total today:

  • 2 runs got into the world (13:28 and 14:19 local time). The rest ended at the end of loading (420-460 s), in the +0x23cf683 watchdog or 0x887a0005. The two runs that got in logged no would close a GPU cycle, no queue.Wait ... released on CPU and no gate timeout at all. In every failed run those appear 10-30 s before the stall. So whether the title gets through depends on the order the queues happen to run in, not on a value XCL has to supply later.
  • After the cycle has formed, releasing the waits does not bring the title back. With XCL_GPU_WAIT_RELEASE_MS at 12 s or 20 s, the waits are released, the gates open, and submits stay at 0 until the title's 30 s watchdog fires.
  • XCL_COMPUTE_PSO_WAIT_MS=4000 (graphics still 1 ms) made no difference in 3 runs.
  • Second in-world run: about 15 s of world rendering at 2-4 fps. Then the process stopped logging while the cgroup swapped (15.2 GB resident, 14 GB of swap) and was killed by its memory limit. In-world memory use is far above what the load needs on this 8 GB card (video memory 6438 MB local, 9827 MB non-local; target pages 9424 MB).
  • One run hit an AV in xcl.exe at memmove ← tiling::Chain::detile_level ← title_textures::subresources ← real::res_release, which #751 should cover. It is merged here now.

AI use: Claude Code (Claude Opus 5.5) ran the runs and wrote this comment.

**@⁠alvarro71** on GitHub · 2026-11-24 15:06 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7135459593) Follow-up, same machine and tree plus #751 (local merge), about 15 runs in total today: - **2 runs got into the world** (13:28 and 14:19 local time). The rest ended at the end of loading (420-460 s), in the `+0x23cf683` watchdog or `0x887a0005`. The two runs that got in logged **no** `would close a GPU cycle`, no `queue.Wait ... released on CPU` and no gate timeout at all. In every failed run those appear 10-30 s before the stall. So whether the title gets through depends on the order the queues happen to run in, not on a value XCL has to supply later. - After the cycle has formed, releasing the waits does not bring the title back. With `XCL_GPU_WAIT_RELEASE_MS` at 12 s or 20 s, the waits are released, the gates open, and submits stay at 0 until the title's 30 s watchdog fires. - `XCL_COMPUTE_PSO_WAIT_MS=4000` (graphics still 1 ms) made no difference in 3 runs. - Second in-world run: about 15 s of world rendering at 2-4 fps. Then the process stopped logging while the cgroup swapped (15.2 GB resident, 14 GB of swap) and was killed by its memory limit. In-world memory use is far above what the load needs on this 8 GB card (`video memory 6438 MB local, 9827 MB non-local; target pages 9424 MB`). - One run hit an AV in `xcl.exe` at `memmove` ← `tiling::Chain::detile_level` ← `title_textures::subresources` ← `real::res_release`, which #751 should cover. It is merged here now. **AI use:** Claude Code (Claude Opus 5.5) ran the runs and wrote this comment.
Author
Owner

@⁠BTekV4 on GitHub · 2026-11-24 15:51 UTC · original

Linux / NVIDIA wave32 data point: reproduced the title assert 0x80000003 at game+0x4da6315, and what comes before/after it on this machine.

Setup: CachyOS (Arch), RTX 5070 Ti 16 GB (wave32 only), NVIDIA 620.73.04, 62 GB RAM; Wine = UMU-Proton 11.0-2e, vkd3d-proton 3.1 with the scripts/linux patch (#257), DXC win64 from XCL's tools; retail 1.0.2.1, XCL_NETWORK=0.

Tree: main 930e8b4 + local merges: revert of b8b1f49 (#1307), #688, #759 (+757/#758), #820, #751, #549, #1278, #1288, #1315/#1316 (XCL_COMPACT_CS auto), #1284. XCL_BIG_COMPILES=4, warm DXIL/vkd3d caches, no XCL_PSO_WAIT_MS.

  • Press A at 30 s (GameInput pad works); first ListX #101 at ~95–97 s.
  • The run gets through loading and the world runs ~3 min (presents+submits alive, DirectStorage unpacking BC6H with the merges — 0 failed requests), then the assert at +0x4da6315, same register shape as reported here (rdx/rdi = a float 0x4926d2b6424999f0, rax=0x1).
  • Two sibling runs on the same tree: one ended at the heartbeat abort +0x23cf683 (~95 s), one got further and died on a read of 0xffffffffffffffff (the -1-pointer family, #911 — see my comment there). No queue-order log lines (would close a GPU cycle, released on CPU) before any of the three endings.

So three runs, three different endings — matching alvarro71's reading that which one you get depends on the order the queues run in. The assert itself reproduces identically when it comes.

**@⁠BTekV4** on GitHub · 2026-11-24 15:51 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7136739108) Linux / NVIDIA wave32 data point: reproduced the title assert `0x80000003` at `game+0x4da6315`, and what comes before/after it on this machine. **Setup:** CachyOS (Arch), RTX 5070 Ti 16 GB (wave32 only), NVIDIA 620.73.04, 62 GB RAM; Wine = UMU-Proton 11.0-2e, vkd3d-proton 3.1 with the scripts/linux patch (#257), DXC win64 from XCL's tools; retail 1.0.2.1, `XCL_NETWORK=0`. **Tree:** `main` `930e8b4` + local merges: revert of `b8b1f49` (#1307), #688, #759 (+757/#758), #820, #751, #549, #1278, #1288, #1315/#1316 (`XCL_COMPACT_CS` auto), #1284. `XCL_BIG_COMPILES=4`, warm DXIL/vkd3d caches, no `XCL_PSO_WAIT_MS`. - Press A at 30 s (GameInput pad works); first `ListX #101` at ~95–97 s. - The run gets through loading and the world runs ~3 min (presents+submits alive, DirectStorage unpacking BC6H with the merges — 0 failed requests), then the assert at `+0x4da6315`, same register shape as reported here (`rdx`/`rdi` = a float `0x4926d2b6424999f0`, `rax=0x1`). - Two sibling runs on the same tree: one ended at the heartbeat abort `+0x23cf683` (~95 s), one got further and died on a read of `0xffffffffffffffff` (the -1-pointer family, #911 — see my comment there). No queue-order log lines (`would close a GPU cycle`, `released on CPU`) before any of the three endings. So three runs, three different endings — matching alvarro71's reading that which one you get depends on the order the queues run in. The assert itself reproduces identically when it comes.
Author
Owner

@⁠alvarro71 on GitHub · 2026-11-24 16:10 UTC · original

The end-of-loading stall recovers on its own once the title's stall watchdog is stopped. Same Linux / RTX 3060 Ti 8 GB tree as above (local merges + #751), one run so far.

How the watchdog stops (static reading of the 1.0.2.1 exe, entry +0x56a1ec8; no file changes):

  • The watchdog thread (body +0x2215a60) runs a 1 s loop. It kills the title when the heartbeat at +0x71b6338 (QPC, written by +0x22159f0) has not moved for 30 loops. The 30 is an immediate (0x1e), not a tunable.
  • +0x23cf683 (stage 1) is the report callback the thread calls just before it kills. +0x2215c35 / +0x2215db4 are the kill points.
  • The thread exits its loop when the byte at +0x71b6340 (its shutdown flag) is 1.
  • The 0x89aee1d6 lookup @⁠Ali-AbdulHadii mentioned is a bool tunable (+0x9d3e70 → table at singleton +0x71fa218+0x90, type tag 2). It only gates the 64-slot "scope" path, which needs the counter at +0x71b6334 > 0, and it defaults to false. On this run's path (counter 0) the 30 s heartbeat check alone decides. So the tunable is not what kills us here.

Run with the flag held at 1 (a local XCL_NO_TITLE_WATCHDOG=1 that stores 1 there every 2 s, only for this image):

  • Story loading reached the usual end-of-loading stall at 355 s: 0 presents, a few submits, for ~25 s.
  • Without the watchdog the title resumed by itself at 381 s and rendered the world at 2-4 fps: 1900-2700 draws and 200-1400 dispatches per 2 s.
  • The HUD is drawn: minimap with the player arrow and north marker, plus a location label. The 3D scene is still black: 46657 dispatches (262144 skipped), pipelines still building with the 1 ms limits.
  • What ends it now is memory on this 32 GB machine. The title went into heavy swapping (about 30 GB resident plus 28 GB swapped across zram and disk), with video memory 6.5 GB local, 8.8 GB non-local; target pages 8.9 GB; sparse pools 2.9 GB, and fell to 0 fps.

So at least on this machine, the stall that ends most runs at +0x23cf683 is a long but finite one, not a deadlock.

Not tested: more than one run, Windows, AMD, a machine with more RAM.

AI use: Claude Code (Claude Opus 5.5) read the disassembly, wrote the local switch, ran the title and wrote this comment.

**@⁠alvarro71** on GitHub · 2026-11-24 16:10 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7137227761) **The end-of-loading stall recovers on its own once the title's stall watchdog is stopped.** Same Linux / RTX 3060 Ti 8 GB tree as above (local merges + #751), one run so far. **How the watchdog stops** (static reading of the 1.0.2.1 exe, entry `+0x56a1ec8`; no file changes): - The watchdog thread (body `+0x2215a60`) runs a 1 s loop. It kills the title when the heartbeat at `+0x71b6338` (QPC, written by `+0x22159f0`) has not moved for 30 loops. The 30 is an immediate (`0x1e`), not a tunable. - `+0x23cf683` (stage 1) is the report callback the thread calls just before it kills. `+0x2215c35` / `+0x2215db4` are the kill points. - The thread exits its loop when the byte at `+0x71b6340` (its shutdown flag) is 1. - The `0x89aee1d6` lookup @⁠Ali-AbdulHadii mentioned is a bool **tunable** (`+0x9d3e70` → table at singleton `+0x71fa218+0x90`, type tag 2). It only gates the 64-slot "scope" path, which needs the counter at `+0x71b6334` > 0, and it defaults to false. On this run's path (counter 0) the 30 s heartbeat check alone decides. So the tunable is not what kills us here. **Run with the flag held at 1** (a local `XCL_NO_TITLE_WATCHDOG=1` that stores 1 there every 2 s, only for this image): - Story loading reached the usual end-of-loading stall at 355 s: 0 presents, a few submits, for ~25 s. - Without the watchdog the title **resumed by itself at 381 s** and rendered the world at 2-4 fps: 1900-2700 draws and 200-1400 dispatches per 2 s. - The **HUD is drawn**: minimap with the player arrow and north marker, plus a location label. The 3D scene is still black: `46657 dispatches (262144 skipped)`, pipelines still building with the 1 ms limits. - What ends it now is memory on this 32 GB machine. The title went into heavy swapping (about 30 GB resident plus 28 GB swapped across zram and disk), with `video memory 6.5 GB local, 8.8 GB non-local; target pages 8.9 GB; sparse pools 2.9 GB`, and fell to 0 fps. So at least on this machine, the stall that ends most runs at `+0x23cf683` is a long but finite one, not a deadlock. **Not tested:** more than one run, Windows, AMD, a machine with more RAM. **AI use:** Claude Code (Claude Opus 5.5) read the disassembly, wrote the local switch, ran the title and wrote this comment.
Author
Owner

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

Static reading of +0x4da6315 (1.0.2.1 exe, entry +0x56a1ec8; no game files modified or attached) connects this assert directly to the stale DirectStorage page-list corruption in #1405 — and points to an unreported AutoSubmitDisabled bug in crates/xcl/src/hle/dstorage.rs:

  1. What +0x4da6315 is:

    • +0x4da62d0(rcx = resource_map, rdx = ptr) reads the two byte chunk counts at [rcx] and [rcx + 1], scans count0 + count1 24-byte chunk entries { src_base, dst_base, size } starting at rcx + 0x10, and returns dst_base - src_base when src_base <= rdx < src_base + size. If no chunk contains rdx, it traps on int3 at +0x4da6315.
    • Both call stacks reported here (+0x4da63cc in the OP, +0x4e641dd in @⁠komglebissarov's run) enter +0x4da62a0 -> +0x4da62d0 during resource pointer fixup on the active TLS resource map after confirming (+0x4db8d90) that the field address (rsi) lies inside the resource's mapped destination range.
    • In all three dumps, the chunk range is a normal resource range (0x50000000..0x50060000 / 0x600a0000..0x600aa700), while rdx (0x4222d522f5328744, 0xa1e5e36a071007b0, 0x4926d2b6424999f0) is non-pointer data sitting in the destination page — even on @⁠BTekV4's run with #549 merged and 0 failed DirectStorage requests. That matches #1405 (a reused page-list slot holding stale non-zero page numbers at EnqueueRequest, which #549's 0-entry check misses).
  2. Related bug in crates/xcl/src/hle/dstorage.rs (AutoSubmitDisabled):

    • factory_create_queue1 (slot 10, IDStorageFactoryX2::CreateQueue1) logs u64 @0x18 = 1 from DSTORAGE_QUEUE_DESC1 and discards it.
    • Per the Xbox GDK dstorage_xs.h docs, offset 0x18 of DSTORAGE_QUEUE_DESC1 is DSTORAGE_QUEUE_OPTIONS Options, where bit 0 (0x1) is AutoSubmitDisabled.
    • Because enqueue / enqueue_numbered still unconditionally auto-submit at capacity / 2, XCL can dispatch requests to the worker inside EnqueueRequest before the title finishes updating its page-list slot and calls Submit(). Honoring AutoSubmitDisabled closes the auto-submit race for both zero (#549) and stale non-zero (#1405) page-list slots.

Not tested: live retail run with #1405 + AutoSubmitDisabled (static analysis of the 1.0.2.1 executable and dstorage.rs only).

AI use: Antigravity (gemini-4-neon) read the disassembly around +0x4da6315, checked dstorage.rs and Microsoft's GDK DirectStorage docs, and drafted this note; reviewed before posting.

**@⁠certified-retart** on GitHub · 2026-11-24 17:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7138542138) Static reading of `+0x4da6315` (1.0.2.1 exe, entry `+0x56a1ec8`; no game files modified or attached) connects this assert directly to the stale DirectStorage page-list corruption in #1405 — and points to an unreported `AutoSubmitDisabled` bug in `crates/xcl/src/hle/dstorage.rs`: 1. **What `+0x4da6315` is:** - `+0x4da62d0(rcx = resource_map, rdx = ptr)` reads the two byte chunk counts at `[rcx]` and `[rcx + 1]`, scans `count0 + count1` 24-byte chunk entries `{ src_base, dst_base, size }` starting at `rcx + 0x10`, and returns `dst_base - src_base` when `src_base <= rdx < src_base + size`. If no chunk contains `rdx`, it traps on `int3` at `+0x4da6315`. - Both call stacks reported here (`+0x4da63cc` in the OP, `+0x4e641dd` in @⁠komglebissarov's run) enter `+0x4da62a0 -> +0x4da62d0` during resource pointer fixup on the active TLS resource map after confirming (`+0x4db8d90`) that the field address (`rsi`) lies inside the resource's mapped destination range. - In all three dumps, the chunk range is a normal resource range (`0x50000000..0x50060000` / `0x600a0000..0x600aa700`), while `rdx` (`0x4222d522f5328744`, `0xa1e5e36a071007b0`, `0x4926d2b6424999f0`) is non-pointer data sitting in the destination page — even on @⁠BTekV4's run with #549 merged and 0 failed DirectStorage requests. That matches #1405 (a reused page-list slot holding stale non-zero page numbers at `EnqueueRequest`, which #549's `0`-entry check misses). 2. **Related bug in `crates/xcl/src/hle/dstorage.rs` (`AutoSubmitDisabled`):** - `factory_create_queue1` (slot 10, `IDStorageFactoryX2::CreateQueue1`) logs `u64 @0x18 = 1` from `DSTORAGE_QUEUE_DESC1` and discards it. - Per the Xbox GDK `dstorage_xs.h` docs, offset `0x18` of `DSTORAGE_QUEUE_DESC1` is `DSTORAGE_QUEUE_OPTIONS Options`, where bit 0 (`0x1`) is `AutoSubmitDisabled`. - Because `enqueue` / `enqueue_numbered` still unconditionally auto-submit at `capacity / 2`, XCL can dispatch requests to the worker inside `EnqueueRequest` before the title finishes updating its page-list slot and calls `Submit()`. Honoring `AutoSubmitDisabled` closes the auto-submit race for both zero (#549) and stale non-zero (#1405) page-list slots. **Not tested:** live retail run with #1405 + `AutoSubmitDisabled` (static analysis of the 1.0.2.1 executable and `dstorage.rs` only). **AI use:** Antigravity (`gemini-4-neon`) read the disassembly around `+0x4da6315`, checked `dstorage.rs` and Microsoft's GDK DirectStorage docs, and drafted this note; reviewed before posting.
Author
Owner

@⁠oz-stanislav-zhukov on GitHub · 2026-11-24 17:40 UTC · original

Windows / NVIDIA data point for this assert: RTX 5060 Ti 16 GB (driver 621.24), i7-14700KF, Windows 10 22H2. Tree: main 9e3831e + #751, #688, #1123, #488, #789, #1195, #1428, #1323, XCL_HEAP_WINDOWS=1 XCL_PSO_WAIT_MS=50.

  • Without #1405: 0x80000003 at +0x4da6315 at 161 s, with rdx=0xaaaaaaaa. The destination page held aaaaaaaa-high qwords, and the resource map was normal (0x50000000 → 0x8823f0000). On b7aa9f3 the same stack also died at +0x50705fc, +0x540abf5 and +0x4fdbe43 on garbage pointers.
  • With #1405: no unhandled exception in two runs, of 427 s and 253 s. Both reached the world with the HUD drawn; I stopped them when the driver's pipeline compiles took the commit past 55–70 GB.

Details and the table are on #1405: https://github.com/ivall/xcl/pull/1405#issuecomment-7139524663. Two runs only, so not proof.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this; posted at the request of the person running the tests.

**@⁠oz-stanislav-zhukov** on GitHub · 2026-11-24 17:40 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7139529958) Windows / NVIDIA data point for this assert: RTX 5060 Ti 16 GB (driver 621.24), i7-14700KF, Windows 10 22H2. Tree: `main` `9e3831e` + #751, #688, #1123, #488, #789, #1195, #1428, #1323, `XCL_HEAP_WINDOWS=1 XCL_PSO_WAIT_MS=50`. - **Without #1405:** `0x80000003` at `+0x4da6315` at 161 s, with `rdx=0xaaaaaaaa`. The destination page held `aaaaaaaa`-high qwords, and the resource map was normal (`0x50000000 → 0x8823f0000`). On `b7aa9f3` the same stack also died at `+0x50705fc`, `+0x540abf5` and `+0x4fdbe43` on garbage pointers. - **With #1405:** no `unhandled exception` in two runs, of 427 s and 253 s. Both reached the world with the HUD drawn; I stopped them when the driver's pipeline compiles took the commit past 55–70 GB. Details and the table are on #1405: https://github.com/ivall/xcl/pull/1405#issuecomment-7139524663. Two runs only, so not proof. AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this; posted at the request of the person running the tests.
Author
Owner

@⁠crosettiremi on GitHub · 2026-11-24 19:07 UTC · original

Additional Windows/RX 7900 XT retail result on a local XCL integration. A cold run with a 4095 MB coherent window reached the “Vice City, two years ago” card. At ~284 s the external observer recorded a second-chance guest breakpoint at +0x4da6315, exit 0x80000003. The snapshot context for that exact guest thread has RIP 0x144da6315 and RDX 0x239b59999ff68dde. No D3D12 removal was reported. The last three activity samples still recorded 1, 2, 1 presents. This is distinct from the earlier presentation stalls we sampled during CPU-side sparse texture preparation. We have not traced the origin of that RDX value or validated a DirectStorage routing change in this case.

**@⁠crosettiremi** on GitHub · 2026-11-24 19:07 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7141633544) Additional Windows/RX 7900 XT retail result on a local XCL integration. A cold run with a 4095 MB coherent window reached the “Vice City, two years ago” card. At ~284 s the external observer recorded a second-chance guest breakpoint at +0x4da6315, exit 0x80000003. The snapshot context for that exact guest thread has RIP 0x144da6315 and RDX 0x239b59999ff68dde. No D3D12 removal was reported. The last three activity samples still recorded 1, 2, 1 presents. This is distinct from the earlier presentation stalls we sampled during CPU-side sparse texture preparation. We have not traced the origin of that RDX value or validated a DirectStorage routing change in this case.
Author
Owner

@⁠Krashgamer on GitHub · 2026-11-24 22:35 UTC · original

Three more on Windows / NVIDIA (RTX 3080 10 GB, driver 610.88), all without #1405: the same int3 at +0x4da6315, at 162.8 s, 178.8 s and 186.4 s, on three trees (main 4178e88, c4d37be and 1d027e5, each with a few open PRs, XCL_DIRECT_DXIL=1 XCL_PSO_WAIT_MS=50). The same +0x4da62b9 ← +0x4da63cc frames each time, a different invalid pointer each time, and the field was at offset 8 of a page-aligned block above 0x8_0000_0000 each time. The title's crash context said its physical pool was 95.7 % used, with 1,369 streaming requests in flight. Testing #1405 on the same trees next.

AI use: Claude Code (Claude Opus 5.5).

**@⁠Krashgamer** on GitHub · 2026-11-24 22:35 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7146418823) Three more on Windows / NVIDIA (RTX 3080 10 GB, driver 610.88), all without #1405: the same `int3` at `+0x4da6315`, at 162.8 s, 178.8 s and 186.4 s, on three trees (`main` `4178e88`, `c4d37be` and `1d027e5`, each with a few open PRs, `XCL_DIRECT_DXIL=1 XCL_PSO_WAIT_MS=50`). The same `+0x4da62b9` ← `+0x4da63cc` frames each time, a different invalid pointer each time, and the field was at offset 8 of a page-aligned block above `0x8_0000_0000` each time. The title's crash context said its physical pool was 95.7 % used, with 1,369 streaming requests in flight. Testing #1405 on the same trees next. AI use: Claude Code (Claude Opus 5.5).
Author
Owner

@⁠denverquane on GitHub · 2026-11-24 23:00 UTC · original

Native Windows data point for this assert, 1 of 8 runs: RTX 5070 12 GB (621.24), Windows 10 22H2, 9e3831e + #1638 + #684, XCL_PSO_WAIT_MS=50 XCL_DXC_PROCESS=1, cold DXIL cache. 98 s into the world load: 0x80000003 in game_scarlett_master.exe+0x4da6315, rax=0x2. The stack starts with +0x4da62b9, +0x2eaf04, +0x4da63cc (the first and third match yours). Commit was 31.5 GB, video memory 15.0 GB local. The other seven runs ended at +0x23cf683.

AI use: Claude Code (Claude Opus 5.5) drafted this from my run.

**@⁠denverquane** on GitHub · 2026-11-24 23:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7146905685) Native Windows data point for this assert, 1 of 8 runs: RTX 5070 12 GB (621.24), Windows 10 22H2, `9e3831e` + #1638 + #684, `XCL_PSO_WAIT_MS=50 XCL_DXC_PROCESS=1`, cold DXIL cache. 98 s into the world load: `0x80000003 in game_scarlett_master.exe+0x4da6315`, `rax=0x2`. The stack starts with `+0x4da62b9`, `+0x2eaf04`, `+0x4da63cc` (the first and third match yours). Commit was 31.5 GB, video memory 15.0 GB local. The other seven runs ended at `+0x23cf683`. **AI use:** Claude Code (Claude Opus 5.5) drafted this from my run.
Author
Owner

@⁠deepdev237 on GitHub · 2026-11-25 08:40 UTC · original

🤖 AI-generated. This comment was written by Claude Opus 5.5 (Anthropic, model claude-opus-5-5), running as an autonomous agent in Claude Code. The AI did the work it reports: builds, game runs, log reading. A person asked for this testing; they did not review this text before it was posted. Please verify anything you rely on.

Another route to this assert, from a different layer: a resource whose DirectStorage decode failed because the game copy has zero-filled regions. Zeroing the failed destination makes it go away.

This is not XCL. It is a VIctory / victory-fork build (fxceless/victory-fork main 310c6eb plus about 130 of its open PRs). The title code and the assert are the same: 0x80000003 at +0x4da6315, called through +0x4da62b9 ← +0x4da63cc. It fits @⁠certified-retart's static reading above: the fixup routine traps when a pointer field lies in no chunk of the resource map. The bytes it reads are whatever the destination held before.

What happened here. This copy of the game has zero-filled regions in 11 archives. One of them is in navmeshes.rpf, at [0x2caa7000, 0x2daa4000). With victory-fork's VICTORY_WALLS_TRACE=1, each DirectStorage request logs its source file. Three zlib requests from navmeshes.rpf that land in that region fail (hr=0x8007000d, plain memory destinations, options=0x1). 0.9 s later the title traps:

05:22:22.438904Z WARN dstorage: request failed: zlib options=0x1 offset=757833744 source_size=246735 destination_size=851968 ... hr=0x8007000d
05:22:22.439141Z INFO walls trace: a read request is done file="G:\\navmeshes.rpf" offset=757833744 ... ok=false hr=0x8007000d
05:22:22.442217Z WARN dstorage: request failed: zlib options=0x1 offset=758080480 source_size=11695 destination_size=18032 ... hr=0x8007000d
05:22:22.444730Z WARN dstorage: request failed: zlib options=0x1 offset=758374416 source_size=128086 destination_size=458752 ... hr=0x8007000d
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x4da6315   (run ended at 197.5 s)

With the destination zeroed on a failed decode (victory-fork PR fxceless/victory-fork#816, an opt-in switch), the same three requests fail at the same point and are zeroed, and there is no assert. The title ran 6 min 12 s further, into the first gameplay scene with the player walking in the cell, until an unrelated GPU device removal at 900 s. In that run 68 failed requests were zeroed: 65 in TTDB texture archives, 3 navmesh.

What this may mean for the reports here (an inference, not checked on XCL):

  • The trap fires for any resource whose bytes were never written: a stale or unfilled page list (#1405, #549), or a decode that failed on damaged data. Both leave the destination holding old bytes.
  • If you still hit it with #1405, check whether DirectStorage requests failed just before it, and whether your copy has zero-filled regions. Here every failed decode of the run (85 of 85 in an earlier run) had its source offset inside one. The regions follow a 16 MiB pattern: a run of zeros 16 MiB − 4 KiB long, at the same offset within every 16 MiB of a file. A zero-run scan of the archives finds them quickly.
  • Zeroing only changes how the title meets the missing resource. The data is still missing; the real fix is a complete copy of the files.
Full setup
  • Windows 11 Pro 10.0.26300; AMD Ryzen 9 5950X; 24 GB DDR4-2666, page file 32 GiB (commit limit 55.92 GiB); AMD Radeon RX 9060 XT 16 GB (RDNA4), driver 32.0.32015.7029, host wave lanes 32/64; rustc 1.98.1, x86_64-pc-windows-msvc, victory-fork diag profile with diagnostics.
  • Retail 1.0.2.1, Series X profile. Zero-filled regions in levels.rpf (12), audio.rpf (3), pack/story000/story000.rpf (3), navmeshes.rpf (1), data/ttdb/maps/ttdb_maps_2_7.ttpf, ttdb_peds_1_3.ttpf, ttdb_terrain_3_7/4_7/5_7.ttpf and ttdb_terrain_image_based_1_1.ttpf.
  • Run 3 (assert): build SHA-256 728DC6EE66335E33CBEF4C94082B4B567753AB4F04D62817C6D3D77C5A242F4D. Run 4 (no assert): C418BF2CB28A4632C4466B7F08A16EDFA3776F3D0A9FF13DFAAFD885629EB5D7, the same code plus the zeroing switch and a shader-cache key change.
  • Both runs: same save, VICTORY_NO_WATCHDOG=1 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_BAKE_TEXTURES_MS=0 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_RAGE_DEBUGINFO=30 VICTORY_WALLS_TRACE=1, three pipelines skipped (c1eee35dbc50a9ef,f16876929fa64f9f,39f0e9aeb156a61c), shaders and pipelines prebuilt.
  • One run each way, so evidence, not proof. Logs of the integration and of the failed requests: https://gist.github.com/deepdev237/785e05b02d0dcece7aac1303f7fe4ba8
**@⁠deepdev237** on GitHub · 2026-11-25 08:40 UTC · [original](https://github.com/xcl-dev/xcl/issues/1164#issuecomment-7157330708) > 🤖 **AI-generated.** This comment was written by **Claude Opus 5.5** (Anthropic, model `claude-opus-5-5`), running as an autonomous agent in **Claude Code**. The AI did the work it reports: builds, game runs, log reading. A person asked for this testing; they did not review this text before it was posted. Please verify anything you rely on. **Another route to this assert, from a different layer: a resource whose DirectStorage decode failed because the game copy has zero-filled regions. Zeroing the failed destination makes it go away.** This is not XCL. It is a VIctory / victory-fork build (`fxceless/victory-fork` `main` `310c6eb` plus about 130 of its open PRs). The title code and the assert are the same: `0x80000003` at `+0x4da6315`, called through `+0x4da62b9` ← `+0x4da63cc`. It fits @⁠certified-retart's static reading above: the fixup routine traps when a pointer field lies in no chunk of the resource map. The bytes it reads are whatever the destination held before. **What happened here.** This copy of the game has zero-filled regions in 11 archives. One of them is in `navmeshes.rpf`, at `[0x2caa7000, 0x2daa4000)`. With victory-fork's `VICTORY_WALLS_TRACE=1`, each DirectStorage request logs its source file. Three zlib requests from `navmeshes.rpf` that land in that region fail (`hr=0x8007000d`, plain memory destinations, `options=0x1`). 0.9 s later the title traps: ``` 05:22:22.438904Z WARN dstorage: request failed: zlib options=0x1 offset=757833744 source_size=246735 destination_size=851968 ... hr=0x8007000d 05:22:22.439141Z INFO walls trace: a read request is done file="G:\\navmeshes.rpf" offset=757833744 ... ok=false hr=0x8007000d 05:22:22.442217Z WARN dstorage: request failed: zlib options=0x1 offset=758080480 source_size=11695 destination_size=18032 ... hr=0x8007000d 05:22:22.444730Z WARN dstorage: request failed: zlib options=0x1 offset=758374416 source_size=128086 destination_size=458752 ... hr=0x8007000d VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x4da6315 (run ended at 197.5 s) ``` **With the destination zeroed on a failed decode** (victory-fork PR fxceless/victory-fork#816, an opt-in switch), the same three requests fail at the same point and are zeroed, and there is **no assert**. The title ran 6 min 12 s further, into the first gameplay scene with the player walking in the cell, until an unrelated GPU device removal at 900 s. In that run 68 failed requests were zeroed: 65 in TTDB texture archives, 3 navmesh. **What this may mean for the reports here** (an inference, not checked on XCL): - The trap fires for any resource whose bytes were never written: a stale or unfilled page list (#1405, #549), or a decode that failed on damaged data. Both leave the destination holding old bytes. - If you still hit it with #1405, check whether DirectStorage requests failed just before it, and whether your copy has zero-filled regions. Here every failed decode of the run (85 of 85 in an earlier run) had its source offset inside one. The regions follow a 16 MiB pattern: a run of zeros 16 MiB − 4 KiB long, at the same offset within every 16 MiB of a file. A zero-run scan of the archives finds them quickly. - Zeroing only changes how the title meets the missing resource. The data is still missing; the real fix is a complete copy of the files. <details><summary>Full setup</summary> - Windows 11 Pro 10.0.26300; AMD Ryzen 9 5950X; 24 GB DDR4-2666, page file 32 GiB (commit limit 55.92 GiB); AMD Radeon RX 9060 XT 16 GB (RDNA4), driver 32.0.32015.7029, host wave lanes 32/64; rustc 1.98.1, `x86_64-pc-windows-msvc`, victory-fork `diag` profile with `diagnostics`. - Retail 1.0.2.1, Series X profile. Zero-filled regions in `levels.rpf` (12), `audio.rpf` (3), `pack/story000/story000.rpf` (3), `navmeshes.rpf` (1), `data/ttdb/maps/ttdb_maps_2_7.ttpf`, `ttdb_peds_1_3.ttpf`, `ttdb_terrain_3_7/4_7/5_7.ttpf` and `ttdb_terrain_image_based_1_1.ttpf`. - Run 3 (assert): build SHA-256 `728DC6EE66335E33CBEF4C94082B4B567753AB4F04D62817C6D3D77C5A242F4D`. Run 4 (no assert): `C418BF2CB28A4632C4466B7F08A16EDFA3776F3D0A9FF13DFAAFD885629EB5D7`, the same code plus the zeroing switch and a shader-cache key change. - Both runs: same save, `VICTORY_NO_WATCHDOG=1 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_BAKE_TEXTURES_MS=0 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_RAGE_DEBUGINFO=30 VICTORY_WALLS_TRACE=1`, three pipelines skipped (`c1eee35dbc50a9ef,f16876929fa64f9f,39f0e9aeb156a61c`), shaders and pipelines prebuilt. - One run each way, so evidence, not proof. Logs of the integration and of the failed requests: https://gist.github.com/deepdev237/785e05b02d0dcece7aac1303f7fe4ba8 </details>
This discussion has been locked. Commenting is limited to contributors.
No description provided.