[Help Wanted] UE5 / The Matrix Awakens (XSX) Bring-Up: XDAT/XBCH/FSSM Shader Lifting, HWRT/8GB+ GPU Testing & Remaining Runtime Gaps #37
Labels
No labels
accessibility
bug
cross-platform
documentation
duplicate
enhancement
gdk-shims
good first issue
graphics
hardware-report
help wanted
invalid
question
shaders
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/californiaAlmonds--OpenScarlett#37
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?
@californiaAlmonds on GitHub · 2026-11-23 11:42 UTC · original
Why I'm Asking for Help
I'm currently focused on Minecraft bring-up and
mainsprints, and I'm developing everything on a single Windows 10 laptop (NVIDIA GTX 1650 Ti, 4 GB VRAM, Turing TU117 — no hardware RT cores).The Matrix Awakens (
Frosty-XSX-Shipping.exe, package1.20.1831.3754) is already booting cleanly past full UE5 initialization and into livePresentXon branchfeat/ue5-matrix-awakens-imports(be560d8), so this is a great jumping-in point for contributors with desktop GPUs (RTX / RDNA2 / 8 GB+ VRAM) or interest in RDNA2 shaders, D3D12X, or GDK/Media Foundation shims.What Is Already Live-Verified on
feat/ue5-matrix-awakens-imports(be560d8)/W4warnings, 84/84 CTest passing (100%), 32 shim DLLs / 1,252 exports, synced withmain(Sprint 15 Zero-Gaps) + Xbox D3D12/VFS/GameInput fixes.dxcompiler_xs,XCRDAPI,xg_xs,d3d12_xs,AcpHal,xmem,MFPlat) plusXAudio2_9,dstorage_xs,xgameruntime, andkernelx.0crashes,0DXGI_ERROR_DEVICE_REMOVED/DEVICE_HUNG).TitleId: 7D3CD3FE(RETAIL), mounts IoStore.pak/.utoc, loads all 43,407 shader archive records (Global+Frosty), initializes XMA + XAudio2 live audio, completesFEngineLoop::Init(), loads/Game/Map/P_Construct_WP, initializes WorldPartition (253 cells) + MassTraffic, enters Match State:InProgress+ Frame[1], and executes3840x21604KPresentX.Issues Found & Where Help Is Needed
1. Retail
DXBC -> DXIL -> XDAT -> XBCH (zlib) -> FSSMRDNA2 Shader Unpacking & Lifting (Primary Blocker for Visible Pixels)DXBCcontainers (SFI0,ISG1,OSG1,PSV0,RTS0,ILDN,HASH,DXIL), where theDXILchunk payload containsXDAT->XBCH(zlib-compressed) ->FSSMholding raw AMD RDNA2 ISA + stage metadata + entry-point name (e.g.,ClearCS), rather than LLVM DXIL bitcode.DeviceX(src/gpu/d3d12_xs/device_x.cpp) detectsIsXboxXdatDxbcBloband substitutes SM 5.0 stand-in PSOs (andCommandListXskips stand-inExecuteIndirect/Dispatch/DispatchMesh/draws). As a result, the 4KPresentXframe is currently black until real shaders are lifted.XDAT/XBCH(zlib) /FSSMcontainer parsing insrc/gpu/rdna2_xbox_container.cpp(extracting RDNA2 ISA words, register setup, root signature/SGPR bindings, and stage metadata).src/gpu/rdna2_lifter.cpp,src/gpu/shader_cache.cpp) with persistent disk caching so UI/menu (BP_CountdownUI) and 3D scene shaders render real pixels.2. Hardware Ray Tracing (Lumen / DXR) & 8 GB+ VRAM Live GPU Testing
RT=0), UE5 heavily spillsD3D12_HEAP_TYPE_DEFAULTheaps to L0 system RAM and cannot run hardware ray tracing (BuildRaytracingAccelerationStructuresX/DeserializeStateObjectXcurrently use non-DXR software stubs).feat/ue5-matrix-awakens-importson RTX 20/30/40/50 or AMD RDNA2/RDNA3 (8 GB+ VRAM) GPUs and post logs (T:\Logs\Frosty.log+ telemetry JSON).ID3D12Device8Slot 115 (DeserializeStateObjectX),ID3D12StateObjectXboxSlots 8–9 (GetPipelineReflectionX/GetReflectionBlobX), andID3D12GraphicsCommandList6Slot 131 (BuildRaytracingAccelerationStructuresX) whenraytracing_tier >= 10.3. D3D12 Debug Layer Break (
0x0000087D) WhenOPENSCARLETT_D3D12_DEBUG=1OPENSCARLETT_D3D12_DEBUG=0, the game runs 100s cleanly, but enablingOPENSCARLETT_D3D12_DEBUG=1hits an unhandled0x0000087Dexception insideD3D12SDKLayerscalled fromFD3D12CommandListManager::ObtainCommandList+0x1BC(viaFD3D12Viewport::Present/RHIEndFrame), even withID3D12InfoQueue::SetBreakOnSeveritydisabled on the host device.D3D12SDKLayersvalidation error causing0x87Dand fix the underlying D3D12 state/descriptor/command-list mismatch so debug-layer runs pass cleanly.4. Remaining Minor Retail COM / GDK / Media Gaps
ScarlettRetailCmdList::Slot_67 (+0x218)(src/shims/d3d12_xs_shim.cpp): Called fromFDynamicRHI::RHICreateShaderResourceViewFMask_RenderThread— currently hitsRecordClUnimpl(67).xgameruntimeGame Save Provider (src/shims/xgameruntime_shim.cpp):QueryApiImplrequests CLSID/IID{704C3F58-E629-4CC2-B197-30511B996FE2}, causingLogGDKSaveGame: Could not get provider for user 0 - 0x80004002. Implementing/mapping this provider will enable savingFrostySaveData.Electra/MFPlat): Verify the 21-second startup logo video plays cleanly throughmfplat_xs.dllintoBP_CountdownUI(Enter screen) once real shaders are lifted.XMemSize/QueryTitlePhysicalPages(0x80070057): Investigate frequentE_INVALIDARGcalls logged during DirectStorage Zlib decompression inveh_bringup.jsontelemetry.How to Build & Reproduce Locally
Diagnostic env vars available on this branch:
OPENSCARLETT_TRACE_RETAIL=1— log unimplemented retail COM slots & device infoOPENSCARLETT_TRACE_D3D12_LOG=<path>— trace per-list D3D12 ops &DEVICE_REMOVEDdumpsOPENSCARLETT_PRESENTX_CAPTURE_PNG=<path>— dump presentedPresentXframes to PNGEven just running the branch on your GPU and sharing
Frosty.log/ crash dumps or picking off one of the smaller items in #3/#4 would be a huge help while I keep pushing Minecraft andmainforward!