Repository navigation
Conversation
|
Heads-up from #2098, which changes AI use: Claude Code (Claude Opus 5.5) ran the merge check and wrote this note. |
|
Tested Independent verification on clean head
The 2080 SUPER run failed Not tested: Full suite on the base, paired retail smoke, retail offline peak commit, or actual low-memory driver compilation. The gate tests inject headroom values rather than exhausting system memory. AI use Ran via Samaritan:
|
|
Code review on
Remaining before merge: |
864698a to
54a7d2d
Compare
|
Regression run of Against the limits in CONTRIBUTING.md: 104 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Code review on Remaining before merge: Independent AMD and NVIDIA test passes on |
|
Verification on NVIDIA RTX 5070 Ti (Windows 11), head Tested
Not tested
Run and written with Claude Code (Claude Fable 5.2 and Claude Sonnet 5.5). |
54a7d2d to
7bc00bc
Compare
luckyteagirl
left a comment
There was a problem hiding this comment.
On 7bc00bc, the first CreateComputePipelineState call for a nonempty cached blob runs with only RunningSlot, before self.gate.enter. The comment here correctly notes that a driver can reject the blob internally, compile the DXIL, and still return Ok. That means a stale or incompatible blob can trigger a full multi-gigabyte driver compile inside the supposedly cheap probe. For two large cached programs, both probes can run at once even when the new huge/giant gate permits only one compile or commit headroom is low. The size-cap check and gated no-blob retry happen after this work has already occurred.
Could the gate cover every native call that may compile, including the cached probe (without holding it twice on the fallback), or use a verified cache-only probe? A fake cached-create callback that simulates a slow internal fallback could check that the giant lane admits only one concurrent call. Source review only; I did not run a low-memory driver repro.
|
@luckyteagirl Fixed in
Re-verified |
Prime1997
left a comment
There was a problem hiding this comment.
Good within the reviewed scope; retain for integration. The offline large-DXIL admission logic is worth keeping. The current revision also gates the cached-blob probe; the older finding that this path bypassed admission no longer describes this head.
PR head 9483d4363b9cc6a798902ccebdbeca35de54e4cd integrated locally with current main b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7. The detached worktree remains at main with the combined changes staged, tree 80596ba379dc6679bb264be3a4cb3da089d936f3; it is an uncommitted integration candidate, not a clean PR-head run. Source patch SHA-256 6bfe43cdbc0f84bb42d6cdc7a1efc2f220f42e985890f13f56020f1f33be39da.
Targeted result: 4 passed, 0 failed, 0 ignored, 0 skipped. Each exact filter ran in a fresh process:
shaders::offline_gate_tests::offline_gate_serializes_huge_compiles_while_small_compiles_proceedshaders::offline_gate_tests::offline_gate_waits_for_headroom_while_another_compile_is_active_and_avoids_deadlock_when_aloneshaders::offline_gate_tests::offline_gate_runs_giant_compile_alone_even_with_higher_huge_concurrencyshaders::offline_gate_tests::offline_gate_serializes_giant_cached_probe_fallback
Build: cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>. Run: <test-exe> <each-exact-filter-above> --exact --test-threads=1 --nocapture. Private executable/target paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB RAM, Rust 1.100.0 MSVC debug. These selected fixtures did not dispatch GPU work.
Not tested: The four tests exercise admission, cached-probe classification and guard cleanup with bounded synthetic inputs. They do not reproduce sustained system commit pressure or measure driver compile memory. No whole suite or retail smoke was run for this batch; this is not merge certification.
AI use: Codex (GPT-6) reviewed source, ran the selected tests and verified raw results. Optional temporary Discord for coordinating contributor work, testing and comparing results.
|
Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2179 updated head Setup
Targeted RTX 4060 release unit tests (
|
|
Tested on AMD / Linux: The head as it is (base Tests (
Not tested
AI use
|
|
merge-check claim |
|
merge-check |
Share the runtime big-compile thresholds and commit-headroom helpers from hle::d3d12x::real with offline xcl shaders --precompile --pipelines builds in shaders.rs via OfflineGate, keeping uncached and cached-probe giant/huge builds serialized/capped while waiting for commit headroom whenever another cold build is in flight. Part of xcl-dev#1598 Assisted-by: Antigravity (Gemini 4 Neon)
9483d43 to
7d6d565
Compare
O5-7
left a comment
There was a problem hiding this comment.
Rebased onto latest main (e429936c) in 7d6d5651 (reusing RunningPermit and preserving the updated persistence/library handling in Pipelines::make_required). Updated the PR description with refreshed tests (shaders:: 57 passed, shaders::offline_gate_tests:: 4 passed) and a paired 60 s retail smoke (912 vs 895 frames shown, 0 crashes, 0 device removals). Ready for another look.
|
merge-check claim Re-check of the new head (my earlier check was on the head before the rebase). |
|
merge-check |
|
Same issue as #1638 (#1598), but not the same change. #1638 moves DXC into memory-capped worker processes. This PR gates the driver's uncached compute pipeline builds in offline AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Shares the runtime huge/giant driver-compile thresholds and commit-headroom helpers from
hle::d3d12x::realwith offlinexcl shaders --precompile --pipelinesbuilds inshaders.rsviaOfflineGate, rebased onto currentmain(e429936c). Uncached and cached-probe giant/huge builds are serialized/capped and wait forbig_compile_headroomfree commit whenever another cold build is in flight (while a sole huge/giant compile proceeds so low host commit never deadlocks progress).Part of #1598
What is in it
crates/xcl/src/hle/d3d12x/real.rs: exposehuge_pso_bytes,huge_pso_concurrency,GIANT_DRIVER_COMPILE,big_compile_headroom, andbig_compile_commit_freeaspub(crate).crates/xcl/src/shaders.rs: addOfflineGate(OfflineGateState,OfflineGateGuard),CachedProbe,build_with_gatereusingRunningPermit, wirePipelines::make_requiredthroughbuild_with_gate, and add 4 unit tests undershaders::offline_gate_tests.Tested
32.0.15.9579), AMD Ryzen 7 9700X, Windows 11 Pro10.0.26100,rustc 1.100.0 (0ef1bc386 2026-11-09).cargo test -p xcl --lib shaders::offline_gate_tests:: -- --nocapture --test-threads=1: 4 passed, 0 failed, 0 ignored (2029 filtered out), 0 skipped.cargo test -p xcl --lib shaders:: -- --test-threads=1: 57 passed, 0 failed, 0 ignored (1976 filtered out), 0 skipped.cargo build --release -p xcl: clean build with 0 new warnings (26 pre-existing warnings onmain).title: 9cc6a39e, run withXCL_PREPARE=0per8617577bbecause cold shader preparation for 26,503 records exceeded the 120 s startup timeout):7d6d5651matchedmaine429936ccleanly (912vs895frames shown,13708vs13711MB peak commit,0crashes,0device removals).Regression run
Not tested
cargo test --workspaceat7d6d5651(onlyshaders::andshaders::offline_gate_tests::ran after rebasing).xcl shaders --precompile --pipelinespass on a retailshaders.rpfpack at7d6d5651.7d6d5651.AI use
main, adaptedbuild_with_gateto reuseRunningPermitandCachedProbe, ran tests/builds/smokes, and drafted this description with Antigravity (Gemini 4 Neon).