Retail title (1.0.2.1, Scarlett) on RTX 5070 Ti: 0 presents, 0xc000001d at +0x4e8aa70, called_stubs on ID3D12GraphicsCommandList10 #131/#132 #173

Closed
opened 2026-11-26 04:13:38 +00:00 by github-bot · 8 comments
Owner

@⁠z961089510-dev on GitHub · 2026-11-23 18:50 UTC · original

Game and package version

The retail title (Xbox Series 1.0.2.1) — / 1.0.2.1

What happens

The title boots: PE load, static TLS, kernelx, XGameRuntime, 8 game DLLs, VFS mount, a 1920x1080
console window, two 3840x2160 display targets, and DirectStorage streaming thousands of zlib
chunks out of the package RPFs. It never presents a frame (presents = 0) and exits with
0xc000001d at game_scarlett_master.exe+0x4e8aa70 — deterministically, twice on the same build.

called_stubs:

dll function calls first caller
d3d12_xs.dll ID3D12GraphicsCommandList10::#131 (not on PC) 4 game_scarlett_master.exe+0x2478cba
d3d12_xs.dll ID3D12GraphicsCommandList10::#132 (not on PC) 4 game_scarlett_master.exe+0x2478c99
d3d12_xs.dll ID3D12GraphicsCommandList10::#131 (not on PC) 1 game_scarlett_master.exe+0x2478bc5
d3d12_xs.dll ID3D12GraphicsCommandList10::#132 (not on PC) 1 game_scarlett_master.exe+0x2478ba4

All four come from one caller cluster around exe+0x2478b9x … 0x2478cbx.

Crash:

unhandled exception 0xc000001d in game_scarlett_master.exe+0x4e8aa70
rcx=0x1fe3fb84c00 (vtable game_scarlett_master.exe+0x61e06a0)
rsp=0x5c6e1ff7b8 (vtable game_scarlett_master.exe+0x4e8a9fd)
on the stack: exe+0x4e8a9fd, xcl.exe+0x2f9b39, exe+0x4e8a64d, exe+0x4dac5fa, exe+0x4b95b, exe+0x71c1560

0xc000001d = illegal instruction. With a vtable in rcx/rsi/r15 and an xcl.exe frame in the middle
of the stack, my guess is a virtual call resolved to a slot that is not code, rather than a missing
ISA extension (the title is Zen 2 code, this CPU has no gap there).

I could not prove the stub calls and the fault are the same path: the stub callers (+0x2478xxx)
and the fault chain (+0x4e8axxx) are in different regions.

Compared with #159 (RX 6600: 2 presents, 50,597 pipelines), this NVIDIA run stops much earlier
(54 pipelines, 0 presents).

Thread snapshot: 91 threads; 19 × xcl-pso-*, 19 × xcl-dxc-*, D3D Background Thread 0 inside
nvgpucomp64.dll, xcl-dstorage active. Not a deadlock — the process is working when it faults.

XCL version

956a476 (release build)

GPU and driver version

NVIDIA GeForce RTX 5070 Ti, 32.0.16.2101

Windows version

Windows 11 26200

report.json and xcl.log

xcl.log
report.json

Console output

XCL 0.1.0 – starting '<package id>'
  exe:   ...\game_scarlett_master.exe
  MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A
  console: imports d3d12_xs.dll
  GPU: NVIDIA GeForce RTX 5070 Ti (15995 MiB VRAM)
  NOTE: waves of 32–32 lanes: the console's 64-lane programs run as two 32-lane halves ...
xcl: VFS: 30 file hooks active
...
xcl: [STUB] d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC) first called from game_scarlett_master.exe+0x2478ba4 → returning 0x0
xcl: [STUB] d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC) first called from game_scarlett_master.exe+0x2478bc5 → returning 0x0
...
xcl: unhandled exception 0xc000001d in game_scarlett_master.exe+0x4e8aa70 ...
Game exited with code 0xc000001d (3221225501)
Imports: 1186 (...)
Unimplemented functions called (4):
         4×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC)   (first call: game_scarlett_master.exe+0x2478cba)
         4×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC)   (first call: game_scarlett_master.exe+0x2478c99)
         1×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC)   (first call: game_scarlett_master.exe+0x2478bc5)
         1×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC)   (first call: game_scarlett_master.exe+0x2478ba4)
