The retail title 1.0.2.1 (RTX 5070): reaches the end of the first-run setup, then deterministic 0xC0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683 #846

Open
opened 2026-11-26 04:34:23 +00:00 by github-bot · 63 comments
Owner

@⁠DUIBING818 on GitHub · 2026-11-24 06:40 UTC · original

Game and package version

The retail title – Xbox Series build. Identity Name: Identity Version: 1.0.2.1 Publisher: CN=3164F9C2-2C28-4832-BBE3-A642A4EF0054 Executable: game_scarlett_master.exe (Id , TargetDeviceFamily Scarlett) Package unpacked and unmodified; all 108 files match the package manifest.

What happens

The game runs far enough to be walked through the whole first-run flow:

ACCOUNT PICKER -> PLAYER 1 -> licence -> minimap settings -> subtitles -> language

Then it crashes. About 7,000 frames presented, 22-27 fps at 1920x1080, 19,241 unique shaders,
0 skipped draws. Same crash on two different main builds from today (the second one release
[optimized + debuginfo]):

unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)
rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rbp=0x0

Same address, same rcx, same registers: deterministic, not timing-dependent.
Caller on the stack: game_scarlett_master.exe+0x4e4ba89

What I expected: after the language step the game continues to the character/world load.

XCL version

xcl 0.1.0 Built from a main zip snapshot downloaded 2026-11-24 ~13:15 UTC (cargo build --release --workspace, no local changes). A second build from an earlier snapshot of the same day (~10:50 UTC) gives the identical crash, so this is not commit-specific.

GPU and driver version

NVIDIA GeForce RTX 5070 Laptop, 7,891 MiB, driver 32.0.15.9197

Windows version

Windows 11 家庭中文版, version 10.0.26300, build 26300.9974 (26H2). The D3D12 Agility SDK question is for Windows 10; on Windows 11 the inbox D3D12Core is used (no D3D12Core.dll next to xcl.exe).

report.json and xcl.log

report.json

xcl.log

Console output

XCL 0.1.0 – starting '<package id>'
  exe:   <game folder>\game_scarlett_master.exe
  MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A
  console: imports d3d12_xs.dll
xcl: DXC: dxcompiler 1.9.2602.17 (21d28f72), dxil 1.9.2602.17, from C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64
  GPU: NVIDIA GeForce RTX 5070 Laptop GPU (7891 MiB VRAM)
  NOTE: waves of 32–32 lanes: the console's 64-lane programs run as two 32-lane halves (slower; vertex / pixel shaders that read lanes 32–63 can differ)


xcl: D3D12.X: 6900 frames presented, 23.7 fps over the last 300
xcl: access violation (write at 0x0) in game_scarlett_master.exe+0x23cf683; rax=0x0 rcx=0x70024c348 rdx=0x1 r8=0x7074d8c40
  on the stack: game_scarlett_master.exe+0x4e4ba89, game_scarlett_master.exe+0x71b9a20
**@⁠DUIBING818** on GitHub · 2026-11-24 06:40 UTC · [original](https://github.com/xcl-dev/xcl/issues/846) ### Game and package version The retail title – Xbox Series build. Identity Name: <package id> Identity Version: 1.0.2.1 Publisher: CN=3164F9C2-2C28-4832-BBE3-A642A4EF0054 Executable: game_scarlett_master.exe (Id <app id>, TargetDeviceFamily Scarlett) Package unpacked and unmodified; all 108 files match the package manifest. ### What happens The game runs far enough to be walked through the whole first-run flow: ACCOUNT PICKER -> PLAYER 1 -> licence -> minimap settings -> subtitles -> language Then it crashes. About 7,000 frames presented, 22-27 fps at 1920x1080, 19,241 unique shaders, 0 skipped draws. Same crash on two different main builds from today (the second one release [optimized + debuginfo]): unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rbp=0x0 Same address, same rcx, same registers: deterministic, not timing-dependent. Caller on the stack: game_scarlett_master.exe+0x4e4ba89 What I expected: after the language step the game continues to the character/world load. ### XCL version xcl 0.1.0 Built from a main zip snapshot downloaded 2026-11-24 ~13:15 UTC (cargo build --release --workspace, no local changes). A second build from an earlier snapshot of the same day (~10:50 UTC) gives the identical crash, so this is not commit-specific. ### GPU and driver version NVIDIA GeForce RTX 5070 Laptop, 7,891 MiB, driver 32.0.15.9197 ### Windows version Windows 11 家庭中文版, version 10.0.26300, build 26300.9974 (26H2). The D3D12 Agility SDK question is for Windows 10; on Windows 11 the inbox D3D12Core is used (no D3D12Core.dll next to xcl.exe). ### report.json and xcl.log [report.json](https://github.com/user-attachments/files/35316020/report.json) [xcl.log](https://github.com/user-attachments/files/35316024/xcl.log) ### Console output ```text XCL 0.1.0 – starting '<package id>' exe: <game folder>\game_scarlett_master.exe MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A console: imports d3d12_xs.dll xcl: DXC: dxcompiler 1.9.2602.17 (21d28f72), dxil 1.9.2602.17, from C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64 GPU: NVIDIA GeForce RTX 5070 Laptop GPU (7891 MiB VRAM) NOTE: waves of 32–32 lanes: the console's 64-lane programs run as two 32-lane halves (slower; vertex / pixel shaders that read lanes 32–63 can differ) xcl: D3D12.X: 6900 frames presented, 23.7 fps over the last 300 xcl: access violation (write at 0x0) in game_scarlett_master.exe+0x23cf683; rax=0x0 rcx=0x70024c348 rdx=0x1 r8=0x7074d8c40 on the stack: game_scarlett_master.exe+0x4e4ba89, game_scarlett_master.exe+0x71b9a20 ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:34:23 +00:00
Author
Owner

@⁠DUIBING818 on GitHub · 2026-11-24 06:41 UTC · original

AI-assisted, and declared here as the project's PRs do: the report text and the log analysis
were drafted with an AI assistant. Every run, every number and every log excerpt above comes
from my own machine.I am a beginner with XCL and D3D12 - I
collected the data, the analysis in it is not mine to defend.

**@⁠DUIBING818** on GitHub · 2026-11-24 06:41 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7124198869) AI-assisted, and declared here as the project's PRs do: the report text and the log analysis were drafted with an AI assistant. Every run, every number and every log excerpt above comes from my own machine.I am a beginner with XCL and D3D12 - I collected the data, the analysis in it is not mine to defend.
Author
Owner

@⁠DUIBING818 on GitHub · 2026-11-24 06:42 UTC · original

What I already tried (all negative, same package, same config unless noted)

  1. XCL_ASYNC_PSO=0 - worse: 0 presents, crashes earlier at game_scarlett_master.exe+0x2215c35
    (write 0x0) while commit climbs to ~10.4 GB. So async PSO is masking it, not causing it.
  2. XCL_DXC_THREADS=4 - same crash address, same frame count.
  3. [stub_returns] = E_NOTIMPL for all 9 stubbed d3d12_xs methods
    (ID3D12CommandAllocator::#9, ID3D12GraphicsCommandList10::#126/#142/#131/#132,
    #75 (console extension), ID3D12CommandQueue::#31) - same crash address, byte for byte.
    The null does not come from those stubs.

Two other observations

  • uma_mb = 8192 in xcl.toml is not honoured: report.json still says uma_mb: 4095, and it sits at
    3,998.6 MB (99.8%) right before the crash.
  • With device_type = "lockhart" the pool drops to 72%, but the title then hits a fatal int3
    (0x80000003) at game_scarlett_master.exe+0xcc2834, with console_type_raw still 6.
  • XCL_TRACE_IMPORTS=d3d12_xs: the last 12 traced calls before the crash are all
    D3D12SerializeVersionedRootSignature from +0x55ac80f, but they all succeed (17x
    console flags 0x3000000 dropped, 0 failures) - correlation with background pipeline work, not
    the cause.
**@⁠DUIBING818** on GitHub · 2026-11-24 06:42 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7124212357) **What I already tried (all negative, same package, same config unless noted)** 1. `XCL_ASYNC_PSO=0` - worse: 0 presents, crashes earlier at `game_scarlett_master.exe+0x2215c35` (write 0x0) while commit climbs to ~10.4 GB. So async PSO is masking it, not causing it. 2. `XCL_DXC_THREADS=4` - same crash address, same frame count. 3. `[stub_returns] = E_NOTIMPL` for all 9 stubbed `d3d12_xs` methods (`ID3D12CommandAllocator::#9`, `ID3D12GraphicsCommandList10::#126/#142/#131/#132`, `#75 (console extension)`, `ID3D12CommandQueue::#31`) - same crash address, byte for byte. The null does not come from those stubs. **Two other observations** - `uma_mb = 8192` in xcl.toml is not honoured: report.json still says `uma_mb: 4095`, and it sits at 3,998.6 MB (99.8%) right before the crash. - With `device_type = "lockhart"` the pool drops to 72%, but the title then hits a fatal `int3` (`0x80000003`) at `game_scarlett_master.exe+0xcc2834`, with `console_type_raw` still 6. - `XCL_TRACE_IMPORTS=d3d12_xs`: the last 12 traced calls before the crash are all `D3D12SerializeVersionedRootSignature` from `+0x55ac80f`, but they all succeed (17x `console flags 0x3000000 dropped`, 0 failures) - correlation with background pipeline work, not the cause.
Author
Owner

@⁠DUIBING818 on GitHub · 2026-11-24 06:53 UTC · original

Update: rebuilt from main after #792/#795/#797/#798 merged. The split-list path now runs
(split command list (type 2) around mid-list Wait after Write64 (#1)) and the xcl-fences
thread is active, so those changes are live - but the crash is unchanged:
game_scarlett_master.exe+0x23cf683, write at 0x0, rax=0, rcx=0x70024c348. Frames went up
(7,792 vs 6,936 either side of it), fps 16.5-30.

That rules out the wait/fence/cycle family as the cause of this specific null write.

**@⁠DUIBING818** on GitHub · 2026-11-24 06:53 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7124401892) Update: rebuilt from main after #792/#795/#797/#798 merged. The split-list path now runs (`split command list (type 2) around mid-list Wait after Write64 (#1)`) and the xcl-fences thread is active, so those changes are live - but the crash is unchanged: game_scarlett_master.exe+0x23cf683, write at 0x0, rax=0, rcx=0x70024c348. Frames went up (7,792 vs 6,936 either side of it), fps 16.5-30. That rules out the wait/fence/cycle family as the cause of this specific null write.
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 06:56 UTC · original

The game executable it self has an intentional write to zero, not sure if apart of tamper protection or not

**@⁠Coldtrain** on GitHub · 2026-11-24 06:56 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7124455950) The game executable it self has an intentional write to zero, not sure if apart of tamper protection or not
Author
Owner

@⁠jcjordyn130 on GitHub · 2026-11-24 07:04 UTC · original

I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile

**@⁠jcjordyn130** on GitHub · 2026-11-24 07:04 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7124585855) I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile
Author
Owner

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

Retail game!!

**@⁠churchesyt** on GitHub · 2026-11-24 07:17 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7124823470) Retail game!!
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 07:34 UTC · original

I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile

I knew it!, I figured simply patching them out and removing any jump to this write to zero would get us further, then just debug the issues remaining., I had attempted patching but I didn't get them all, can you please provide all of the offsets to patch here.

**@⁠Coldtrain** on GitHub · 2026-11-24 07:34 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7125133762) > I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile I knew it!, I figured simply patching them out and removing any jump to this write to zero would get us further, then just debug the issues remaining., I had attempted patching but I didn't get them all, can you please provide all of the offsets to patch here.
Author
Owner

@⁠Voltingg on GitHub · 2026-11-24 07:52 UTC · original

@⁠Coldtrain no, as far as I can tell this is not tamper protection. +0x23cf683 is inside the game's own fatal error routine (it starts at +0x23cf620). It writes 0x4d8bd421 to address 0 on purpose: a deliberate crash the game uses to stop itself once something has gone wrong, so it ends up in a crash report.

In my runs (RTX 3060 12 GB, same 1.0.2.1 build) that routine is called from the game's GPU hang watchdog thread (+0x2215a60), and the message it builds before crashing decodes to "GPU Loc Sig". The watchdog checks a table of timestamps that the game's threads keep refreshing. When one of them stops for too long, it assumes the GPU or that thread is hung and calls the fatal routine. In my case that happens during the world load, while the title threads are blocked waiting for the driver to build large compute pipelines. Nothing in it checks the exe or its files.

Several checks lead to the same routine, which is why patching out "the" write is not enough and why there are 3-4 of them. It also means patching them only hides the symptom: the game then keeps going in a state it considers broken, and the real blocker is still shader compile time, as jcjordyn130 found. @⁠DUIBING818 your caller (+0x4e4ba89) is not the watchdog, so it is likely a different check. It would be worth finding out which one.

**@⁠Voltingg** on GitHub · 2026-11-24 07:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7125469785) @⁠Coldtrain no, as far as I can tell this is not tamper protection. +0x23cf683 is inside the game's own fatal error routine (it starts at +0x23cf620). It writes 0x4d8bd421 to address 0 on purpose: a deliberate crash the game uses to stop itself once something has gone wrong, so it ends up in a crash report. In my runs (RTX 3060 12 GB, same 1.0.2.1 build) that routine is called from the game's GPU hang watchdog thread (+0x2215a60), and the message it builds before crashing decodes to "GPU Loc Sig". The watchdog checks a table of timestamps that the game's threads keep refreshing. When one of them stops for too long, it assumes the GPU or that thread is hung and calls the fatal routine. In my case that happens during the world load, while the title threads are blocked waiting for the driver to build large compute pipelines. Nothing in it checks the exe or its files. Several checks lead to the same routine, which is why patching out "the" write is not enough and why there are 3-4 of them. It also means patching them only hides the symptom: the game then keeps going in a state it considers broken, and the real blocker is still shader compile time, as jcjordyn130 found. @⁠DUIBING818 your caller (+0x4e4ba89) is not the watchdog, so it is likely a different check. It would be worth finding out which one.
Author
Owner

@⁠ShyVortex on GitHub · 2026-11-24 08:00 UTC · original

Same crash on 16 GB VRAM, so it isn't specific to 8 GB cards.

Setup: Intel i7-12700H + RTX 3080 Ti Laptop 16 GB, Windows 11 26300, unmodified main 1ec4c98 (release), XCL_NETWORK=0, retail 1.0.2.1. Two runs:

  • Menus and loading art at 27–30 fps (2700 frames by 102 s).
  • During the black world-load screen: 0–4 fps and VRAM at ~15.0 GB of 16.
  • BCPack refusals: 2048 requests (BC1 1763, BC7 177, BC5 107, BC6H 1).
  • Both runs: unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348, at 171 s and 177 s.

This fits @⁠Voltingg's reading: the frame rate collapses during world load, one thread misses its watchdog check-in, and the game crashes itself on purpose. Patching out the null write would only remove the symptom; the stall itself looks like the VRAM/BCPack side (#878, #781).

**@⁠ShyVortex** on GitHub · 2026-11-24 08:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7125610021) Same crash on 16 GB VRAM, so it isn't specific to 8 GB cards. **Setup:** Intel i7-12700H + RTX 3080 Ti Laptop 16 GB, Windows 11 26300, unmodified `main` 1ec4c98 (release), `XCL_NETWORK=0`, retail 1.0.2.1. Two runs: - Menus and loading art at 27–30 fps (2700 frames by 102 s). - During the black world-load screen: 0–4 fps and VRAM at ~15.0 GB of 16. - BCPack refusals: 2048 requests (BC1 1763, BC7 177, BC5 107, BC6H 1). - Both runs: `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348`, at 171 s and 177 s. This fits @⁠Voltingg's reading: the frame rate collapses during world load, one thread misses its watchdog check-in, and the game crashes itself on purpose. Patching out the null write would only remove the symptom; the stall itself looks like the VRAM/BCPack side (#878, #781).
Author
Owner

@⁠phantom54 on GitHub · 2026-11-24 08:17 UTC · original

09940bb
13700F + 2070 Super
console_log.txt
report.json
xcl.log

**@⁠phantom54** on GitHub · 2026-11-24 08:17 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7125956427) 09940bb 13700F + 2070 Super [console_log.txt](https://github.com/user-attachments/files/35320057/console_log.txt) [report.json](https://github.com/user-attachments/files/35320136/report.json) [xcl.log](https://github.com/user-attachments/files/35320137/xcl.log)
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 08:30 UTC · original · edited 2026-11-24 08:31 UTC

@⁠Coldtrain no, as far as I can tell this is not tamper protection. +0x23cf683 is inside the game's own fatal error routine (it starts at +0x23cf620). It writes 0x4d8bd421 to address 0 on purpose: a deliberate crash the game uses to stop itself once something has gone wrong, so it ends up in a crash report.

In my runs (RTX 3060 12 GB, same 1.0.2.1 build) that routine is called from the game's GPU hang watchdog thread (+0x2215a60), and the message it builds before crashing decodes to "GPU Loc Sig". The watchdog checks a table of timestamps that the game's threads keep refreshing. When one of them stops for too long, it assumes the GPU or that thread is hung and calls the fatal routine. In my case that happens during the world load, while the title threads are blocked waiting for the driver to build large compute pipelines. Nothing in it checks the exe or its files.

Several checks lead to the same routine, which is why patching out "the" write is not enough and why there are 3-4 of them. It also means patching them only hides the symptom: the game then keeps going in a state it considers broken, and the real blocker is still shader compile time, as jcjordyn130 found. @⁠DUIBING818 your caller (+0x4e4ba89) is not the watchdog, so it is likely a different check. It would be worth finding out which one.

Interesting stuff, I can confirm however patching out these calls using NOPs does allow us ingame, I get ingame audio followed by a new crash - DX12 related!!

Funny I came across the GPU Loc Sig string as well when translating the instructions, could not find anything on it or what it meant though.

So most likely I am circumventing the games built in crash protection when it detects an issue in runtime or rendering, this is still a step forward for us to run the game (Despite being in a buggier state)

Working patch is provided below

patch.py

**@⁠Coldtrain** on GitHub · 2026-11-24 08:30 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7126219784) · edited 2026-11-24 08:31 UTC > [@⁠Coldtrain](https://github.com/Coldtrain) no, as far as I can tell this is not tamper protection. +0x23cf683 is inside the game's own fatal error routine (it starts at +0x23cf620). It writes 0x4d8bd421 to address 0 on purpose: a deliberate crash the game uses to stop itself once something has gone wrong, so it ends up in a crash report. > > In my runs (RTX 3060 12 GB, same 1.0.2.1 build) that routine is called from the game's GPU hang watchdog thread (+0x2215a60), and the message it builds before crashing decodes to "GPU Loc Sig". The watchdog checks a table of timestamps that the game's threads keep refreshing. When one of them stops for too long, it assumes the GPU or that thread is hung and calls the fatal routine. In my case that happens during the world load, while the title threads are blocked waiting for the driver to build large compute pipelines. Nothing in it checks the exe or its files. > > Several checks lead to the same routine, which is why patching out "the" write is not enough and why there are 3-4 of them. It also means patching them only hides the symptom: the game then keeps going in a state it considers broken, and the real blocker is still shader compile time, as jcjordyn130 found. [@⁠DUIBING818](https://github.com/DUIBING818) your caller (+0x4e4ba89) is not the watchdog, so it is likely a different check. It would be worth finding out which one. Interesting stuff, I can confirm however patching out these calls using NOPs does allow us ingame, I get ingame audio followed by a new crash - DX12 related!! Funny I came across the GPU Loc Sig string as well when translating the instructions, could not find anything on it or what it meant though. So most likely I am circumventing the games built in crash protection when it detects an issue in runtime or rendering, this is still a step forward for us to run the game (Despite being in a buggier state) Working patch is provided below [patch.py](https://github.com/user-attachments/files/35320707/patch.py)
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 08:35 UTC · original

I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile

I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile

Do you hear ingame audio? after patching I hear ingame audio, a few shaders begin to compile. but then game does crash with a new DX error

xcl: D3D12.X: compute PSO with the translated console CS (9344 B DXIL, 38 ms)
xcl: D3D12.X: compute PSO with the translated console CS (4240 B DXIL, 4 ms)
xcl: D3D12.X: compute PSO with the translated console CS (9928 B DXIL, 36 ms)
xcl: D3D12.X: compute PSO with the translated console CS (4760 B DXIL, 10 ms)
xcl: D3D12.X: compute PSO with the translated console CS (30892 B DXIL, 422 ms)
xcl: D3D12.X: compute PSO with the translated console CS (13600 B DXIL, 0 ms)
xcl: D3D12.X: compute PSO with the translated console CS (84980 B DXIL, 0 ms)
xcl: D3D12.X: compute PSO with the translated console CS (129352 B DXIL, 1 ms)
xcl: D3D12.X: compute PSO with the translated console CS (153840 B DXIL, 1 ms)
xcl: [debug]
xcl: [debug] D3D12 XDXR Error:
xcl: [debug] DestAccelerationStructureData can not have more than 40b of address set
xcl: [debug]
xcl: C++ exception .J "" thrown; on the stack: xboxbvhbuilder.dll+0xd2538, xboxbvhbuilder.dll+0xd2538, vcruntime140.dll+0x6480, xcl.exe+0x25d0, xboxbvhbuilder.dll+0x20000, xboxbvhbuilder.dll+0xd2538
xcl: unhandled exception 0xe06d7363 in KERNELBASE.dll+0xc569a rax=0x0 rbx=0x3474f7408 rcx=0x0 rdx=0x7ff9b1bdf037 rsi=0x1 rdi=0xe06d7363 rbp=0x4 r8=0x7ff9b1bdef25 r9=0x3474f682f r10=0xffffffff r11=0x1 r12=0x0 r13=0x1d93ba43b20 r14=0x0 r15=0x18 rsp=0x3474f72e0; on the stack: xboxbvhbuilder.dll+0xd2538, xboxbvhbuilder.dll+0xd2538, vcruntime140.dll+0x6480, xcl.exe+0x25d0, xboxbvhbuilder.dll+0x20000, xboxbvhbuilder.dll+0xd2538
xcl: D3D12.X: Wait64BitValueX timed out after 2000 ms at 0x1c60a32ff68 (op 7, want 0xb33, mask 0xffffffffffffffff; memory holds Some(0))
xcl: [debug] BacktraceBreakpad:c:\code\xbox\breakpad\src\src\common\windows\backtrace.cc:99:XSystemGetConsoleId(): 00000000.00000000.00000000.00000000.00

**@⁠Coldtrain** on GitHub · 2026-11-24 08:35 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7126328161) > I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile > I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile Do you hear ingame audio? after patching I hear ingame audio, a few shaders begin to compile. but then game does crash with a new DX error xcl: D3D12.X: compute PSO with the translated console CS (9344 B DXIL, 38 ms) xcl: D3D12.X: compute PSO with the translated console CS (4240 B DXIL, 4 ms) xcl: D3D12.X: compute PSO with the translated console CS (9928 B DXIL, 36 ms) xcl: D3D12.X: compute PSO with the translated console CS (4760 B DXIL, 10 ms) xcl: D3D12.X: compute PSO with the translated console CS (30892 B DXIL, 422 ms) xcl: D3D12.X: compute PSO with the translated console CS (13600 B DXIL, 0 ms) xcl: D3D12.X: compute PSO with the translated console CS (84980 B DXIL, 0 ms) xcl: D3D12.X: compute PSO with the translated console CS (129352 B DXIL, 1 ms) xcl: D3D12.X: compute PSO with the translated console CS (153840 B DXIL, 1 ms) xcl: [debug] xcl: [debug] D3D12 XDXR Error: xcl: [debug] DestAccelerationStructureData can not have more than 40b of address set xcl: [debug] xcl: C++ exception .J "" thrown; on the stack: xboxbvhbuilder.dll+0xd2538, xboxbvhbuilder.dll+0xd2538, vcruntime140.dll+0x6480, xcl.exe+0x25d0, xboxbvhbuilder.dll+0x20000, xboxbvhbuilder.dll+0xd2538 xcl: unhandled exception 0xe06d7363 in KERNELBASE.dll+0xc569a rax=0x0 rbx=0x3474f7408 rcx=0x0 rdx=0x7ff9b1bdf037 rsi=0x1 rdi=0xe06d7363 rbp=0x4 r8=0x7ff9b1bdef25 r9=0x3474f682f r10=0xffffffff r11=0x1 r12=0x0 r13=0x1d93ba43b20 r14=0x0 r15=0x18 rsp=0x3474f72e0; on the stack: xboxbvhbuilder.dll+0xd2538, xboxbvhbuilder.dll+0xd2538, vcruntime140.dll+0x6480, xcl.exe+0x25d0, xboxbvhbuilder.dll+0x20000, xboxbvhbuilder.dll+0xd2538 xcl: D3D12.X: Wait64BitValueX timed out after 2000 ms at 0x1c60a32ff68 (op 7, want 0xb33, mask 0xffffffffffffffff; memory holds Some(0)) xcl: [debug] BacktraceBreakpad:c:\code\xbox\breakpad\src\src\common\windows\backtrace.cc:99:XSystemGetConsoleId(): 00000000.00000000.00000000.00000000.00
Author
Owner

@⁠AlexLopezDevelop on GitHub · 2026-11-24 08:52 UTC · original

Same stop on RTX 2080 Ti (Turing, driver 621.24) + Intel i9-9900K, Windows 11, 32 GB, own 1.0.2.1 package: walked through the first-run setup by hand, then unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) at about 454 s.

One thing this run rules out: it was built from #905 (d19a3d3), so every BCPack request was served (report.json: BC1 2,104, BC5 107, BC6H 1, BC7 193 requests, 0 failed, bcpack_refused empty). The fatal-error path is still taken, so missing BCPack textures are not what sends the title there.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠AlexLopezDevelop** on GitHub · 2026-11-24 08:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7126670715) Same stop on **RTX 2080 Ti** (Turing, driver 621.24) + **Intel i9-9900K**, Windows 11, 32 GB, own 1.0.2.1 package: walked through the first-run setup by hand, then `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)` at about 454 s. One thing this run rules out: it was built from #905 (`d19a3d3`), so every BCPack request was served (`report.json`: BC1 2,104, BC5 107, BC6H 1, BC7 193 requests, 0 failed, `bcpack_refused` empty). The fatal-error path is still taken, so missing BCPack textures are not what sends the title there. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@⁠Creaa on GitHub · 2026-11-24 09:03 UTC · original

Reproduced on a desktop RTX 4070 (driver 617.14), Core i7-13700F, Windows build 26300, and DXC 1.9.2602.17. XCL was built with MSVC in release mode from PR #631 head 12be9306269772e1e24aa1e44219f2bce684c193. The run was offline.

After a few minutes of loading and a black screen, the process crashed at 218.382 s with a write to address 0x0 at game image offset +0x23cf683, exception 0xc0000005. The caller +0x4e4ba89 and register values rax=0x0 rcx=0x70024c348 rdx=0x1 r8=0x7074d8c40 match this report. The run never reached controllable gameplay.

AI use: Codex (GPT-6) ran XCL, extracted the log details, and drafted this report. The on-screen observations came from the user.

**@⁠Creaa** on GitHub · 2026-11-24 09:03 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7126891653) Reproduced on a desktop RTX 4070 (driver 617.14), Core i7-13700F, Windows build 26300, and DXC 1.9.2602.17. XCL was built with MSVC in release mode from PR #631 head `12be9306269772e1e24aa1e44219f2bce684c193`. The run was offline. After a few minutes of loading and a black screen, the process crashed at 218.382 s with a write to address `0x0` at game image offset `+0x23cf683`, exception `0xc0000005`. The caller `+0x4e4ba89` and register values `rax=0x0 rcx=0x70024c348 rdx=0x1 r8=0x7074d8c40` match this report. The run never reached controllable gameplay. AI use: Codex (GPT-6) ran XCL, extracted the log details, and drafted this report. The on-screen observations came from the user.
Author
Owner

@⁠atk3001 on GitHub · 2026-11-24 09:21 UTC · original

Another data point, with where the main thread is before the null write.

Setup: RTX 5080 16 GB (driver 621.24), Ryzen 7 9800X3D, Windows 11 26300, main 077ce40 (release), XCL_NETWORK=0, retail 1.0.2.1. A pressed by script (XCL_PRESS_A_AT=20,22,25,30,35,40,50,60), so every run gets the same input.

Runs

  • scripts/smoke.ps1 -Seconds 180: no crash within 180 s, 1377 frames, 60 fps until ~50 s, then 0–3 presents per 2 s; peak commit 26.3 GB.
  • With XCL_THREAD_DUMP_AT=80,100,120: the null write at +0x23cf683 comes at 95.6 s (GPU Loc Sig 7333478d in the Breakpad parameters).
  • The game's own crashcontext.log (written to T:\, i.e. <XCL data>\temp) shows that the world has loaded: player placed, 87 peds, 217 vehicles, Current SRL Name: fbk_stry000_FBK_STRY000_INTRO, state Prestream, Game State: Game Running.

What the thread dump at 80 s shows

  • No XCL thread is blocked: xcl-fences, xcl-pso-* and xcl-dxc-* are all idle.
  • The game's main thread is already stuck at +0x23cf735. The stack is +0x23cf735 < +0x8126a7 < +0x53ec040 < +0x53ebf3a < …. +0x23cf6a0, called with cl=1 from +0x8126a2, calls +0x4e4ba80 and then sleeps in a loop.
  • +0x812620 is a state handler. It takes this branch when the byte at +0x7453ed4 is 0 (read by +0x450920) or when [[+0xaae3b70]+0x1b3] is 0. Otherwise it continues with state 4.

