Skip to content

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

Done

Description

@z961089510-dev

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)

Activity

  1. added
    bug
    on Nov 23, 2026
  2. phantom54 commented on Nov 23, 2026

    @phantom54

    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

  3. theaustinayers commented on Nov 23, 2026

    @theaustinayers
    Collaborator

    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.)

  4. adastmin1 commented on Nov 23, 2026

    @adastmin1
    image
  5. z961089510-dev commented on Nov 23, 2026

    @z961089510-dev
    Author

    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

  6. engme66 commented on Nov 23, 2026

    @engme66

    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

    Attachments

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

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

  7. ryosen0 commented on Nov 23, 2026

    @ryosen0
    Contributor

    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 test: accept all valid Windows MMDevice endpoint ID formats in audio test #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.

  8. ivall commented on Nov 23, 2026

    @ivall
    Collaborator

    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.

  9. dramikei commented on Nov 23, 2026

    @dramikei

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

  10. changed the title [-]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[/+] on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions