Repository navigation
D3D12.X: persist slow driver blobs past the RAM cache cap (#1833) - #2574
Open
razormontana wants to merge 1 commit into
Open
razormontana wants to merge 1 commit into
razormontana wants to merge 1 commit into
Conversation
Save an eligible driver blob even when the bounded in-memory cache cannot retain it. The RAM caps, disk identities and eligibility stay. The saturated-cache fixture recovers the late blob from disk after dropping the in-memory cache. Assisted-by: Codex (GPT-6.2 Astra)
razormontana
marked this pull request as ready for review
November 25, 2026 23:24
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! — Devin |
|
Test run on exact head Tested
Regression run (60 s, default settings, a retail title) main: this PR: No crash or device removal; frames 101 % of Not tested
AI use
|
Contributor
|
Independent NVIDIA (wave32) full-suite + retail smoke test report on exact PR head Tested
Regression run Not tested
AI use
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1833. A slow translated pipeline could fail to leave a driver blob for the next run when XCL's in-memory blob cache was full. Save eligible blobs to disk independently of RAM admission so later sessions can reuse them.
What is in it
real.rsuses one captured blob for the RAM and disk paths covering translated compute, translated graphics and the compute pass of two-pass pipelines. It still uses the existing keys, memory limits, minimum DXIL size and disk-write eligibility.README.mddocuments that disk saves can continue when the RAM budget is full.Tested
cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputone2aae0ereported 1425 passes, 0 failures, and 46 ignored. There were 26 explicit runner skips within the pass count.cargo test --offline --locked -p xcl --lib hle::d3d12x::real::driver_cache::tests:: -- --nocapture --test-threads=1passed all six focused tests with no skips. With the previous admission rule, the saturated-cache test found no file after dropping the RAM map. The new rule recovered the late blob while keeping the first blob within the RAM cap.cargo build --offline --locked --release -p xclsucceeded.scripts/smoke.ps1ran the same title offline for 60 seconds per arm with direct DXIL and matching cache seeds.Regression run
Main
PR head
Not tested
AI use
Yes, Codex GPT-6.2 Astra implemented the change and ran the focused tests. Codex GPT-6.2 Sol reviewed the patch, ran workspace and retail checks, and prepared this description.