The watchdog at +0x2215a60 (disassembly)

  • Every 1000 ms it walks a table of 64 timestamp entries and compares each against a threshold. When one is too old, it calls +0x4e4ba80 and then writes 0 to address 0 (+0x2215c35).
  • So it checks threads checking in, not GPU progress directly. In these runs it fires because the main thread stopped checking in at ~56 s, when the branch above was taken. The 0x23cf683 write is the same fatal path, reached from +0x4e4ba89.

Not known yet: what clears +0x7453ed4 or the +0x1b3 flag before ~56 s. The flag is set to 1 at +0x1c996b0 (callers +0x21b745e, +0x21b8e02, +0x59965c8) and cleared at +0x2257734 / +0x2258de7. One observation, not a cause: the same main thread queried XStore at 20.7 s, right after the first A press. XCL answers that as offline, and the title reports XErrorReport 0x89240107.

A second run on the same build crashed earlier, at 59.8 s, in tiling::Chain::detile_level ← title_textures::subresources (read AV in VCRUNTIME140 memcpy). That is the race #751 fixes.

Report and analysis written with Claude Code (Claude Opus 5.5) from my own runs. The disassembly was done with capstone on my copy of the exe. Nothing from the game is attached.

**@⁠atk3001** on GitHub · 2026-11-24 09:21 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7127311264) Another data point, with where the main thread is before the null write. **Setup:** RTX 5080 16 GB (driver 621.24), Ryzen 7 9800X3D, Windows 11 26300, `main` 077ce40 (release), `XCL_NETWORK=0`, retail 1.0.2.1. A pressed by script (`XCL_PRESS_A_AT=20,22,25,30,35,40,50,60`), so every run gets the same input. **Runs** - `scripts/smoke.ps1 -Seconds 180`: no crash within 180 s, 1377 frames, 60 fps until ~50 s, then 0–3 presents per 2 s; peak commit 26.3 GB. - With `XCL_THREAD_DUMP_AT=80,100,120`: the null write at `+0x23cf683` comes at 95.6 s (`GPU Loc Sig` 7333478d in the Breakpad parameters). - The game's own `crashcontext.log` (written to `T:\`, i.e. `<XCL data>\temp`) shows that the world has loaded: player placed, 87 peds, 217 vehicles, `Current SRL Name: fbk_stry000_FBK_STRY000_INTRO`, state `Prestream`, `Game State: Game Running`. **What the thread dump at 80 s shows** - No XCL thread is blocked: `xcl-fences`, `xcl-pso-*` and `xcl-dxc-*` are all idle. - The game's main thread is already stuck at `+0x23cf735`. The stack is `+0x23cf735 < +0x8126a7 < +0x53ec040 < +0x53ebf3a < …`. `+0x23cf6a0`, called with `cl=1` from `+0x8126a2`, calls `+0x4e4ba80` and then sleeps in a loop. - `+0x812620` is a state handler. It takes this branch when the byte at `+0x7453ed4` is 0 (read by `+0x450920`) or when `[[+0xaae3b70]+0x1b3]` is 0. Otherwise it continues with state 4. **The watchdog at `+0x2215a60` (disassembly)** - Every 1000 ms it walks a table of 64 timestamp entries and compares each against a threshold. When one is too old, it calls `+0x4e4ba80` and then writes 0 to address 0 (`+0x2215c35`). - So it checks threads checking in, not GPU progress directly. In these runs it fires because the main thread stopped checking in at ~56 s, when the branch above was taken. The `0x23cf683` write is the same fatal path, reached from `+0x4e4ba89`. **Not known yet:** what clears `+0x7453ed4` or the `+0x1b3` flag before ~56 s. The flag is set to 1 at `+0x1c996b0` (callers `+0x21b745e`, `+0x21b8e02`, `+0x59965c8`) and cleared at `+0x2257734` / `+0x2258de7`. One observation, not a cause: the same main thread queried XStore at 20.7 s, right after the first A press. XCL answers that as offline, and the title reports `XErrorReport 0x89240107`. A second run on the same build crashed earlier, at 59.8 s, in `tiling::Chain::detile_level` ← `title_textures::subresources` (read AV in `VCRUNTIME140` memcpy). That is the race #751 fixes. Report and analysis written with Claude Code (Claude Opus 5.5) from my own runs. The disassembly was done with capstone on my copy of the exe. Nothing from the game is attached.
Author
Owner

@⁠AlexLopezDevelop on GitHub · 2026-11-24 09:36 UTC · original

Follow-up to my run above: with #891 (XCL_PSO_WAIT_MS=50) the same machine (RTX 2080 Ti + i9-9900K) goes past this stop into the world load, and ends later at #585 instead. Details: https://github.com/ivall/xcl/pull/891 (my comment there).

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠AlexLopezDevelop** on GitHub · 2026-11-24 09:36 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7127654664) Follow-up to my run above: with #891 (`XCL_PSO_WAIT_MS=50`) the same machine (RTX 2080 Ti + i9-9900K) goes past this stop into the world load, and ends later at #585 instead. Details: https://github.com/ivall/xcl/pull/891 (my comment there). AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@⁠DUIBING818 on GitHub · 2026-11-24 09:48 UTC · original

comment-846-negative-results.txt

**@⁠DUIBING818** on GitHub · 2026-11-24 09:48 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7127910051) [comment-846-negative-results.txt](https://github.com/user-attachments/files/35323896/comment-846-negative-results.txt)
Author
Owner

@⁠ivall on GitHub · 2026-11-24 10:06 UTC · original

Thanks for the detailed reports and the analysis - this is clear now.

  • +0x23cf683 is the title's own fatal-error routine (Voltingg's and atk3001's findings): its watchdog ends the process on purpose when a thread stops checking in, mostly while a thread waits for a big pipeline build during the world load. Patching the writes out only hides that.
  • #891 is merged (main 02bfd1d): with XCL_PSO_WAIT_MS=50 a bind waits at most that long for a pipeline being built, and runs on several machines go past this stop into the world load. It stays opt-in for now, because the dispatches skipped meanwhile leave their outputs unwritten.
  • The next stop some of you reached, 40b of address set in the BVH builder (#585), is fixed by #631, also merged.
  • What remains on the way into the world is memory during the world load (#542, #646) and the write-watch look on slower CPUs (#582, with #693 and #551 merged as first steps).

Please retest on current main with XCL_PSO_WAIT_MS=50 and post where it stops now.

**@⁠ivall** on GitHub · 2026-11-24 10:06 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7128327421) Thanks for the detailed reports and the analysis - this is clear now. - `+0x23cf683` is the title's own fatal-error routine (Voltingg's and atk3001's findings): its watchdog ends the process on purpose when a thread stops checking in, mostly while a thread waits for a big pipeline build during the world load. Patching the writes out only hides that. - #891 is merged (main `02bfd1d`): with `XCL_PSO_WAIT_MS=50` a bind waits at most that long for a pipeline being built, and runs on several machines go past this stop into the world load. It stays opt-in for now, because the dispatches skipped meanwhile leave their outputs unwritten. - The next stop some of you reached, `40b of address set` in the BVH builder (#585), is fixed by #631, also merged. - What remains on the way into the world is memory during the world load (#542, #646) and the write-watch look on slower CPUs (#582, with #693 and #551 merged as first steps). Please retest on current main with `XCL_PSO_WAIT_MS=50` and post where it stops now.
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 10:59 UTC · original

Thanks for the detailed reports and the analysis - this is clear now.

Please retest on current main with XCL_PSO_WAIT_MS=50 and post where it stops now.

Merged your current build into my fork after this message as i noticed the fix for more than 40b of address set was mentioned!!

My fork has currently compiled up to 430 shaders and still going! Black screen after loading screen but no crash anymore (my exe is patched with the python script I included)

I patched alot of the DirectRoute errors in my fork as well, As of this moment i am technically ingame with no crashes (blackscreen though)

**@⁠Coldtrain** on GitHub · 2026-11-24 10:59 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129512068) > Thanks for the detailed reports and the analysis - this is clear now. > > * `+0x23cf683` is the title's own fatal-error routine (Voltingg's and atk3001's findings): its watchdog ends the process on purpose when a thread stops checking in, mostly while a thread waits for a big pipeline build during the world load. Patching the writes out only hides that. > * [D3D12.X: XCL_PSO_WAIT_MS bounds how long a bind waits for a pipeline being built (retail world renders) #891](https://github.com/ivall/xcl/pull/891) is merged (main `02bfd1d`): with `XCL_PSO_WAIT_MS=50` a bind waits at most that long for a pipeline being built, and runs on several machines go past this stop into the world load. It stays opt-in for now, because the dispatches skipped meanwhile leave their outputs unwritten. > * The next stop some of you reached, `40b of address set` in the BVH builder ([D3D12.X: GPU addresses above 2^40 make the title's BVH builder throw ("more than 40b of address set") #585](https://github.com/ivall/xcl/issues/585)), is fixed by [Memory: link xcl.exe without high-entropy ASLR so title memory stays under 2^40 #631](https://github.com/ivall/xcl/pull/631), also merged. > * What remains on the way into the world is memory during the world load ([Newer retail game on a 32 GB machine: 31 default DXC threads and ~18 GB commit run Windows out of memory #542](https://github.com/ivall/xcl/issues/542), [Retail title 1.0.2.1 on RTX 3060 12 GB: world loading never presents, commit 36 GB, local video memory 12.9 GB, then 0xc0000005 in VCRUNTIME140 (memcpy) #646](https://github.com/ivall/xcl/issues/646)) and the write-watch look on slower CPUs ([D3D12.X: the write-watch look scans 1.5 GiB before every submit while 4 pages are written (measurement and plan) #582](https://github.com/ivall/xcl/issues/582), with [D3D12.X: a vertex or index buffer with a mirror is bound without VirtualQuery #693](https://github.com/ivall/xcl/pull/693) and [Title textures: the write watch scans in a few calls, not thousands #551](https://github.com/ivall/xcl/pull/551) merged as first steps). > > Please retest on current main with `XCL_PSO_WAIT_MS=50` and post where it stops now. Merged your current build into my fork after this message as i noticed the fix for more than 40b of address set was mentioned!! My fork has currently compiled up to 430 shaders and still going! Black screen after loading screen but no crash anymore (my exe is patched with the python script I included) I patched alot of the DirectRoute errors in my fork as well, As of this moment i am technically ingame with no crashes (blackscreen though)
Author
Owner

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

Should I expect video once shader compilation is completed? My fork additionally brought cutscreens up to solid 30fps on my system, main branch last gave me 5fps avg, will retest and confirm, for now allowing shaders to compile and will report what happens.

**@⁠Coldtrain** on GitHub · 2026-11-24 11:02 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129568643) Should I expect video once shader compilation is completed? My fork additionally brought cutscreens up to solid 30fps on my system, main branch last gave me 5fps avg, will retest and confirm, for now allowing shaders to compile and will report what happens.
Author
Owner

@⁠ClosetPie107 on GitHub · 2026-11-24 10:54 UTC · original · edited 2026-11-24 11:04 UTC

Retest on current main with XCL_PSO_WAIT_MS=50, as asked, on AMD under Linux (RDNA4, RADV). Two runs. Neither gets into the world load: about 30 s after the first #101, the GPU takes a page fault from a shader's scalar data load, the driver resets the ring, D3D12 reports the device removed, and the run ends.

Tested

  • AMD Radeon RX 9070 16 GB (RADV GFX1201, Mesa 26.3.1, kernel 7.3.5), Ryzen 5 9600X, 30 GB RAM; CachyOS. Proton Experimental's Wine (experimental-11.0-20261112), vkd3d-proton v3.1 + #257's patch (-Db_ndebug=true, dxil-spirv 53aac418), DXC 1.9.2609.5. Rust 1.96.0, x86_64-pc-windows-gnu, release, no local changes on the tree.
  • Retail 1.0.2.1, first-run setup done earlier. xcl run with XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_WAIT_MS=50 XCL_COHERENT_MB=512 VKD3D_CONFIG=ignore_shared_fence, 600 s limit. Run 5: one A press by hand. Run 6: XCL_PRESS_AT=30.6:A, no controller.
  • Run 5: main 6efdabc + #905 (44953c2, a fast-forward). Run 6: main 384f7f7 (#905 merged).
run 5 run 6 for comparison: no XCL_PSO_WAIT_MS (077ce40 + #905, earlier today)
first ListX #101 76.4 s 84.6 s 88.2 s
skipped draws / dispatches at the end 2 829 / 512 4 208 / 663 0 / 0
GPU page fault (journalctl -k) ~106.4 s ~114 s none
fault SQC (data), PERMISSION_FAULTS: 0x3, MAPPING_ERROR: 0, at 0x00008000c39d8000 the same, at 0x00008000befff000 –
driver recovery gfx_0.0.0 ring timeout, ring reset failed → MODE1 GPU reset, "VRAM is lost" comp_1.1.0 ring timeout, ring reset succeeded –
GPU queue.Wait … did not complete within 5000 ms 17, from 112.0 s 0 0
D3D12 device removed: 0x887a0005 115.388 s 118.408 s –
end 0x80000003 at +0x2474606 (the title's device-removed stop, as on #646 / #891) XCL ends the process with 0x887a0005 0xc0000005 write at 0 at +0x23cf683, 132.8 s
video memory, local (peak) 16.3 GB of 16 16.3 GB 16.2 GB
  • So on RADV the phase that times out GPU waits on @⁠throny's RTX 4080 is a real GPU memory fault, about 30 s after the first #101 in both runs (30.0 s and 29.6 s).
  • Edited: this is #575. Same kernel signature (SQC (data), PERMISSION_FAULTS: 0x3) and the same address range: RADV's 32-bit descriptor range, far past the end of XCL's shared view heap (1 000 000 × 32 B). @⁠xstraok proved it there with RADV_DEBUG=bo_history: a console T# that never became an XCL view is used as a heap index. The fix is draft #610; I am testing it on this machine next.
  • Run 5's full GPU reset also killed Xwayland: a run started right after it hung before its first log line, until Xwayland came back. On Linux, a run that ends with a GPU reset can take the next launch with it.

Not tested: more than two runs, other XCL_PSO_WAIT_MS values, XCL_LIST_TRACE to find the faulting dispatch, Windows on this card, #867 / #871 on top.

AI use: T3 Code (Claude Opus 5.5) built the trees, ran the title and wrote this comment from XCL's logs and the kernel log. The runs are real, on the hardware above, and I checked the report before posting.

**@⁠ClosetPie107** on GitHub · 2026-11-24 10:54 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129405778) · edited 2026-11-24 11:04 UTC Retest on current `main` with `XCL_PSO_WAIT_MS=50`, as asked, on **AMD under Linux** (RDNA4, RADV). Two runs. Neither gets into the world load: about 30 s after the first `#101`, **the GPU takes a page fault** from a shader's scalar data load, the driver resets the ring, D3D12 reports the device removed, and the run ends. **Tested** - AMD Radeon RX 9070 16 GB (RADV GFX1201, Mesa 26.3.1, kernel 7.3.5), Ryzen 5 9600X, 30 GB RAM; CachyOS. Proton Experimental's Wine (`experimental-11.0-20261112`), vkd3d-proton v3.1 + #257's patch (`-Db_ndebug=true`, dxil-spirv `53aac418`), DXC 1.9.2609.5. Rust 1.96.0, `x86_64-pc-windows-gnu`, release, no local changes on the tree. - Retail 1.0.2.1, first-run setup done earlier. `xcl run` with `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_WAIT_MS=50 XCL_COHERENT_MB=512 VKD3D_CONFIG=ignore_shared_fence`, 600 s limit. Run 5: one A press by hand. Run 6: `XCL_PRESS_AT=30.6:A`, no controller. - Run 5: `main` `6efdabc` + #905 (`44953c2`, a fast-forward). Run 6: `main` `384f7f7` (#905 merged). | | run 5 | run 6 | for comparison: no `XCL_PSO_WAIT_MS` (`077ce40` + #905, earlier today) | |---|---|---|---| | first ListX `#101` | 76.4 s | 84.6 s | 88.2 s | | skipped draws / dispatches at the end | 2 829 / 512 | 4 208 / 663 | 0 / 0 | | GPU page fault (`journalctl -k`) | ~106.4 s | ~114 s | none | | fault | `SQC (data)`, `PERMISSION_FAULTS: 0x3`, `MAPPING_ERROR: 0`, at `0x00008000c39d8000` | the same, at `0x00008000befff000` | – | | driver recovery | `gfx_0.0.0` ring timeout, ring reset failed → MODE1 GPU reset, "VRAM is lost" | `comp_1.1.0` ring timeout, ring reset succeeded | – | | `GPU queue.Wait … did not complete within 5000 ms` | 17, from 112.0 s | 0 | 0 | | `D3D12 device removed: 0x887a0005` | 115.388 s | 118.408 s | – | | end | `0x80000003` at `+0x2474606` (the title's device-removed stop, as on #646 / #891) | XCL ends the process with `0x887a0005` | `0xc0000005` write at 0 at `+0x23cf683`, 132.8 s | | video memory, local (peak) | 16.3 GB of 16 | 16.3 GB | 16.2 GB | - So on RADV the phase that times out GPU waits on @⁠throny's RTX 4080 is a real GPU memory fault, about 30 s after the first `#101` in both runs (30.0 s and 29.6 s). - **Edited:** this is #575. Same kernel signature (`SQC (data)`, `PERMISSION_FAULTS: 0x3`) and the same address range: RADV's 32-bit descriptor range, far past the end of XCL's shared view heap (1 000 000 × 32 B). @⁠xstraok proved it there with `RADV_DEBUG=bo_history`: a console T# that never became an XCL view is used as a heap index. The fix is draft #610; I am testing it on this machine next. - Run 5's full GPU reset also killed Xwayland: a run started right after it hung before its first log line, until Xwayland came back. On Linux, a run that ends with a GPU reset can take the next launch with it. **Not tested:** more than two runs, other `XCL_PSO_WAIT_MS` values, `XCL_LIST_TRACE` to find the faulting dispatch, Windows on this card, #867 / #871 on top. **AI use:** T3 Code (Claude Opus 5.5) built the trees, ran the title and wrote this comment from XCL's logs and the kernel log. The runs are real, on the hardware above, and I checked the report before posting.
Author
Owner

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

Same crash on an RTX 4090 (24 GB), and what happens with XCL_PSO_WAIT_MS=1: the watchdog no longer fires, presents still stop at the same point, and the run ends ~60 s later in a GPU device removal.

Setup: Ryzen 7 7800X3D, 64 GB RAM, RTX 4090 (driver 32.0.16.1742), Windows 11 Pro 10.0.26300. Unmodified main 384f7f7, release build. DXC 1.9.2602.17 from the Windows SDK 10.0.26100.0. Title 1.0.2.1. No xcl.toml changes. xcl run <folder>, no input during the runs.

Runs

run env presents end
1 (67a3735) – 4006 +0x23cf683 write at 0x0, about 3.5 min into the run
2 (384f7f7) – 1586 +0x23cf683 write at 0x0, 102.0 s
3 (384f7f7) XCL_PSO_WAIT_MS=1 1611 D3D12 device removed: 0x887a0006 at 165.8 s, then 0x80000003 in game+0x2474606

Runs 1–3 were one after another on the same machine, so runs 2 and 3 started with the earlier runs' shader caches.

Run 2: the watchdog, after compute pipeline builds

  • 30 fps until ~47 s, 16.3 fps over frames 1200–1500 (65.6 s), then presents stop (1586 total).
  • From 76 s to 107 s the driver builds 21 compute PSOs that take ≥ 500 ms each, 67.9 s together. The longest are 6104, 9906 and 13775 ms.
  • GPU Loc Sig is logged at 102.8 s, right after the null write at 102.0 s. Registers match the ones above: rax=rbx=rbp=0, rcx=0x70024c348, rdx=0x1, r8=0x7074d8c40.
  • I disassembled +0x23cf620..+0x23cf692 on this build too: it ends in an unconditional mov dword ptr [0], 0x4D8BD421, as @⁠Voltingg described.

Run 3: XCL_PSO_WAIT_MS=1

  • No null write and no GPU Loc Sig. a pipeline still being built after 1 ms is logged from 72.3 s, past 1025 by 120.9 s.
  • Presents still stop at the same point: 1611 total against 1586 in run 2. Audio keeps decoding until the end (xapu lines every 5 s up to 166 s), so the title is still running.
  • By 146 s: 19704 draws skipped (2309 with PC pipelines) and 16384 dispatches skipped.
  • No Wait64BitValueX timeouts in this run. split command list (type 2) around mid-list Wait after Write64 reached #32 by 123.8 s.
  • At 165.8 s: D3D12 device removed: 0x887a0006 (DXGI_ERROR_DEVICE_HUNG), then unhandled exception 0x80000003 in game_scarlett_master.exe+0x2474606, process status 0x80000003.

So on this card the cap gets the title past the watchdog, but not to new frames. I have not checked whether a skipped dispatch is what hangs the GPU.

Not tested: other XCL_PSO_WAIT_MS values; #684; a run with XCL_D3D12_DEBUG=1 or DRED to see which command list hung the GPU; more than one run per configuration.

AI use: Claude Code (Claude Opus 5.5) built XCL, ran the title, read the logs, disassembled the crash site with dumpbin and drafted this comment. The runs are on my machine, on the hardware above.

**@⁠garuspl** on GitHub · 2026-11-24 11:08 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129709789) Same crash on an RTX 4090 (24 GB), and what happens with `XCL_PSO_WAIT_MS=1`: the watchdog no longer fires, presents still stop at the same point, and the run ends ~60 s later in a GPU device removal. **Setup:** Ryzen 7 7800X3D, 64 GB RAM, RTX 4090 (driver 32.0.16.1742), Windows 11 Pro 10.0.26300. Unmodified `main` `384f7f7`, release build. DXC 1.9.2602.17 from the Windows SDK 10.0.26100.0. Title 1.0.2.1. No `xcl.toml` changes. `xcl run <folder>`, no input during the runs. **Runs** | run | env | presents | end | |---|---|---|---| | 1 (`67a3735`) | – | 4006 | `+0x23cf683` write at 0x0, about 3.5 min into the run | | 2 (`384f7f7`) | – | 1586 | `+0x23cf683` write at 0x0, 102.0 s | | 3 (`384f7f7`) | `XCL_PSO_WAIT_MS=1` | 1611 | `D3D12 device removed: 0x887a0006` at 165.8 s, then `0x80000003` in `game+0x2474606` | Runs 1–3 were one after another on the same machine, so runs 2 and 3 started with the earlier runs' shader caches. **Run 2: the watchdog, after compute pipeline builds** - 30 fps until ~47 s, 16.3 fps over frames 1200–1500 (65.6 s), then presents stop (1586 total). - From 76 s to 107 s the driver builds 21 compute PSOs that take ≥ 500 ms each, 67.9 s together. The longest are 6104, 9906 and 13775 ms. - `GPU Loc Sig` is logged at 102.8 s, right after the null write at 102.0 s. Registers match the ones above: `rax=rbx=rbp=0`, `rcx=0x70024c348`, `rdx=0x1`, `r8=0x7074d8c40`. - I disassembled `+0x23cf620`..`+0x23cf692` on this build too: it ends in an unconditional `mov dword ptr [0], 0x4D8BD421`, as @⁠Voltingg described. **Run 3: `XCL_PSO_WAIT_MS=1`** - No null write and no `GPU Loc Sig`. `a pipeline still being built after 1 ms` is logged from 72.3 s, past 1025 by 120.9 s. - Presents still stop at the same point: 1611 total against 1586 in run 2. Audio keeps decoding until the end (`xapu` lines every 5 s up to 166 s), so the title is still running. - By 146 s: 19704 draws skipped (2309 with PC pipelines) and 16384 dispatches skipped. - No `Wait64BitValueX` timeouts in this run. `split command list (type 2) around mid-list Wait after Write64` reached #32 by 123.8 s. - At 165.8 s: `D3D12 device removed: 0x887a0006` (DXGI_ERROR_DEVICE_HUNG), then `unhandled exception 0x80000003 in game_scarlett_master.exe+0x2474606`, process status `0x80000003`. So on this card the cap gets the title past the watchdog, but not to new frames. I have not checked whether a skipped dispatch is what hangs the GPU. **Not tested:** other `XCL_PSO_WAIT_MS` values; #684; a run with `XCL_D3D12_DEBUG=1` or DRED to see which command list hung the GPU; more than one run per configuration. **AI use:** Claude Code (Claude Opus 5.5) built XCL, ran the title, read the logs, disassembled the crash site with `dumpbin` and drafted this comment. The runs are on my machine, on the hardware above.
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 11:14 UTC · original

xcl: D3D12.X: compute PSO with the translated console CS (207912 B DXIL, 4760 ms)
xcl: D3D12.X: compute PSO with the translated console CS (1295684 B DXIL, 28330 ms)
xcl: D3D12.X: compute PSO with the translated console CS (119996 B DXIL, 1641 ms)
xcl: D3D12.X: compute PSO with the translated console CS (204288 B DXIL, 3656 ms)
xcl: D3D12.X: compute PSO with the translated console CS (207156 B DXIL, 4669 ms)

What my logs look like essentially no errors, game is still running, 580 shaders compiled total, CPU usage for xcl is at 12%, looks promising, just not sure how long shader compilation takes, it appears to not utilize GPU for this stage?

**@⁠Coldtrain** on GitHub · 2026-11-24 11:14 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129850561) xcl: D3D12.X: compute PSO with the translated console CS (207912 B DXIL, 4760 ms) xcl: D3D12.X: compute PSO with the translated console CS (1295684 B DXIL, 28330 ms) xcl: D3D12.X: compute PSO with the translated console CS (119996 B DXIL, 1641 ms) xcl: D3D12.X: compute PSO with the translated console CS (204288 B DXIL, 3656 ms) xcl: D3D12.X: compute PSO with the translated console CS (207156 B DXIL, 4669 ms) What my logs look like essentially no errors, game is still running, 580 shaders compiled total, CPU usage for xcl is at 12%, looks promising, just not sure how long shader compilation takes, it appears to not utilize GPU for this stage?
Author
Owner

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

Post 1 — issue #846 (primary)

URL: https://github.com/ivall/xcl/issues/846

Retest on main 384f7f7 with XCL_PSO_WAIT_MS=50 — Windows 11, RX 9070 XT (RDNA4, native D3D12)