**@⁠z961089510-dev** on GitHub · 2026-11-23 18:50 UTC · [original](https://github.com/xcl-dev/xcl/issues/173) ### Game and package version The retail title (Xbox Series 1.0.2.1) — <package id> / 1.0.2.1 ### What happens The title boots: PE load, static TLS, kernelx, XGameRuntime, 8 game DLLs, VFS mount, a 1920x1080 console window, two 3840x2160 display targets, and DirectStorage streaming thousands of zlib chunks out of the package RPFs. It never presents a frame (presents = 0) and exits with 0xc000001d at game_scarlett_master.exe+0x4e8aa70 — deterministically, twice on the same build. called_stubs: | dll | function | calls | first caller | |---|---|---|---| | d3d12_xs.dll | `ID3D12GraphicsCommandList10::#131 (not on PC)` | 4 | `game_scarlett_master.exe+0x2478cba` | | d3d12_xs.dll | `ID3D12GraphicsCommandList10::#132 (not on PC)` | 4 | `game_scarlett_master.exe+0x2478c99` | | d3d12_xs.dll | `ID3D12GraphicsCommandList10::#131 (not on PC)` | 1 | `game_scarlett_master.exe+0x2478bc5` | | d3d12_xs.dll | `ID3D12GraphicsCommandList10::#132 (not on PC)` | 1 | `game_scarlett_master.exe+0x2478ba4` | All four come from one caller cluster around `exe+0x2478b9x … 0x2478cbx`. Crash: ``` unhandled exception 0xc000001d in game_scarlett_master.exe+0x4e8aa70 rcx=0x1fe3fb84c00 (vtable game_scarlett_master.exe+0x61e06a0) rsp=0x5c6e1ff7b8 (vtable game_scarlett_master.exe+0x4e8a9fd) on the stack: exe+0x4e8a9fd, xcl.exe+0x2f9b39, exe+0x4e8a64d, exe+0x4dac5fa, exe+0x4b95b, exe+0x71c1560 ``` `0xc000001d` = illegal instruction. With a vtable in rcx/rsi/r15 and an xcl.exe frame in the middle of the stack, my guess is a virtual call resolved to a slot that is not code, rather than a missing ISA extension (the title is Zen 2 code, this CPU has no gap there). I could not prove the stub calls and the fault are the same path: the stub callers (`+0x2478xxx`) and the fault chain (`+0x4e8axxx`) are in different regions. Compared with #159 (RX 6600: 2 presents, 50,597 pipelines), this NVIDIA run stops much earlier (54 pipelines, 0 presents). Thread snapshot: 91 threads; 19 × `xcl-pso-*`, 19 × `xcl-dxc-*`, `D3D Background Thread 0` inside `nvgpucomp64.dll`, `xcl-dstorage` active. Not a deadlock — the process is working when it faults. ### XCL version 956a476 (release build) ### GPU and driver version NVIDIA GeForce RTX 5070 Ti, 32.0.16.2101 ### Windows version Windows 11 26200 ### report.json and xcl.log [xcl.log](https://github.com/user-attachments/files/35291846/xcl.log) [report.json](https://github.com/user-attachments/files/35291847/report.json) ### Console output ```text XCL 0.1.0 – starting '<package id>' exe: ...\game_scarlett_master.exe MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A console: imports d3d12_xs.dll GPU: NVIDIA GeForce RTX 5070 Ti (15995 MiB VRAM) NOTE: waves of 32–32 lanes: the console's 64-lane programs run as two 32-lane halves ... xcl: VFS: 30 file hooks active ... xcl: [STUB] d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC) first called from game_scarlett_master.exe+0x2478ba4 → returning 0x0 xcl: [STUB] d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC) first called from game_scarlett_master.exe+0x2478bc5 → returning 0x0 ... xcl: unhandled exception 0xc000001d in game_scarlett_master.exe+0x4e8aa70 ... Game exited with code 0xc000001d (3221225501) Imports: 1186 (...) Unimplemented functions called (4): 4× d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC) (first call: game_scarlett_master.exe+0x2478cba) 4× d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC) (first call: game_scarlett_master.exe+0x2478c99) 1× d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC) (first call: game_scarlett_master.exe+0x2478bc5) 1× d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC) (first call: game_scarlett_master.exe+0x2478ba4) ```
github-bot 2026-11-26 04:13:38 +00:00
  • closed this issue
  • added the
    bug
    label
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:38 +00:00
Author
Owner

@⁠phantom54 on GitHub · 2026-11-23 19:00 UTC · original · edited 2026-11-23 19:01 UTC

similar issue for me: 956a476
Windows 11 26H2 26300.10075
Intel i7-13700f
32gb DDR4 RAM
RTX 2070 Super (32.0.16.2114)

console output.txt
report.json
xcl.log

**@⁠phantom54** on GitHub · 2026-11-23 19:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7110956099) · edited 2026-11-23 19:01 UTC similar issue for me: 956a476 Windows 11 26H2 26300.10075 Intel i7-13700f 32gb DDR4 RAM RTX 2070 Super (32.0.16.2114) [console output.txt](https://github.com/user-attachments/files/35292339/console.output.txt) [report.json](https://github.com/user-attachments/files/35292347/report.json) [xcl.log](https://github.com/user-attachments/files/35292348/xcl.log)
Author
Owner

@⁠theaustinayers on GitHub · 2026-11-23 19:19 UTC · original

A data point that may save some time on this one.

The fault is an instruction, not a bad virtual call. The bytes at game_scarlett_master.exe+0x4e8aa70 are 0F 01 FC, which is clzero. It sits in a small loop:

44E8AA90: 0F 01 FC     clzero
44E8AA93: 48 83 C0 40  add rax,40h
44E8AA97: 4C 39 D0     cmp rax,r10
44E8AA9A: 72 F4        jb  44E8AA90

(the copy at +0x4e8aa70 is the same sequence). clzero exists only on AMD CPUs, so on an Intel CPU it raises 0xc000001d. The second report above is on an i7-13700F, which fits. If the original report is on an Intel CPU too, that settles it.

Open PR #151 already covers this: it emulates clzero (and clwb, rdpru, monitorx / mwaitx, rdpid) in the exception handler. This issue looks like a duplicate of what that PR fixes.

The #131 / #132 command-list stubs are unrelated. They are called on runs that get much further: on a Ryzen 9 9950X3D with an RTX 5090, the same title on 956a476 calls them and goes on to present frames at 30 fps (black, as the README says).

If you want to try it: an unofficial build with #151 applied (plus #163, #168, #170 and some local changes) is here, with its source at the same tag: https://github.com/theaustinayers/xcl/releases/tag/v0.1.0-mod.3

Caveats: I could only run that build on an AMD CPU, so the Intel path is untested by me (the PR's own unit test passes). On the RTX 5090 it gets the title through render-target setup and then stops after about a minute with a device removal, so expect to get further, not to a picture.

(Disassembly with dumpbin; analysis done with Claude Code.)

**@⁠theaustinayers** on GitHub · 2026-11-23 19:19 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7111445178) A data point that may save some time on this one. **The fault is an instruction, not a bad virtual call.** The bytes at `game_scarlett_master.exe+0x4e8aa70` are `0F 01 FC`, which is `clzero`. It sits in a small loop: ``` 44E8AA90: 0F 01 FC clzero 44E8AA93: 48 83 C0 40 add rax,40h 44E8AA97: 4C 39 D0 cmp rax,r10 44E8AA9A: 72 F4 jb 44E8AA90 ``` (the copy at `+0x4e8aa70` is the same sequence). `clzero` exists only on AMD CPUs, so on an Intel CPU it raises `0xc000001d`. The second report above is on an i7-13700F, which fits. If the original report is on an Intel CPU too, that settles it. **Open PR #151 already covers this**: it emulates `clzero` (and `clwb`, `rdpru`, `monitorx` / `mwaitx`, `rdpid`) in the exception handler. This issue looks like a duplicate of what that PR fixes. **The `#131` / `#132` command-list stubs are unrelated.** They are called on runs that get much further: on a Ryzen 9 9950X3D with an RTX 5090, the same title on 956a476 calls them and goes on to present frames at 30 fps (black, as the README says). **If you want to try it:** an unofficial build with #151 applied (plus #163, #168, #170 and some local changes) is here, with its source at the same tag: https://github.com/theaustinayers/xcl/releases/tag/v0.1.0-mod.3 Caveats: I could only run that build on an AMD CPU, so the Intel path is untested by me (the PR's own unit test passes). On the RTX 5090 it gets the title through render-target setup and then stops after about a minute with a device removal, so expect to get further, not to a picture. (Disassembly with `dumpbin`; analysis done with Claude Code.)
Author
Owner

@⁠adastmin1 on GitHub · 2026-11-23 19:38 UTC · original

image
**@⁠adastmin1** on GitHub · 2026-11-23 19:38 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7111880028) <img width="1268" height="689" alt="image" src="https://github.com/user-attachments/assets/e001c19a-097b-4725-a048-b09b35d50b5a" />
Author
Owner

