Repository navigation
D3D12.X: prevent stale texture unmaps after placement restoration - #2065
Mustafaiq1998x wants to merge 1 commit into
Conversation
Fixes point 2 of xcl-dev#1897. Revalidate delayed mapping decisions under TEXTURES. A deterministic RX 6800 regression reproduced an active but unmapped texture before the fix. Three post-fix runs preserve mappings and pixel data, including ordinary unmap/remap controls.
|
Independent RTX 3090 check of exact Tested — Windows 10 Home 19045, Ryzen 7 7800X3D, RTX 3090 driver 591.74 (
The negative control is the same head with identical author tests, not a parent checkout. The focused test prints The explicit skip in each run is Both 322-file source manifests match before/after on Windows and locally; Cargo rebuilt XCL for both snapshots. No additional runtime change or competing PR. Not tested — full workspace suite, retail smoke/world entry, performance, the reversed stale-remap interleaving independently, or the separate submitted-GPU-work/cross-queue lifetime hazards in #1897 point 1 / #594 / #799. This fills the NVIDIA gap for the deterministic restoration/unmap case; it is not a merge-readiness or gameplay claim. AI use — Codex (GPT-6) reviewed the change, prepared the control, ran and verified the native comparison, and wrote this report. The runtime fix and regression are the PR author's. |
Thank you for independently reproducing and verifying the fix on the RTX 3090. Would you also be able to perform the required paired retail-title smoke tests on main and commit 3ff9893? I currently don't have a compatible unpacked retail title available. Your assistance would help satisfy the remaining PR regression requirement. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Regression pair for Corrected 2026-11-25: I first wrote that the 60 s runs had no input, left one base run out, and said the title stops because pipelines compile cold, which I had not shown. The logs show a controller press in four of the six; the list below has all six. Tested
The crash came with no fence time-out in its log, and its address is the one in #232 and #746, which are reported on Not tested
AI use: Claude Code with Claude Fable 5.2 built both trees, ran the scripts and wrote this report; a person played the 180 s runs. Claude Opus 5.5 wrote the correction. |
Addresses point 2 of #1897.
A delayed unmap can remove VRAM mappings from a texture that has already been restored to the active placement table. This fix revalidates mapping decisions under the texture table lock.
What is in it
Tested
cbc296a3ff9893Before:
After (three consecutive successful GPU runs):
cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --nocapture: 1154 passed, 1 failed, 46 ignored.Regression run
Pending paired real-title smoke tests.
Not tested
AI use
ChatGPT (GPT-6.2) assisted with implementation, source analysis and regression-test design. All reported GPU tests were executed on physical hardware.