Tested

  • Windows 11 Pro 26300; AMD Radeon RX 9070 XT 16 GB (16191 MiB), driver 32.0.32029.2010; Ryzen 9 9950X3D; 64 GB RAM
  • main 384f7f7, release (cargo build --release --workspace), no local changes; Rust 1.98.1
  • DXC 1.7.2308.16 from the Windows SDK (10.0.26100.0) — older than the 1.8 the README recommends (#156), so compilation here is slower than it needs to be
  • Retail 1.0.2.1; first-run setup done in earlier runs
  • XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1; DXIL cache warm (2,648 hits, 56 compilations this run)
    Result: the +0x23cf683 stop is gone; the run enters the world and ends at a different stop
    without XCL_PSO_WAIT_MS (2 runs, 6efdabc and 384f7f7) with XCL_PSO_WAIT_MS=50 (384f7f7)
    stop 0xC0000005, write at 0x0, game_scarlett_master.exe+0x23cf683, identical registers in both runs 0x80000003 (STATUS_BREAKPOINT) at game_scarlett_master.exe+0x2474606
    stack +0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca xcl.exe+0x142302, +0x4daa2c8, +0x1f6503, +0x10a2b2, USER32.dll+0x4e170, +0x4fb0e29
    game time ~3 min 4m59s, 6,312 frames, 6,906 presents, 29.7 fps
    draws 0 skipped 65,536 draws and 5,074 dispatches with translated pipelines, 0 skipped
    world not reached reached: Game State: Game Running, camera in the world, Streaming Requests: 4021, TileHeap: used (4022Mb) - total (6236Mb)
    The title's own crash context at the new stop:
Game Running Time: 0h:4m:59s   Frame: 6312
Game State: Game Running       Paused: Yes
Streaming Requests: 4021       TileHeap: used (4022Mb) - total (6236Mb)
GFX Queue: 56b0d537            Unsignaled CrossQueueBarrier: 41710ff6

So the next stop looks like a cross-queue barrier that is never signalled (the #505 family), not the pipeline-wait watchdog.
Console slots still called a lot at that point: GraphicsCommandList10::#142 7,618; CommandAllocator::#9 7,376; CommandList10::#75 7,164; #126 7,159; CommandQueue::#31 386; #101 38.
Happy to rerun with other XCL_PSO_WAIT_MS values (200 / 500) or with DXC 1.9 if that helps. No game data attached; the lines quoted above are the only title output used.

**@⁠sharkintosh** on GitHub · 2026-11-24 11:16 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129887807) # Post 1 — issue #846 (primary) URL: https://github.com/ivall/xcl/issues/846 --- ## Retest on `main` `384f7f7` with `XCL_PSO_WAIT_MS=50` — Windows 11, RX 9070 XT (RDNA4, native D3D12) **Tested** - Windows 11 Pro 26300; AMD Radeon RX 9070 XT 16 GB (16191 MiB), driver 32.0.32029.2010; Ryzen 9 9950X3D; 64 GB RAM - `main` `384f7f7`, release (`cargo build --release --workspace`), no local changes; Rust 1.98.1 - DXC 1.7.2308.16 from the Windows SDK (`10.0.26100.0`) — older than the 1.8 the README recommends (#156), so compilation here is slower than it needs to be - Retail 1.0.2.1; first-run setup done in earlier runs - `XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1`; DXIL cache warm (2,648 hits, 56 compilations this run) **Result: the `+0x23cf683` stop is gone; the run enters the world and ends at a different stop** | | without `XCL_PSO_WAIT_MS` (2 runs, `6efdabc` and `384f7f7`) | with `XCL_PSO_WAIT_MS=50` (`384f7f7`) | |---|---|---| | stop | `0xC0000005`, write at `0x0`, `game_scarlett_master.exe+0x23cf683`, identical registers in both runs | **`0x80000003` (STATUS_BREAKPOINT) at `game_scarlett_master.exe+0x2474606`** | | stack | `+0x4e4ba89`, `+0x2215c35`, `+0x71b9a20`, `+0x2215eca` | `xcl.exe+0x142302`, `+0x4daa2c8`, `+0x1f6503`, `+0x10a2b2`, `USER32.dll+0x4e170`, `+0x4fb0e29` | | game time | ~3 min | **4m59s**, 6,312 frames, 6,906 presents, 29.7 fps | | draws | 0 skipped | 65,536 draws and 5,074 dispatches with translated pipelines, **0 skipped** | | world | not reached | reached: `Game State: Game Running`, camera in the world, `Streaming Requests: 4021`, `TileHeap: used (4022Mb) - total (6236Mb)` | The title's own crash context at the new stop: ``` Game Running Time: 0h:4m:59s Frame: 6312 Game State: Game Running Paused: Yes Streaming Requests: 4021 TileHeap: used (4022Mb) - total (6236Mb) GFX Queue: 56b0d537 Unsignaled CrossQueueBarrier: 41710ff6 ``` So the next stop looks like a cross-queue barrier that is never signalled (the #505 family), not the pipeline-wait watchdog. Console slots still called a lot at that point: `GraphicsCommandList10::#142` 7,618; `CommandAllocator::#9` 7,376; `CommandList10::#75` 7,164; `#126` 7,159; `CommandQueue::#31` 386; `#101` 38. Happy to rerun with other `XCL_PSO_WAIT_MS` values (200 / 500) or with DXC 1.9 if that helps. No game data attached; the lines quoted above are the only title output used.
Author
Owner

@⁠Coldtrain on GitHub · 2026-11-24 11:20 UTC · original · edited 2026-11-24 11:21 UTC

I think anyone still experiencing crashes should try the patch.py as my build is compiling shaders with it, otherwise then test with my fork - https://github.com/Coldtrain/xcl/tree/bc7-rds5-runtime-worldload

For me with my .exe patched, and my fork i have up to 608 shaders compiled and game has no longer crashed. (Blackscreen most likely until shader compilation is completed)

Most likely either the offsets I patched in the EXE has allowed my game to keep running without errors, or some of my previous changes compared to the main branch, if confirmed ival can work on merging them.

**@⁠Coldtrain** on GitHub · 2026-11-24 11:20 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7129961121) · edited 2026-11-24 11:21 UTC I think anyone still experiencing crashes should try the patch.py as my build is compiling shaders with it, otherwise then test with my fork - https://github.com/Coldtrain/xcl/tree/bc7-rds5-runtime-worldload For me with my .exe patched, and my fork i have up to 608 shaders compiled and game has no longer crashed. (Blackscreen most likely until shader compilation is completed) Most likely either the offsets I patched in the EXE has allowed my game to keep running without errors, or some of my previous changes compared to the main branch, if confirmed ival can work on merging them.
Author
Owner

@⁠throny on GitHub · 2026-11-24 10:23 UTC · original · edited 2026-11-24 11:24 UTC

Retest on current main with XCL_PSO_WAIT_MS=50, as asked: RTX 4080, two runs. It gets past the old stop into the world load, presents almost nothing there, and ends at the same watchdog routine about a minute later.

Tested

  • Windows 11 Pro 10.0.26300, NVIDIA GeForce RTX 4080 16 GB (driver 610.88, 32-lane waves), Intel i9-12900K, 64 GB; Rust 1.100.0 stable-x86_64-pc-windows-msvc; cargo build --release -p xcl on main 6efdabc, no local changes.
  • xcl run <folder> with XCL_NETWORK=0, XCL_ACTIVITY=1, XCL_PSO_WAIT_MS=50, XCL_PRESS_AT for the profile prompt, 420 s limit. First-run setup was done in earlier runs. DXIL cache warm; the driver-blob cache holds 651 blobs (part of them from an unfinished xcl shaders --precompile --only cs --pipelines with #744).
run 1 run 2 main without the variable (10 warm-cache runs, beaa245 … 1c87b1d)
steady presents until 80 s 78 s 78–90 s
last present 114 s 116 s same as above
presents after 82 s 3 9 0
stop (0xc0000005, write at 0, the #534 location) 174.1 s 170.9 s 107–118 s
draws skipped / with translated pipelines 4 169 / 16 852 11 335 / 20 837 0
dispatches skipped / all 406 / 24 706 937 / 42 351 0
GPU queue.Wait … did not complete within 5000 ms 44, from 109.5 s 12, from 119.4 s 0
sparse: the queue has not reached fence value 5, from 123.6 s 5, from 120.5 s 0
peak commit 32.5 GB 32.7 GB 28.6–31.5 GB
video memory, local (peak) 14.9 GB 15.5 GB 14.2–14.7 GB
  • No device removal in either run. Lowest free commit on the machine: 6.1 GB and 6.8 GB.
  • So where it stops now, here: the bind waits are gone (no compute build holds a title thread), the title goes on into the world load for another ~35 s with a present every few seconds, then XCL's GPU waits start timing out (released on the CPU after 5 s each), the tile-mapping queue stops reaching its fence values, nothing is presented any more, and the title's watchdog ends the run ~55 s after the last present.
  • Run 2's one dumped frame from that phase (XCL_FRAME_DUMP, frame 1820) is a uniform green picture with darker green bars above and below, not the loading art: a frame whose planes hold no data.
  • Local video memory is at 14.9–15.5 GB of 16 GB when the GPU waits start to time out. I have not shown that this is the cause. It is not the cause here: with #640's XCL_PAGE_BUDGET_MB=6144 on top, video memory stays at 12.6–12.8 GB and the waits still time out in one of two runs (numbers in my #640 comment).

Not tested

  • More than two runs, other budgets, a cold or a completely precompiled cache, #708 / #1007 on top; AMD.
  • Which dispatch the first timed-out wait depends on (Rednaxeh's finding on #891 that it was a skipped one).

AI use

  • Claude Code (Claude Fable 5.2) built main, ran the title and wrote this report. Counts and XCL's own log text only; no game data attached.

Update: the same two runs on main 384f7f7 (after #905 and the allocator-pool merges; same machine, same settings and caches)

run 3 run 4
steady presents until 80 s 80 s
last present 132 s 114 s
presents after 82 s 24 20
end my memory guard stopped it at about 134 s: free commit on the machine under 4 GB (the process at 33.9 GB, and another job on this PC was using a few GB) 0xc0000005, write at 0, at 170.0 s – this time at the #232 title's location
draws skipped / with translated pipelines 12 899 / 22 948 6 922 / 19 901
dispatches skipped / all 2 048 / 59 038 333 / 32 595
GPU queue.Wait … did not complete within 5000 ms 78, from 122.3 s 29, from 112.4 s
sparse: the queue has not reached fence value 0 11
peak commit 33.9 GB (when stopped) 32.7 GB
video memory, local (peak) 15.7 GB 15.6 GB

Same picture as on 6efdabc: past the old stop, a few presents per ten seconds in the world load (about twice as many as before: 20 and 24 against 3 and 9), then GPU waits time out. No device removal. Run 3 is not a result for where the title stops, only for how far it got before my guard ended it.

**@⁠throny** on GitHub · 2026-11-24 10:23 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7128721963) · edited 2026-11-24 11:24 UTC Retest on current `main` with `XCL_PSO_WAIT_MS=50`, as asked: RTX 4080, two runs. It gets past the old stop into the world load, presents almost nothing there, and ends at the same watchdog routine about a minute later. **Tested** - Windows 11 Pro 10.0.26300, NVIDIA GeForce RTX 4080 16 GB (driver 610.88, 32-lane waves), Intel i9-12900K, 64 GB; Rust 1.100.0 `stable-x86_64-pc-windows-msvc`; `cargo build --release -p xcl` on `main` `6efdabc`, no local changes. - `xcl run <folder>` with `XCL_NETWORK=0`, `XCL_ACTIVITY=1`, `XCL_PSO_WAIT_MS=50`, `XCL_PRESS_AT` for the profile prompt, 420 s limit. First-run setup was done in earlier runs. DXIL cache warm; the driver-blob cache holds 651 blobs (part of them from an unfinished `xcl shaders --precompile --only cs --pipelines` with #744). | | run 1 | run 2 | `main` without the variable (10 warm-cache runs, `beaa245` … `1c87b1d`) | |---|---|---|---| | steady presents until | 80 s | 78 s | 78–90 s | | last present | 114 s | 116 s | same as above | | presents after 82 s | 3 | 9 | 0 | | stop (`0xc0000005`, write at 0, the #534 location) | 174.1 s | 170.9 s | 107–118 s | | draws skipped / with translated pipelines | 4 169 / 16 852 | 11 335 / 20 837 | 0 | | dispatches skipped / all | 406 / 24 706 | 937 / 42 351 | 0 | | `GPU queue.Wait … did not complete within 5000 ms` | 44, from 109.5 s | 12, from 119.4 s | 0 | | `sparse: the queue has not reached fence value` | 5, from 123.6 s | 5, from 120.5 s | 0 | | peak commit | 32.5 GB | 32.7 GB | 28.6–31.5 GB | | video memory, local (peak) | 14.9 GB | 15.5 GB | 14.2–14.7 GB | - No device removal in either run. Lowest free commit on the machine: 6.1 GB and 6.8 GB. - So where it stops now, here: the bind waits are gone (no compute build holds a title thread), the title goes on into the world load for another ~35 s with a present every few seconds, then XCL's GPU waits start timing out (released on the CPU after 5 s each), the tile-mapping queue stops reaching its fence values, nothing is presented any more, and the title's watchdog ends the run ~55 s after the last present. - Run 2's one dumped frame from that phase (`XCL_FRAME_DUMP`, frame 1820) is a uniform green picture with darker green bars above and below, not the loading art: a frame whose planes hold no data. - Local video memory is at 14.9–15.5 GB of 16 GB when the GPU waits start to time out. ~~I have not shown that this is the cause.~~ It is not the cause here: with #640's `XCL_PAGE_BUDGET_MB=6144` on top, video memory stays at 12.6–12.8 GB and the waits still time out in one of two runs (numbers in [my #640 comment](https://github.com/ivall/xcl/pull/640#issuecomment-7130055598)). **Not tested** - More than two runs, other budgets, a cold or a completely precompiled cache, #708 / #1007 on top; AMD. - Which dispatch the first timed-out wait depends on (Rednaxeh's finding on #891 that it was a skipped one). **AI use** - Claude Code (Claude Fable 5.2) built `main`, ran the title and wrote this report. Counts and XCL's own log text only; no game data attached. --- **Update: the same two runs on `main` `384f7f7`** (after #905 and the allocator-pool merges; same machine, same settings and caches) | | run 3 | run 4 | |---|---|---| | steady presents until | 80 s | 80 s | | last present | 132 s | 114 s | | presents after 82 s | 24 | 20 | | end | my memory guard stopped it at about 134 s: free commit on the machine under 4 GB (the process at 33.9 GB, and another job on this PC was using a few GB) | `0xc0000005`, write at 0, at 170.0 s – this time at the #232 title's location | | draws skipped / with translated pipelines | 12 899 / 22 948 | 6 922 / 19 901 | | dispatches skipped / all | 2 048 / 59 038 | 333 / 32 595 | | `GPU queue.Wait … did not complete within 5000 ms` | 78, from 122.3 s | 29, from 112.4 s | | `sparse: the queue has not reached fence value` | 0 | 11 | | peak commit | 33.9 GB (when stopped) | 32.7 GB | | video memory, local (peak) | 15.7 GB | 15.6 GB | Same picture as on `6efdabc`: past the old stop, a few presents per ten seconds in the world load (about twice as many as before: 20 and 24 against 3 and 9), then GPU waits time out. No device removal. Run 3 is not a result for where the title stops, only for how far it got before my guard ended it.
Author
Owner

@⁠CeeJaded on GitHub · 2026-11-24 11:30 UTC · original

What is gta 6? I only know of newer retail game

**@⁠CeeJaded** on GitHub · 2026-11-24 11:30 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7130176848) What is gta 6? I only know of newer retail game
Author
Owner

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

Additional data point on NVIDIA Ampere with current main, following the BCPack merge.

Environment

  • CPU: Intel Core i9-13900K
  • GPU: NVIDIA GeForce RTX 3080 Ti (12 GB)
  • NVIDIA driver: 621.24
  • RAM: 64 GB DDR4
  • OS: Windows 11 Pro, build 26300
  • DXC: 1.9.2602.17 (21d28f72)
  • Title version: 1.0.2.1
  • XCL: unmodified main, release build
  • Commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3

Comparison against previous run

Metric 508a0c7 47efa2e
BCPack refused requests 1,113 0
BCPack successfully unpacked requests N/A 1,306
Translated pipelines 59 72
DXIL compilations 43 89
DXIL compilation failures 0 0
Presents 4,504 8,934
XAPU decoded packets 6,527 11,636

BCPack results

Format Requests Destination bytes Failed
BC1 1,078 38,809,600 0
BC5 108 7,094,272 0
BC6H 1 1,048,576 0
BC7 119 4,857,856 0
Total 1,306 51,810,304 0

bcpack_refused is empty.

Remaining issues

The same fatal error persists:

0xc0000005
game_scarlett_master.exe+0x23cf683
Write at address 0x0

The recorded stack also matches my previous run:

+0x4e4ba89
+0x2215c35
+0x71b9a20
+0x2215eca

The report still contains 40 sampled mesh pipeline refusals (MS in the AS slot).

The background pipeline counters are [72, 0, 58691].

This provides another reproduction of the same fatal-error path despite successful BCPack decompression.

The higher cumulative presentation and compilation counts should not be interpreted as a measured performance improvement, since the runs were not duration-matched.

The full sequential library test suite also passed: 698 passed, 0 failed, 21 ignored.

AI disclosure: ChatGPT assisted with the testing procedure, interpretation of the diagnostic reports and preparation of this comment. All test results were generated on my own hardware.

Thanks for the continued work on XCL!

**@⁠tatazildo** on GitHub · 2026-11-24 13:31 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7132962109) Additional data point on NVIDIA Ampere with current main, following the BCPack merge. ### Environment - CPU: Intel Core i9-13900K - GPU: NVIDIA GeForce RTX 3080 Ti (12 GB) - NVIDIA driver: 621.24 - RAM: 64 GB DDR4 - OS: Windows 11 Pro, build 26300 - DXC: 1.9.2602.17 (21d28f72) - Title version: 1.0.2.1 - XCL: unmodified main, release build - Commit: `47efa2ecea0a12934719ae69b81930cf02a4b1c3` ### Comparison against previous run | Metric | `508a0c7` | `47efa2e` | |---|---:|---:| | BCPack refused requests | 1,113 | 0 | | BCPack successfully unpacked requests | N/A | 1,306 | | Translated pipelines | 59 | 72 | | DXIL compilations | 43 | 89 | | DXIL compilation failures | 0 | 0 | | Presents | 4,504 | 8,934 | | XAPU decoded packets | 6,527 | 11,636 | ### BCPack results | Format | Requests | Destination bytes | Failed | |---|---:|---:|---:| | BC1 | 1,078 | 38,809,600 | 0 | | BC5 | 108 | 7,094,272 | 0 | | BC6H | 1 | 1,048,576 | 0 | | BC7 | 119 | 4,857,856 | 0 | | Total | 1,306 | 51,810,304 | 0 | `bcpack_refused` is empty. ### Remaining issues The same fatal error persists: 0xc0000005 game_scarlett_master.exe+0x23cf683 Write at address 0x0 The recorded stack also matches my previous run: +0x4e4ba89 +0x2215c35 +0x71b9a20 +0x2215eca The report still contains 40 sampled mesh pipeline refusals (MS in the AS slot). The background pipeline counters are `[72, 0, 58691]`. This provides another reproduction of the same fatal-error path despite successful BCPack decompression. The higher cumulative presentation and compilation counts should not be interpreted as a measured performance improvement, since the runs were not duration-matched. The full sequential library test suite also passed: 698 passed, 0 failed, 21 ignored. AI disclosure: ChatGPT assisted with the testing procedure, interpretation of the diagnostic reports and preparation of this comment. All test results were generated on my own hardware. Thanks for the continued work on XCL!
Author
Owner

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

RTX 3080 Ti datapoint for XCL_PSO_WAIT_MS=50 on current main. This PC has no active playback device, so the run also needs #887 (without it, main traps at +0x4dcbc9d at 27.6 s; see #695 / #887).

Setup: RTX 3080 Ti 12 GB (32-lane waves, driver 32.0.16.1060), i7-12700KF, 32 GB RAM, fixed 64 GB page file, Windows 11 Pro 26300, rustc 1.100.0, release, DXC 1.9.2602.17. Retail 1.0.2.1 (hashes verified). main 47efa2e + #887 (a3b0ea0) merged locally (98fd0c8). XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_WAIT_MS=50, first-run menus walked with XCL_PRESS_AT, warm DXIL cache.

t (s) presents / 2 s draws dispatches DirectStorage
20–60 60 780–793 60 idle (menus)
70 25 288 26 286 req / 75 MB
80 49 490 115 3,102 / 162 MB
100 19 203 84 3,985 / 193 MB (8 failed)
110 42 462 126 987 / 133 MB
120–140 0 0–1 0–165 idle
150 2 991 6,631 idle
160 0 0 0 1,130 / 97 MB
  • So it gets into the world load: map/vehicle .ttpf streaming from ~70 s, with BCPack unpacking and no refusals. Presents stop at ~120 s.
  • End: 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at 0x0) at 188.5 s. That's the same stop @⁠tiagonleal reported on a 5070 Ti with PSO_WAIT_MS=50, rather than +0x23cf683. No device removal in this run.
  • Peak process commit 31.0 GB; local video memory 14.7 GB on the 12 GB card, target pages 9.7 GB, sparse pools 2.4 GB.
  • After the exception process ends was never logged, and the process stayed alive (~20 GB working set) until I killed it 20 min later. That is what #967 addresses; I've queued a run of it here.

Next on this machine: the journal + xcl pipelines route from #505 (#688 #744 #759 #820 #684), without PSO_WAIT_MS.

AI use: Claude Code (Claude Opus 5.5) ran the build/run on my machine, read the logs and drafted this; I reviewed it.

**@⁠vladbondarenko97** on GitHub · 2026-11-24 13:36 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7133067052) RTX 3080 Ti datapoint for `XCL_PSO_WAIT_MS=50` on current `main`. This PC has no active playback device, so the run also needs #887 (without it, `main` traps at `+0x4dcbc9d` at 27.6 s; see #695 / #887). **Setup:** RTX 3080 Ti 12 GB (32-lane waves, driver 32.0.16.1060), i7-12700KF, 32 GB RAM, fixed 64 GB page file, Windows 11 Pro 26300, rustc 1.100.0, release, DXC 1.9.2602.17. Retail 1.0.2.1 (hashes verified). `main` `47efa2e` + #887 (`a3b0ea0`) merged locally (`98fd0c8`). `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_WAIT_MS=50`, first-run menus walked with `XCL_PRESS_AT`, warm DXIL cache. | t (s) | presents / 2 s | draws | dispatches | DirectStorage | |---:|---:|---:|---:|---| | 20–60 | 60 | 780–793 | 60 | idle (menus) | | 70 | 25 | 288 | 26 | 286 req / 75 MB | | 80 | 49 | 490 | 115 | 3,102 / 162 MB | | 100 | 19 | 203 | 84 | 3,985 / 193 MB (8 failed) | | 110 | 42 | 462 | 126 | 987 / 133 MB | | 120–140 | 0 | 0–1 | 0–165 | idle | | 150 | 2 | 991 | **6,631** | idle | | 160 | 0 | 0 | 0 | 1,130 / 97 MB | - So it gets into the world load: map/vehicle `.ttpf` streaming from ~70 s, with BCPack unpacking and no refusals. Presents stop at ~120 s. - **End:** `0xc0000005` in `game_scarlett_master.exe+0x2215c35` (write at 0x0) at **188.5 s**. That's the same stop @⁠tiagonleal reported on a 5070 Ti with `PSO_WAIT_MS=50`, rather than `+0x23cf683`. No device removal in this run. - Peak process commit **31.0 GB**; local video memory **14.7 GB** on the 12 GB card, target pages 9.7 GB, sparse pools 2.4 GB. - After the exception `process ends` was never logged, and the process stayed alive (~20 GB working set) until I killed it 20 min later. That is what #967 addresses; I've queued a run of it here. Next on this machine: the journal + `xcl pipelines` route from #505 (#688 #744 #759 #820 #684), without `PSO_WAIT_MS`. *AI use: Claude Code (Claude Opus 5.5) ran the build/run on my machine, read the logs and drafted this; I reviewed it.*
Author
Owner

@⁠l0g3n on GitHub · 2026-11-24 14:38 UTC · original

I reproduced the same crash on an AMD Radeon RX 7600 with Adrenalin 26.11.2 and Windows 11 Pro 26H2 (build 26300.9974). I built XCL at 930e8b4 and tested game version 1.0.2.1. The loading artwork appeared at about 30 FPS, then the window went black and the game exited before I saw gameplay.

The log shows 0xc0000005 writing to 0x0 at game_scarlett_master.exe+0x23cf683, with +0x4e4ba89 and +0x2215c35 on the stack.

**@⁠l0g3n** on GitHub · 2026-11-24 14:38 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7134694680) I reproduced the same crash on an AMD Radeon RX 7600 with Adrenalin 26.11.2 and Windows 11 Pro 26H2 (build 26300.9974). I built XCL at 930e8b4 and tested game version 1.0.2.1. The loading artwork appeared at about 30 FPS, then the window went black and the game exited before I saw gameplay. The log shows 0xc0000005 writing to 0x0 at game_scarlett_master.exe+0x23cf683, with +0x4e4ba89 and +0x2215c35 on the stack.
Author
Owner

@⁠sernartar on GitHub · 2026-11-24 14:47 UTC · original

8 GB NVIDIA datapoint (RTX 4060 Ti 8 GB, Intel) on 930e8b4: same +0x23cf683 end, 2 of 2 runs, after ~30 s of no presents while big compute PSOs build

Setup: Windows 11, Intel i5-12600KF, RTX 4060 Ti 8 GB, 32 GB RAM, DXC 1.9.2602 (SDK 10.0.26100), main 930e8b4, cargo build --release -p xcl, XCL_NETWORK=0 XCL_ACTIVITY=1, no other variables. Retail 1.0.2.1, 109/109 files unchanged after both runs. Second run had the DXIL/driver caches of the first.

run 1 (cold) run 2 (warm)
time to the end ~2:15 ~2:15
presents 2 065 2 200 (up to 31 fps in menus)
BCPack BC1 2 088, BC5 112, BC6H 1, BC7 190, 0 failed BC1 2 272, BC5 107, BC6H 1, BC7 191, 0 failed
commit at the end 28.6 GB 29.3 GB
"video memory local" 14.0 GB on an 8 GB card 14.2 GB
end 0xc0000005 write at 0x0, +0x23cf683 same, same registers (rax=rbx=rbp=0, rcx=0x70024c348)
  • Run 2: the last ~28 s before the crash had 0 presents and 0 draws, while compute PSOs were still being built (the last ones 2–7 s each, up to 362 KB DXIL). That fits the stall-watchdog reading in #534 / #662.
  • The title's crash log (run 1): Game Running Time 0h:1m:39s, Frame 905, SRL fbk_stry000_FBK_STRY000_INTRO in Prestream, Game Physical 2.21 / 2.31 GB, Pool 592 / 625 MB.
  • Commit was not exhausted (page file peak 3.2 GB), so on this machine it is not the OOM path from #534's later comments.
  • Rockstar auth-ticket requests (CreateTicketXbl3, "no Xbox Live") happen a few log lines before the crash in both runs, but they repeat all through the run, so I read that as timing only.

Next from me: one xcl shaders shaders.rpf --precompile --only cs --pipelines pass on this 8 GB card (numbers for #1269), then the same run with warm caches, to see whether the watchdog still fires when the world-load compute PSOs are already built.

AI use: Claude Code (Claude Opus 5.5) read the logs and wrote this; the runs were mine.

**@⁠sernartar** on GitHub · 2026-11-24 14:47 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7134955947) **8 GB NVIDIA datapoint (RTX 4060 Ti 8 GB, Intel) on `930e8b4`: same `+0x23cf683` end, 2 of 2 runs, after ~30 s of no presents while big compute PSOs build** **Setup:** Windows 11, Intel i5-12600KF, RTX 4060 Ti **8 GB**, 32 GB RAM, DXC 1.9.2602 (SDK 10.0.26100), `main` `930e8b4`, `cargo build --release -p xcl`, `XCL_NETWORK=0 XCL_ACTIVITY=1`, no other variables. Retail 1.0.2.1, 109/109 files unchanged after both runs. Second run had the DXIL/driver caches of the first. | | run 1 (cold) | run 2 (warm) | |---|---|---| | time to the end | ~2:15 | ~2:15 | | presents | 2 065 | 2 200 (up to 31 fps in menus) | | BCPack | BC1 2 088, BC5 112, BC6H 1, BC7 190, **0 failed** | BC1 2 272, BC5 107, BC6H 1, BC7 191, **0 failed** | | commit at the end | 28.6 GB | 29.3 GB | | "video memory local" | 14.0 GB on an 8 GB card | 14.2 GB | | end | `0xc0000005` write at 0x0, `+0x23cf683` | same, same registers (`rax=rbx=rbp=0`, `rcx=0x70024c348`) | - Run 2: the last ~28 s before the crash had **0 presents and 0 draws**, while compute PSOs were still being built (the last ones 2–7 s each, up to 362 KB DXIL). That fits the stall-watchdog reading in #534 / #662. - The title's crash log (run 1): `Game Running Time 0h:1m:39s`, `Frame 905`, SRL `fbk_stry000_FBK_STRY000_INTRO` in `Prestream`, `Game Physical 2.21 / 2.31 GB`, `Pool 592 / 625 MB`. - Commit was not exhausted (page file peak 3.2 GB), so on this machine it is not the OOM path from #534's later comments. - Rockstar auth-ticket requests (`CreateTicketXbl3`, "no Xbox Live") happen a few log lines before the crash in both runs, but they repeat all through the run, so I read that as timing only. Next from me: one `xcl shaders shaders.rpf --precompile --only cs --pipelines` pass on this 8 GB card (numbers for #1269), then the same run with warm caches, to see whether the watchdog still fires when the world-load compute PSOs are already built. AI use: Claude Code (Claude Opus 5.5) read the logs and wrote this; the runs were mine.
Author
Owner

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

comment-846-heap-windows.txt
Short version, so nobody has to open the attachment:

  • #680 heap windows: world-load compute PSOs build ~10x cheaper here (262 KB DXIL: 4.2 s, was 45-70 s)
  • Same merged tree + #1214 + #1230, warm cache (28.5k DXIL), XCL_HEAP_WINDOWS=1
  • Still ends at game_scarlett_master.exe+0x23cf683, rax=rbx=rbp=0, rcx=0x70024c348, after 8,100 presents, 0 skipped draws, 0 skipped dispatches
  • So compile time is not what trips the watchdog on this title (full data + the three combinations in the attachment)
**@⁠DUIBING818** on GitHub · 2026-11-24 15:02 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7135366982) [comment-846-heap-windows.txt](https://github.com/user-attachments/files/35339721/comment-846-heap-windows.txt) Short version, so nobody has to open the attachment: - #680 heap windows: world-load compute PSOs build ~10x cheaper here (262 KB DXIL: 4.2 s, was 45-70 s) - Same merged tree + #1214 + #1230, warm cache (28.5k DXIL), XCL_HEAP_WINDOWS=1 - Still ends at game_scarlett_master.exe+0x23cf683, rax=rbx=rbp=0, rcx=0x70024c348, after 8,100 presents, 0 skipped draws, 0 skipped dispatches - So compile time is not what trips the watchdog on this title (full data + the three combinations in the attachment)
Author
Owner

@⁠chenzhehao1129-eng on GitHub · 2026-11-24 15:44 UTC · original

Same stop on a desktop RTX 4070 Ti SUPER, with one difference worth adding: this machine gets through the whole first-run flow and into the intro, and the watchdog fires while the intro audio is playing, not at a menu.

Setup: NVIDIA GeForce RTX 4070 Ti SUPER 16 GB (driver 32.0.15.8097, i.e. 580.97), Ryzen 9 9900X, 64 GB, Windows 11 10.0.26100 build 26100, DXC 1.9.2602.17 from the SDK 10.0.26100.0, xcl 0.1.0 built from main 930e8b4 (cargo build --release --workspace, no local changes). Retail 1.0.2.1 unpacked from my own copy (RockstarGamesInc.28872443D20A7, TitleId 7952987A, 109 files). No game files attached.

What happens

ACCOUNT PICKER → key art → FINISH SETUP? → LEGAL NOTICES (Copyright / Photosensitivity) → ROCKSTAR GAMES LEGAL TERMS & POLICIES (Privacy + ToS, Confirm), all at a steady 30 fps with 0 draws skipped, then a black screen with a spinner while the intro plays. At 11,915 presents (~6.5 min):

unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)
rax=0x0 rbx=0x0 rcx=0xc26c348 rdx=0x1 rsi=0x7d9af828 rdi=0x2e4b179c03 rbp=0x0
on the stack: +0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca, msvcrt.dll+0x83cc0

