d3d12x, dstorage, recomp: retail title engine stability, BVH descriptors, and multi-monitor windowing #1288
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1298"
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?
Imported from ivall/xcl. Originally posted by saadabdullah07bd on 2026-11-24T14:29:21Z.
D3D12.X, DirectStorage, recomp: retail title engine stability, BVH descriptors, and multi-monitor windowing
Fixes engine crashes, asset stream stalls, and display initialization bugs when executing game_scarlett_master.exe under XCL.
What is in it
crates/xcl/src/hle/d3d12x/real.rs: resolve raytracing acceleration structure VA viakernelx::mirrors::source(va)prior to RDNA2 BVH descriptor generation.crates/xcl/src/hle/d3d12x/real.rs: map MS/AS subobject types 24 and 25 toD3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MSin fallback stream.crates/xcl/src/hle/d3d12x/device_x.rs: sanitizeDISABLE_GPU_TIMEOUTflag on consumer drivers unless overridden withXCL_DISABLE_GPU_TIMEOUT=1.crates/xcl/src/hle/d3d12x/sparse.rs: introduce 4x 150ms retry loop onVirtualAlloc(MEM_COMMIT)to withstand dynamic paging file commit stalls.crates/xcl/src/hle/d3d12x/present.rs: respectXCL_FULLSCREEN=0override and support negative coordinate offsets in multi-monitor configurations.crates/xcl/src/hle/dstorage.rs: defaultbcpack_fill_from_env()to enabled so unsupported BCPack blocks soft-fill instead of halting the asset queue.crates/xcl/src/hle/d3d12x/title_textures.rs: throttle upload batch size threshold from 256 MB to 64 MB.crates/xcl/src/gpu/recomp/dxc.rs: accept valid DXBC containers with non-contiguous DXIL chunks.crates/xcl/src/loader.rs: neutralize title watchdog assert and worker thread during startup asset streaming.Tested
cargo test --workspace -- --test-threads=4: 541 passed, 0 failed, 21 ignored (SKIPPED GPU tests: 0)Regression run
main:
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T15:50:46Z.
Test report — RTX 3060 Ti (Windows 11): does not compile after merging with current
main.cargo test -p xcl --libfails with 14 errors incrates/xcl/src/hle/d3d12x/present.rstests:window_positiononmainnow takes a 4thfullscreen: boolargument and returns a 4-tuple(x, y, w, h), but the test call sites here still use the old 3-arg / 2-tuple signature (assert_eq!(window_position("auto", 1280, 720), (CW_USEDEFAULT, CW_USEDEFAULT))). Looks like the branch predates thewindow_positionrefactor onmain— needs a rebase and the test expectations updated to the new signature.upstream-sync referenced this pull request2026-11-24 19:06:45 +00:00
[PR #1298] d3d12x, dstorage, recomp: GTA6 engine stability, BVH descriptors, and multi-monitor windowingto [PR #1298] d3d12x, dstorage, recomp: retail title engine stability, BVH descriptors, and multi-monitor windowingImported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T04:47:36Z.
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.Pull request closed