@⁠z961089510-dev on GitHub · 2026-11-23 20:00 UTC · original

Update from an Intel machine with #151 applied (merged onto 956a476, merge commit 934b095).

Environment

CPU Intel Core Ultra 7 265K (Arrow Lake, 20C / 20T, no SMT)
GPU NVIDIA GeForce RTX 5070 Ti, 16 GB (15995 MiB reported)
GPU driver 32.0.16.2101
OS Windows 11 Pro, build 26200
RAM 31 GB (33,003,008 KB as reported by the title)
System xgameruntime.dll 10.0.26100.9656
Build rustc 1.100.0, MSVC 14.44.35207, DXC 10.0.26100.0
XCL 956a476 + PR #151 merged locally (934b095), release build
Title RockstarGamesInc.28872443D20A7 1.0.2.1, unpacked; exe SHA-256 e95020b2…d5a08993

The original fault is gone

xcl: Clzero in game_scarlett_master.exe+0x4e8aa70 – a console CPU instruction this CPU lacks: emulated (logged once)

After that the title presents:

xcl: D3D12.X: PresentX – the title presents its own frames (1 plane(s))
xcl: present: swap chain 3840x2160 DXGI_FORMAT(28) – the game image will appear in the XCL window
xcl: present: first game frame shown (3840x2160)
  • Run 1 (cold cache): 151 presents, 151 frame boundaries, 280 draws with translated pipelines (0 skipped, 0 with PC pipelines), 64 dispatches (0 skipped), 3,556 pipelines translated, 2,292 built in the background, 807 failed.
  • Run 2 (DXIL cache warm): 14 presents, 50,619 pipelines translated, 807 failed.
  • DXIL cache after run 1: 1,740 files / 111 MB in %LOCALAPPDATA%\xcl\dxil.