exit code 3221225477. So rcx is 0x0c26c348 here and not the 0x70024c348 others see, but the address and the write are the same.

What the log says around it

The last 30 lines are not a picture, they are pipeline builds — the title is still bringing up compute PSOs while the intro plays, and some of them are big on this machine:

[456.048] compute PSO with the translated console CS (384860 B DXIL, 5185 ms)
[459.232] compute PSO with the translated console CS (199808 B DXIL, 1515 ms)
[445.548] compute PSO with the translated console CS (132712 B DXIL, 730 ms)

and just before that:

[WARN] D3D12.X: CreateShaderResourceView(RAYTRACING_ACCELERATION_STRUCTURE) at 0x97ce4500 is not in unified memory — writing empty BVH descriptor

One thing I did not see in the other reports: there is no Xbox Live here, and the title keeps retrying the Rockstar auth endpoint through the whole intro — XUser: token #5 … #12 for POST https://auth-arc-prod.ros.rockstargames.com/arc/11/gameservices/auth.asmx/CreateTicketXbl3 — none: no Xbox Live (0x80072EFD). If the sign-in path is what keeps a title thread waiting while frames are presented, this might be an extra variable worth excluding (I am retesting with XCL_NETWORK=0 for exactly that reason).

Report numbers (report.prev.json): shaders.unique 19,211, submitted 274,780 (ps 134,404 / vs 112,044 / as 25,479 / cs 2,742 / rootsig 111), xbox_errors 0, rdna2_undecoded_dwords 0, translated_pipelines 57, fallback_pipelines 0, failed_pipelines 0, 40 × mesh pipeline with its MS <hash> in the AS slot — refused; xapu_packets_decoded 67,157, xapu_decode_errors 0; called_stubs: ID3D12CommandAllocator::#9 12,009, ID3D12GraphicsCommandList10::#126/#142/#75 11,923 each, ID3D12CommandQueue::#31 393; dxil cache hits 24 / misses 71 / compilations 71 / failures 0; uma_import_check: ok, 1 window(s), 31540 µs.

Retest in progress

I only found this thread after drafting a separate report (the new-issue page flagged it as a potential duplicate — it is), so I am posting here instead. I am now running main 930e8b4 with XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1 and will add where it stops.

One cross-check that may be useful, from the same machine under a different compatibility layer (Victory): there the world-load submission on the real GPU takes 11–13 s and the driver removes the device with 0x887A0006 (this machine has TdrDelay=8, so anything over 8 s is fatal), while XCL_PSO_WAIT_MS=1 here turns the watchdog stop into 0x887A0006 for @⁠garuspl. That is consistent with a single long stall in the world-load phase being the thing that both layers trip over.

**@⁠chenzhehao1129-eng** on GitHub · 2026-11-24 15:44 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7136536316) Same stop on a desktop RTX 4070 Ti SUPER, with one difference worth adding: this machine gets through the whole first-run flow and into the intro, and the watchdog fires while the intro audio is playing, not at a menu. **Setup:** NVIDIA GeForce RTX 4070 Ti SUPER 16 GB (driver 32.0.15.8097, i.e. 580.97), Ryzen 9 9900X, 64 GB, Windows 11 10.0.26100 build 26100, DXC 1.9.2602.17 from the SDK 10.0.26100.0, `xcl` 0.1.0 built from `main` `930e8b4` (`cargo build --release --workspace`, no local changes). Retail 1.0.2.1 unpacked from my own copy (`RockstarGamesInc.28872443D20A7`, TitleId `7952987A`, 109 files). No game files attached. **What happens** ACCOUNT PICKER → key art → `FINISH SETUP?` → `LEGAL NOTICES` (Copyright / Photosensitivity) → `ROCKSTAR GAMES LEGAL TERMS & POLICIES` (Privacy + ToS, Confirm), all at a steady 30 fps with `0 draws skipped`, then a black screen with a spinner while the intro plays. At **11,915 presents (~6.5 min)**: ``` unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0xc26c348 rdx=0x1 rsi=0x7d9af828 rdi=0x2e4b179c03 rbp=0x0 on the stack: +0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca, msvcrt.dll+0x83cc0 ``` exit code 3221225477. So `rcx` is `0x0c26c348` here and not the `0x70024c348` others see, but the address and the write are the same. **What the log says around it** The last 30 lines are not a picture, they are pipeline builds — the title is still bringing up compute PSOs while the intro plays, and some of them are big on this machine: ``` [456.048] compute PSO with the translated console CS (384860 B DXIL, 5185 ms) [459.232] compute PSO with the translated console CS (199808 B DXIL, 1515 ms) [445.548] compute PSO with the translated console CS (132712 B DXIL, 730 ms) ``` and just before that: ``` [WARN] D3D12.X: CreateShaderResourceView(RAYTRACING_ACCELERATION_STRUCTURE) at 0x97ce4500 is not in unified memory — writing empty BVH descriptor ``` **One thing I did not see in the other reports:** there is no Xbox Live here, and the title keeps retrying the Rockstar auth endpoint through the whole intro — `XUser: token #5 … #12 for POST https://auth-arc-prod.ros.rockstargames.com/arc/11/gameservices/auth.asmx/CreateTicketXbl3 — none: no Xbox Live (0x80072EFD)`. If the sign-in path is what keeps a title thread waiting while frames are presented, this might be an extra variable worth excluding (I am retesting with `XCL_NETWORK=0` for exactly that reason). **Report numbers** (`report.prev.json`): `shaders.unique 19,211`, `submitted 274,780` (ps 134,404 / vs 112,044 / as 25,479 / cs 2,742 / rootsig 111), `xbox_errors 0`, `rdna2_undecoded_dwords 0`, `translated_pipelines 57`, `fallback_pipelines 0`, `failed_pipelines 0`, 40 × `mesh pipeline with its MS <hash> in the AS slot — refused`; `xapu_packets_decoded 67,157`, `xapu_decode_errors 0`; `called_stubs`: `ID3D12CommandAllocator::#9` 12,009, `ID3D12GraphicsCommandList10::#126/#142/#75` 11,923 each, `ID3D12CommandQueue::#31` 393; dxil cache `hits 24 / misses 71 / compilations 71 / failures 0`; `uma_import_check: ok, 1 window(s), 31540 µs`. **Retest in progress** I only found this thread after drafting a separate report (the new-issue page flagged it as a potential duplicate — it is), so I am posting here instead. I am now running `main` `930e8b4` with `XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1` and will add where it stops. One cross-check that may be useful, from the same machine under a different compatibility layer (Victory): there the world-load submission on the real GPU takes 11–13 s and the driver removes the device with `0x887A0006` (this machine has `TdrDelay=8`, so anything over 8 s is fatal), while `XCL_PSO_WAIT_MS=1` here turns the watchdog stop into `0x887A0006` for @⁠garuspl. That is consistent with a single long stall in the world-load phase being the thing that both layers trip over.
Author
Owner

@⁠chenzhehao1129-eng on GitHub · 2026-11-24 16:01 UTC · original

Retest as asked, on the same machine as my report above: with XCL_PSO_WAIT_MS=50 the watchdog stop does not happen at all here.

main 930e8b4, XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1, xcl run <folder> (first-run flow already done in the previous run, so this one went straight to the intro).

no XCL_PSO_WAIT_MS XCL_PSO_WAIT_MS=50
end 0xc0000005 write at 0x0, +0x23cf683, 11,915 presents (~6.5 min) still running
presents so far 11,915 30,900+ and climbing, 30.0 fps over the last 300
per 2 s – 60 presents, 240 submits, 780 draws, 60 dispatches, 0 skipped
memory 28–31 GB commit in the other reports 14,642 MB committed, 6,216 MB local + 4,873 MB non-local video memory, flat for the last ~10 minutes
screen black with spinner, intro audio dark screen, audio continuing, no spinner

No 0xc0000005, no device removal, no skipped draws or dispatches in the activity line, and the commit number does not move, so this is not the "load everything then die" pattern the others describe — on this machine the intro simply keeps going.

Two things that may be worth knowing:

  1. XCL_NETWORK=0 does not stop the Xbox Live attempt: the log still shows XUser: token #8 for POST …CreateTicketXbl3 — none: no Xbox Live (0x80072EFD) while the intro plays. If a title thread is waiting on that call, the variable is not enough to exclude it.
  2. The intro never seems to end here (30,900 frames is ~17 minutes of presenting). If that is the cutscene running past its length rather than a load, it may be another instance of "the title waits for something that never comes" rather than a memory or pipeline problem — but I have no picture difference to prove it: the screen stays dark in both cases, and the only sign of progress I have is that audio and presents continue.

Logs and report.json are available on request (I will strip the local paths first). I can run any instrumented build, and re-running from a cold cache takes ~2 minutes.

**@⁠chenzhehao1129-eng** on GitHub · 2026-11-24 16:01 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7136996647) Retest as asked, on the same machine as my report above: **with `XCL_PSO_WAIT_MS=50` the watchdog stop does not happen at all here.** `main` `930e8b4`, `XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1`, `xcl run <folder>` (first-run flow already done in the previous run, so this one went straight to the intro). | | no `XCL_PSO_WAIT_MS` | `XCL_PSO_WAIT_MS=50` | |---|---|---| | end | `0xc0000005` write at 0x0, `+0x23cf683`, 11,915 presents (~6.5 min) | **still running** | | presents so far | 11,915 | **30,900+** and climbing, 30.0 fps over the last 300 | | per 2 s | – | 60 presents, 240 submits, 780 draws, 60 dispatches, 0 skipped | | memory | 28–31 GB commit in the other reports | 14,642 MB committed, 6,216 MB local + 4,873 MB non-local video memory, flat for the last ~10 minutes | | screen | black with spinner, intro audio | dark screen, audio continuing, no spinner | No `0xc0000005`, no device removal, no skipped draws or dispatches in the activity line, and the commit number does not move, so this is not the "load everything then die" pattern the others describe — on this machine the intro simply keeps going. Two things that may be worth knowing: 1. `XCL_NETWORK=0` does **not** stop the Xbox Live attempt: the log still shows `XUser: token #8 for POST …CreateTicketXbl3 — none: no Xbox Live (0x80072EFD)` while the intro plays. If a title thread is waiting on that call, the variable is not enough to exclude it. 2. The intro never seems to end here (30,900 frames is ~17 minutes of presenting). If that is the cutscene running past its length rather than a load, it may be another instance of "the title waits for something that never comes" rather than a memory or pipeline problem — but I have no picture difference to prove it: the screen stays dark in both cases, and the only sign of progress I have is that audio and presents continue. Logs and `report.json` are available on request (I will strip the local paths first). I can run any instrumented build, and re-running from a cold cache takes ~2 minutes.
Author
Owner

@⁠Krashgamer on GitHub · 2026-11-24 16:04 UTC · original

A correction to the main-thread analysis above (the +0x23cf735 < +0x8126a7 stack), from IDA on my own copy of 1.0.2.1:

  • +0x23cf6a0 is not the title's fatal routine. It is the main thread's sync with the render thread: +0x4e4ba80 there only reads a millisecond counter (start and end of the wait are timed), and the wait itself is an infinite WaitForSingleObject (+0x569f0) on a semaphore the render thread releases after each frame.
  • The branch in the state handler +0x812620 that calls it with cl=1 is its normal path, not an error path, so the +0x7453ed4 / +0x1b3 flags are probably not what to chase.
  • The render thread (entry +0x23cefb0) in turn waits at +0x43c3d5d for its five Subrender:%02u threads. In my dumps those were in XCL's compute bind wait (pso_async::resolve_within). The watchdog fires because that chain holds the main thread for 30 s.

Details, with thread dumps from an RTX 3080, in https://github.com/ivall/xcl/pull/1273#issuecomment-7137064542.

AI use: Claude Code (Claude Opus 5.5) did the analysis and wrote this.

**@⁠Krashgamer** on GitHub · 2026-11-24 16:04 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7137073922) A correction to the main-thread analysis above (the `+0x23cf735 < +0x8126a7` stack), from IDA on my own copy of 1.0.2.1: - `+0x23cf6a0` is not the title's fatal routine. It is the main thread's sync with the render thread: `+0x4e4ba80` there only reads a millisecond counter (start and end of the wait are timed), and the wait itself is an infinite `WaitForSingleObject` (`+0x569f0`) on a semaphore the render thread releases after each frame. - The branch in the state handler `+0x812620` that calls it with `cl=1` is its normal path, not an error path, so the `+0x7453ed4` / `+0x1b3` flags are probably not what to chase. - The render thread (entry `+0x23cefb0`) in turn waits at `+0x43c3d5d` for its five `Subrender:%02u` threads. In my dumps those were in XCL's compute bind wait (`pso_async::resolve_within`). The watchdog fires because that chain holds the main thread for 30 s. Details, with thread dumps from an RTX 3080, in https://github.com/ivall/xcl/pull/1273#issuecomment-7137064542. AI use: Claude Code (Claude Opus 5.5) did the analysis and wrote this.
Author
Owner

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

Update: with XCL_PSO_WAIT_MS=50 this machine now reaches the world load, and the stop moves.

Same run as my previous comment (930e8b4, XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1). The dark screen with audio was not a hang after all - it was the intro waiting for input. It sat like that for ~19 minutes and 34,200 presents; an A press moved it on:

  • key art, title bar 6 done, 57,621 pipelines queued -> world load starts
  • present rate 28.1 fps -> 16.6 fps over the last 300 (it is loading)
  • compute PSO compiles in that window: 572 ms, 2,992 ms, 3,830 ms, 5,716 ms, 6,764 ms, 16,966 ms (522,380 B DXIL), 5,396 ms, 3,613 ms
  • then unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rcx=0x70024c348, i.e. the watchdog stop again, at ~41,700 presents

So on this machine the option gets us past the intro and into the world load, and the stop is no longer "the intro never ends"; it is the same +0x23cf683 stop roughly five minutes later. Two things that may be worth knowing:

  1. The stop lands right after the 17 s compute PSO compile and the 5-6 s ones, while the frame rate had just dropped to 16 fps.
  2. 128 driver blobs kept on disk for the next run (16948 ms, 850 KB) - a warm run of the same build should compile faster.

I can do the warm-cache run and report where it stops this time, if that is useful.

No game data included; program hashes and log lines only. AI-assisted (Claude Code).

**@⁠chenzhehao1129-eng** on GitHub · 2026-11-24 16:08 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7137190959) Update: with `XCL_PSO_WAIT_MS=50` this machine now reaches the world load, and the stop moves. Same run as my previous comment (`930e8b4`, `XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1`). The dark screen with audio was not a hang after all - it was the intro waiting for input. It sat like that for ~19 minutes and 34,200 presents; an `A` press moved it on: - key art, title bar `6 done, 57,621 pipelines queued` -> world load starts - present rate 28.1 fps -> 16.6 fps over the last 300 (it is loading) - compute PSO compiles in that window: 572 ms, 2,992 ms, 3,830 ms, 5,716 ms, 6,764 ms, **16,966 ms (522,380 B DXIL)**, 5,396 ms, 3,613 ms - then `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rcx=0x70024c348`, i.e. the watchdog stop again, at ~41,700 presents So on this machine the option gets us past the intro and into the world load, and the stop is no longer "the intro never ends"; it is the same `+0x23cf683` stop roughly five minutes later. Two things that may be worth knowing: 1. The stop lands right after the 17 s compute PSO compile and the 5-6 s ones, while the frame rate had just dropped to 16 fps. 2. `128 driver blobs kept on disk for the next run (16948 ms, 850 KB)` - a warm run of the same build should compile faster. I can do the warm-cache run and report where it stops this time, if that is useful. No game data included; program hashes and log lines only. AI-assisted (Claude Code).
Author
Owner

@⁠tiagonleal on GitHub · 2026-11-24 11:52 UTC · original · edited 2026-11-24 16:34 UTC

RTX 5070 Ti datapoint for XCL_PSO_WAIT_MS=50: on this card it moves the stop later but does not remove it.

Setup: RTX 5070 Ti 16 GB (32-lane waves), driver 32.0.16.1742; Ryzen 7 9800X3D, 32 GB RAM; Windows 11 Pro 26300. Unmodified main 47efa2e, release. DXC 1.8.2502.11 (Windows SDK 10.0.26100.0). Title 1.0.2.1. XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=30:A XCL_RUN_SECONDS=300. Four runs one after another, so the DXIL and driver caches were warmer in each.

run XCL_PSO_WAIT_MS last presents end dispatches (skipped) draws skipped compute PSOs built in the run peak commit
1 – 92 s +0x23cf683 write at 0x0, 121.2 s 2,048 (0) 0 26 28.3 GB
2 – 88 s +0x23cf683, 117.9 s 4,096 (0) 0 92 29.3 GB
3 50 148 s +0x2215c35 write at 0x0, 177.4 s 16,384 (88,276) 50,157 123 30.6 GB
4 50 150 s +0x23cf683, 198.9 s 67,507 (16,384) 36,380 219 31.6 GB
  • The intro runs at a steady 28–30 fps in all four (the title sets a 33,333 µs frame interval); world loading starts at 50–62 s, and presents fall to near zero from ~86–90 s.
  • With the budget the title gets ~60–80 s further and runs far more dispatches, but builds of translated compute programs keep coming (up to 13.7 s each in run 3) and the watchdog still ends it. No device removal in any run (unlike the 4090 run above with XCL_PSO_WAIT_MS=1).

Not tested: XCL_PSO_WAIT_MS values other than 50; a run with every compute pipeline built beforehand (the precompile below did not finish).

Update (same machine, same main 47efa2e, after more runs):

  • xcl shaders shaders.rpf --precompile --only cs --pipelines ran ~75 min and was stopped at 22,600 / 26,503: the first 22,200 go in seconds (cached or not compute), the last ~4,000 hold the programs that take minutes each.
  • Run 5 (no XCL_PSO_WAIT_MS) after it: +0x23cf683 at 111.5 s. 294 compute PSO builds, 110 from XCL's kept driver blobs, 7 over 5 s (the longest 50.2 s, 287,640 B DXIL).
  • Runs 6–8 (XCL_PSO_WAIT_MS=50, back to back): presents end at 108, 112 and 110 s, and each run ends differently: 108.7 s 0xc0000005 in VCRUNTIME140.dll+0x1c45a (read at 0x825210000; maybe #662's copy, not checked); 117.5 s D3D12 device removed: 0x887a0006, then 0x80000003 at +0x2474606 (as in the 4090 run above); 165.6 s +0x23cf683. Compute builds 318 / 372 / 435, kept blobs used 129 / 168 / 165, builds over 5 s 11 / 7 / 10; kept blobs on disk 171 → 216.
  • So on this card more cached pipelines did not move the point where presents end (~110 s).

Update 2 – serialized submissions do not remove it. A local experiment on main 930e8b4 (not for a PR): after every ExecuteCommandLists chunk the CPU waits (up to 10 s) for that queue to finish, so no two queues' work overlaps, as in a runtime that runs each submission to completion. Same machine, XCL_PSO_WAIT_MS=50, runs alternated:

build presents end end
main 210 s +0x23cf683, 238.6 s
serialized 230 s +0x23cf683, 251.6 s
main 166 s +0x23cf683, 218.6 s
serialized 66 s no crash, presents stopped at 66 s until the 300 s limit

No serialized submission took longer than 10 s, and the stop still came. So here it is not GPU work of two queues overlapping; with #1123's lines ending at "no tracked wait in front of it", it looks like a signal that is never submitted at all.

Update 3 – with the title's watchdog skipped, the title just stays frozen. Local experiment on main 930e8b4 (not for a PR): the two deliberate faults (+0x23cf683 and the fallback after the handler call at +0x2215c27) skipped in memory at load, XCL_PSO_WAIT_MS=50, XCL_PSO_PRELOAD=0, one 600 s run: no crash, no device removal, process exit 0x0 at the limit, but presents end for good at 202 s (0 fps from there to 600 s), peak commit 61.7 GB. So the watchdog reports a real stall here; skipping it does not let the title go on.

(XCL_PSO_PRELOAD=0 because after a run that gets further, the preload of #1035 pushed commit to 50–110 GB within a minute of the next start.)

Run and written with Claude Code (Claude Opus 5.5).

**@⁠tiagonleal** on GitHub · 2026-11-24 11:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7130670670) · edited 2026-11-24 16:34 UTC RTX 5070 Ti datapoint for `XCL_PSO_WAIT_MS=50`: on this card it moves the stop later but does not remove it. **Setup:** RTX 5070 Ti 16 GB (32-lane waves), driver 32.0.16.1742; Ryzen 7 9800X3D, 32 GB RAM; Windows 11 Pro 26300. Unmodified `main` `47efa2e`, release. DXC 1.8.2502.11 (Windows SDK 10.0.26100.0). Title 1.0.2.1. `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=30:A XCL_RUN_SECONDS=300`. Four runs one after another, so the DXIL and driver caches were warmer in each. | run | `XCL_PSO_WAIT_MS` | last presents | end | dispatches (skipped) | draws skipped | compute PSOs built in the run | peak commit | |---|---|---|---|---|---|---|---| | 1 | – | 92 s | `+0x23cf683` write at 0x0, 121.2 s | 2,048 (0) | 0 | 26 | 28.3 GB | | 2 | – | 88 s | `+0x23cf683`, 117.9 s | 4,096 (0) | 0 | 92 | 29.3 GB | | 3 | 50 | 148 s | `+0x2215c35` write at 0x0, 177.4 s | 16,384 (88,276) | 50,157 | 123 | 30.6 GB | | 4 | 50 | 150 s | `+0x23cf683`, 198.9 s | 67,507 (16,384) | 36,380 | 219 | 31.6 GB | - The intro runs at a steady 28–30 fps in all four (the title sets a 33,333 µs frame interval); world loading starts at 50–62 s, and presents fall to near zero from ~86–90 s. - With the budget the title gets ~60–80 s further and runs far more dispatches, but builds of translated compute programs keep coming (up to 13.7 s each in run 3) and the watchdog still ends it. No device removal in any run (unlike the 4090 run above with `XCL_PSO_WAIT_MS=1`). **Not tested:** `XCL_PSO_WAIT_MS` values other than 50; a run with every compute pipeline built beforehand (the precompile below did not finish). **Update (same machine, same `main` `47efa2e`, after more runs):** - `xcl shaders shaders.rpf --precompile --only cs --pipelines` ran ~75 min and was stopped at 22,600 / 26,503: the first 22,200 go in seconds (cached or not compute), the last ~4,000 hold the programs that take minutes each. - Run 5 (no `XCL_PSO_WAIT_MS`) after it: `+0x23cf683` at 111.5 s. 294 compute PSO builds, 110 from XCL's kept driver blobs, 7 over 5 s (the longest 50.2 s, 287,640 B DXIL). - Runs 6–8 (`XCL_PSO_WAIT_MS=50`, back to back): presents end at 108, 112 and 110 s, and each run ends differently: 108.7 s `0xc0000005` in `VCRUNTIME140.dll+0x1c45a` (read at `0x825210000`; maybe #662's copy, not checked); 117.5 s `D3D12 device removed: 0x887a0006`, then `0x80000003` at `+0x2474606` (as in the 4090 run above); 165.6 s `+0x23cf683`. Compute builds 318 / 372 / 435, kept blobs used 129 / 168 / 165, builds over 5 s 11 / 7 / 10; kept blobs on disk 171 → 216. - So on this card more cached pipelines did not move the point where presents end (~110 s). **Update 2 – serialized submissions do not remove it.** A local experiment on `main` `930e8b4` (not for a PR): after every `ExecuteCommandLists` chunk the CPU waits (up to 10 s) for that queue to finish, so no two queues' work overlaps, as in a runtime that runs each submission to completion. Same machine, `XCL_PSO_WAIT_MS=50`, runs alternated: | build | presents end | end | |---|---|---| | `main` | 210 s | `+0x23cf683`, 238.6 s | | serialized | 230 s | `+0x23cf683`, 251.6 s | | `main` | 166 s | `+0x23cf683`, 218.6 s | | serialized | 66 s | no crash, presents stopped at 66 s until the 300 s limit | No serialized submission took longer than 10 s, and the stop still came. So here it is not GPU work of two queues overlapping; with #1123's lines ending at "no tracked wait in front of it", it looks like a signal that is never submitted at all. **Update 3 – with the title's watchdog skipped, the title just stays frozen.** Local experiment on `main` `930e8b4` (not for a PR): the two deliberate faults (`+0x23cf683` and the fallback after the handler call at `+0x2215c27`) skipped in memory at load, `XCL_PSO_WAIT_MS=50`, `XCL_PSO_PRELOAD=0`, one 600 s run: no crash, no device removal, process exit `0x0` at the limit, but presents end for good at 202 s (0 fps from there to 600 s), peak commit 61.7 GB. So the watchdog reports a real stall here; skipping it does not let the title go on. (`XCL_PSO_PRELOAD=0` because after a run that gets further, the preload of #1035 pushed commit to 50–110 GB within a minute of the next start.) Run and written with Claude Code (Claude Opus 5.5).
Author
Owner

@⁠AgneyaK on GitHub · 2026-11-24 16:37 UTC · original

The title's own crash context (crash.log in the data folder's temp, written just before the stop)
gives the same story state in every run of mine that reaches +0x23cf683:

run time Current SRL / state mission / AnimScene streaming requests TileHeap used
xcl 930e8b4 + #640 (budget 3072), run 1 4m33s fbk_stry000_FBK_STRY000_INTRO / Prestream 0x98c85f2a / 0xe9f5cf99 611 3,629 / 6,236 MB
same, run 2 4m19s same same 511 3,635 / 6,236 MB
VIctory ffe310e (independent runtime) 6m13s same same 819 4,173 / 6,236 MB

RTX 3050 6 GB Laptop, Windows 11 26300, title 1.0.2.1, Series X profile. The main run that ran out of
memory (#333 assert, 192 s) had no mission yet and 3,169 streaming requests pending.

So the stop comes while the intro's SRL is prestreaming, with hundreds of streaming requests still
pending, in both runtimes. That fits the reading that this is the title's stall watchdog. I can't tell
from this whether the pending requests or the compute-pipeline backlog (#505) is what it waits on.

AI use: Claude Code (Claude Opus 5.5) ran the title and drafted this note; results are from the runs described.

**@⁠AgneyaK** on GitHub · 2026-11-24 16:37 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7137963082) The title's own crash context (`crash.log` in the data folder's `temp`, written just before the stop) gives the same story state in every run of mine that reaches `+0x23cf683`: | run | time | `Current SRL` / state | mission / AnimScene | streaming requests | TileHeap used | |---|---|---|---|---|---| | xcl `930e8b4` + #640 (budget 3072), run 1 | 4m33s | `fbk_stry000_FBK_STRY000_INTRO` / `Prestream` | `0x98c85f2a` / `0xe9f5cf99` | 611 | 3,629 / 6,236 MB | | same, run 2 | 4m19s | same | same | 511 | 3,635 / 6,236 MB | | VIctory `ffe310e` (independent runtime) | 6m13s | same | same | 819 | 4,173 / 6,236 MB | RTX 3050 6 GB Laptop, Windows 11 26300, title 1.0.2.1, Series X profile. The `main` run that ran out of memory (#333 assert, 192 s) had no mission yet and 3,169 streaming requests pending. So the stop comes while the intro's SRL is prestreaming, with hundreds of streaming requests still pending, in both runtimes. That fits the reading that this is the title's stall watchdog. I can't tell from this whether the pending requests or the compute-pipeline backlog (#505) is what it waits on. AI use: Claude Code (Claude Opus 5.5) ran the title and drafted this note; results are from the runs described.
Author
Owner

@⁠LocranKing on GitHub · 2026-11-24 18:50 UTC · original

Retest on clean main 9e3831e with XCL_PSO_WAIT_MS=50 (and default / XCL_HEAP_WINDOWS=1 comparisons) on an 8 GB NVIDIA desktop card.

Setup

  • GPU: NVIDIA GeForce RTX 3060 Ti (8024 MiB VRAM, wave32), driver 32.0.16.2101
  • CPU / RAM: AMD Ryzen 5 5500 (6C/12T), 31.8 GB RAM
  • OS: Windows 11 Home Single Language, build 26200
  • Build: clean main 9e3831e1f570d3646e53ab753b19ec07eb8f1485, --release, rustc 1.100.0, DXC 1.9.2602.17
  • Settings: retail 1.0.2.1, XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_PRELOAD=0 XCL_RUN_SECONDS=300, XCL_PRESS_A_AT every 4 s from 20 s to 80 s + 90, 100.
