Series S mode: title requests an R9G9B9E5_SHAREDEXP render target + UAV, host refuses, title asserts #914
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#914
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 anR9G9B9E5_SHAREDEXPrender target with UAV access; the host refuses it and the title assertsSetup: Linux + Wine (GE-Proton11-14), vkd3d-proton
cae8353e(+scripts/linux/vkd3d-proton-xcl.patch), RTX 4070 Ti. XCLmain09940bb+ #793 #820 #759 #640 #889 #891 #826. Same machine and data folder that run the Series X path into the world load.What happens
xcl.toml, the title switches to a 1920x1080 display target (display target 1920x1080 format 28) and boots normally through the first-run screens.CreatePlacedResourceXasks for a 1920x1080 texture in format 67 (DXGI_FORMAT_R9G9B9E5_SHAREDEXP) with flags0x300005(render target + unordered access).GPU-owned texture … not reserved (0x80070057)thena resource of its own (0x80070057): the host rejects the description.int3(exception0x80000003) right after that failure, in every run (2 of 2).mesh pipeline with its MS … in the AS slot – refused(presumably what #541 handles).PC D3D12 does not allow
R9G9B9E5_SHAREDEXPas a render target or UAV, so the Series S path probably needs that format emulated (e.g. backing it withR32_UINTand 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.
@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,
main689f2db+ #615 + #681 + #1110 merged locally (tree172576c), Series S,XCL_DIRECT_DXIL=1,XCL_HEAP_WINDOWS=1,XCL_PSO_WAIT_MS=50, scripted presses:XCL_SHORT_MOVIES=1(#681) the log confirmsvideos of bink2scarlett.dll go to their last frame after the first, and the title still stops at0x80000003in+0xb18de7: at 167.3 s and 133.2 s in two runs, with the samercx=0x57 rdx=0x0 rsi=0x1471b63b8 rdi=0x1167ff rbp=0xc80(rbxwas0x536e09a8in one run,0x7aa5e09a8in the other) and the same stack.0 skippeddraws 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_SHAREDEXPassert (+0xcc2834) on an 8 GB NVIDIA card. It then stops at a different assert as the opening video starts, every time.Setup
mainc4d37be, and of1d027e5+ #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 (
main7f7e768):CreatePlacedResourceX … 1920x1080 format 67 flags 0x300005 – a resource of its own (0x80070057), then0x80000003at+0xcc2834about 30 s in, as described above.With #605
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.+0x2216b79andrsi = +0x71b63b8are in the area of the stall watchdog and its reporting described in #505.XCL_PSO_WAIT_MS=50and without it (0 skippeddraws and dispatches) the assert is the same. In Series X mode the opening video plays on the same builds.XStore: unavailable (offline)andXErrorReport 0x89240107, and the title'sCreateTicketXbl3token requests refused (no Xbox Live).Not tested
+0xb18de7(no static analysis done).AI use
@Dezmonius on GitHub · 2026-11-25 05:09 UTC · original
I reproduced the later
0x80000003at+0xb18de7described in the follow-up above, on Windows 10 build 19045, RTX 5070 / 610.88, i7-7700K and 32 GiB RAM. Bothcbc296abwith the local #1464 DirectStorage adaptation and unmodifiedcbc296abhit 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_INVALIDARGfailure 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).@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 forx86_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:main06c9f55(before #495)0x80000003ingame_scarlett_master.exe+0xb18de7at 22.8 s68a284a(with #495)msvcrt.dll+0xa4f9thatmainalso 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
mainitself (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.
@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_SHAREDEXPas 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. The0x80070057above 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
D3D12CreateDeviceper adapter (not XCL's adopted device):CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT)for format 67, thenCreateCommittedResourceof a 1920x1080 default-heap texture in it.Support10x02e8d3f00x02e8d3f0Support20x102c00x02c0So if the format gets emulated (
R32_UINTand packing in the shaders, as suggested above), it may only be needed whereCheckFeatureSupportsays 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.