The new stop (deterministic)

unhandled exception 0x80000003 in game_scarlett_master.exe+0x344196
rax=0xf3fdcfe3a8 rbx=0x76 rcx=0x24d5e450fc0 rdx=0x0 rsi=0xf3fdcfe420 rdi=0xf3fdcfe3a8 rbp=0x30
r8=0x23da2827ec0 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00 rsp=0xf3fdcfe370
on the stack: exe+0x71c1560, exe+0x71c27c0, exe+0x71c1560, exe+0x6a0a6, exe+0x51fbdb5, exe+0x4fac3d7

Both runs stop at the same RVA with the same non-ASLR registers (rbx=0x76 rbp=0x30 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00), so it looks deterministic rather than timing-dependent.

0x80000003 is a breakpoint/assert, not an illegal instruction, so this is a different class of
stop from the 0xc000001d this issue reported.

Not the network

With XCL_NETWORK=0 the title stops at the same +0x344196. The only differences:

xcl: XCL_NETWORK=0: WinHttpSendRequest fails (no network)
xcl: …WinHttpSendRequest error: 12007

i.e. the title's own Breakpad upload never leaves the machine (0 × HTTP 200, 1 × 12007) and the
auth-arc-prod.ros.rockstargames.com ticket requests never happen at all. In the online run those
requests failed with 0x80072EFD (no Xbox Live) seven or eight times before the assert.