run last non-zero presents draws / dispatches logged (skipped) fresh compute PSOs (sum / max / >= 5 s) peak commit peak local / non-local VRAM where it stops
default (XCL_PSO_WAIT_MS unset) 132.1 s 18,969 / 2,048 (0 / 0) 5 (3.9 s / 2.46 s / 0) 23198 MB 11007 / 4894 MB 0x887a0006 device removed at 133.8 s (title 0x80000003 at +0x2474606)
XCL_PSO_WAIT_MS=50 (default switch form) 144.1 s 21,039 / 13,355 (12,389 / 18,750) 196 (379.6 s / 38.87 s / 23) + 28 blobs 30799 MB 14446 / 4929 MB +0x23cf683 (0xc0000005) at 204.8 s
XCL_HEAP_WINDOWS=1 (XCL_PSO_WAIT_MS unset, cold heap cache) 168.1 s 31,596 / 4,096 (0 / 0) 39 (29.1 s / 7.48 s / 2) + 1 blob 28579 MB 14008 / 4896 MB +0x23cf683 (0xc0000005) at 195.8 s
XCL_PSO_WAIT_MS=50 + XCL_HEAP_WINDOWS=1 (warm heap cache) 88.1 s 16,532 / 2,048 (0 / 0 at 74.8 s; 2 binds skipped at 89.0 s) 5 (5 ms / 3 ms / 0) + 5 blobs 24395 MB 12429 / 4894 MB 0x887a0006 device removed at 89.8 s

What changed with XCL_PSO_WAIT_MS=50 (default switch form):

  • It moved well into world streaming (65,536+ textures kept in step, 9,900 / 10,176 MB target pages, 2,304 MB sparse pools, 14,446 MB local VRAM, 30,799 MB peak commit) with 0 device removals and 0 xboxbvhbuilder 40-bit errors.
  • Between 148.8 s and 204.6 s, GPU wait timeouts began (pending title ID3D12Fences during GPU wait timeout), followed from 179.6 s by repeated sparse: the queue has not reached fence value ... after 5 s (at 39141) warnings (11 logged), while the background workers hit large switch-form compute builds (38,865 ms for 829 KB DXIL, 26,485 ms for 610 KB, 25,680 ms for 494 KB, 7 builds >= 10 s).
  • The run still ended at the watchdog write 0xc0000005 at +0x23cf683 (204.8 s), after which the title's crash filter stayed wedged holding ~30.4 GB commit until terminated (matching #1498).

Not tested: XCL_PSO_PRELOAD enabled, repeats per configuration, D3D12 debug layer (0x887A002D unavailable).

AI use: Antigravity (Gemini 4 Neon) ran the builds and title tests on this machine and drafted this report from the captured logs; reviewed before posting. No game files attached.

**@⁠LocranKing** on GitHub · 2026-11-24 18:50 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7141237010) Retest on clean `main` `9e3831e` with `XCL_PSO_WAIT_MS=50` (and default / `XCL_HEAP_WINDOWS=1` comparisons) on an 8 GB NVIDIA desktop card. **Setup** - GPU: NVIDIA GeForce RTX 3060 Ti (`8024 MiB VRAM`, wave32), driver `32.0.16.2101` - CPU / RAM: AMD Ryzen 5 5500 (6C/12T), `31.8 GB` RAM - OS: Windows 11 Home Single Language, build `26200` - Build: clean `main` `9e3831e1f570d3646e53ab753b19ec07eb8f1485`, `--release`, `rustc 1.100.0`, DXC `1.9.2602.17` - Settings: retail 1.0.2.1, `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_PRELOAD=0 XCL_RUN_SECONDS=300`, `XCL_PRESS_A_AT` every 4 s from 20 s to 80 s + 90, 100. | run | last non-zero presents | draws / dispatches logged (`skipped`) | fresh compute PSOs (sum / max / `>= 5 s`) | peak commit | peak local / non-local VRAM | where it stops | |---|---|---|---|---:|---:|---| | default (`XCL_PSO_WAIT_MS` unset) | 132.1 s | 18,969 / 2,048 (`0` / `0`) | 5 (3.9 s / 2.46 s / 0) | 23198 MB | 11007 / 4894 MB | `0x887a0006` device removed at `133.8 s` (title `0x80000003` at `+0x2474606`) | | `XCL_PSO_WAIT_MS=50` (default switch form) | 144.1 s | 21,039 / 13,355 (`12,389` / `18,750`) | 196 (379.6 s / 38.87 s / 23) + 28 blobs | 30799 MB | 14446 / 4929 MB | `+0x23cf683` (`0xc0000005`) at `204.8 s` | | `XCL_HEAP_WINDOWS=1` (`XCL_PSO_WAIT_MS` unset, cold heap cache) | 168.1 s | 31,596 / 4,096 (`0` / `0`) | 39 (29.1 s / 7.48 s / 2) + 1 blob | 28579 MB | 14008 / 4896 MB | `+0x23cf683` (`0xc0000005`) at `195.8 s` | | `XCL_PSO_WAIT_MS=50` + `XCL_HEAP_WINDOWS=1` (warm heap cache) | 88.1 s | 16,532 / 2,048 (`0` / `0` at 74.8 s; 2 binds skipped at 89.0 s) | 5 (5 ms / 3 ms / 0) + 5 blobs | 24395 MB | 12429 / 4894 MB | `0x887a0006` device removed at `89.8 s` | **What changed with `XCL_PSO_WAIT_MS=50` (default switch form):** - It moved well into world streaming (`65,536+` textures kept in step, `9,900 / 10,176 MB` target pages, `2,304 MB` sparse pools, `14,446 MB` local VRAM, `30,799 MB` peak commit) with `0` device removals and `0` `xboxbvhbuilder` 40-bit errors. - Between `148.8 s` and `204.6 s`, GPU wait timeouts began (`pending title ID3D12Fences during GPU wait timeout`), followed from `179.6 s` by repeated `sparse: the queue has not reached fence value ... after 5 s (at 39141)` warnings (11 logged), while the background workers hit large switch-form compute builds (`38,865 ms` for `829 KB DXIL`, `26,485 ms` for `610 KB`, `25,680 ms` for `494 KB`, `7` builds `>= 10 s`). - The run still ended at the watchdog write **`0xc0000005` at `+0x23cf683` (`204.8 s`)**, after which the title's crash filter stayed wedged holding `~30.4 GB` commit until terminated (matching #1498). **Not tested:** `XCL_PSO_PRELOAD` enabled, repeats per configuration, D3D12 debug layer (`0x887A002D` unavailable). **AI use:** Antigravity (`Gemini 4 Neon`) ran the builds and title tests on this machine and drafted this report from the captured logs; reviewed before posting. No game files attached.
Author
Owner

@⁠tatazildo on GitHub · 2026-11-24 18:54 UTC · original

Follow-up: c160d86 — substantial pipeline translation improvement, same crash

Tested current main again on the same hardware and driver configuration as my previous comment.

  • Commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0
  • CPU: Intel Core i9-13900K
  • GPU: RTX 3080 Ti (12 GB)
  • Driver: 621.24
  • RAM: 64 GB DDR4
  • Windows 11 Pro, build 26300
  • DXC: 1.9.2602.17 (21d28f72)
  • Clean runtime directory
  • XCL_DIRECT_DXIL unset
  • XCL_PSO_WAIT_MS unset

Runtime comparison

Metric 47efa2e c160d86
Translated pipelines 72 1,126
Background pipeline counters [72, 0, 58691] [1126, 0, 57639]
DXIL cache hits 21 1,960
DXIL compilations 89 159
DXIL compilation failures 0 0
BCPack successful requests 1,306 1,043
BCPack failures/refusals 0 0
Presents 8,934 5,410

Approximately 15.6 times as many pipelines were successfully translated before the crash, despite fewer presents.

The runs were not duration-matched, so this is not a measured compilation speed multiplier.

Unfortunately, the same fatal-error signature persists:

0xc0000005
game_scarlett_master.exe+0x23cf683
Write at address 0x0

The recorded stack matches my previous runs. The report also continues to contain mesh pipeline refusals (MS in the AS slot).

Synthetic validation

I also tested the newly merged direct DXIL implementation on my Ampere GPU:

Test suite Passed Failed Ignored Time
Full sequential library 809 0 22 19.26s
gpu::dxil 80 0 1 1.09s
gpu::recomp::tests (XCL_DIRECT_DXIL=1) 120 0 17 7.63s

Direct DXIL mesh rendering, vertex/pixel rendering, texture sampling, split-wave64 operations and sparse VRAM tests all passed.

The synthetic results are encouraging, although some hardware-specific and optional sample tests were skipped.

AI disclosure: ChatGPT assisted with test procedures, diagnostic analysis and preparation of this comment. All tests were performed on my own hardware.

Thanks again for the continued development!

**@⁠tatazildo** on GitHub · 2026-11-24 18:54 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7141312148) ### Follow-up: `c160d86` — substantial pipeline translation improvement, same crash Tested current main again on the same hardware and driver configuration as my previous comment. - Commit: `c160d86ef2efe3a07e4dfb473e4fa72eafb413c0` - CPU: Intel Core i9-13900K - GPU: RTX 3080 Ti (12 GB) - Driver: 621.24 - RAM: 64 GB DDR4 - Windows 11 Pro, build 26300 - DXC: 1.9.2602.17 (21d28f72) - Clean runtime directory - `XCL_DIRECT_DXIL` unset - `XCL_PSO_WAIT_MS` unset ### Runtime comparison | Metric | `47efa2e` | `c160d86` | |---|---:|---:| | Translated pipelines | 72 | 1,126 | | Background pipeline counters | [72, 0, 58691] | [1126, 0, 57639] | | DXIL cache hits | 21 | 1,960 | | DXIL compilations | 89 | 159 | | DXIL compilation failures | 0 | 0 | | BCPack successful requests | 1,306 | 1,043 | | BCPack failures/refusals | 0 | 0 | | Presents | 8,934 | 5,410 | Approximately 15.6 times as many pipelines were successfully translated before the crash, despite fewer presents. The runs were not duration-matched, so this is not a measured compilation speed multiplier. Unfortunately, the same fatal-error signature persists: 0xc0000005 game_scarlett_master.exe+0x23cf683 Write at address 0x0 The recorded stack matches my previous runs. The report also continues to contain mesh pipeline refusals (MS in the AS slot). ### Synthetic validation I also tested the newly merged direct DXIL implementation on my Ampere GPU: | Test suite | Passed | Failed | Ignored | Time | |---|---:|---:|---:|---:| | Full sequential library | 809 | 0 | 22 | 19.26s | | gpu::dxil | 80 | 0 | 1 | 1.09s | | gpu::recomp::tests (XCL_DIRECT_DXIL=1) | 120 | 0 | 17 | 7.63s | Direct DXIL mesh rendering, vertex/pixel rendering, texture sampling, split-wave64 operations and sparse VRAM tests all passed. The synthetic results are encouraging, although some hardware-specific and optional sample tests were skipped. AI disclosure: ChatGPT assisted with test procedures, diagnostic analysis and preparation of this comment. All tests were performed on my own hardware. Thanks again for the continued development!
Author
Owner

@⁠JRamos1993 on GitHub · 2026-11-24 18:01 UTC · original · edited 2026-11-24 19:06 UTC

Edited three times. The first edit was right: the slow programs are separate variants, all created in every run. The second edit was wrong: I said no title thread was inside XCL. The dump lines of the threads in pipeline builds are cut at 14 frames, before any title frame, and my filter missed them. Everything below is now checked against the build's symbols.

Test report on an RTX 5090, without XCL_PSO_WAIT_MS: a warm pipeline cache does not move the stop. In the ~29 s before it, title threads are building compute pipelines inside their binds, as in #924's chain. Every GPU completion the title armed had already been reached.

Setup: RTX 5090 32 GB (32-lane waves), driver 621.24; i9-14900KF, 64 GB; Windows 11 Pro 26200; DXC 1.9.2609.5; release build of main 930e8b4. Retail 1.0.2.1, first-run setup already done in an earlier run. Every run: XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=25:A, xcl run <folder>. Between runs 1 and 2 I ran xcl shaders <pack>\shaders.rpf --precompile --only cs --pipelines into the same cache. I stopped it after 3 h at 22,600 of 26,503 programs. Every run adds its own kept blobs.

run compute PSOs: from disk / built build time (sum) last 2 s window with presents ends stop at +0x23cf683 (rcx=0x70024c348)
1 9 / 114 89.4 s 82 s 110.9 s
2 (after the precompile) 109 / 139 88.2 s 82 s 111.3 s
3 242 / 156 62.0 s 82 s 110.9 s
4 272 / 137 34.2 s 84 s 113.0 s
5 292 / 146 44.6 s 74 s 102.9 s
6–11 300–315 / 133–145 – 74–84 s 102.1–114.1 s
XCL_PSO_WAIT_MS=50 143 / 135 682.5 s 116 s 167.1 s

No kept blob was refused. In every run without the option, the stop comes 28–30 s after the last presents.

Thread dumps, run A (main 930e8b4, XCL_THREAD_DUMP_AT=88,96,104; presents ended at 82 s, stop at 112.0 s):

  • The main thread waits at +0x23cf735.
  • At 88 s, three unnamed threads are in pipeline builds:
    • one in real::build_compute → translated_compute_pso → pso::console_to_dxil_in → dxc::compile, waiting for DXC;
    • two in NVIDIA's compiler. One of these logged an 11.2 s compute build, from 87.7 s to 98.9 s.
  • A build job runs either on XCL's named xcl-pso-* threads or on the title thread that binds the pipeline, which takes the job and builds it itself. So these three are title threads building in a bind.

Run B (930e8b4 + #924, XCL_TRACE_WAITS=1, dump at 92 s; presents ended at 78 s, stop at 108.0 s):

  • The thread waiting at +0x43c3d5d waits on an event made at start that the title never sets.
  • One of the ring worker threads #924 describes is inside XCL, in a condition-variable wait under a title D3D12 call.
  • Another unnamed thread is inside XCL, with its stack cut before any title frame. It logged a 9.1 s compute build at 104.4 s.
  • The other ring workers are idle.

I also added local-only logging of the title's ID3D12Fence::SetEventOnCompletion calls (not for a PR). At 92 s, all 343 events the title had armed on its fences were reached, and no title fence was behind the values its queues were told to signal. So in this window the title is not waiting for the GPU.

Reading: this matches the chain in #924 and the analysis above. The frame-loop thread waits for the ring, and the ring workers build compute pipelines in their binds, one after another. Even with most compute pipelines coming from the disk cache, the few new ones each run (5–10 s each) fill the window.

They are new each run because several slow programs come in near-identical variants (for example, two programs whose DXIL differs only in one multiply constant). Each run binds some variants no earlier run had bound.

With XCL_PSO_WAIT_MS=50 presents went on until 116 s and the stop came at 167 s. Builds took much longer: 17 over 5 s, the longest 55 s, with nine started at 74–81 s still running 31–55 s later.

Also seen: in 4 of 16 runs the process did not end after the exception and stayed not responding until killed. That matches what #742 and #967 address; I did not test them.

Not tested: XCL_HEAP_WINDOWS=1 in a title run; #1273; thread dumps with XCL_PSO_WAIT_MS=50 on this machine.

AI use: Claude Code with Claude Opus 5.5 ran the builds and runs above, read the dumps and wrote this report.

**@⁠JRamos1993** on GitHub · 2026-11-24 18:01 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7140038217) · edited 2026-11-24 19:06 UTC *Edited three times. The first edit was right: the slow programs are separate variants, all created in every run. The second edit was wrong: I said no title thread was inside XCL. The dump lines of the threads in pipeline builds are cut at 14 frames, before any title frame, and my filter missed them. Everything below is now checked against the build's symbols.* **Test report on an RTX 5090, without `XCL_PSO_WAIT_MS`: a warm pipeline cache does not move the stop. In the ~29 s before it, title threads are building compute pipelines inside their binds, as in #924's chain. Every GPU completion the title armed had already been reached.** **Setup:** RTX 5090 32 GB (32-lane waves), driver 621.24; i9-14900KF, 64 GB; Windows 11 Pro 26200; DXC 1.9.2609.5; release build of `main` `930e8b4`. Retail 1.0.2.1, first-run setup already done in an earlier run. Every run: `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=25:A`, `xcl run <folder>`. Between runs 1 and 2 I ran `xcl shaders <pack>\shaders.rpf --precompile --only cs --pipelines` into the same cache. I stopped it after 3 h at 22,600 of 26,503 programs. Every run adds its own kept blobs. | run | compute PSOs: from disk / built | build time (sum) | last 2 s window with presents ends | stop at `+0x23cf683` (`rcx=0x70024c348`) | |---|---|---|---|---| | 1 | 9 / 114 | 89.4 s | 82 s | 110.9 s | | 2 (after the precompile) | 109 / 139 | 88.2 s | 82 s | 111.3 s | | 3 | 242 / 156 | 62.0 s | 82 s | 110.9 s | | 4 | 272 / 137 | 34.2 s | 84 s | 113.0 s | | 5 | 292 / 146 | 44.6 s | 74 s | 102.9 s | | 6–11 | 300–315 / 133–145 | – | 74–84 s | 102.1–114.1 s | | `XCL_PSO_WAIT_MS=50` | 143 / 135 | 682.5 s | 116 s | 167.1 s | No kept blob was refused. In every run without the option, the stop comes 28–30 s after the last presents. **Thread dumps, run A** (`main` `930e8b4`, `XCL_THREAD_DUMP_AT=88,96,104`; presents ended at 82 s, stop at 112.0 s): - The main thread waits at `+0x23cf735`. - At 88 s, three unnamed threads are in pipeline builds: - one in `real::build_compute` → `translated_compute_pso` → `pso::console_to_dxil_in` → `dxc::compile`, waiting for DXC; - two in NVIDIA's compiler. One of these logged an 11.2 s compute build, from 87.7 s to 98.9 s. - A build job runs either on XCL's named `xcl-pso-*` threads or on the title thread that binds the pipeline, which takes the job and builds it itself. So these three are title threads building in a bind. **Run B** (`930e8b4` + #924, `XCL_TRACE_WAITS=1`, dump at 92 s; presents ended at 78 s, stop at 108.0 s): - The thread waiting at `+0x43c3d5d` waits on an event made at start that the title never sets. - One of the ring worker threads #924 describes is inside XCL, in a condition-variable wait under a title D3D12 call. - Another unnamed thread is inside XCL, with its stack cut before any title frame. It logged a 9.1 s compute build at 104.4 s. - The other ring workers are idle. I also added local-only logging of the title's `ID3D12Fence::SetEventOnCompletion` calls (not for a PR). At 92 s, all 343 events the title had armed on its fences were reached, and no title fence was behind the values its queues were told to signal. So in this window the title is not waiting for the GPU. **Reading:** this matches the chain in #924 and the analysis above. The frame-loop thread waits for the ring, and the ring workers build compute pipelines in their binds, one after another. Even with most compute pipelines coming from the disk cache, the few new ones each run (5–10 s each) fill the window. They are new each run because several slow programs come in near-identical variants (for example, two programs whose DXIL differs only in one multiply constant). Each run binds some variants no earlier run had bound. **With `XCL_PSO_WAIT_MS=50`** presents went on until 116 s and the stop came at 167 s. Builds took much longer: 17 over 5 s, the longest 55 s, with nine started at 74–81 s still running 31–55 s later. **Also seen:** in 4 of 16 runs the process did not end after the exception and stayed not responding until killed. That matches what #742 and #967 address; I did not test them. **Not tested:** `XCL_HEAP_WINDOWS=1` in a title run; #1273; thread dumps with `XCL_PSO_WAIT_MS=50` on this machine. AI use: Claude Code with Claude Opus 5.5 ran the builds and runs above, read the dumps and wrote this report.
Author
Owner

@⁠Tanju42 on GitHub · 2026-11-24 19:32 UTC · original

RTX 5060 Laptop 8 GB / 31 GB RAM datapoint on c160d86 — and a machine-side confounder worth excluding on small-RAM rigs.

The stop reproduces exactly as reported: unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) at t+247.9 s, return addresses +0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca on the stack — byte-for-byte the same signature as the reports above. Before it: world setup ran, 45006 draws with translated pipelines (512 skipped, 116 with PC pipelines), 12825 dispatches, DirectStorage streaming OK, XCL_PRESS_AT A-script running (the black-screen intro-with-audio is indeed input-gated — the internal press script moves it along).

Confounder we hit first and should save someone a day: at story load the process commits ~124–127 GB (memory: lines; video 11.5 GB local + 5 GB non-local, target pages ~8 GB, arenas, sparse pools). On a 31 GB RAM machine with the default auto pagefile (13 GB -> 44 GB commit cap) the first runs looked like "whole process deadlocks at story start, 0 CPU, 0-byte crash dump, even powershell refuses to start with 0x800705AF (paging file too small)". That was commit exhaustion, not a lock. Static pagefile 122880 143360 (commit cap now 151 GB) removed it; the runs now reach the real stop instead of thrashing. Anyone on <=32 GB RAM seeing "silent whole-process freeze at story load, logs stop mid-line" should check Win32_OperatingSystem.TotalVirtualMemorySize vs the title's memory: line before analyzing stacks.

Setup: retail 1.0.2.1, Series X profile, XCL_NETWORK=1 (arc CreateTicketXbl still fails with 0x80072EFD — no real XBL token exists offline — the title walks past it), XCL_PSO_WAIT_MS=50 XCL_ACTIVITY=1, warm DXIL cache, plus a local vendor shim in CheckFeatureSupport (features >= 0x20000000 answered supported with 0xFF data) that removes the older +0x2474606 wall — with that, c160d86's direct DXIL path compiles 8760 shaders in the first 24 s on this laptop.

Compute PSO build times seen in this window: several 5-17 s, consistent with the #924/#1273 chain analysis. Matches the 30 s watchdog reading; nothing here separates pending-streaming from pipeline-backlog as the trigger either.

**@⁠Tanju42** on GitHub · 2026-11-24 19:32 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7142234614) RTX 5060 Laptop 8 GB / 31 GB RAM datapoint on `c160d86` — and a machine-side confounder worth excluding on small-RAM rigs. **The stop reproduces exactly as reported:** `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)` at **t+247.9 s**, return addresses `+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca` on the stack — byte-for-byte the same signature as the reports above. Before it: world setup ran, `45006 draws with translated pipelines (512 skipped, 116 with PC pipelines), 12825 dispatches`, DirectStorage streaming OK, `XCL_PRESS_AT` A-script running (the black-screen intro-with-audio is indeed input-gated — the internal press script moves it along). **Confounder we hit first and should save someone a day:** at story load the process commits **~124–127 GB** (`memory:` lines; video 11.5 GB local + 5 GB non-local, target pages ~8 GB, arenas, sparse pools). On a 31 GB RAM machine with the default auto pagefile (13 GB -> 44 GB commit cap) the first runs looked like "whole process deadlocks at story start, 0 CPU, 0-byte crash dump, even `powershell` refuses to start with `0x800705AF` (paging file too small)". That was commit exhaustion, not a lock. Static pagefile `122880 143360` (commit cap now 151 GB) removed it; the runs now reach the real stop instead of thrashing. Anyone on <=32 GB RAM seeing "silent whole-process freeze at story load, logs stop mid-line" should check `Win32_OperatingSystem.TotalVirtualMemorySize` vs the title's `memory:` line before analyzing stacks. Setup: retail 1.0.2.1, Series X profile, `XCL_NETWORK=1` (arc `CreateTicketXbl` still fails with `0x80072EFD` — no real XBL token exists offline — the title walks past it), `XCL_PSO_WAIT_MS=50 XCL_ACTIVITY=1`, warm DXIL cache, plus a local vendor shim in `CheckFeatureSupport` (features >= 0x20000000 answered supported with 0xFF data) that removes the older `+0x2474606` wall — with that, `c160d86`'s direct DXIL path compiles 8760 shaders in the first 24 s on this laptop. Compute PSO build times seen in this window: several 5-17 s, consistent with the #924/#1273 chain analysis. Matches the 30 s watchdog reading; nothing here separates pending-streaming from pipeline-backlog as the trigger either.
Author
Owner

@⁠rnold182 on GitHub · 2026-11-24 21:23 UTC · original · edited 2026-11-24 21:24 UTC

RX 9070 (AMD, RDNA4): the process's commit climbs ~1.5 GB/s from ~22 s until it runs out at ~65 GB, with video memory flat

Setup: AMD Radeon RX 9070 16 GB, Adrenalin 26.11.2; Ryzen 5 9600X, 32 GB RAM; Windows 11 Pro 26300. Commit limit 49 GB (system-managed page file at 17 GB at the start of the run). Release build of main 177cd40 (cargo build --release --workspace, no local changes), DXC 1.9.2609.5. Retail 1.0.2.1, Series X profile.
Settings: XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_HUGE_PSO_CONCURRENCY=8, xcl run <folder>.

What happens: the title presents at ~30 fps through the first screens, then the host aborts at ~53 s:

memory allocation of 1299280 bytes failed
Game exited with code 0xc0000409

XCL_ACTIVITY memory lines (process commit):

t commit video local / non-local target pages sparse pools
10 s 12,765 MB 2,580 / 4,676 MB 714 MB 896 MB
20 s 24,959 MB 6,532 / 4,707 MB 3,621 MB 960 MB
30 s 32,627 MB 6,532 / 4,707 MB 3,621 MB 960 MB
40 s 46,306 MB 7,492 / 4,707 MB 4,578 MB 1,024 MB
50 s 62,240 MB 7,492 / 4,707 MB 4,578 MB 1,024 MB
52 s 65,740 MB 7,684 / 4,723 MB 4,609 MB 1,152 MB (arenas 311 MB)

From ~22 s the commit grows by 1.3–1.6 GB per second, steadily, while:

  • video memory, target pages, sparse pools and arenas stay roughly flat;
  • between 24 s and 36 s there are almost no shader compiles (the title registers ~10k shaders only at 36–48 s);
  • DirectStorage reads nothing from 24 s until the last sample (2,051 requests, 49 MB in the final 2 s).

So the growth does not seem to come from XCL's GPU-side memory, DXC, or streaming. I can't tell from the log what is being committed.

The same machine on e9e94ce (#1321 included) ended the same way at ~140 s (memory allocation of 934250 bytes failed), and on 4178e88 an earlier run reached 266 s / 6,600 frames at ~61 GB commit before a null read in the title (0xc0000005 at +0x4b4c, read at 0x3c); the process then hung holding the memory until killed.

Also seen on this machine (same day's main):

  • XCL_DRED=1: four runs on b9b6ea6 never got past the first presented frame (black screen, 1–2 presents). Without it the same build presents normally.

Not tested: a larger fixed page file, NVIDIA, XCL_DIRECT_DXIL on the current main.

AI use: Claude Code (Claude Opus 5.5) read the logs and drafted this comment; the runs and numbers are from my machine.

**@⁠rnold182** on GitHub · 2026-11-24 21:23 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7144861454) · edited 2026-11-24 21:24 UTC **RX 9070 (AMD, RDNA4): the process's commit climbs ~1.5 GB/s from ~22 s until it runs out at ~65 GB, with video memory flat** **Setup:** AMD Radeon RX 9070 16 GB, Adrenalin 26.11.2; Ryzen 5 9600X, 32 GB RAM; Windows 11 Pro 26300. Commit limit 49 GB (system-managed page file at 17 GB at the start of the run). Release build of `main` `177cd40` (`cargo build --release --workspace`, no local changes), DXC 1.9.2609.5. Retail 1.0.2.1, Series X profile. Settings: `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_HUGE_PSO_CONCURRENCY=8`, `xcl run <folder>`. **What happens:** the title presents at ~30 fps through the first screens, then the host aborts at ~53 s: memory allocation of 1299280 bytes failed Game exited with code 0xc0000409 **`XCL_ACTIVITY` memory lines** (process commit): | t | commit | video local / non-local | target pages | sparse pools | |---|---:|---:|---:|---:| | 10 s | 12,765 MB | 2,580 / 4,676 MB | 714 MB | 896 MB | | 20 s | 24,959 MB | 6,532 / 4,707 MB | 3,621 MB | 960 MB | | 30 s | 32,627 MB | 6,532 / 4,707 MB | 3,621 MB | 960 MB | | 40 s | 46,306 MB | 7,492 / 4,707 MB | 4,578 MB | 1,024 MB | | 50 s | 62,240 MB | 7,492 / 4,707 MB | 4,578 MB | 1,024 MB | | 52 s | 65,740 MB | 7,684 / 4,723 MB | 4,609 MB | 1,152 MB (arenas 311 MB) | From ~22 s the commit grows by 1.3–1.6 GB per second, steadily, while: - video memory, target pages, sparse pools and arenas stay roughly flat; - between 24 s and 36 s there are almost no shader compiles (the title registers ~10k shaders only at 36–48 s); - DirectStorage reads nothing from 24 s until the last sample (2,051 requests, 49 MB in the final 2 s). So the growth does not seem to come from XCL's GPU-side memory, DXC, or streaming. I can't tell from the log what is being committed. The same machine on `e9e94ce` (#1321 included) ended the same way at ~140 s (`memory allocation of 934250 bytes failed`), and on `4178e88` an earlier run reached 266 s / 6,600 frames at ~61 GB commit before a null read in the title (`0xc0000005` at `+0x4b4c`, read at `0x3c`); the process then hung holding the memory until killed. **Also seen on this machine (same day's `main`):** - `XCL_DRED=1`: four runs on `b9b6ea6` never got past the first presented frame (black screen, 1–2 presents). Without it the same build presents normally. **Not tested:** a larger fixed page file, NVIDIA, `XCL_DIRECT_DXIL` on the current `main`. AI use: Claude Code (Claude Opus 5.5) read the logs and drafted this comment; the runs and numbers are from my machine.
Author
Owner

