Repository navigation
Conversation
During GTA VI streaming, a destination page table can still contain zero when the worker reaches a submitted request. The title filled one observed entry 50 ms later; without a retry, XCL refused hundreds of subsequent requests with E_ACCESS_VIOLATION and loading stopped presenting. Recheck only zero entries for up to 50 ms before writing. Preserve nonzero page numbers captured at enqueue, since callers can reuse a stack array. A guarded run with this change had zero DirectStorage failures and kept presenting through 68 s; the machine then approached its commit limit. Assisted-by: Codex (GPT-6)
|
Windows RX 7900 XT hardware comparison at 3b7d329, with the same downstream XCL stack, same saved Series X profile, separate copies of the same starting DXIL/PSO cache, and the same scripted Player1 selection. All 15 DirectStorage module tests passed.
The individual warnings are rate-limited; the control printed only two failed-request warnings in its entire log. The candidate still logged a 64 KiB asset request returning 0x89240009. One run per build, with different request totals. The candidate last presented in the sample ending at 194.1 s, then reported device removal (0x887a0006) at 196.3 s. DRED reported a page fault, and the next breadcrumb on a partly executed list was Dispatch. The control instead ended on a guest breakpoint after 248 s. The candidate’s last captured image was dark; I could not verify visible gameplay. The reduction in failed requests did not eliminate the later GPU fault on this stack. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Independent test of the #1464 patch (head
All 32 sampled control errors and all four patched errors were file-backed requests that still had all-zero destination page IDs when the physical write was attempted. Both runs reached the world-loading artwork and ended at the configured timeout with exit 0. Neither resumed presenting after the artwork (118 vs 119 consecutive two-second samples with 0 presents). No device removal or guest exception was logged. This is one pair of runs. It shows fewer DirectStorage failures here, with the later presentation stall still present. Focused synthetic tests: |
Part of #505. During the retail title streaming, a destination physical-page list was still zero when a submitted DirectStorage request reached its worker. A diagnostic reread found a valid page in the same slot 50 ms later. The worker currently reports
E_ACCESS_VIOLATIONimmediately, after which the title receives many failed requests and stops presenting.This complements #1405: that PR handles stale nonzero page numbers between enqueue and execution; this PR gives zero entries a bounded chance to appear after execution begins.
What is in it
crates/xcl/src/hle/dstorage.rs: retry only zero destination page entries for up to 50 ms, usingread_own, and retain nonzero numbers snapshotted at enqueue. A focused test checks a late entry and preservation of a saved entry.Tested
cargo build --workspace;cargo test --workspace -- --test-threads=4: 771 passed, 0 failed, 41 ignored. Two GPU tests reportedSKIPPEDbecause this adapter has no wave64.Regression run
Both 20 s smoke runs stop before the late page case and used
XCL_PSO_PRELOAD=0.Main:
PR head:
Not tested
AI use