Not the command-list stubs

ID3D12GraphicsCommandList10::#131 / #132 are still called in this configuration (4 + 1 calls
each, same caller cluster around exe+0x2478b9x…0x2478cbx) and frames come out anyway, so they are
not part of this stop either.

Attachments

report.json (run 2, XCL_NETWORK=0), report.prev.json (run 1, online, 151 presents), xcl.log,
xcl.prev.log — all from %LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\. No dumps, no
game files.

Happy to bisect this, test a patch on the Intel path, or dump more state at +0x344196 if a
specific trace is useful.

report.json
report.prev.json
xcl.log
xcl.prev.log

**@⁠z961089510-dev** on GitHub · 2026-11-23 20:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7112429639) Update from an Intel machine with **#151 applied** (merged onto `956a476`, merge commit `934b095`). ## Environment | | | |---|---| | CPU | Intel Core Ultra 7 265K (Arrow Lake, 20C / 20T, no SMT) | | GPU | NVIDIA GeForce RTX 5070 Ti, 16 GB (15995 MiB reported) | | GPU driver | 32.0.16.2101 | | OS | Windows 11 Pro, build 26200 | | RAM | 31 GB (33,003,008 KB as reported by the title) | | System `xgameruntime.dll` | 10.0.26100.9656 | | Build | rustc 1.100.0, MSVC 14.44.35207, DXC 10.0.26100.0 | | XCL | `956a476` + PR #151 merged locally (`934b095`), release build | | Title | `RockstarGamesInc.28872443D20A7` 1.0.2.1, unpacked; exe SHA-256 `e95020b2…d5a08993` | ## The original fault is gone ``` xcl: Clzero in game_scarlett_master.exe+0x4e8aa70 – a console CPU instruction this CPU lacks: emulated (logged once) ``` After that the title presents: ``` xcl: D3D12.X: PresentX – the title presents its own frames (1 plane(s)) xcl: present: swap chain 3840x2160 DXGI_FORMAT(28) – the game image will appear in the XCL window xcl: present: first game frame shown (3840x2160) ``` - Run 1 (cold cache): **151 presents**, 151 frame boundaries, `280 draws with translated pipelines (0 skipped, 0 with PC pipelines)`, 64 dispatches (0 skipped), 3,556 pipelines translated, 2,292 built in the background, 807 failed. - Run 2 (DXIL cache warm): **14 presents**, 50,619 pipelines translated, 807 failed. - DXIL cache after run 1: 1,740 files / 111 MB in `%LOCALAPPDATA%\xcl\dxil`. ## The new stop (deterministic) ``` unhandled exception 0x80000003 in game_scarlett_master.exe+0x344196 rax=0xf3fdcfe3a8 rbx=0x76 rcx=0x24d5e450fc0 rdx=0x0 rsi=0xf3fdcfe420 rdi=0xf3fdcfe3a8 rbp=0x30 r8=0x23da2827ec0 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00 rsp=0xf3fdcfe370 on the stack: exe+0x71c1560, exe+0x71c27c0, exe+0x71c1560, exe+0x6a0a6, exe+0x51fbdb5, exe+0x4fac3d7 ``` Both runs stop at the same RVA with the same non-ASLR registers (`rbx=0x76 rbp=0x30 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00`), so it looks deterministic rather than timing-dependent. `0x80000003` is a breakpoint/assert, not an illegal instruction, so this is a different class of stop from the `0xc000001d` this issue reported. ## Not the network With `XCL_NETWORK=0` the title stops at **the same `+0x344196`**. The only differences: ``` xcl: XCL_NETWORK=0: WinHttpSendRequest fails (no network) xcl: …WinHttpSendRequest error: 12007 ``` i.e. the title's own Breakpad upload never leaves the machine (0 × HTTP 200, 1 × 12007) and the `auth-arc-prod.ros.rockstargames.com` ticket requests never happen at all. In the online run those requests failed with `0x80072EFD` (`no Xbox Live`) seven or eight times before the assert. ## Not the command-list stubs `ID3D12GraphicsCommandList10::#131` / `#132` are still called in this configuration (4 + 1 calls each, same caller cluster around `exe+0x2478b9x…0x2478cbx`) and frames come out anyway, so they are not part of this stop either. ## Attachments `report.json` (run 2, `XCL_NETWORK=0`), `report.prev.json` (run 1, online, 151 presents), `xcl.log`, `xcl.prev.log` — all from `%LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\`. No dumps, no game files. Happy to bisect this, test a patch on the Intel path, or dump more state at `+0x344196` if a specific trace is useful. [report.json](https://github.com/user-attachments/files/35297053/report.json) [report.prev.json](https://github.com/user-attachments/files/35297054/report.prev.json) [xcl.log](https://github.com/user-attachments/files/35297052/xcl.log) [xcl.prev.log](https://github.com/user-attachments/files/35297051/xcl.prev.log)
Author
Owner

@⁠engme66 on GitHub · 2026-11-23 20:15 UTC · original

<html>

Same crash here, on AMD + NVIDIA — another data point for the deterministic +0x344196 assert.

Environment

  |   -- | -- CPU | AMD Ryzen 7 5800X (8C / 16T) GPU | NVIDIA GeForce RTX 2070 SUPER, 8 GB OS | Windows 11 Home Insider Preview, Build 29708.1003 RAM | 32 GB XCL | 956a476 (release build, no PR #151) Title | RockstarGamesInc.28872443D20A7 1.0.2.1, unpacked

Crash

Game exited with code 0x80000003 (2147483651)
CRASH: unhandled exception 0x80000003 in game_scarlett_master.exe+0x344196 rax=0x8c8aece948 rbx=0x76 rcx=0x8000480000 rdx=0x80001069c0 rsi=0x8c8aece9c0 rdi=0x8c8aece948 rbp=0x30 r8=0x64 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00 rsp=0x8c8aece910; on the stack: game_scarlett_master.exe+0x71c1560, game_scarlett_master.exe+0x71c27c0, game_scarlett_master.exe+0x6a0a6, game_scarlett_master.exe+0x51fbdb5, game_scarlett_master.exe+0x4fac3d7, game_scarlett_master.exe+0x4b95b

Same RVA and same non-ASLR registers as the report above (rbx=0x76 rbp=0x30 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00), so this reproduces on AMD + Turing as well — not Intel/50-series-specific.

Notes

  • No Clzero fault on this machine — the Ryzen 5800X has the instruction natively, so the run went straight to the +0x344196 assert without needing PR #151.
  • Called stubs were much hotter than in #159 (4,743× ID3D12CommandAllocator::#9, 4,742× ID3D12GraphicsCommandList12::#126 / #142 / #75, 179× XGTextureAddressComputer::#10), so the title ran for a while before stopping.
  • This run was online (XCL_NETWORK=0 was not set for this run).

Attachments

report.json, xcl.log from %LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\.

</html>

report.prev.json
xcl.log
xcl.prev.log
report.json

**@⁠engme66** on GitHub · 2026-11-23 20:15 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7112812273) <html> <body> <!--StartFragment--><p class="text-response mb-3"><span style="white-space: pre-wrap;">Same crash here, on AMD + NVIDIA — another data point for the deterministic </span><code spellcheck="false" style="white-space: pre-wrap;"><span>+0x344196</span></code><span style="white-space: pre-wrap;"> assert.</span></p><h2 class="text-title-2-emphasized mb-3"><span style="white-space: pre-wrap;">Environment</span></h2>   |   -- | -- CPU | AMD Ryzen 7 5800X (8C / 16T) GPU | NVIDIA GeForce RTX 2070 SUPER, 8 GB OS | Windows 11 Home Insider Preview, Build 29708.1003 RAM | 32 GB XCL | 956a476 (release build, no PR #151) Title | RockstarGamesInc.28872443D20A7 1.0.2.1, unpacked <h2 class="text-title-2-emphasized mb-3"><span style="white-space: pre-wrap;">Crash</span></h2><pre class="font-mono text-[0.9375rem] bg-[var(--wash)] text-[var(--code-inline)] px-0.5 rounded" spellcheck="false"><span style="white-space: pre-wrap;">Game exited with code 0x80000003 (2147483651) CRASH: unhandled exception 0x80000003 in game_scarlett_master.exe+0x344196 rax=0x8c8aece948 rbx=0x76 rcx=0x8000480000 rdx=0x80001069c0 rsi=0x8c8aece9c0 rdi=0x8c8aece948 rbp=0x30 r8=0x64 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00 rsp=0x8c8aece910; on the stack: game_scarlett_master.exe+0x71c1560, game_scarlett_master.exe+0x71c27c0, game_scarlett_master.exe+0x6a0a6, game_scarlett_master.exe+0x51fbdb5, game_scarlett_master.exe+0x4fac3d7, game_scarlett_master.exe+0x4b95b</span></pre><p class="text-response mb-3"><span style="white-space: pre-wrap;">Same RVA and same non-ASLR registers as the report above (</span><code spellcheck="false" style="white-space: pre-wrap;"><span>rbx=0x76 rbp=0x30 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00</span></code><span style="white-space: pre-wrap;">), so this reproduces on AMD + Turing as well — not Intel/50-series-specific.</span></p><h2 class="text-title-2-emphasized mb-3"><span style="white-space: pre-wrap;">Notes</span></h2><ul class="list-none ps-5 mb-3 [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:relative [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:ps-1 [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:content-[''] [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:absolute [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:-start-2 [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:top-[0.65em] [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:size-[3px] [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:rounded-full [&amp;&gt;li:not([role=checkbox],:has(&gt;ul,&gt;ol))]:before:bg-current"><li value="1" class="text-response"><span style="white-space: pre-wrap;">No </span><code spellcheck="false" style="white-space: pre-wrap;"><span>Clzero</span></code><span style="white-space: pre-wrap;"> fault on this machine — the Ryzen 5800X has the instruction natively, so the run went straight to the </span><code spellcheck="false" style="white-space: pre-wrap;"><span>+0x344196</span></code><span style="white-space: pre-wrap;"> assert without needing PR #151.</span></li><li value="2" class="text-response"><span style="white-space: pre-wrap;">Called stubs were much hotter than in #159 (4,743× </span><code spellcheck="false" style="white-space: pre-wrap;"><span>ID3D12CommandAllocator::#9</span></code><span style="white-space: pre-wrap;">, 4,742× </span><code spellcheck="false" style="white-space: pre-wrap;"><span>ID3D12GraphicsCommandList12::#126</span></code><span style="white-space: pre-wrap;"> / </span><code spellcheck="false" style="white-space: pre-wrap;"><span>#142</span></code><span style="white-space: pre-wrap;"> / </span><code spellcheck="false" style="white-space: pre-wrap;"><span>#75</span></code><span style="white-space: pre-wrap;">, 179× </span><code spellcheck="false" style="white-space: pre-wrap;"><span>XGTextureAddressComputer::#10</span></code><span style="white-space: pre-wrap;">), so the title ran for a while before stopping.</span></li><li value="3" class="text-response"><span style="white-space: pre-wrap;">This run was online (</span><code spellcheck="false" style="white-space: pre-wrap;"><span>XCL_NETWORK=0</span></code><span style="white-space: pre-wrap;"> was not set for this run).</span></li></ul><h2 class="text-title-2-emphasized mb-3"><span style="white-space: pre-wrap;">Attachments</span></h2><p class="text-response mb-3"><code spellcheck="false" style="white-space: pre-wrap;"><span>report.json</span></code><span style="white-space: pre-wrap;">, </span><code spellcheck="false" style="white-space: pre-wrap;"><span>xcl.log</span></code><span style="white-space: pre-wrap;"> from </span><code spellcheck="false" style="white-space: pre-wrap;"><span>%LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\</span></code><span style="white-space: pre-wrap;">.</span></p><!--EndFragment--> </body> </html> [report.prev.json](https://github.com/user-attachments/files/35297583/report.prev.json) [xcl.log](https://github.com/user-attachments/files/35297581/xcl.log) [xcl.prev.log](https://github.com/user-attachments/files/35297584/xcl.prev.log) [report.json](https://github.com/user-attachments/files/35297582/report.json)
Author
Owner

@⁠ryosen0 on GitHub · 2026-11-23 20:38 UTC · original

The register set in your #151 update (rbx=0x76 rbp=0x30 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00) matches ours exactly. Traced it on 956a476 (9800X3D, RTX 3060 Ti):

  • +0x344188 calls device #25 GetResourceAllocationInfo; the title traps at +0x344196 when the returned size's high dword is non-zero (size >= 4 GiB). XCL returns u64::MAX there because xg::Texture::new fails E_INVALIDARG on format 118 (Xbox D16_UNORM_S8_UINT): xg::element() has no entry for 116..=119.
  • Adding 116..=119 => (2, 1) to element() removes this assert. The next stop is then +0x14a6390: a format-capability record check for format 118 (+0x34beb0 -> +0x2478140) returning 0.

So #151 clears the CPU-instruction fault and the remaining +0x344196 is a format-table gap, not CPU-side. The descriptors at the failing call are 2560x1440 (and 1024x1024) D16S8. #163's format remap may overlap here - worth checking whether element() still rejects 118 after #163, since the allocation-info path goes through XG's own model, not the PC desc remap.

**@⁠ryosen0** on GitHub · 2026-11-23 20:38 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7113350584) The register set in your #151 update (`rbx=0x76 rbp=0x30 r9=0x6 r12=0x384000 r13=0x5a0 r14=0x3 r15=0xa00`) matches ours exactly. Traced it on 956a476 (9800X3D, RTX 3060 Ti): - `+0x344188` calls device #25 `GetResourceAllocationInfo`; the title traps at `+0x344196` when the returned size's high dword is non-zero (size >= 4 GiB). XCL returns `u64::MAX` there because `xg::Texture::new` fails `E_INVALIDARG` on format 118 (Xbox D16_UNORM_S8_UINT): `xg::element()` has no entry for 116..=119. - Adding `116..=119 => (2, 1)` to `element()` removes this assert. The next stop is then `+0x14a6390`: a format-capability record check for format 118 (`+0x34beb0` -> `+0x2478140`) returning 0. So #151 clears the CPU-instruction fault and the remaining `+0x344196` is a format-table gap, not CPU-side. The descriptors at the failing call are 2560x1440 (and 1024x1024) D16S8. #163's format remap may overlap here - worth checking whether `element()` still rejects 118 after #163, since the allocation-info path goes through XG's own model, not the PC desc remap.
Author
Owner