@⁠Tanju42 on GitHub · 2026-11-24 21:56 UTC · original

Follow-up datapoint from the same RTX 5060 Laptop 8 GB / 31 GB rig, now on main 1d027e5 (includes the merged #605, #1791 and #1747 TilePool rewrite; XCL_PER_LANE left off). The stop is unchanged: unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0), rax=0 rbx=0 rcx=0x70024c348 rdx=1, return addresses +0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca — identical to my earlier comment, only earlier in wall time: t+155.7 s (was t+247.9 s on c160d86).

Three machine-side changes since that comment, which reshape the memory picture:

  • Forcing the NVIDIA adapter (XCL_ADAPTER + GPU preference; the earlier run's 11.5 GB "local" was the Intel iGPU) and TdrDelay=60 + reboot: this removed the 0x887a0006 device-removed class that previously killed the run before the stop under DirectStorage/compute bursts. The GPU stays healthy through the whole run now.
  • XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1 (local port of #1702 onto this tree) and XCL_HEAP_WINDOWS=1: at the stop, video memory is 4.3 GB local / 15.2 GB non-local, target pages 9,979 MB (pools 10,176 MB) — and process commit is only ~31 GB, not the ~124 GB of my first datapoint. So on this rig the 120 GB pagefile is no longer the binding constraint, and the stop happens with commit nowhere near the limit — unlike the AMD commit-climb pattern reported above, which we do not reproduce.
  • #1747's per-heap UpdateTileMappings path is confirmed active in the run (system-memory pool log line + new TilePool). It changes tile bookkeeping but does not move the stop; DirectStorage is still streaming in the final windows (531 requests / 61 MB in the last 2 s sample at t=178) when the title takes the null write.

So on NVIDIA the stop is a clean, reproducible 0x23cf683 null write at ~t+156 s with a healthy GPU, modest commit and active streaming — 60 MB crash dump retained locally if any stack detail would help.

**@⁠Tanju42** on GitHub · 2026-11-24 21:56 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7145592196) Follow-up datapoint from the same RTX 5060 Laptop 8 GB / 31 GB rig, now on `main` `1d027e5` (includes the merged #605, #1791 and #1747 TilePool rewrite; `XCL_PER_LANE` left off). The stop is **unchanged**: `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)`, `rax=0 rbx=0 rcx=0x70024c348 rdx=1`, return addresses `+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca` — identical to my earlier comment, only earlier in wall time: **t+155.7 s** (was t+247.9 s on `c160d86`). Three machine-side changes since that comment, which reshape the memory picture: - Forcing the NVIDIA adapter (`XCL_ADAPTER` + GPU preference; the earlier run's 11.5 GB "local" was the Intel iGPU) and `TdrDelay=60` + reboot: this removed the `0x887a0006` device-removed class that previously killed the run before the stop under DirectStorage/compute bursts. The GPU stays healthy through the whole run now. - `XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1` (local port of #1702 onto this tree) and `XCL_HEAP_WINDOWS=1`: at the stop, video memory is **4.3 GB local / 15.2 GB non-local**, target pages 9,979 MB (pools 10,176 MB) — and **process commit is only ~31 GB**, not the ~124 GB of my first datapoint. So on this rig the 120 GB pagefile is no longer the binding constraint, and the stop happens with commit nowhere near the limit — unlike the AMD commit-climb pattern reported above, which we do not reproduce. - #1747's per-heap `UpdateTileMappings` path is confirmed active in the run (system-memory pool log line + new TilePool). It changes tile bookkeeping but does not move the stop; DirectStorage is still streaming in the final windows (531 requests / 61 MB in the last 2 s sample at t=178) when the title takes the null write. So on NVIDIA the stop is a clean, reproducible `0x23cf683` null write at ~t+156 s with a healthy GPU, modest commit and active streaming — 60 MB crash dump retained locally if any stack detail would help.
Author
Owner

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

Retest from the RTX 5060 Laptop 8 GB / 31 GB rig above, now on main 689f2db (PR #1679 direct-DXIL follow-up merged into our pr887 tree), with XCL_PSO_WAIT_MS=50 set from the start. The stop is unchanged: 0xc0000005 write at 0x0 at game_scarlett_master.exe+0x23cf683, rax=0 rbx=0 rcx=0x70024c348, now at t+131.4 s (was 155.7 s on 1d027e5). GPU stays healthy, commit flat ~31 GB, video 4.1 GB local / 15.2 GB non-local, DS streaming until the end.

One measurement from this run that may matter for the watchdog story: the two compute PSOs built just before the stop are synchronous here, e.g.

driver compile finish #1438: compute PSO, 666824 B DXIL, 47447 ms, huge, wanted at once (no slot)

plus a 501,444 B DXIL build at 28,895 ms ~19 s earlier. A huge, wanted at once (no slot) build looks like it binds synchronously regardless of XCL_PSO_WAIT_MS, and 47 s exceeds the ~30 s window the title watchdog allows - which fits @⁠Krashgamer's render-thread chain: a thread pinned in such a bind stops checking in and the title ends itself. On this rig XCL_PSO_WAIT_MS=50 therefore cannot be the cure while the driver needs longer than the watchdog on huge DXIL. Will try a precompile pass over the big CS pipelines next and report.

(497 compute PSO builds in the run, max 47.4 s; DXIL cache warm; XCL_HEAP_WINDOWS=1 XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1 active.)

**@⁠Tanju42** on GitHub · 2026-11-24 22:22 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7146160617) Retest from the RTX 5060 Laptop 8 GB / 31 GB rig above, now on `main` `689f2db` (PR #1679 direct-DXIL follow-up merged into our `pr887` tree), with `XCL_PSO_WAIT_MS=50` set from the start. The stop is unchanged: `0xc0000005` write at 0x0 at `game_scarlett_master.exe+0x23cf683`, `rax=0 rbx=0 rcx=0x70024c348`, now at **t+131.4 s** (was 155.7 s on `1d027e5`). GPU stays healthy, commit flat ~31 GB, video 4.1 GB local / 15.2 GB non-local, DS streaming until the end. One measurement from this run that may matter for the watchdog story: the two compute PSOs built just before the stop are *synchronous* here, e.g. driver compile finish #1438: compute PSO, 666824 B DXIL, 47447 ms, huge, wanted at once (no slot) plus a 501,444 B DXIL build at 28,895 ms ~19 s earlier. A `huge, wanted at once (no slot)` build looks like it binds synchronously regardless of `XCL_PSO_WAIT_MS`, and 47 s exceeds the ~30 s window the title watchdog allows - which fits @⁠Krashgamer's render-thread chain: a thread pinned in such a bind stops checking in and the title ends itself. On this rig `XCL_PSO_WAIT_MS=50` therefore cannot be the cure while the driver needs longer than the watchdog on huge DXIL. Will try a precompile pass over the big CS pipelines next and report. (497 compute PSO builds in the run, max 47.4 s; DXIL cache warm; `XCL_HEAP_WINDOWS=1 XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1` active.)
Author
Owner

@⁠Dezmonius on GitHub · 2026-11-24 22:29 UTC · original

Additional first-run data point for the desktop RTX 5070. Windows 10 22H2 (19045.6466), i7-7700K, 32 GiB RAM, NVIDIA 610.88, XCL 9039900 built in release, local Agility SDK 1.618.5, DXC 1.8.2502.11, XCL_NETWORK=0, title 1.0.2.1. Both runs captured at a 3840×2160 source extent.

On the same PC, I moved the package from a SATA HDD to an NVMe SSD. XCL and the shared DXIL cache were on the NVMe drive for both runs. The first sampled PLAYER1 screen was at 59.6 s from the HDD and 36.0 s from the SSD. A 60-frame interval bounded by identical captures of that screen averaged 7.83 and 7.25 FPS respectively. This was a sequential comparison with a reused cache, so it does not isolate the storage effect.

The HDD run reached first-run setup and ended at the 300 s timer with 2,125 displayed frames. The SSD run progressed through setup into a subsequent loading screen, with 4.3–4.5 FPS over the later 300-frame windows. I stopped it externally at 232 s when system commit headroom fell below the 3 GiB reserve. The last recorded process commit was about 21.4 GiB. The last sampled frame was 980. No title exception or device removal was logged before the stop. These later phases are not a like-for-like FPS comparison.

Windows 10 detail: as the DXC files were initially stored on the drive mapped to the console's game path, the preflight reported DXC 1.8 but the game host loaded the installed SDK's 1.4 and rendered black frames. Pointing XCL_DXC_DIR to the same signed DXC 1.8 files on the NVMe drive kept both processes on 1.8 and made the first-run screens visible.

No game files, captures, dumps or raw logs attached. AI use: Codex assisted with the local test harness, log analysis and report.

**@⁠Dezmonius** on GitHub · 2026-11-24 22:29 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7146296633) Additional first-run data point for the desktop RTX 5070. Windows 10 22H2 (19045.6466), i7-7700K, 32 GiB RAM, NVIDIA 610.88, XCL `9039900` built in release, local Agility SDK 1.618.5, DXC 1.8.2502.11, `XCL_NETWORK=0`, title 1.0.2.1. Both runs captured at a 3840×2160 source extent. On the same PC, I moved the package from a SATA HDD to an NVMe SSD. XCL and the shared DXIL cache were on the NVMe drive for both runs. The first sampled PLAYER1 screen was at 59.6 s from the HDD and 36.0 s from the SSD. A 60-frame interval bounded by identical captures of that screen averaged 7.83 and 7.25 FPS respectively. This was a sequential comparison with a reused cache, so it does not isolate the storage effect. The HDD run reached first-run setup and ended at the 300 s timer with 2,125 displayed frames. The SSD run progressed through setup into a subsequent loading screen, with 4.3–4.5 FPS over the later 300-frame windows. I stopped it externally at 232 s when system commit headroom fell below the 3 GiB reserve. The last recorded process commit was about 21.4 GiB. The last sampled frame was 980. No title exception or device removal was logged before the stop. These later phases are not a like-for-like FPS comparison. Windows 10 detail: as the DXC files were initially stored on the drive mapped to the console's game path, the preflight reported DXC 1.8 but the game host loaded the installed SDK's 1.4 and rendered black frames. Pointing `XCL_DXC_DIR` to the same signed DXC 1.8 files on the NVMe drive kept both processes on 1.8 and made the first-run screens visible. No game files, captures, dumps or raw logs attached. AI use: Codex assisted with the local test harness, log analysis and report.
Author
Owner

@⁠AmateurWizrd on GitHub · 2026-11-24 23:57 UTC · original

RTX 5070 Ti 16 GB, plain main 1d027e5, default settings: the abort at exe+0x23cf683 no longer fires here, the title stays alive with no presents instead. With XCL_SLEEP_HOLD=0 the abort is back 28.4 s after the last present. So on this card the stop is held off (#1288's sleep rule), not removed.

Same scripted route in every run (fresh title state, button presses by XCL_PRESS_AT, last press at 124 s), XCL_RUN_SECONDS=300:

Run Settings Last 2 s interval with presents exe+0x23cf683 Exit Peak commit
1 default 124.0 s none in 300 s 0x0 31936 MB
2 XCL_PSO_WAIT_MS=50 (plus three XCL_PROBE breakpoints) 252.1 s 277.6 s killed 39609 MB
3 default 122.1 s none in 300 s 0x0 32318 MB
4 XCL_SLEEP_HOLD=0 126.0 s 154.5 s 0xc0000005 32428 MB
  • Runs 1 and 3: in the 86 activity intervals from 128 s to the end there are 0 presents, and 8 submits (run 1) or 0 submits (run 3); 0 device removals. driver compile start lines for compute pipelines keep coming after 120 s (8 in run 1, 44 in run 3).
  • Run 4: 0 presents from 128 s, 0 submits from 130 s, then the old stop: unhandled exception 0xc0000005 at exe+0x23cf683 (write at address 0x0) at 154.471 s.
  • Run 2: 25.5 s between the last present and the same exception. It committed 7.7 GB more than run 1.
  • On c160d86 this machine and route gave the abort at 153–159 s in six of six runs (three with default settings, three with XCL_DIRECT_DXIL=1).

For anyone comparing against earlier reports: a default run of current main that ends without this exception is not by itself a sign of getting further. XCL_SLEEP_HOLD=0 gives the old behaviour back for comparison.

Tested

  • Commit 1d027e5c7 (main), clean tree, release build, xcl run with XCL_NETWORK=0 XCL_ACTIVITY=1, the retail title, package 1.0.2.1
  • GPU: NVIDIA GeForce RTX 5070 Ti 16 GB, driver 621.01 (32-lane waves only); CPU: AMD Ryzen 7 7800X3D; 32 GB RAM; Windows 11 build 26200
  • Rust 1.100.0; DXC 1.8.2502.11
  • Runs made in the order shown; the shader cache was kept between them, the title's saved state was reset before each
  • Test suite on the same commit (debug, --test-threads=4): 958 passed, 43 ignored on this card, and the same counts on the integrated AMD Radeon (64-lane waves) with and without XCL_SPLIT_WAVE64=1; one test (test_title_runs_and_game_folder_is_untouched) fails here for a local reason (the tests ran under an account without write access to the test's folder)

Not tested

  • One run per changed setting (runs 2 and 4); only the default was repeated
  • No thread dump in runs 1 and 3, so what the title's threads wait on there is not shown by these logs
  • Run 2 had hardware breakpoints set; its timing is not comparable with a plain XCL_PSO_WAIT_MS=50 run
  • Commits after 1d027e5; an empty shader cache

AI use: omp. Claude Fable 5.2 ran the tests and wrote this report; Claude Opus 5.5 read the logs.

**@⁠AmateurWizrd** on GitHub · 2026-11-24 23:57 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7147980254) **RTX 5070 Ti 16 GB, plain `main` `1d027e5`, default settings: the abort at `exe+0x23cf683` no longer fires here, the title stays alive with no presents instead. With `XCL_SLEEP_HOLD=0` the abort is back 28.4 s after the last present. So on this card the stop is held off (#1288's sleep rule), not removed.** Same scripted route in every run (fresh title state, button presses by `XCL_PRESS_AT`, last press at 124 s), `XCL_RUN_SECONDS=300`: | Run | Settings | Last 2 s interval with presents | `exe+0x23cf683` | Exit | Peak commit | |---|---|---|---|---|---| | 1 | default | 124.0 s | none in 300 s | 0x0 | 31936 MB | | 2 | `XCL_PSO_WAIT_MS=50` (plus three `XCL_PROBE` breakpoints) | 252.1 s | 277.6 s | killed | 39609 MB | | 3 | default | 122.1 s | none in 300 s | 0x0 | 32318 MB | | 4 | `XCL_SLEEP_HOLD=0` | 126.0 s | 154.5 s | 0xc0000005 | 32428 MB | - Runs 1 and 3: in the 86 activity intervals from 128 s to the end there are 0 presents, and 8 submits (run 1) or 0 submits (run 3); 0 device removals. `driver compile start` lines for compute pipelines keep coming after 120 s (8 in run 1, 44 in run 3). - Run 4: 0 presents from 128 s, 0 submits from 130 s, then the old stop: `unhandled exception 0xc0000005` at `exe+0x23cf683` (write at address 0x0) at 154.471 s. - Run 2: 25.5 s between the last present and the same exception. It committed 7.7 GB more than run 1. - On `c160d86` this machine and route gave the abort at 153–159 s in six of six runs (three with default settings, three with `XCL_DIRECT_DXIL=1`). For anyone comparing against earlier reports: a default run of current `main` that ends without this exception is not by itself a sign of getting further. `XCL_SLEEP_HOLD=0` gives the old behaviour back for comparison. **Tested** - Commit `1d027e5c7` (`main`), clean tree, release build, `xcl run` with `XCL_NETWORK=0 XCL_ACTIVITY=1`, the retail title, package 1.0.2.1 - GPU: NVIDIA GeForce RTX 5070 Ti 16 GB, driver 621.01 (32-lane waves only); CPU: AMD Ryzen 7 7800X3D; 32 GB RAM; Windows 11 build 26200 - Rust 1.100.0; DXC 1.8.2502.11 - Runs made in the order shown; the shader cache was kept between them, the title's saved state was reset before each - Test suite on the same commit (debug, `--test-threads=4`): 958 passed, 43 ignored on this card, and the same counts on the integrated AMD Radeon (64-lane waves) with and without `XCL_SPLIT_WAVE64=1`; one test (`test_title_runs_and_game_folder_is_untouched`) fails here for a local reason (the tests ran under an account without write access to the test's folder) **Not tested** - One run per changed setting (runs 2 and 4); only the default was repeated - No thread dump in runs 1 and 3, so what the title's threads wait on there is not shown by these logs - Run 2 had hardware breakpoints set; its timing is not comparable with a plain `XCL_PSO_WAIT_MS=50` run - Commits after `1d027e5`; an empty shader cache **AI use**: omp. Claude Fable 5.2 ran the tests and wrote this report; Claude Opus 5.5 read the logs.
Author
Owner

@⁠IAmTheSween on GitHub · 2026-11-25 03:19 UTC · original


Independent data point on a desktop RTX 5070, current main cbc296ab65. Same conclusion as
@⁠AmateurWizrd's 5070 Ti result: with defaults the 0xc0000005 does not fire here at all, and
XCL_SLEEP_HOLD=0 brings it straight back.

Setup

  • GPU: NVIDIA GeForce RTX 5070 (11 943 MiB), driver 32.0.16.2114
  • CPU / RAM: AMD Ryzen 5 5600X (6C/12T), 31.9 GB
  • OS: Windows 11 26H2, build 26300.9974
  • Build: main cbc296ab65, cargo build --release -p xcl, rustc 1.100.0, DXC 1.8.2502.11
  • Title: retail 1.0.2.1, unmodified, exe SHA-256 e95020b2… (the hash CL published)
  • Script route in every run: Enter (= pad A) every 4 s from 20 s to 130 s, XCL_NETWORK=0,
    XCL_ACTIVITY=1
Run Settings Length Frames Peak commit Stop
1 default 300 s 5 620 24 777 MB none; timer, 0 presents in the last 4 s (it had gone into a streaming/loading phase — 1 530 DirectStorage requests, 76 MB, 0 failed in the last interval)
2 default 90 s 1 835 14 695 MB none; timer
3 XCL_SLEEP_HOLD=0 60 s 640 15 315 MB none; timer, stopped ~1.5 s before where the abort fires
4 XCL_SLEEP_HOLD=0 120 s 429 13 397 MB unhandled exception 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0) at t+58.5 s, process ends 0xc0000005

The stop address is one of the return addresses already in this thread: +0x2215c35, with
+0x71b9a20 and +0x2215eca on the stack, so it is the earlier stage of the same family, not
+0x23cf683. The last thing before it is a burst of D3D12.X: video-memory arena #9..#12 lines
(119 MB → 149 MB of arenas made).

No device removal in any run. report.json of the clean runs has an empty crash and
presents: 5620 / 1835.

Suite on this machine at the same commit (cargo test --workspace -- --test-threads=4): 1094
passed, 4 failed, 26 ignored, 25 SKIPPED; the 4 failures are the gpu::dxil::fuzz_tests PSO
0x8007000E, reported in #42.

Written by OpenCode with DeepSeek V4.1 Flash Abliterated, from the runs above.

**@⁠IAmTheSween** on GitHub · 2026-11-25 03:19 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7151803673)  Independent data point on a **desktop RTX 5070**, current `main` `cbc296ab65`. Same conclusion as @⁠AmateurWizrd's 5070 Ti result: with defaults the `0xc0000005` does not fire here at all, and `XCL_SLEEP_HOLD=0` brings it straight back. **Setup** - GPU: NVIDIA GeForce RTX 5070 (11 943 MiB), driver 32.0.16.2114 - CPU / RAM: AMD Ryzen 5 5600X (6C/12T), 31.9 GB - OS: Windows 11 26H2, build 26300.9974 - Build: `main` cbc296ab65, `cargo build --release -p xcl`, rustc 1.100.0, DXC 1.8.2502.11 - Title: retail 1.0.2.1, unmodified, exe SHA-256 `e95020b2…` (the hash CL published) - Script route in every run: Enter (= pad A) every 4 s from 20 s to 130 s, `XCL_NETWORK=0`, `XCL_ACTIVITY=1` | Run | Settings | Length | Frames | Peak commit | Stop | |---|---|---|---|---|---| | 1 | default | 300 s | 5 620 | 24 777 MB | none; timer, 0 presents in the last 4 s (it had gone into a streaming/loading phase — 1 530 DirectStorage requests, 76 MB, 0 failed in the last interval) | | 2 | default | 90 s | 1 835 | 14 695 MB | none; timer | | 3 | `XCL_SLEEP_HOLD=0` | 60 s | 640 | 15 315 MB | none; timer, stopped ~1.5 s before where the abort fires | | 4 | `XCL_SLEEP_HOLD=0` | 120 s | 429 | 13 397 MB | `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0)` at **t+58.5 s**, process ends `0xc0000005` | The stop address is one of the return addresses already in this thread: `+0x2215c35`, with `+0x71b9a20` and `+0x2215eca` on the stack, so it is the earlier stage of the same family, not `+0x23cf683`. The last thing before it is a burst of `D3D12.X: video-memory arena #9..#12` lines (119 MB → 149 MB of arenas made). No device removal in any run. `report.json` of the clean runs has an empty `crash` and `presents: 5620` / `1835`. Suite on this machine at the same commit (`cargo test --workspace -- --test-threads=4`): 1094 passed, 4 failed, 26 ignored, 25 SKIPPED; the 4 failures are the `gpu::dxil::fuzz_tests` PSO `0x8007000E`, reported in #42. Written by OpenCode with DeepSeek V4.1 Flash Abliterated, from the runs above.
Author
Owner

@⁠justrhoto on GitHub · 2026-11-25 06:22 UTC · original

RTX 4070 Ti SUPER, XCL_PSO_WAIT_MS=500: the abort at +0x23cf683 with the title's submit thread in title_textures::refresh → texture::upload_batch → gpu::fence::wait, which the sleep hold (#1288) does not count

This fits @⁠AmateurWizrd's result that the abort comes back when the sleep hold does not apply. With a bind budget, binds stop holding the title after 500 ms, so a different long wait in XCL is what runs out the title's stall check.

Run: retail title 1.0.2.1, release, XCL_PSO_WAIT_MS=500 and XCL_DIRECT_DXIL=1, nothing else set. Build: main 6020a33 + #751 + #1686 (rebased) + #2076, local commit d9e3a89. None of these PRs touch gpu/texture.rs, gpu/fence.rs or hle/kernelx.rs. #751 changes how title_textures reads the title's memory before an upload, not the upload or its wait.

  • unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 at 471.3 s. The same registers as in this issue.
  • 432.4 s – 446.8 s: 96 GPU queue.Wait … did not complete within 5000 ms (values >= 0x999 and >= 0x99a, waiters on q0–q3, producers on q1–q3), all released on the CPU.
  • The log has no title-side line after 439.6 s (its last console code so far) until the abort 31.7 s later. Those progress lines are sparse, so this is an upper bound on the gap, not a measured one.
  • A thread dump 3 s after the abort, symbolized with the build's PDB, shows a title thread in ExecuteCommandLists:
    xcl!gpu::fence::wait                  (gpu/fence.rs:77)
    xcl!gpu::texture::upload_batch        (gpu/texture.rs:310)
    xcl!hle::d3d12x::title_textures::refresh  (title_textures.rs:663)
    xcl!hle::d3d12x::real::q_execute_command_lists
    ← game_scarlett_master.exe+0x248268f
    
    The stall-check thread is in Sleep at +0x23cf735. upload_batch waits on the CPU up to 10 s for each batch, and pso_async::title_held is false then, so the stall check counts that time. No texture copy: error was logged, so I can't tell from the log whether a single wait ran out or several batches in a row waited.
  • One snapshot is not proof that the thread was there for the whole 30 s. But it's the stack #455 describes, and the case #1782 extends the sleep hold for.

I can run #1782 (and #455, which conflicts with main here) on top of the same tree with the same settings, if that helps decide between them.

Hardware: RTX 4070 Ti SUPER 16 GB, driver 32.0.16.1088; Ryzen 5 5600X3D (6 cores, 12 threads); 64 GB RAM; Windows 11 Home 26200.

AI use: Claude Code (Claude Opus 5.5) read the logs, symbolized the dump and wrote this comment. I ran the title.

**@⁠justrhoto** on GitHub · 2026-11-25 06:22 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7154716638) **RTX 4070 Ti SUPER, `XCL_PSO_WAIT_MS=500`: the abort at `+0x23cf683` with the title's submit thread in `title_textures::refresh` → `texture::upload_batch` → `gpu::fence::wait`, which the sleep hold (#1288) does not count** This fits @⁠AmateurWizrd's result that the abort comes back when the sleep hold does not apply. With a bind budget, binds stop holding the title after 500 ms, so a different long wait in XCL is what runs out the title's stall check. Run: retail title 1.0.2.1, release, `XCL_PSO_WAIT_MS=500` and `XCL_DIRECT_DXIL=1`, nothing else set. Build: `main` `6020a33` + #751 + #1686 (rebased) + #2076, local commit `d9e3a89`. None of these PRs touch `gpu/texture.rs`, `gpu/fence.rs` or `hle/kernelx.rs`. #751 changes how `title_textures` reads the title's memory before an upload, not the upload or its wait. - `unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1` at 471.3 s. The same registers as in this issue. - 432.4 s – 446.8 s: 96 `GPU queue.Wait … did not complete within 5000 ms` (values `>= 0x999` and `>= 0x99a`, waiters on q0–q3, producers on q1–q3), all released on the CPU. - The log has no title-side line after 439.6 s (its last `console code so far`) until the abort 31.7 s later. Those progress lines are sparse, so this is an upper bound on the gap, not a measured one. - A thread dump 3 s after the abort, symbolized with the build's PDB, shows a title thread in `ExecuteCommandLists`: ``` xcl!gpu::fence::wait (gpu/fence.rs:77) xcl!gpu::texture::upload_batch (gpu/texture.rs:310) xcl!hle::d3d12x::title_textures::refresh (title_textures.rs:663) xcl!hle::d3d12x::real::q_execute_command_lists ← game_scarlett_master.exe+0x248268f ``` The stall-check thread is in `Sleep` at `+0x23cf735`. `upload_batch` waits on the CPU up to 10 s for each batch, and `pso_async::title_held` is false then, so the stall check counts that time. No `texture copy:` error was logged, so I can't tell from the log whether a single wait ran out or several batches in a row waited. - One snapshot is not proof that the thread was there for the whole 30 s. But it's the stack #455 describes, and the case #1782 extends the sleep hold for. I can run #1782 (and #455, which conflicts with `main` here) on top of the same tree with the same settings, if that helps decide between them. Hardware: RTX 4070 Ti SUPER 16 GB, driver 32.0.16.1088; Ryzen 5 5600X3D (6 cores, 12 threads); 64 GB RAM; Windows 11 Home 26200. AI use: Claude Code (Claude Opus 5.5) read the logs, symbolized the dump and wrote this comment. I ran the title.
Author
Owner

@⁠Tanju42 on GitHub · 2026-11-25 06:27 UTC · original

Warm driver-blob cache + XCL_PSO_WAIT_MS=2000 on RTX 5060 Laptop 8 GB: +0x23cf683 no longer fires; run dies later as 0x887a0006 device-removed at t=334 s. Measured datapoint.

Setup: pr887 tree = origin/main 689f2db + merged 605/800/1046/1053/615/242/1702/1795 (no local XCL code changes). Precompiled the CS set once with xcl.exe shaders C:\game\shaders.rpf --precompile --only cs --pipelines (2805 driver blobs on disk), then one title run with XCL_PSO_WAIT_MS=2000, TdrDelay=60, XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1, XCL_HEAP_WINDOWS=1. No rebuild between seeding and the run.

Warm run vs the 23:17 cold run (same exe, XCL_PSO_WAIT_MS=50):

  • Cache verified warm in-log: 297 driver blob supplied, 0 absent, 0 refused-adapter; the 39 huge, wanted at once demands were all served from disk (no 28-47 s sync builds).
  • The cold run died 0xc0000005 +0x23cf683 write-at-0 at t=131.4 s. This warm run never hit that exception. Last activity window with presents: t=98.1 s (12 presents/2 s). From t=100.1 s: 0 presents for the rest of the run, while draws/dispatches/DirectStorage kept running (last nonzero window t=332.3: 25 draws, 17 dispatches, 29 DS requests).
  • Death: D3D12 device removed: 0x887a0006 at t=334.2 s, 1.1 s after a Wait64BitValueX ... bridged to GPU queue.Wait (wait-before-signal) line at t=333.1 s; then the title's int3 at +0x2474606 (rcx=0) at t=334.208 — which I read as a consequence of device loss, not the vendor-feature wall.
  • last-present -> death interval: 236 s, so the ~25-29 s abort was fully masked at 2000 (consistent with the sleep-hold observations on main). TdrDelay=60 was active, so something on the queue hung > 60 s rather than a slow aggregate of short compiles.

Reading: on our rig the cold-blob sync compiles + PSO_WAIT_MS=50 were sufficient to produce the +0x23cf683 death; removing both moves us onto the device-removed/never-finishing-dispatch class others report at world load (qcdaark / HKEY-Funk-Machine / joeypercia patterns).

Run #2 is underway with XCL_GPU_CULPRIT=1 on the same seeded cache to name the stuck dispatch; will post the named program here.

**@⁠Tanju42** on GitHub · 2026-11-25 06:27 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7154812608) Warm driver-blob cache + `XCL_PSO_WAIT_MS=2000` on RTX 5060 Laptop 8 GB: `+0x23cf683` no longer fires; run dies later as `0x887a0006` device-removed at t=334 s. Measured datapoint. Setup: pr887 tree = origin/main 689f2db + merged 605/800/1046/1053/615/242/1702/1795 (no local XCL code changes). Precompiled the CS set once with `xcl.exe shaders C:\game\shaders.rpf --precompile --only cs --pipelines` (2805 driver blobs on disk), then one title run with `XCL_PSO_WAIT_MS=2000`, `TdrDelay=60`, `XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1`, `XCL_HEAP_WINDOWS=1`. No rebuild between seeding and the run. Warm run vs the 23:17 cold run (same exe, `XCL_PSO_WAIT_MS=50`): - Cache verified warm in-log: 297 `driver blob supplied`, 0 absent, 0 refused-adapter; the 39 `huge, wanted at once` demands were all served from disk (no 28-47 s sync builds). - The cold run died `0xc0000005 +0x23cf683` write-at-0 at t=131.4 s. This warm run never hit that exception. Last activity window with presents: t=98.1 s (12 presents/2 s). From t=100.1 s: 0 presents for the rest of the run, while draws/dispatches/DirectStorage kept running (last nonzero window t=332.3: 25 draws, 17 dispatches, 29 DS requests). - Death: `D3D12 device removed: 0x887a0006` at t=334.2 s, 1.1 s after a `Wait64BitValueX ... bridged to GPU queue.Wait (wait-before-signal)` line at t=333.1 s; then the title's int3 at `+0x2474606` (rcx=0) at t=334.208 — which I read as a consequence of device loss, not the vendor-feature wall. - last-present -> death interval: 236 s, so the ~25-29 s abort was fully masked at 2000 (consistent with the sleep-hold observations on main). `TdrDelay=60` was active, so something on the queue hung > 60 s rather than a slow aggregate of short compiles. Reading: on our rig the cold-blob sync compiles + `PSO_WAIT_MS=50` were sufficient to produce the `+0x23cf683` death; removing both moves us onto the device-removed/never-finishing-dispatch class others report at world load (qcdaark / HKEY-Funk-Machine / joeypercia patterns). Run #2 is underway with `XCL_GPU_CULPRIT=1` on the same seeded cache to name the stuck dispatch; will post the named program here.
Author
Owner

@⁠Tanju42 on GitHub · 2026-11-25 06:35 UTC · original

Follow-up with the run #2 result, including a correction:

  • I armed the second run with XCL_GPU_CULPRIT=1 as promised — it produced no culprit output. Checked the source tree: it is origin/main 689f2db-based, and XCL_GPU_CULPRIT / XCL_GPU_PROFILE do not exist there (only XCL_X_SPIN is present). The flag was silently ignored. Anyone on a pre-XCL_GPU_CULPRIT main thinking the knob is active because the env var is set: it is a no-op.
  • That run (otherwise identical, same seeded cache): cache still fully warm (297 driver blob supplied, 0 absent, 0 wanted at once this time — the 39 from the previous run were the now-disk-served set). Last activity window with presents t=104.8 s (1 present); from t≈107 s: 0 presents, all-zero activity windows by t=136.
  • Death: 0x887a0006 device removed at t=122.3 s, then title int3 +0x2474606 at t=122.301.

So two identical warm runs died device-removed at t=122.3 s and t=334.2 s respectively — last-present in both runs at t≈98-105 s, i.e. the stop happens within ~20-230 s of entering the zero-present streaming phase, non-deterministically. Matches the "chain is card AND timing dependent, a single clean run proves nothing" finding from #675.

Next controlled run on this rig: XCL_PSO_WAIT_MS unset entirely (wait-forever / zero-skip), per the HKEY-Funk-Machine datum that unset produced no device removal in 360 s on RX 9070. Will report.

**@⁠Tanju42** on GitHub · 2026-11-25 06:35 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7154948831) Follow-up with the run #2 result, including a correction: - I armed the second run with `XCL_GPU_CULPRIT=1` as promised — it produced **no culprit output**. Checked the source tree: it is origin/main 689f2db-based, and `XCL_GPU_CULPRIT` / `XCL_GPU_PROFILE` do not exist there (only `XCL_X_SPIN` is present). The flag was silently ignored. Anyone on a pre-`XCL_GPU_CULPRIT` main thinking the knob is active because the env var is set: it is a no-op. - That run (otherwise identical, same seeded cache): cache still fully warm (297 `driver blob supplied`, 0 absent, **0 `wanted at once`** this time — the 39 from the previous run were the now-disk-served set). Last activity window with presents t=104.8 s (1 present); from t≈107 s: 0 presents, all-zero activity windows by t=136. - Death: `0x887a0006` device removed at **t=122.3 s**, then title int3 `+0x2474606` at t=122.301. So two identical warm runs died device-removed at t=122.3 s and t=334.2 s respectively — last-present in both runs at t≈98-105 s, i.e. the stop happens within ~20-230 s of entering the zero-present streaming phase, non-deterministically. Matches the "chain is card AND timing dependent, a single clean run proves nothing" finding from #675. Next controlled run on this rig: `XCL_PSO_WAIT_MS` unset entirely (wait-forever / zero-skip), per the HKEY-Funk-Machine datum that unset produced no device removal in 360 s on RX 9070. Will report.
Author
Owner

