Series S mode: title requests an R9G9B9E5_SHAREDEXP render target + UAV, host refuses, title asserts #914

Open
opened 2026-11-26 04:36:41 +00:00 by github-bot · 4 comments
Owner

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

Series S mode (device_type = "lockhart", console_type_raw = 5): the retail title asks for an R9G9B9E5_SHAREDEXP render target with UAV access; the host refuses it and the title asserts

Setup: Linux + Wine (GE-Proton11-14), vkd3d-proton cae8353e (+ scripts/linux/vkd3d-proton-xcl.patch), RTX 4070 Ti. XCL main 09940bb + #793 #820 #759 #640 #889 #891 #826. Same machine and data folder that run the Series X path into the world load.

What happens

  • With Series S selected in xcl.toml, the title switches to a 1920x1080 display target (display target 1920x1080 format 28) and boots normally through the first-run screens.
  • About 30 s in, CreatePlacedResourceX asks for a 1920x1080 texture in format 67 (DXGI_FORMAT_R9G9B9E5_SHAREDEXP) with flags 0x300005 (render target + unordered access). GPU-owned texture … not reserved (0x80070057) then a resource of its own (0x80070057): the host rejects the description.
  • The title then hits its own int3 (exception 0x80000003) right after that failure, in every run (2 of 2).
  • Also visible on this path: many mesh pipeline with its MS … in the AS slot – refused (presumably what #541 handles).

PC D3D12 does not allow R9G9B9E5_SHAREDEXP as a render target or UAV, so the Series S path probably needs that format emulated (e.g. backing it with R32_UINT and packing/unpacking in the translated shaders). Series X mode on the same setup never asks for it.

Why it may matter: Series S uses 1080p targets and a smaller memory budget, which would help PCs with ≤12 GB of VRAM (on this 12 GB card the Series X world load sits at ~11.9 GB).

AI-assisted (Claude Code). No game data attached.

**@⁠oeirughrepuiohg** on GitHub · 2026-11-24 08:10 UTC · [original](https://github.com/xcl-dev/xcl/issues/914) **Series S mode (`device_type = "lockhart"`, `console_type_raw = 5`): the retail title asks for an `R9G9B9E5_SHAREDEXP` render target with UAV access; the host refuses it and the title asserts** **Setup:** Linux + Wine (GE-Proton11-14), vkd3d-proton `cae8353e` (+ `scripts/linux/vkd3d-proton-xcl.patch`), RTX 4070 Ti. XCL `main` `09940bb` + #793 #820 #759 #640 #889 #891 #826. Same machine and data folder that run the Series X path into the world load. **What happens** - With Series S selected in `xcl.toml`, the title switches to a 1920x1080 display target (`display target 1920x1080 format 28`) and boots normally through the first-run screens. - About 30 s in, `CreatePlacedResourceX` asks for a 1920x1080 texture in format 67 (`DXGI_FORMAT_R9G9B9E5_SHAREDEXP`) with flags `0x300005` (render target + unordered access). `GPU-owned texture … not reserved (0x80070057)` then `a resource of its own (0x80070057)`: the host rejects the description. - The title then hits its own `int3` (exception `0x80000003`) right after that failure, in every run (2 of 2). - Also visible on this path: many `mesh pipeline with its MS … in the AS slot – refused` (presumably what #541 handles). PC D3D12 does not allow `R9G9B9E5_SHAREDEXP` as a render target or UAV, so the Series S path probably needs that format emulated (e.g. backing it with `R32_UINT` and packing/unpacking in the translated shaders). Series X mode on the same setup never asks for it. Why it may matter: Series S uses 1080p targets and a smaller memory budget, which would help PCs with ≤12 GB of VRAM (on this 12 GB card the Series X world load sits at ~11.9 GB). *AI-assisted (Claude Code). No game data attached.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:36:41 +00:00
Author
Owner

@⁠NAbobo101 on GitHub · 2026-11-24 22:06 UTC · original · edited 2026-11-24 23:56 UTC

Update: neither the opening video nor the coherent window is the trigger. Same machine, main 689f2db + #615 + #681 + #1110 merged locally (tree 172576c), Series S, XCL_DIRECT_DXIL=1, XCL_HEAP_WINDOWS=1, XCL_PSO_WAIT_MS=50, scripted presses:

  • With XCL_SHORT_MOVIES=1 (#681) the log confirms videos of bink2scarlett.dll go to their last frame after the first, and the title still stops at 0x80000003 in +0xb18de7: at 167.3 s and 133.2 s in two runs, with the same rcx=0x57 rdx=0x0 rsi=0x1471b63b8 rdi=0x1167ff rbp=0xc80 (rbx was 0x536e09a8 in one run, 0x7aa5e09a8 in the other) and the same stack.
  • With #1110 the Series S profile got its own coherent window (512 MB in the first run, 3407 MB in the second), and it made no difference.
  • Again 0 skipped draws and dispatches, and 7.4–7.7 GB of local video memory.

So it isn't the video's playback, the coherent window's size or skipped GPU work. The original report follows.


With #605 merged, Series S mode gets past the R9G9B9E5_SHAREDEXP assert (+0xcc2834) on an 8 GB NVIDIA card. It then stops at a different assert as the opening video starts, every time.

Setup

  • RTX 5060 8 GB (wave32 only), driver 621.14; Ryzen 7 5700G, 32 GB RAM; Windows 11 Pro 26300; release builds of main c4d37be, and of 1d027e5 + #615 so the menus are visible. Retail 1.0.2.1, device_type = "lockhart", XCL_NETWORK=0, XCL_DIRECT_DXIL=1, XCL_HEAP_WINDOWS=1.

Before #605 (main 7f7e768): CreatePlacedResourceX … 1920x1080 format 67 flags 0x300005 – a resource of its own (0x80070057), then 0x80000003 at +0xcc2834 about 30 s in, as described above.

With #605

  • The format-67 resources are created, and the title runs its menus at a steady 30 fps.
  • Memory is much lower than in Series X mode on the same machine: local video memory 7.3–7.4 GB against 12.6 GB, title-texture pages 1.9 GB against 8.5 GB, process commit 19 GB against 28–31 GB. So on an 8 GB card the Series S profile fits in video memory.
  • Then, every time, unhandled exception 0x80000003 in game_scarlett_master.exe+0xb18de7, about 8 s after A is pressed on the start screen, when the opening video starts. That's 4 of 4 runs: two with scripted presses and two played by hand, one of them with #615. Registers are identical each time: rax=0x0 rbx=0x7aa5e09a8 rcx=0x57 rdx=0x0 rsi=0x1471b63b8 rdi=0x1167ff rbp=0xc80; on the stack: +0x71b63b8, +0x2216b79, +0x591f084, +0xa4a02f0, +0x2665054. +0x2216b79 and rsi = +0x71b63b8 are in the area of the stall watchdog and its reporting described in #505.
  • It isn't skipped GPU work: with XCL_PSO_WAIT_MS=50 and without it (0 skipped draws and dispatches) the assert is the same. In Series X mode the opening video plays on the same builds.
  • Just before it, as in Series X mode: XStore: unavailable (offline) and XErrorReport 0x89240107, and the title's CreateTicketXbl3 token requests refused (no Xbox Live).

Not tested

  • AMD; Series S on any other machine; what the title checks at +0xb18de7 (no static analysis done).

AI use

  • Claude Code (Claude Opus 5.5) ran the builds and sessions, read the logs and drafted this comment. I played the menus.
**@⁠NAbobo101** on GitHub · 2026-11-24 22:06 UTC · [original](https://github.com/xcl-dev/xcl/issues/914#issuecomment-7145808621) · edited 2026-11-24 23:56 UTC **Update: neither the opening video nor the coherent window is the trigger.** Same machine, `main` `689f2db` + #615 + #681 + #1110 merged locally (tree `172576c`), Series S, `XCL_DIRECT_DXIL=1`, `XCL_HEAP_WINDOWS=1`, `XCL_PSO_WAIT_MS=50`, scripted presses: - With `XCL_SHORT_MOVIES=1` (#681) the log confirms `videos of bink2scarlett.dll go to their last frame after the first`, and the title still stops at `0x80000003` in `+0xb18de7`: at 167.3 s and 133.2 s in two runs, with the same `rcx=0x57 rdx=0x0 rsi=0x1471b63b8 rdi=0x1167ff rbp=0xc80` (`rbx` was `0x536e09a8` in one run, `0x7aa5e09a8` in the other) and the same stack. - With #1110 the Series S profile got its own coherent window (512 MB in the first run, 3407 MB in the second), and it made no difference. - Again `0 skipped` draws and dispatches, and 7.4–7.7 GB of local video memory. So it isn't the video's playback, the coherent window's size or skipped GPU work. The original report follows. --- With #605 merged, Series S mode gets past the `R9G9B9E5_SHAREDEXP` assert (`+0xcc2834`) on an 8 GB NVIDIA card. It then stops at a different assert as the opening video starts, every time. **Setup** - RTX 5060 8 GB (wave32 only), driver 621.14; Ryzen 7 5700G, 32 GB RAM; Windows 11 Pro 26300; release builds of `main` `c4d37be`, and of `1d027e5` + #615 so the menus are visible. Retail 1.0.2.1, `device_type = "lockhart"`, `XCL_NETWORK=0`, `XCL_DIRECT_DXIL=1`, `XCL_HEAP_WINDOWS=1`. **Before #605** (`main` `7f7e768`): `CreatePlacedResourceX … 1920x1080 format 67 flags 0x300005 – a resource of its own (0x80070057)`, then `0x80000003` at `+0xcc2834` about 30 s in, as described above. **With #605** - The format-67 resources are created, and the title runs its menus at a steady 30 fps. - Memory is much lower than in Series X mode on the same machine: local video memory 7.3–7.4 GB against 12.6 GB, title-texture pages 1.9 GB against 8.5 GB, process commit 19 GB against 28–31 GB. So on an 8 GB card the Series S profile fits in video memory. - Then, every time, `unhandled exception 0x80000003 in game_scarlett_master.exe+0xb18de7`, about 8 s after A is pressed on the start screen, when the opening video starts. That's 4 of 4 runs: two with scripted presses and two played by hand, one of them with #615. Registers are identical each time: `rax=0x0 rbx=0x7aa5e09a8 rcx=0x57 rdx=0x0 rsi=0x1471b63b8 rdi=0x1167ff rbp=0xc80`; on the stack: `+0x71b63b8, +0x2216b79, +0x591f084, +0xa4a02f0, +0x2665054`. `+0x2216b79` and `rsi = +0x71b63b8` are in the area of the stall watchdog and its reporting described in #505. - It isn't skipped GPU work: with `XCL_PSO_WAIT_MS=50` and without it (`0 skipped` draws and dispatches) the assert is the same. In Series X mode the opening video plays on the same builds. - Just before it, as in Series X mode: `XStore: unavailable (offline)` and `XErrorReport 0x89240107`, and the title's `CreateTicketXbl3` token requests refused (no Xbox Live). **Not tested** - AMD; Series S on any other machine; what the title checks at `+0xb18de7` (no static analysis done). **AI use** - Claude Code (Claude Opus 5.5) ran the builds and sessions, read the logs and drafted this comment. I played the menus.
Author
Owner

@⁠Dezmonius on GitHub · 2026-11-25 05:09 UTC · original

I reproduced the later 0x80000003 at +0xb18de7 described in the follow-up above, on Windows 10 build 19045, RTX 5070 / 610.88, i7-7700K and 32 GiB RAM. Both cbc296ab with the local #1464 DirectStorage adaptation and unmodified cbc296ab hit the same assert at 77.4 s and 79.3 s respectively. Settings: XCL_DEVICE_TYPE=lockhart, offline, direct DXIL, DRED enabled, PSO preload off, no PSO wait limit. The title saw an 8,192 MiB budget and actually presented 1920x1080 buffers.

Both runs reported 17,762 sampled DirectStorage requests and zero failures. Peak local video memory was 7,473 / 7,474 MB. I did not see the older format-67 E_INVALIDARG failure or a device-removal report. This confirms the newer assert is reproducible on the 5070 with or without the DirectStorage adaptation. No game data included. AI-assisted (OpenAI Codex, GPT-6).

**@⁠Dezmonius** on GitHub · 2026-11-25 05:09 UTC · [original](https://github.com/xcl-dev/xcl/issues/914#issuecomment-7153497647) I reproduced the later `0x80000003` at `+0xb18de7` described in the follow-up above, on Windows 10 build 19045, RTX 5070 / 610.88, i7-7700K and 32 GiB RAM. Both `cbc296ab` with the local #1464 DirectStorage adaptation and unmodified `cbc296ab` hit the same assert at 77.4 s and 79.3 s respectively. Settings: `XCL_DEVICE_TYPE=lockhart`, offline, direct DXIL, DRED enabled, PSO preload off, no PSO wait limit. The title saw an 8,192 MiB budget and actually presented 1920x1080 buffers. Both runs reported 17,762 sampled DirectStorage requests and zero failures. Peak local video memory was 7,473 / 7,474 MB. I did not see the older format-67 `E_INVALIDARG` failure or a device-removal report. This confirms the newer assert is reproducible on the 5070 with or without the DirectStorage adaptation. No game data included. AI-assisted (OpenAI Codex, GPT-6).
Author
Owner

@⁠ozimchuk on GitHub · 2026-11-25 17:07 UTC · original · edited 2026-11-25 17:13 UTC

Reproduced here, and #495 (merged today) gets Series S past it.

Tested – Linux, Wine 11.21 + vkd3d-proton (VKD3D_CONFIG=ignore_shared_fence), NVIDIA (32-lane waves), release build for x86_64-pc-windows-gnu, the retail title, XCL_DEVICE_TYPE=lockhart (the log: console: Xbox Series S (lockhart) (title memory 8192 MiB, mode advanced)), XCL_PSO_WAIT_MS=50, 120 s, a fresh data folder each run, no local changes:

main ends
06c9f55 (before #495) 0x80000003 in game_scarlett_master.exe+0xb18de7 at 22.8 s
68a284a (with #495) no assert; at 103 s the world-load access violation in msvcrt.dll+0xa4f9 that main also hits here in Series X mode (#662, fixed by #684)

Correction (edited): on a tree with #684 (and other open PRs and local changes, so not main), Series S runs past the world load for 300 s with no crash and no device removal, but its picture is empty: every frame dump of two runs is black from the first frame through the intro and menus, and a flat dark grey after the world load, where Series X on the same tree shows the loading artwork and the scene. I first read its higher presents-per-second here as a gain; with an empty picture it is not one, and I withdraw that comparison.

Not tested: Windows; AMD; Series S past the world load on main itself (it needs #684 here); why the Series S frames are black.

AI-assisted. Claude Code, Claude Opus 5.5 made the runs and wrote this comment.

**@⁠ozimchuk** on GitHub · 2026-11-25 17:07 UTC · [original](https://github.com/xcl-dev/xcl/issues/914#issuecomment-7169034438) · edited 2026-11-25 17:13 UTC Reproduced here, and #495 (merged today) gets Series S past it. **Tested** – Linux, Wine 11.21 + vkd3d-proton (`VKD3D_CONFIG=ignore_shared_fence`), NVIDIA (32-lane waves), release build for `x86_64-pc-windows-gnu`, the retail title, `XCL_DEVICE_TYPE=lockhart` (the log: `console: Xbox Series S (lockhart) (title memory 8192 MiB, mode advanced)`), `XCL_PSO_WAIT_MS=50`, 120 s, a fresh data folder each run, no local changes: | `main` | ends | |---|---| | `06c9f55` (before #495) | `0x80000003` in `game_scarlett_master.exe+0xb18de7` at 22.8 s | | `68a284a` (with #495) | no assert; at 103 s the world-load access violation in `msvcrt.dll+0xa4f9` that `main` also hits here in Series X mode (#662, fixed by #684) | **Correction (edited):** on a tree with #684 (and other open PRs and local changes, so not `main`), Series S runs past the world load for 300 s with no crash and no device removal, but **its picture is empty**: every frame dump of two runs is black from the first frame through the intro and menus, and a flat dark grey after the world load, where Series X on the same tree shows the loading artwork and the scene. I first read its higher presents-per-second here as a gain; with an empty picture it is not one, and I withdraw that comparison. **Not tested**: Windows; AMD; Series S past the world load on `main` itself (it needs #684 here); why the Series S frames are black. AI-assisted. Claude Code, Claude Opus 5.5 made the runs and wrote this comment.
Author
Owner

@⁠Chrysana on GitHub · 2026-11-25 21:09 UTC · original

A data point on the format itself, from AMD on Windows. Both AMD GPUs here support DXGI_FORMAT_R9G9B9E5_SHAREDEXP as a render target and as a typed UAV, and they make the title's resource (1920x1080, render target + unordered access) with no error. So "PC D3D12 does not allow it" holds for some drivers but not for AMD's. The 0x80070057 above came from vkd3d-proton on NVIDIA, and Dezmonius's Windows RTX 5070 runs no longer show it either.

Setup: AMD Radeon RX 9070 XT (RDNA4) and the Ryzen 7 9800X3D's Radeon iGPU (RDNA2), driver 32.0.32015.2008, Windows 11 26200.9974. This was a local test only, on a plain D3D12CreateDevice per adapter (not XCL's adopted device): CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT) for format 67, then CreateCommittedResource of a 1920x1080 default-heap texture in it.

RX 9070 XT Radeon iGPU
Support1 0x02e8d3f0 0x02e8d3f0
Support2 0x102c0 0x02c0
texture 2D / shader sample yes / yes yes / yes
render target yes yes
typed UAV, typed load, typed store yes, yes, yes yes, yes, yes
create with RT + UAV / RT / UAV / neither ok / ok / ok / ok ok / ok / ok / ok

So if the format gets emulated (R32_UINT and packing in the shaders, as suggested above), it may only be needed where CheckFeatureSupport says the driver lacks RT or typed-UAV support. AMD on Windows could take it as is.

Not tested: Series S mode in the title on this machine (so not whether XCL's own path passes it through), NVIDIA or Intel on Windows, Linux.

AI use: Claude Code (Claude Opus 5.5) wrote the local check, ran it and drafted this comment. I checked it before posting.

**@⁠Chrysana** on GitHub · 2026-11-25 21:09 UTC · [original](https://github.com/xcl-dev/xcl/issues/914#issuecomment-7174691696) A data point on the format itself, from AMD on Windows. **Both AMD GPUs here support `DXGI_FORMAT_R9G9B9E5_SHAREDEXP` as a render target and as a typed UAV, and they make the title's resource (1920x1080, render target + unordered access) with no error.** So "PC D3D12 does not allow it" holds for some drivers but not for AMD's. The `0x80070057` above came from vkd3d-proton on NVIDIA, and Dezmonius's Windows RTX 5070 runs no longer show it either. **Setup:** AMD Radeon RX 9070 XT (RDNA4) and the Ryzen 7 9800X3D's Radeon iGPU (RDNA2), driver 32.0.32015.2008, Windows 11 26200.9974. This was a local test only, on a plain `D3D12CreateDevice` per adapter (not XCL's adopted device): `CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT)` for format 67, then `CreateCommittedResource` of a 1920x1080 default-heap texture in it. | | RX 9070 XT | Radeon iGPU | |---|---|---| | `Support1` | `0x02e8d3f0` | `0x02e8d3f0` | | `Support2` | `0x102c0` | `0x02c0` | | texture 2D / shader sample | yes / yes | yes / yes | | render target | yes | yes | | typed UAV, typed load, typed store | yes, yes, yes | yes, yes, yes | | create with RT + UAV / RT / UAV / neither | ok / ok / ok / ok | ok / ok / ok / ok | So if the format gets emulated (`R32_UINT` and packing in the shaders, as suggested above), it may only be needed where `CheckFeatureSupport` says the driver lacks RT or typed-UAV support. AMD on Windows could take it as is. **Not tested:** Series S mode in the title on this machine (so not whether XCL's own path passes it through), NVIDIA or Intel on Windows, Linux. **AI use:** Claude Code (Claude Opus 5.5) wrote the local check, ran it and drafted this comment. I checked it before posting.
This discussion has been locked. Commenting is limited to contributors.
No description provided.