@⁠ivall on GitHub · 2026-11-23 21:14 UTC · original

Both stops in this report are fixed on main: the 0xc000001d at +0x4e8aa70 is CLZERO (emulated since #151, SSE4a since 0cd0a53), and the int3 at +0x344196 (ryosen0's trace: GetResourceAllocationInfo answering u64::MAX for the D16S8 depth formats 118-120) is fixed by the console's D16S8 layouts in XG (38b05b7). On an RX 9070 the game now reaches its first menu at 30 fps (~19 GB of commit). Closing - please open a new issue with a fresh log from current main for whatever comes next.

**@⁠ivall** on GitHub · 2026-11-23 21:14 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7114201941) Both stops in this report are fixed on main: the `0xc000001d` at `+0x4e8aa70` is CLZERO (emulated since #151, SSE4a since 0cd0a53), and the `int3` at `+0x344196` (ryosen0's trace: GetResourceAllocationInfo answering u64::MAX for the D16S8 depth formats 118-120) is fixed by the console's D16S8 layouts in XG (38b05b7). On an RX 9070 the game now reaches its first menu at 30 fps (~19 GB of commit). Closing - please open a new issue with a fresh log from current main for whatever comes next.
Author
Owner

@⁠dramikei on GitHub · 2026-11-23 21:18 UTC · original

@⁠theaustinayers build seems to have reached till menus, pls raise upstream PR!

**@⁠dramikei** on GitHub · 2026-11-23 21:18 UTC · [original](https://github.com/xcl-dev/xcl/issues/173#issuecomment-7114279474) @⁠theaustinayers build seems to have reached till menus, pls raise upstream PR!
This discussion has been locked. Commenting is limited to contributors.
No description provided.