@⁠Tanju42 on GitHub · 2026-11-25 06:38 UTC · original

Follow-up on my warm-cache comment: with the A-press schedule densified into world load, the death moves to t~125 s — and the 15 s before it are the cycle-guard warning class.

Two more runs on the same seeded driver-blob cache (2805 blobs; this time 297 driver blob supplied, 0 absent, no wanted at once at all):

  • Run #2: XCL_GPU_CULPRIT=1 + XCL_PSO_WAIT_MS=2000, A presses every 15 s (25..320 s): device loss, crash dump at t=125 s (title crash report: Frame 610, Game Running, 723 streaming requests, TileHeap 3.6/6.2 GB).
  • Run #3: XCL_PSO_WAIT_MS unset (zero skips, per @⁠HKEY-Funk-Machine's model): identical end — D3D12 device removed: 0x887a0006 at t=125.0 s, the title's int3 +0x2474606 (rcx=0) in the same instant, crash report Frame 618, 612 streaming requests.

Run #3's log, t=110.2-113.0 s: 9 × D3D12.X: Write64 Signal at 0x70417f... on q0..q4 would close a GPU cycle (waiters=[q0,q2,q3]) - signalled on CPU, then device loss at 125.0 s, then all-zero activity windows. The denser A-press schedule moves world load (and the death) earlier — from t=334 s with my earlier sparse schedule to t~125 s; last-present->death no longer discriminates between 2000 and unset: skipping is not our variable anymore.

On our rig the end now reads like @⁠humsterbumster's and @⁠justrhoto's direction: just before device loss the queue is waiting, fences that would close a GPU cycle are broken on CPU, and there is no sync-build path left (2000/unset PSO_WAIT_MS, zero wanted at once). Next on this card: naming what is actually in flight at the removal (Aftermath-style). Run #2's log rotated before I could grep its cycle-guard lines; the dump is kept.

**@⁠Tanju42** on GitHub · 2026-11-25 06:38 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7155011665) Follow-up on my warm-cache comment: with the A-press schedule densified into world load, the death moves to t~125 s — and the 15 s before it are the cycle-guard warning class. Two more runs on the same seeded driver-blob cache (2805 blobs; this time 297 `driver blob supplied`, 0 absent, no `wanted at once` at all): - Run #2: `XCL_GPU_CULPRIT=1` + `XCL_PSO_WAIT_MS=2000`, A presses every 15 s (25..320 s): device loss, crash dump at t=125 s (title crash report: Frame 610, `Game Running`, 723 streaming requests, TileHeap 3.6/6.2 GB). - Run #3: `XCL_PSO_WAIT_MS` unset (zero skips, per @⁠HKEY-Funk-Machine's model): identical end — `D3D12 device removed: 0x887a0006` at t=125.0 s, the title's int3 `+0x2474606` (rcx=0) in the same instant, crash report Frame 618, 612 streaming requests. Run #3's log, t=110.2-113.0 s: 9 × `D3D12.X: Write64 Signal at 0x70417f... on q0..q4 would close a GPU cycle (waiters=[q0,q2,q3]) - signalled on CPU`, then device loss at 125.0 s, then all-zero activity windows. The denser A-press schedule moves world load (and the death) earlier — from t=334 s with my earlier sparse schedule to t~125 s; last-present->death no longer discriminates between 2000 and unset: skipping is not our variable anymore. On our rig the end now reads like @⁠humsterbumster's and @⁠justrhoto's direction: just before device loss the queue is waiting, fences that would close a GPU cycle are broken on CPU, and there is no sync-build path left (2000/unset `PSO_WAIT_MS`, zero `wanted at once`). Next on this card: naming what is actually in flight at the removal (Aftermath-style). Run #2's log rotated before I could grep its cycle-guard lines; the dump is kept.
Author
Owner

@⁠JRamos1993 on GitHub · 2026-11-25 07:09 UTC · original

