Repository navigation
Conversation
…ough the memory store is full The disk cache of compute driver blobs (xcl-dev#634) wrote a blob only when the in-memory store had taken it first: keep_compute_blob stored it there within COMPUTE_BLOBS_MAX (512 MB) and the caller then looked it up for the file. Once the store was full the lookup found nothing and no later build was written. Those are the builds that matter most: a retail title's world needs compute pipelines of 20 to 150 s each in the NVIDIA driver, made after hundreds of smaller ones, and it built them again in every run. keep_compute_blob now returns the blob it fetched; it is kept in memory only while there is room (remember_compute_blob), and goes to the disk either way. Assisted-by: Claude Code (Claude Fable 5.2)
|
Independent RTX 4060 (8 GB) / Windows 11 verification of PR #2740 at Setup
Targeted RTX 4060 release unit tests (
|
|
Test report: passes on NVIDIA. Exact head Tested
Not tested
Claude Code (Claude Opus 5.5) ran the tests and wrote this report. |
|
Independent synthetic D3D12 cache-boundary check of PR head I added the same uncommitted, test-only fixture to each checkout. It compiles an 86,012-byte synthetic compute DXIL program, sets the process-local compute-blob accounting to the 512 MiB limit without allocating 512 MiB, creates a real D3D12 PSO, and checks for a saved driver blob and a second PSO created from that disk blob. A 300 ms delay in the test's create callback crosses the disk-retention threshold; it is not a driver compile-time measurement.
This exercises the real compute-PSO disk path at the simulated RAM boundary. It does not cover the two-pass path, a naturally full cache during a title run, or a change in frame rate. Synthetic shader only; no game files or diagnostics were used. AI use: Codex (GPT-6.2 Sol) wrote and ran the test fixture and drafted this report. |
|
Independent AMD RDNA4 (native wave64) verification of exact PR head Tested
(Compare against Not tested
AI use
|
|
Independent AMD RX 7800 XT / Windows 11 test report for PR #2740 at exact head Tested
Not tested
AI use: Claude Code (Claude Sonnet 5.5) ran the tests and wrote this report, coordinated by Claude Code (Claude Opus 5.5). All counts are from the runs described. |
|
RX 9070 / Wine cache-boundary verification, including GPU output and reuse in a fresh process. Tested
The same focused Windows libtest was invoked through GE-Proton Wine with
Every invocation made exactly one successful native PSO-create call, with no explicit cold retry, and dispatched the resulting PSO. GPU readback matched the CPU reference in all nine processes. All nine retained zero RAM-cache entries and accounting of 536,870,912 bytes. Main failed only at Additional unchanged-code checks:
An initial fixture-sizing probe was excluded: its 14,000-byte DXIL was below the unchanged 16 KiB retention gate. The results above use the corrected, identical 25,520-byte fixture. Not tested Two-pass compute, console-shader translation, a naturally full cache during a title run, native Windows, full workspace suite, retail/smoke workloads, performance or FPS. AI use OpenAI Codex (GPT-6; exact serving variant not exposed) reviewed the diff, wrote the local fixture, ran and independently checked the paired tests, and drafted this report. Publication authorized by the account owner. |
|
Two contributors checked independently and found that #2574 solves the same problem (for #1833) in a different way: #1607, group D127. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
A slow translated compute PSO can compile successfully after the 512 MiB compute blob RAM cache fills up. Preserve its driver blob for the disk cache even if it cannot be admitted to RAM. This extracts the standalone fix from the NVIDIA reference stack in #2706 and retains the original author of
ee0183fd.What is in it
crates/xcl/src/hle/d3d12x/real.rsgives the caller the driver blob for disk retention and independently checks the RAM budget. Regular translated compute and the two-pass compute path use the same policy.Tested
Exact head
9ecae592ea3a1ba2b41db0167e06da435b271791on NVIDIA GeForce RTX 4060 Laptop (616.56), Ryzen 7 8845HS, Windows 11 build 26200.9974, Rust 1.98.1 MSVC, DXC 1.8.2502.11.cargo test --offline --locked -p xcl --lib compute_blob_tests -- --nocapture --test-threads=1passed 3 with zero skips.cargo test --offline --locked -p xcl --test gpu_compute_e2e -- --nocapture --test-threads=1reported 7 passed and 1 runtime heap-window skip. The skipped case passed on this exact revision in a focused rerun withXCL_HEAP_WINDOWS=1.The exact-head debug workspace build and complete RTX 4060 Laptop run reported 1436 passed, 0 failed, and 47 ignored. There were 26 runtime skip markers (21 no native wave64, 3 refused wave32 per-lane operations, 1 no heap windows, and 1 Windows Developer Mode unavailable).
The first 60-second smoke pair recorded 388 frames on the head against 499 on main, below the frame threshold. Both completed with zero crashes and device removals. The isolated 120-second pair below repeats the comparison.
Regression run
Clean release builds on the same RTX 4060 Laptop GPU and retail workload. XCL used a separate title state and DXIL cache for each run.
Main
PR head
Not tested
AI use
Claude Code (Claude Fable 5.2) assisted the original commit. OpenAI Codex (
gpt-6.2-sol) adapted it to current main, added the duplicate accounting check, ran validation, and prepared this submission.