Repository navigation
Description
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
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)
Activity
phantom54 commentedon Nov 23, 2026
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
theaustinayers commentedon Nov 23, 2026
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+0x4e8aa70are0F 01 FC, which isclzero. It sits in a small loop:(the copy at
+0x4e8aa70is the same sequence).clzeroexists only on AMD CPUs, so on an Intel CPU it raises0xc000001d. 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(andclwb,rdpru,monitorx/mwaitx,rdpid) in the exception handler. This issue looks like a duplicate of what that PR fixes.The
#131/#132command-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.)adastmin1 commentedon Nov 23, 2026
z961089510-dev commentedon Nov 23, 2026
Update from an Intel machine with #151 applied (merged onto
956a476, merge commit934b095).Environment
xgameruntime.dll956a476+ PR #151 merged locally (934b095), release buildRockstarGamesInc.28872443D20A71.0.2.1, unpacked; exe SHA-256e95020b2…d5a08993The original fault is gone
After that the title presents:
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.%LOCALAPPDATA%\xcl\dxil.The new stop (deterministic)
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.0x80000003is a breakpoint/assert, not an illegal instruction, so this is a different class ofstop from the
0xc000001dthis issue reported.Not the network
With
XCL_NETWORK=0the title stops at the same+0x344196. The only differences:i.e. the title's own Breakpad upload never leaves the machine (0 × HTTP 200, 1 × 12007) and the
auth-arc-prod.ros.rockstargames.comticket requests never happen at all. In the online run thoserequests failed with
0x80072EFD(no Xbox Live) seven or eight times before the assert.Not the command-list stubs
ID3D12GraphicsCommandList10::#131/#132are still called in this configuration (4 + 1 callseach, same caller cluster around
exe+0x2478b9x…0x2478cbx) and frames come out anyway, so they arenot 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, nogame files.
Happy to bisect this, test a patch on the Intel path, or dump more state at
+0x344196if aspecific trace is useful.
report.json
report.prev.json
xcl.log
xcl.prev.log
engme66 commentedon Nov 23, 2026
Same crash here, on AMD + NVIDIA — another data point for the deterministic
+0x344196assert.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, unpackedCrash
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+0x4b95bSame 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
Clzerofault on this machine — the Ryzen 5800X has the instruction natively, so the run went straight to the+0x344196assert without needing PR Console CPU instructions a PC CPU lacks are emulated: clwb, clzero, r… #151.ID3D12CommandAllocator::#9, 4,742×ID3D12GraphicsCommandList12::#126/#142/#75, 179×XGTextureAddressComputer::#10), so the title ran for a while before stopping.XCL_NETWORK=0was not set for this run).Attachments
report.json,xcl.logfrom%LOCALAPPDATA%\XCL\RockstarGamesInc.28872443D20A7\logs\.report.prev.json
xcl.log
xcl.prev.log
report.json
ryosen0 commentedon Nov 23, 2026
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):+0x344188calls device test: accept all valid Windows MMDevice endpoint ID formats in audio test #25GetResourceAllocationInfo; the title traps at+0x344196when the returned size's high dword is non-zero (size >= 4 GiB). XCL returnsu64::MAXthere becausexg::Texture::newfailsE_INVALIDARGon format 118 (Xbox D16_UNORM_S8_UINT):xg::element()has no entry for 116..=119.116..=119 => (2, 1)toelement()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
+0x344196is 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 whetherelement()still rejects 118 after #163, since the allocation-info path goes through XG's own model, not the PC desc remap.ivall commentedon Nov 23, 2026
Both stops in this report are fixed on main: the
0xc000001dat+0x4e8aa70is CLZERO (emulated since #151, SSE4a since 0cd0a53), and theint3at+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.dramikei commentedon Nov 23, 2026
@theaustinayers build seems to have reached till menus, pls raise upstream PR!
D3D12.X: format queries about the console's own formats (116 – 120) a…
[-]GTA 6 (1.0.2.1, Scarlett) on RTX 5070 Ti: 0 presents, 0xc000001d at +0x4e8aa70, called_stubs on ID3D12GraphicsCommandList10 #131/#132[/-][+]Retail title (1.0.2.1, Scarlett) on RTX 5070 Ti: 0 presents, 0xc000001d at +0x4e8aa70, called_stubs on ID3D12GraphicsCommandList10 #131/#132[/+]