RTX 5090 on current main 568e7db (with #1288): no stop in 300 s, but no frame after 92 s. The world load is still building the title's compute pipelines when the run ends.

Setup: RTX 5090 32 GB, driver 621.24, i9-14900KF, Windows 11. MSVC release build, retail title 1.0.2.1, XCL_NETWORK=0, A at 25 s, 300 s runs. The driver-blob cache was partly warm from earlier builds: 863 blobs at the start of run 2.

run 1 run 2
last presents 42 s 92 s
end 0xc0000005 in XCL's title_textures at 42.7 s (the read #751 fixes; I posted it there) still running at 300 s (XCL_RUN_SECONDS): no device removed, no title crash, no watchdog
compute PSOs built in the run 70 280; 46 of them took ≥ 3 s
builds ≥ 1 s from 10 s before the last present 2 74, 604 s of build time in all
driver blobs after 863 1,023

Run 2 is what @⁠Rednaxeh describes on RDNA3 for current main: the watchdog is gone, and the load is bound by the driver compiling the pipelines the title binds. Every activity window after 92 s has 0 presents. No wanted at once lines, and no device removal in 300 s on this card, unlike @⁠Tanju42's runs, which died with 0x887a0006 at 122–334 s.

This is one run per row, and as #675 found, one clean run proves little. With 160 more blobs cached, a third run would likely get further; I stopped here to leave the machine idle.

AI use: Claude Code with Claude Opus 5.5 built main, ran the title and wrote this. No title data beyond XCL's own log counters.

**@⁠JRamos1993** on GitHub · 2026-11-25 07:09 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7155543078) **RTX 5090 on current `main` `568e7db` (with #1288): no stop in 300 s, but no frame after 92 s. The world load is still building the title's compute pipelines when the run ends.** **Setup:** RTX 5090 32 GB, driver 621.24, i9-14900KF, Windows 11. MSVC release build, retail title 1.0.2.1, `XCL_NETWORK=0`, A at 25 s, 300 s runs. The driver-blob cache was partly warm from earlier builds: 863 blobs at the start of run 2. | | run 1 | run 2 | |---|---|---| | last presents | 42 s | 92 s | | end | `0xc0000005` in XCL's `title_textures` at 42.7 s (the read #751 fixes; I posted it there) | still running at 300 s (`XCL_RUN_SECONDS`): no device removed, no title crash, no watchdog | | compute PSOs built in the run | 70 | 280; 46 of them took ≥ 3 s | | builds ≥ 1 s from 10 s before the last present | 2 | 74, **604 s** of build time in all | | driver blobs after | 863 | 1,023 | **Run 2** is what @⁠Rednaxeh describes on RDNA3 for current `main`: the watchdog is gone, and the load is bound by the driver compiling the pipelines the title binds. Every activity window after 92 s has 0 presents. No `wanted at once` lines, and no device removal in 300 s on this card, unlike @⁠Tanju42's runs, which died with `0x887a0006` at 122–334 s. This is one run per row, and as #675 found, one clean run proves little. With 160 more blobs cached, a third run would likely get further; I stopped here to leave the machine idle. AI use: Claude Code with Claude Opus 5.5 built `main`, ran the title and wrote this. No title data beyond XCL's own log counters.
Author
Owner

@⁠Tanju42 on GitHub · 2026-11-25 07:11 UTC · original

Third warm datapoint, this time testing the 0d25b89 cache-flush-as-UAV-barrier fix in isolation on our rig (RTX 5060 Laptop 8 GB):

  • Cherry-picked 0d25b89 onto the previous tree (689f2db base) with an env kill-switch added; identical binary otherwise, same seeded driver-blob cache, XCL_PSO_WAIT_MS unset (zero skips).
  • With the flush barriers ON: device removed 0x887a0006 at t=121.8 s; last present-bearing window t=104.7 s. With OFF: t=125.0 s. Same class, same timing — the cache-flush barriers do not move this wall on our card.
  • Consistent with the model from #675 that the never-finisher chain membership is card-dependent: the commit that let an RX 9070 load the world changes nothing here.

Tree rebuilt onto a base with gpu_profile (#2057) so the next runs can name the stuck dispatch; will report the named program.

**@⁠Tanju42** on GitHub · 2026-11-25 07:11 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7155586732) Third warm datapoint, this time testing the 0d25b89 cache-flush-as-UAV-barrier fix in isolation on our rig (RTX 5060 Laptop 8 GB): - Cherry-picked 0d25b89 onto the previous tree (689f2db base) with an env kill-switch added; identical binary otherwise, same seeded driver-blob cache, `XCL_PSO_WAIT_MS` unset (zero skips). - With the flush barriers ON: device removed `0x887a0006` at t=121.8 s; last present-bearing window t=104.7 s. With OFF: t=125.0 s. Same class, same timing — **the cache-flush barriers do not move this wall on our card**. - Consistent with the model from #675 that the never-finisher chain membership is card-dependent: the commit that let an RX 9070 load the world changes nothing here. Tree rebuilt onto a base with `gpu_profile` (#2057) so the next runs can name the stuck dispatch; will report the named program.
Author
Owner

@⁠JRamos1993 on GitHub · 2026-11-25 08:28 UTC · original

Follow-up: six more warm runs of main 568e7db on the RTX 5090. Nothing crashed and no device was removed, but every run stops presenting at 80–84 s and stays black to 300 s. Same build and setup as my comment above (A at 25 s, XCL_NETWORK=0, 300 s each, back to back).

run last presents PSOs from disk / built builds ≥ 1 s from 10 s before the last present (total) builds ≥ 20 s driver blobs after
2 (above) 92 s 54 / 280 74 (604 s) 8 1,023
3 82 s 178 / 237 48 (477 s) 7 1,121
4 82 s 240 / 254 30 (475 s) 6 1,176
5 80 s 267 / 220 17 (405 s) 4 1,194
6 82 s 303 / 235 21 (349 s) 5 1,219
7 80 s 323 / 216 4 (303 s) 5 1,224
8 82 s 342 / 217 6 (349 s) 6 1,231
9 84 s 346 / 218 5 (397 s) 6 1,237
  • No crash in runs 2–9: 0 unhandled exception, 0 device removed. (Run 1's crash is the title_textures read posted on #751.)
  • The cache helps, but the tail doesn't shrink: each run gets more PSOs from disk. But each still ends on 4–8 compute builds of 0.9–1.3 MB DXIL taking 43–91 s each, and they are different programs every run (other sizes and records). So each run caches about five more huge programs, and the title is still waiting on new ones when the run ends.
  • The 10.9 MB program from #1307 (record 95cc13288a27a96e, driver blob absent): from run 7 on, its driver compile starts at about 4.7 s and has not finished when the run ends at 300 s, in all three runs. I did not check whether the title waits on it or only a worker.

So on this card, with #1288 in, the remaining stop is the build time of the title's huge compute programs, not a crash or the watchdog. Nine runs were not enough to cache them all.

AI use: Claude Code with Claude Opus 5.5 ran the title and wrote this from XCL's log counters. No title data beyond XCL's own logs.

**@⁠JRamos1993** on GitHub · 2026-11-25 08:28 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7157061062) **Follow-up: six more warm runs of `main` `568e7db` on the RTX 5090. Nothing crashed and no device was removed, but every run stops presenting at 80–84 s and stays black to 300 s.** Same build and setup as my comment above (A at 25 s, `XCL_NETWORK=0`, 300 s each, back to back). | run | last presents | PSOs from disk / built | builds ≥ 1 s from 10 s before the last present (total) | builds ≥ 20 s | driver blobs after | |---|---|---|---|---|---| | 2 (above) | 92 s | 54 / 280 | 74 (604 s) | 8 | 1,023 | | 3 | 82 s | 178 / 237 | 48 (477 s) | 7 | 1,121 | | 4 | 82 s | 240 / 254 | 30 (475 s) | 6 | 1,176 | | 5 | 80 s | 267 / 220 | 17 (405 s) | 4 | 1,194 | | 6 | 82 s | 303 / 235 | 21 (349 s) | 5 | 1,219 | | 7 | 80 s | 323 / 216 | 4 (303 s) | 5 | 1,224 | | 8 | 82 s | 342 / 217 | 6 (349 s) | 6 | 1,231 | | 9 | 84 s | 346 / 218 | 5 (397 s) | 6 | 1,237 | - **No crash in runs 2–9:** 0 `unhandled exception`, 0 device removed. (Run 1's crash is the `title_textures` read posted on #751.) - **The cache helps, but the tail doesn't shrink:** each run gets more PSOs from disk. But each still ends on 4–8 compute builds of 0.9–1.3 MB DXIL taking 43–91 s each, and they are **different programs every run** (other sizes and records). So each run caches about five more huge programs, and the title is still waiting on new ones when the run ends. - **The 10.9 MB program from #1307** (record `95cc13288a27a96e`, `driver blob absent`): from run 7 on, its driver compile starts at about 4.7 s and has not finished when the run ends at 300 s, in all three runs. I did not check whether the title waits on it or only a worker. So on this card, with #1288 in, the remaining stop is the build time of the title's huge compute programs, not a crash or the watchdog. Nine runs were not enough to cache them all. AI use: Claude Code with Claude Opus 5.5 ran the title and wrote this from XCL's log counters. No title data beyond XCL's own logs.
Author
Owner

@⁠jennydeth on GitHub · 2026-11-25 17:57 UTC · original

RTX 3060 12 GB on current main 06c9f55: no crash and no device removal in 600 s, but no frame after ~100 s. The load is still driver-compiling compute pipelines at the end, including record 95cc13288a27a96e (#1307), which had not finished 136 s after it started. On the same machine, the older a1672ef crashed with this issue's +0x23cf683 (rcx=0x70024c348) at 121 s on the same route.

Setup: NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.2101 (wave32), Ryzen 5 5600X, 32 GB RAM, Windows 11 Pro 10.0.26300.9974. Release build, DXC 1.9.2609.5 (XCL_DXC_DIR), retail title 1.0.2.1, XCL_NETWORK=0, scripts/smoke.ps1 -Seconds 600. Profile already past the first-run flow from earlier runs, so the title goes from its start screens straight into the story load. Driver-blob cache partly warm from ~6 earlier runs today.

Input: XCL_PRESS_AT=20:A,24:A,…,56:A,60:DOWN,70:DOWN,72:A,80:A,83:DOWN,85:A,88:DOWN,90:A, then A every 5 s to 166 s. (On a fresh profile this is the route through Legal Notices: A alone keeps reopening "Copyright", and "Next" only enables after the photosensitivity page's countdown; then the two terms checkboxes and Confirm. With the flow already done, the extra presses land on loading screens.)

xcl-smoke v1
commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324
gpu: NVIDIA GeForce RTX 3060
title: 4a4b54dc
seconds: 600
exit: 0x0
frames shown: 1966 (PresentX 1966)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 30827 MB
main 06c9f55 (this run) a1672ef (same machine, same route, earlier today)
story load starts (DirectStorage burst) ~68 s ~66 s
last present-bearing 2 s window 100 s 92 s
last dumped frame loading artwork, fading (83 s) loading artwork
end still running at 600 s (XCL_RUN_SECONDS) 0xc0000005 write at 0x0, +0x23cf683, 121 s
device removals / would close a GPU cycle lines 0 / 0 0 / –
peak commit 30 827 MB (29.0 GB already at 120 s) 29 355 MB
DirectStorage request failed 1 16

After the last present (100–600 s): 250 activity windows with 0 presents, 58 submits, 191 draws and 7 240 dispatches in all, the last busy window at ~588 s. So the title is not hung; it is waiting on pipelines.

Pipeline builds: 47 driver compiles started, 46 finished; 36 of them took ≥ 1 s (394 s of build time in all), 3 took ≥ 20 s. driver blob supplied 10, driver blob absent 37, wanted at once 0. The tail is the same shape as the RTX 5090 runs above, slower:

  • From 459 s to the end, one compute PSO after another, each 340–480 KB of DXIL and 9.3–15.6 s to build (#1617, #1627–#1634).
  • Record 95cc13288a27a96e: 15008 KB of HLSL would compile unoptimised – direct DXIL instead (2363 KB), driver compile start #1626 … 2420640 B DXIL … driver blob absent at 463.9 s, no finish line by 600 s.

Memory: commit reaches 29.0 GB by 120 s and stays at 28.8–30.8 GB to the end, on a 32 GB machine (video memory 13.9 GB local, 4.7 GB non-local at the end). That is roughly double the ~15 GB the README gives for the menus. I have not checked whether that is expected for a world load or a separate problem.

Not tested: whether the world appears given more time (the run ends at 600 s with #1626 still compiling); a fully cold driver cache; AMD / wave64; any open PR on top of main.

AI use: Claude Code (Claude Opus 5.5) built main, worked out the input route, ran the title on my machine, read the log and wrote this.

**@⁠jennydeth** on GitHub · 2026-11-25 17:57 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7170241123) **RTX 3060 12 GB on current `main` `06c9f55`: no crash and no device removal in 600 s, but no frame after ~100 s. The load is still driver-compiling compute pipelines at the end, including record `95cc13288a27a96e` (#1307), which had not finished 136 s after it started.** On the same machine, the older `a1672ef` crashed with this issue's `+0x23cf683` (`rcx=0x70024c348`) at 121 s on the same route. **Setup:** NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.2101 (wave32), Ryzen 5 5600X, 32 GB RAM, Windows 11 Pro 10.0.26300.9974. Release build, DXC 1.9.2609.5 (`XCL_DXC_DIR`), retail title 1.0.2.1, `XCL_NETWORK=0`, `scripts/smoke.ps1 -Seconds 600`. Profile already past the first-run flow from earlier runs, so the title goes from its start screens straight into the story load. Driver-blob cache partly warm from ~6 earlier runs today. Input: `XCL_PRESS_AT=20:A,24:A,…,56:A,60:DOWN,70:DOWN,72:A,80:A,83:DOWN,85:A,88:DOWN,90:A`, then A every 5 s to 166 s. (On a fresh profile this is the route through *Legal Notices*: A alone keeps reopening "Copyright", and "Next" only enables after the photosensitivity page's countdown; then the two terms checkboxes and Confirm. With the flow already done, the extra presses land on loading screens.) ``` xcl-smoke v1 commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324 gpu: NVIDIA GeForce RTX 3060 title: 4a4b54dc seconds: 600 exit: 0x0 frames shown: 1966 (PresentX 1966) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 30827 MB ``` | | `main` `06c9f55` (this run) | `a1672ef` (same machine, same route, earlier today) | |---|---|---| | story load starts (DirectStorage burst) | ~68 s | ~66 s | | last present-bearing 2 s window | 100 s | 92 s | | last dumped frame | loading artwork, fading (83 s) | loading artwork | | end | still running at 600 s (`XCL_RUN_SECONDS`) | `0xc0000005` write at 0x0, `+0x23cf683`, 121 s | | device removals / `would close a GPU cycle` lines | 0 / 0 | 0 / – | | peak commit | 30 827 MB (29.0 GB already at 120 s) | 29 355 MB | | DirectStorage `request failed` | 1 | 16 | **After the last present (100–600 s):** 250 activity windows with 0 presents, 58 submits, 191 draws and 7 240 dispatches in all, the last busy window at ~588 s. So the title is not hung; it is waiting on pipelines. **Pipeline builds:** 47 driver compiles started, 46 finished; 36 of them took ≥ 1 s (394 s of build time in all), 3 took ≥ 20 s. `driver blob supplied` 10, `driver blob absent` 37, `wanted at once` 0. The tail is the same shape as the RTX 5090 runs above, slower: - From 459 s to the end, one compute PSO after another, each 340–480 KB of DXIL and 9.3–15.6 s to build (#1617, #1627–#1634). - Record `95cc13288a27a96e`: `15008 KB of HLSL would compile unoptimised – direct DXIL instead (2363 KB)`, `driver compile start #1626 … 2420640 B DXIL … driver blob absent` at 463.9 s, **no finish line by 600 s**. **Memory:** commit reaches 29.0 GB by 120 s and stays at 28.8–30.8 GB to the end, on a 32 GB machine (video memory 13.9 GB local, 4.7 GB non-local at the end). That is roughly double the ~15 GB the README gives for the menus. I have not checked whether that is expected for a world load or a separate problem. **Not tested:** whether the world appears given more time (the run ends at 600 s with #1626 still compiling); a fully cold driver cache; AMD / wave64; any open PR on top of `main`. AI use: Claude Code (Claude Opus 5.5) built `main`, worked out the input route, ran the title on my machine, read the log and wrote this.
Author
Owner

@⁠xpatfussy69x on GitHub · 2026-11-26 02:19 UTC · original

RTX 3060 12 GB on main b49be18, with the compute pipelines built ahead (--used-only): almost every compute pipeline then comes from its driver blob, the compile wall goes away, and the next run loses the device (0x887a0006) at 69 s in the story load. One run of each, so the timings are rough.

Setup: NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.2124 (wave32), Ryzen 5 7500F, 32 GB RAM, Windows 11 (26300), release build, retail title 1.0.2.1, profile past the first-run flow. XCL_NETWORK=0, A every 4 s from 20 s, XCL_FRAME_DUMP=300, default settings otherwise, scripts/smoke.ps1.

Built ahead: xcl shaders shaders.rpf --precompile --only cs --pipelines --used-only (1 268 pipelines from earlier runs; 11 compile threads). 300 pipelines in the first ~8 min, then 50 more in 30 min on the big programs; I stopped it after ~48 min at 350.

run compute PSOs from a driver blob / built in the run last frames end
08db802, nothing built ahead (180 s) – ~162 s still compiling (382 KB and 490 KB DXIL), no crash
b49be18, built ahead, 1st (240 s) 133 / 2 ~94 s record 75862c583fd788f5 (1 259 756 B DXIL, no blob) started at 33.6 s and took 194 383 ms in the driver; no frame while it built; no crash
b49be18, 2nd (300 s, that blob now on disk) 68 / 1 ~66 s device removed 0x887a0006 at 69.2 s, title stopped

The 2nd run, just before the removal:

[ 67.614] D3D12.X: a command list is submitted while its previous submit is still on the GPU (the same recording, the same queue; #4 so far) – the PC does not allow it (debug layer id 553)
[ 67.619] … (#5 so far)
[ 68.055] activity (2 s): 2 presents, 31 submits, 22 draws, 21 dispatches, …; DirectStorage 3486 requests, 101 MB, 769 failed
[ 69.177] title texture: upload failed: texture copy: D3D12 device removed (0x887a0006 …)

Local video memory was 12 326 MB at 68 s (the 13 824 MB title budget of #1337 on a 12 GB card). One other big program was still building without a blob: record cbef13aafac162f4 (1 222 308 B DXIL), from 22.5 s.

So on this card the order is the one described above for others: the long driver compiles first, and once they come from blobs, a hang in the load. Whether the hang depends on the resubmitted list (#1452) or on video memory here, one run cannot say.

Not tested

  • The build ahead run to the end; more than one run per row; the hang with title_memory_mb lowered or with #2357.

AI use

  • Claude Code (Claude Opus 5.5) ran the build and the title runs on the machine above, read the logs and wrote this report.
**@⁠xpatfussy69x** on GitHub · 2026-11-26 02:19 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7180694555) **RTX 3060 12 GB on `main` `b49be18`, with the compute pipelines built ahead (`--used-only`): almost every compute pipeline then comes from its driver blob, the compile wall goes away, and the next run loses the device (`0x887a0006`) at 69 s in the story load.** One run of each, so the timings are rough. **Setup:** NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.2124 (wave32), Ryzen 5 7500F, 32 GB RAM, Windows 11 (26300), release build, retail title 1.0.2.1, profile past the first-run flow. `XCL_NETWORK=0`, A every 4 s from 20 s, `XCL_FRAME_DUMP=300`, default settings otherwise, `scripts/smoke.ps1`. **Built ahead:** `xcl shaders shaders.rpf --precompile --only cs --pipelines --used-only` (1 268 pipelines from earlier runs; 11 compile threads). 300 pipelines in the first ~8 min, then 50 more in 30 min on the big programs; I stopped it after ~48 min at 350. | run | compute PSOs from a driver blob / built in the run | last frames | end | |---|---|---|---| | `08db802`, nothing built ahead (180 s) | – | ~162 s | still compiling (382 KB and 490 KB DXIL), no crash | | `b49be18`, built ahead, 1st (240 s) | 133 / 2 | ~94 s | record `75862c583fd788f5` (1 259 756 B DXIL, no blob) started at 33.6 s and **took 194 383 ms** in the driver; no frame while it built; no crash | | `b49be18`, 2nd (300 s, that blob now on disk) | 68 / 1 | ~66 s | **device removed `0x887a0006` at 69.2 s**, title stopped | The 2nd run, just before the removal: ``` [ 67.614] D3D12.X: a command list is submitted while its previous submit is still on the GPU (the same recording, the same queue; #4 so far) – the PC does not allow it (debug layer id 553) [ 67.619] … (#5 so far) [ 68.055] activity (2 s): 2 presents, 31 submits, 22 draws, 21 dispatches, …; DirectStorage 3486 requests, 101 MB, 769 failed [ 69.177] title texture: upload failed: texture copy: D3D12 device removed (0x887a0006 …) ``` Local video memory was 12 326 MB at 68 s (the 13 824 MB title budget of #1337 on a 12 GB card). One other big program was still building without a blob: record `cbef13aafac162f4` (1 222 308 B DXIL), from 22.5 s. So on this card the order is the one described above for others: the long driver compiles first, and once they come from blobs, a hang in the load. Whether the hang depends on the resubmitted list (#1452) or on video memory here, one run cannot say. **Not tested** - The build ahead run to the end; more than one run per row; the hang with `title_memory_mb` lowered or with #2357. **AI use** - Claude Code (Claude Opus 5.5) ran the build and the title runs on the machine above, read the logs and wrote this report.
Author
Owner

@⁠crazymanjared on GitHub · 2026-11-26 03:12 UTC · original

AMD + Wine data point (RX 6950 XT / RDNA2, CachyOS, GE-Proton11-14 host, XCL built from amd-dev + MRs 175/393 rebased today + raw-fence/raw-command-list fixes for Wine vtable checks):

Runs reach in-game reliably at a steady 30 fps with the coherent window capped (XCL_COHERENT_MB=512, per #871's amdgpu userptr analysis — without the cap the title ran 0.7 fps while every amdgpu submit stalled; the cap fixed it outright).

Then: deterministic 0xc0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683 at presents≈1520-1580 (~95 s), twice in a row, same presents count — the deliberate-watchdog-write signature per PR #1062 (thread exit path then shows +0x2215c35 as in #746). Title version 1.0.2.1-CYBERLEEK. XCL window closed never reached; GPU side healthy (no device removal, 0 fallback pipelines, sparse upload/readback active).

Question: on this title version is the world-load watchdog stall expected to need XCL_PSO_WAIT_MS=50 (testing now), or is #505's ListX #101 area still the blocker on retail 1.0.2.1? Happy to run instrumented builds — our stack builds in ~40 s and the Wine-specific fixes suggest more from-iface/adopt sites may need the raw-object treatment.

**@⁠crazymanjared** on GitHub · 2026-11-26 03:12 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7181485724) AMD + Wine data point (RX 6950 XT / RDNA2, CachyOS, GE-Proton11-14 host, XCL built from `amd-dev` + MRs 175/393 rebased today + raw-fence/raw-command-list fixes for Wine vtable checks): Runs reach in-game reliably at a steady 30 fps with the coherent window capped (`XCL_COHERENT_MB=512`, per #871's amdgpu userptr analysis — without the cap the title ran 0.7 fps while every amdgpu submit stalled; the cap fixed it outright). Then: deterministic `0xc0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683` at `presents≈1520-1580` (~95 s), twice in a row, same presents count — the deliberate-watchdog-write signature per PR #1062 (thread exit path then shows `+0x2215c35` as in #746). Title version 1.0.2.1-CYBERLEEK. XCL `window closed` never reached; GPU side healthy (no device removal, 0 fallback pipelines, sparse upload/readback active). Question: on this title version is the world-load watchdog stall expected to need `XCL_PSO_WAIT_MS=50` (testing now), or is #505's ListX #101 area still the blocker on retail 1.0.2.1? Happy to run instrumented builds — our stack builds in ~40 s and the Wine-specific fixes suggest more from-iface/adopt sites may need the raw-object treatment.
Author
Owner

@⁠crazymanjared on GitHub · 2026-11-26 03:45 UTC · original

Follow-up on our AMD+Wine data point, now with XCL_NETWORK=0 + XCL_PSO_WAIT_MS ruled out (the latter: 0 presents on AMD, #2577 disk-cache skip — wait window starves frame 1 with ~59k queued pipelines).

Current shape on RX 6950 XT + GE-Proton11-14 + vkd3d master (-Db_ndebug=true) + XCL amd-dev rebased 2026-11-25 (+ raw fence/allocator/command-list fixes for Wine vtable checks):

  • Steady 30 fps through menus/loading; 2,700 frames presented (past the previous deliberate-write stop at ~1,550) — the offline mode + A-press script (XCL_PRESS_AT, upstream bot trick) walks it ~40 s further.
  • Then at ~100 s: complete quiet — presents stop, DirectStorage stops (after 8192 page lists written after their request was enqueued), sparse upload/readback activity stops, no watchdog kill, no crash, thread dumps show everything parked. Full-system deadlock of title logic; process alive indefinitely (tested 14 min). No ListX #101 activity at all on this title/version — different stall from #505's.

Question: anything we can instrument to see what the main thread parks on (wait-chain dump of the title's threads, or does XCL log the last-signalled handle anywhere)? Happy to run builds with extra tracing on Wine/AMD — the Wine-specific from-iface fixes above all reproduce reliably, so a trace we send you should be as good as a native one. Happy to run builds with extra tracing on Wine/AMD.

**@⁠crazymanjared** on GitHub · 2026-11-26 03:45 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7181993146) Follow-up on our AMD+Wine data point, now with `XCL_NETWORK=0` + `XCL_PSO_WAIT_MS` ruled out (the latter: 0 presents on AMD, #2577 disk-cache skip — wait window starves frame 1 with ~59k queued pipelines). Current shape on RX 6950 XT + GE-Proton11-14 + vkd3d master (`-Db_ndebug=true`) + XCL `amd-dev` rebased 2026-11-25 (+ raw fence/allocator/command-list fixes for Wine vtable checks): - Steady 30 fps through menus/loading; **2,700 frames presented** (past the previous deliberate-write stop at ~1,550) — the offline mode + A-press script (`XCL_PRESS_AT`, upstream bot trick) walks it ~40 s further. - Then at ~100 s: **complete quiet** — presents stop, DirectStorage stops (after `8192 page lists written after their request was enqueued`), sparse upload/readback activity stops, no watchdog kill, no crash, thread dumps show everything parked. Full-system deadlock of title logic; process alive indefinitely (tested 14 min). No `ListX` #101 activity at all on this title/version — different stall from #505's. Question: anything we can instrument to see what the main thread parks on (wait-chain dump of the title's threads, or does XCL log the last-signalled handle anywhere)? Happy to run builds with extra tracing on Wine/AMD — the Wine-specific from-iface fixes above all reproduce reliably, so a trace we send you should be as good as a native one. Happy to run builds with extra tracing on Wine/AMD.
Author
Owner

@⁠chenzhehao1129-eng on GitHub · 2026-11-26 05:01 UTC · original

One more data point for the "watcher stop is gone but nothing appears" shape, from an RTX 4070 Ti SUPER (driver 580.97, Windows 11 26100, Ryzen 9 9900X, 61.5 GB):

  • xcl run with default settings: the title stops itself at 11,915 presents (about 6.5 minutes) with 0xc0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683, rcx=0x24c348, exactly as #1062 describes. Before it, three compute PSO compiles of 5,185 / 1,515 / 730 ms, and a CreateShaderResourceView(RAYTRACING_ACCELERATION_STRUCTURE) … writing empty BVH descriptor warning.
  • Same machine, XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1: no watchdog stop at all — 34,200 presents and still 30.0 fps after 19 minutes, 0 draws skipped, commit flat at 14.6 GB. But the picture never changes: a dark screen with the intro audio playing (xapu: 67,157 Opus packets decoded, 0 errors), no spinner, no black-frame warnings. So we are in the state the reporter in #1617 calls "waiting on pipelines", except that presents keep coming at the display rate while the movie's frames never arrive.

Two things that may be worth knowing:

  1. XCL_NETWORK=0 does not stop the Xbox Live sign-in retries on this title: the log keeps printing XUser: token #5 … #12 … CreateTicketXbl3 — none: no Xbox Live (0x80072EFD) through the whole intro. If a title thread is waiting on that call, dropping the network is not enough to rule the sign-in path out.
  2. The intro (bink) audio decodes fine and the menus render fine both before and after PSO_WAIT_MS, so the black picture looks specific to the movie/world presentation path rather than a general device problem.

Happy to run a build with extra tracing if that helps separate "PSO never finishes" from "finished but the present path is skipped".

No game data included; counts and timings only.

**@⁠chenzhehao1129-eng** on GitHub · 2026-11-26 05:01 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7183108897) One more data point for the "watcher stop is gone but nothing appears" shape, from an RTX 4070 Ti SUPER (driver 580.97, Windows 11 26100, Ryzen 9 9900X, 61.5 GB): - `xcl run` with default settings: the title stops itself at **11,915 presents** (about 6.5 minutes) with `0xc0000005` write at `0x0` in `game_scarlett_master.exe+0x23cf683`, `rcx=0x24c348`, exactly as #1062 describes. Before it, three compute PSO compiles of 5,185 / 1,515 / 730 ms, and a `CreateShaderResourceView(RAYTRACING_ACCELERATION_STRUCTURE) … writing empty BVH descriptor` warning. - Same machine, `XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1`: **no watchdog stop at all** — 34,200 presents and still 30.0 fps after 19 minutes, `0 draws skipped`, commit flat at 14.6 GB. But the picture never changes: a dark screen with the intro audio playing (`xapu: 67,157 Opus packets decoded, 0 errors`), no spinner, no black-frame warnings. So we are in the state the reporter in #1617 calls "waiting on pipelines", except that presents keep coming at the display rate while the movie's frames never arrive. Two things that may be worth knowing: 1. `XCL_NETWORK=0` does **not** stop the Xbox Live sign-in retries on this title: the log keeps printing `XUser: token #5 … #12 … CreateTicketXbl3 — none: no Xbox Live (0x80072EFD)` through the whole intro. If a title thread is waiting on that call, dropping the network is not enough to rule the sign-in path out. 2. The intro (bink) audio decodes fine and the menus render fine both before and after `PSO_WAIT_MS`, so the black picture looks specific to the movie/world presentation path rather than a general device problem. Happy to run a build with extra tracing if that helps separate "PSO never finishes" from "finished but the present path is skipped". No game data included; counts and timings only.
Author
Owner

@⁠GreemSC on GitHub · 2026-11-26 07:52 UTC · original

@⁠crazymanjared a second AMD + Wine data point on amd-dev, and a question about your Wine fixes so I don't redo them.

Setup: RX 7900 XT (RDNA3), Mesa 26.2.5 RADV, Proton-CachyOS Wine 11, vkd3d-proton with dxil-spirv 53aac41. amd-dev b5c0275 + #1732 (with #867/#871/#877) + #684 + #1860 + diagnostics (#2244/#1734/#1656). Three new amd-dev fences that would have got a Wine fence proxy go through create_raw_fence (console_heap.rs signal_live_queues_for, vram.rs signal_device_queues, title_textures.rs submit_on_title_queue). Retail 1.0.2.1, warm caches, XCL_DIRECT_DXIL=1.

What happens: 3 of 3 runs at 30 fps until a deterministic crash at 104.5–106.7 s, before any ListX #101: 0xc0000005 in d3d12core.dll+0x56f58c (read at address 0x2a80). XCL's frame is sparse::readback_now, sparse.rs:1903: s.queue.ExecuteCommandLists of the pooled ReadbackJob list (take_readback_job, from 8549b14d "unlock sparse Map readback waits"), called from the res_map hook (a Map with a read range on a sparse buffer). 7.8 GB RAM and 8.9 GB VRAM at that point.

For comparison, main b49be18 + the same Wine stack + #2615/#2598/#751 presents to the end of 360 s runs (4 of 4, intro cutscene), so the stop looks specific to amd-dev's readback path under Wine.

Question: do your "raw fence/allocator/command-list fixes" cover this ReadbackJob list, and did your tree already have 8549b14d? If your fixes are on a public branch or in a gist, I'd test them here on RDNA3 rather than write my own.

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

**@⁠GreemSC** on GitHub · 2026-11-26 07:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7185935112) @⁠crazymanjared a second AMD + Wine data point on `amd-dev`, and a question about your Wine fixes so I don't redo them. **Setup:** RX 7900 XT (RDNA3), Mesa 26.2.5 RADV, Proton-CachyOS Wine 11, vkd3d-proton with dxil-spirv 53aac41. `amd-dev` `b5c0275` + #1732 (with #867/#871/#877) + #684 + #1860 + diagnostics (#2244/#1734/#1656). Three new `amd-dev` fences that would have got a Wine fence proxy go through `create_raw_fence` (`console_heap.rs` `signal_live_queues_for`, `vram.rs` `signal_device_queues`, `title_textures.rs` `submit_on_title_queue`). Retail 1.0.2.1, warm caches, `XCL_DIRECT_DXIL=1`. **What happens:** 3 of 3 runs at 30 fps until a deterministic crash at 104.5–106.7 s, before any `ListX #101`: `0xc0000005 in d3d12core.dll+0x56f58c (read at address 0x2a80)`. XCL's frame is `sparse::readback_now`, `sparse.rs:1903`: `s.queue.ExecuteCommandLists` of the pooled `ReadbackJob` list (`take_readback_job`, from 8549b14d "unlock sparse Map readback waits"), called from the `res_map` hook (a `Map` with a read range on a sparse buffer). 7.8 GB RAM and 8.9 GB VRAM at that point. For comparison, `main` `b49be18` + the same Wine stack + #2615/#2598/#751 presents to the end of 360 s runs (4 of 4, intro cutscene), so the stop looks specific to `amd-dev`'s readback path under Wine. **Question:** do your "raw fence/allocator/command-list fixes" cover this `ReadbackJob` list, and did your tree already have 8549b14d? If your fixes are on a public branch or in a gist, I'd test them here on RDNA3 rather than write my own. AI use: Claude Code (Claude Opus 5.5) ran the builds and runs and wrote this comment.
Author
Owner

@⁠jennydeth on GitHub · 2026-11-26 08:26 UTC · original

Follow-up to my RTX 3060 run above, same machine, same main 06c9f55, same route: two more 600 s runs on warm caches, after xcl shaders … --precompile --only cs --pipelines --used-only, still stop presenting at 94 s and 96 s. About 12 s later, with nothing compiling, the title asks for compute programs that no earlier run had built (0.89–1.21 MB of DXIL). The driver builds them one at a time, 44–85 s each for the ones that finished. In between, the title only issues a few dispatches. No crash or device removal in either warm run.

Setup: as in the first comment (RTX 3060 12 GB, driver 32.0.16.2101, 32 GB RAM, release, DXC 1.9.2609.5, XCL_NETWORK=0, scripts/smoke.ps1 -Seconds 600, the same XCL_PRESS_AT route). Before each run: xcl shaders "<game>\shaders.rpf" --precompile --only cs --pipelines --used-only. The first made 564 pipelines in 286 s; the second made 572 in 134 s, 571 of them from the driver cache. used-pipelines.txt went 803 → 811 → 819 entries.

first run (comment above) warm run 1 warm run 2
precompile before it – 564 pipelines 572 pipelines
frames shown 1966 1947 1963
last 2 s window with a present 100 s 94 s 96 s
driver compiles started: blob supplied / absent 10 / 37 143 / 8 152 / 7
compiles that took ≥ 20 s 3 5 4
peak commit 30 827 MB 32 760 MB 32 998 MB
crash / device removal none none none

After the last present:

  • In both warm runs, everything the first run had compiled came back with a driver blob, including record 95cc13288a27a96e (#1307), which had not finished in the first run. In run 2 the six records run 1 built also came back with a driver blob, at 9.2–9.5 s.
  • Warm run 1: 6 compute programs with no driver blob, 1.03–1.21 MB of DXIL each, starting at 108, 190, 278, 365, 462 and 563 s. Five finished, in 66.5, 72.8, 69.0, 80.3 and 75.2 s; the last was still building at 600 s.
  • Warm run 2: 5 such programs that run 1 had not reached, 0.89–1.16 MB, starting at 108, 169, 266, 367 and 485 s. Four finished, in 43.7, 78.2, 84.6 and 77.9 s; the fifth had not finished 115 s after it started.
  • No two of these builds overlapped. They are the only compiles over 1 s in either warm run, and there are idle gaps of 15–40 s between them.
  • In both warm runs the last 2 s window with any submits or draws ends at 96 s. After that there are only a few dispatches (14 in run 1, 12 in run 2), each in the 2 s window right after one of these builds finishes.
  • The last dumped frames (frame 1820, at 78 s and 81 s) are the loading artwork, fading out.

So on this card, the programs earlier runs reached come back from the driver cache, and each warm run then asks for 5–6 new ~1 MB programs, 4–5 of which finish within the 600 s, most taking 70–85 s to build. Presents stop about 12 s before the first of these starts, so these logs do not show that the builds are what stops the presents.

Current main 08db802 (600 s, same route, default settings, no precompile before it):

  • Presents stop at 96 s, with no crash or device removal, and peak commit 32 657 MB.
  • From 159 s, compute programs of 1.04–1.22 MB build one after another in 64–92 s each, with 5–9 s graphics compiles alongside. A 1.55 MB one started at 505 s was still building at 600 s.
  • Suite in release: 1429 passed, 0 failed, 47 ignored.

With XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1, all 2,689 compute programs built ahead on 08db802 (one process, 37.7 min, 8,684 pipelines, 0 refused):

  • Partly warm cache (2 runs of 900 s on 08db802): presents still stop at 100 s and 106 s, with no removal. After that the driver builds compute programs of ~0.6–1.0 MB, mostly 10–15 s each (8–22 s), one compute program after another.
  • Fully warm cache (1 run on 08db802): the long compiles are gone, but presents still stop at 102 s. The device is removed silently (0x887a0005) about 10 s after that.
  • The same removal comes in runs with #2404, #2519 and #2527 merged in. In a Series S profile run of 08db802, presents went on to 167 s and the device was removed at 320 s. The runs are in my comment on #2403.

For comparison only: @⁠bstillbstill's 3090 Ti (on #2057) reached the scene start on #2057's tree plus #1452's upload wait, and those runs then hit 0x887a0005 / 0x887a0006 or stopped presenting between 70 and 84 s. Their setup differed in several ways (#2057's switches, a 24 GB card, XCL_PRECOMPILE_SLICE in 4 processes, which main does not have). Without the direct-DXIL switches, a full precompile on the HLSL path here was much slower: I stopped it after 825 pipelines and ~73 min.

Correction to my first comment: "250 activity windows with 0 presents, 58 submits, 191 draws and 7 240 dispatches" counted the 2 s window ending at 100.3 s, which still had 3 presents (51 submits, 45 draws, 6 893 dispatches). The windows with no presents were 249, with 7 submits, 146 draws and 347 dispatches up to ~587 s. Nearly all of the submits and dispatches, but not the draws, fell in that one window.

Not tested: a full precompile on the HLSL path; more than two warm iterations on 06c9f55; default-settings runs longer than 600 s; AMD / wave64.

AI use: Claude Code (Claude Opus 5.5) ran the precompiles and the runs on my machine, read the logs and wrote this.

**@⁠jennydeth** on GitHub · 2026-11-26 08:26 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7186606214) **Follow-up to [my RTX 3060 run above](https://git.gtahub.st/github/xcl-dev--xcl/issues/846), same machine, same `main` `06c9f55`, same route: two more 600 s runs on warm caches, after `xcl shaders … --precompile --only cs --pipelines --used-only`, still stop presenting at 94 s and 96 s.** About 12 s later, with nothing compiling, the title asks for compute programs that no earlier run had built (0.89–1.21 MB of DXIL). The driver builds them one at a time, 44–85 s each for the ones that finished. In between, the title only issues a few dispatches. No crash or device removal in either warm run. **Setup:** as in the first comment (RTX 3060 12 GB, driver 32.0.16.2101, 32 GB RAM, release, DXC 1.9.2609.5, `XCL_NETWORK=0`, `scripts/smoke.ps1 -Seconds 600`, the same `XCL_PRESS_AT` route). Before each run: `xcl shaders "<game>\shaders.rpf" --precompile --only cs --pipelines --used-only`. The first made 564 pipelines in 286 s; the second made 572 in 134 s, 571 of them from the driver cache. `used-pipelines.txt` went 803 → 811 → 819 entries. | | first run (comment above) | warm run 1 | warm run 2 | |---|---:|---:|---:| | precompile before it | – | 564 pipelines | 572 pipelines | | frames shown | 1966 | 1947 | 1963 | | last 2 s window with a present | 100 s | 94 s | 96 s | | driver compiles started: blob supplied / absent | 10 / 37 | 143 / 8 | 152 / 7 | | compiles that took ≥ 20 s | 3 | 5 | 4 | | peak commit | 30 827 MB | 32 760 MB | 32 998 MB | | crash / device removal | none | none | none | **After the last present:** - In both warm runs, everything the first run had compiled came back with a driver blob, including record `95cc13288a27a96e` (#1307), which had not finished in the first run. In run 2 the six records run 1 built also came back with a driver blob, at 9.2–9.5 s. - **Warm run 1:** 6 compute programs with no driver blob, 1.03–1.21 MB of DXIL each, starting at 108, 190, 278, 365, 462 and 563 s. Five finished, in 66.5, 72.8, 69.0, 80.3 and 75.2 s; the last was still building at 600 s. - **Warm run 2:** 5 such programs that run 1 had not reached, 0.89–1.16 MB, starting at 108, 169, 266, 367 and 485 s. Four finished, in 43.7, 78.2, 84.6 and 77.9 s; the fifth had not finished 115 s after it started. - No two of these builds overlapped. They are the only compiles over 1 s in either warm run, and there are idle gaps of 15–40 s between them. - In both warm runs the last 2 s window with any submits or draws ends at 96 s. After that there are only a few dispatches (14 in run 1, 12 in run 2), each in the 2 s window right after one of these builds finishes. - The last dumped frames (frame 1820, at 78 s and 81 s) are the loading artwork, fading out. So on this card, the programs earlier runs reached come back from the driver cache, and each warm run then asks for 5–6 new ~1 MB programs, 4–5 of which finish within the 600 s, most taking 70–85 s to build. Presents stop about 12 s before the first of these starts, so these logs do not show that the builds are what stops the presents. **Current `main` `08db802`** (600 s, same route, default settings, no precompile before it): - Presents stop at 96 s, with no crash or device removal, and peak commit 32 657 MB. - From 159 s, compute programs of 1.04–1.22 MB build one after another in 64–92 s each, with 5–9 s graphics compiles alongside. A 1.55 MB one started at 505 s was still building at 600 s. - Suite in release: 1429 passed, 0 failed, 47 ignored. **With `XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1`**, all 2,689 compute programs built ahead on `08db802` (one process, 37.7 min, 8,684 pipelines, 0 refused): - **Partly warm cache** (2 runs of 900 s on `08db802`): presents still stop at 100 s and 106 s, with no removal. After that the driver builds compute programs of ~0.6–1.0 MB, mostly 10–15 s each (8–22 s), one compute program after another. - **Fully warm cache** (1 run on `08db802`): the long compiles are gone, but presents still stop at 102 s. The device is removed silently (`0x887a0005`) about 10 s after that. - The same removal comes in runs with #2404, #2519 and #2527 merged in. In a Series S profile run of `08db802`, presents went on to 167 s and the device was removed at 320 s. The runs are in [my comment on #2403](https://git.gtahub.st/github/xcl-dev--xcl/issues/2403). For comparison only: @⁠bstillbstill's 3090 Ti ([on #2057](https://git.gtahub.st/github/xcl-dev--xcl/pulls/2057)) reached the scene start on #2057's tree plus #1452's upload wait, and those runs then hit `0x887a0005` / `0x887a0006` or stopped presenting between 70 and 84 s. Their setup differed in several ways (#2057's switches, a 24 GB card, `XCL_PRECOMPILE_SLICE` in 4 processes, which `main` does not have). Without the direct-DXIL switches, a full precompile on the HLSL path here was much slower: I stopped it after 825 pipelines and ~73 min. **Correction to my first comment:** "250 activity windows with 0 presents, 58 submits, 191 draws and 7 240 dispatches" counted the 2 s window ending at 100.3 s, which still had 3 presents (51 submits, 45 draws, 6 893 dispatches). The windows with no presents were 249, with 7 submits, 146 draws and 347 dispatches up to ~587 s. Nearly all of the submits and dispatches, but not the draws, fell in that one window. **Not tested:** a full precompile on the HLSL path; more than two warm iterations on `06c9f55`; default-settings runs longer than 600 s; AMD / wave64. AI use: Claude Code (Claude Opus 5.5) ran the precompiles and the runs on my machine, read the logs and wrote this.
Author
Owner

@⁠GreemSC on GitHub · 2026-11-26 10:32 UTC · original

@⁠crazymanjared follow-up to my question above: the amd-dev crash under Wine at ~105 s has a likely cause and a one-line fix here (cc @⁠gustavsi for #867).

Cause (read from the code, then tested once): real::init builds the sparse state before adopting the device, so main's readback list is native. amd-dev's pooled ReadbackJob (8549b14d) makes its allocator and list later, through the device XCL has already adopted, so the creator! hook adopts them too. readback_now then submits that list with s.queue.ExecuteCommandLists, on a native queue: XCL's q_execute_command_lists hook, and #867's per-list UnadoptGuard, are never in the path. vkd3d-proton's d3d12_command_list_from_iface does not know the replaced vtable and returns NULL, and the submit reads through it (the crash reads at 0x2a80 in d3d12core.dll). A vkd3d-proton with the relaxed from_iface patch from #175 would not see it.

Fix tried: in sparse::readback_now, right after job.list.cast::<ID3D12CommandList>(), let _native = super::real::UnadoptGuard::new(job.list.as_raw()); for the ExecuteCommandLists call (the same pattern #867 uses in runner.rs::submit_list). A cleaner form would make the job's allocator and list through the device's original slots, as create_raw_fence does for fences.

Result (RX 7900 XT, RADV, Proton-CachyOS Wine 11, amd-dev b5c0275 + #1732 stack + #684 + #1860 + diagnostics; one 200 s run): no crash in 210 s, against 3 of 3 runs crashing at 104.5–106.7 s without the guard. The title then reaches ListX #101 at 138.6 s and stops presenting 1.5 s later (amd-dev has no #2615), with 0 device removals.

The same shape exists on nvidia-dev (rb_job / pc_execute, and #2749 keeps it), so it may bite any Wine user with an unpatched vkd3d-proton there too.

Not tested: more than one run, Windows (where the hook path does not matter), nvidia-dev.

AI use: Claude Code (Claude Opus 5.5) traced it with a read-only agent, made the one-line change, ran the run and wrote this.

**@⁠GreemSC** on GitHub · 2026-11-26 10:32 UTC · [original](https://github.com/xcl-dev/xcl/issues/846#issuecomment-7189501420) @⁠crazymanjared follow-up to my question above: the `amd-dev` crash under Wine at ~105 s has a likely cause and a one-line fix here (cc @⁠gustavsi for #867). **Cause (read from the code, then tested once):** `real::init` builds the sparse state before adopting the device, so `main`'s readback list is native. `amd-dev`'s pooled `ReadbackJob` (8549b14d) makes its allocator and list later, through the device XCL has already adopted, so the `creator!` hook adopts them too. `readback_now` then submits that list with `s.queue.ExecuteCommandLists`, on a native queue: XCL's `q_execute_command_lists` hook, and #867's per-list `UnadoptGuard`, are never in the path. vkd3d-proton's `d3d12_command_list_from_iface` does not know the replaced vtable and returns NULL, and the submit reads through it (the crash reads at 0x2a80 in `d3d12core.dll`). A vkd3d-proton with the relaxed `from_iface` patch from #175 would not see it. **Fix tried:** in `sparse::readback_now`, right after `job.list.cast::<ID3D12CommandList>()`, `let _native = super::real::UnadoptGuard::new(job.list.as_raw());` for the `ExecuteCommandLists` call (the same pattern #867 uses in `runner.rs::submit_list`). A cleaner form would make the job's allocator and list through the device's original slots, as `create_raw_fence` does for fences. **Result** (RX 7900 XT, RADV, Proton-CachyOS Wine 11, `amd-dev` `b5c0275` + #1732 stack + #684 + #1860 + diagnostics; one 200 s run): no crash in 210 s, against 3 of 3 runs crashing at 104.5–106.7 s without the guard. The title then reaches `ListX #101` at 138.6 s and stops presenting 1.5 s later (`amd-dev` has no #2615), with 0 device removals. The same shape exists on `nvidia-dev` (`rb_job` / `pc_execute`, and #2749 keeps it), so it may bite any Wine user with an unpatched vkd3d-proton there too. **Not tested:** more than one run, Windows (where the hook path does not matter), `nvidia-dev`. AI use: Claude Code (Claude Opus 5.5) traced it with a read-only agent, made the one-line change, ran the run and wrote this.
This discussion has been locked. Commenting is limited to contributors.
No description provided.