Repository navigation
Conversation
|
Test report and three review notes for Tested
Review notes
Not tested: any title (no smoke pair here), AMD / Intel, release builds. AI use: Claude Code (Claude Opus 5.5) ran the tests on the machine above, read the diff and wrote this. I checked the results. |
|
Test of
For comparison, Tested: RTX 4080 16 GB (driver 610.88), i9-12900K, 64 GB RAM (commit limit 68 GB), Windows 11 26300, release. AI use: Claude Code (Claude Opus 5.5): ran the tests and wrote this. |
|
NVIDIA and AMD full-suite run, to go with the RTX 5080 and RTX 4080 reports above, since neither covers AMD. Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
A regression run under Wine on Linux on the retail title: no device removal, no crash, frames level with Tested
Regression run main (first run): this PR: The second Not tested
AI use
|
|
Independent Windows verification at 378a077. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC, debug. Tested
Not tested AI use |
|
Test report on Tested: main, 2 walks; #2114, 1 walk. What was measured: main (both walks): 0 submits and 0 presents after 130 s, Review notes (each confirmed in the #2114 diff at
Not tested: suite run on this tree; repeat walks (variance); NVIDIA/other AI use: Measured by an omp agent running DeepSeek v4.1 Flash; review |
|
Code review on
Remaining before merge: Fix |
|
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 |
|
Follow-up to my test report above: the control arm, same box, same protocol (
With the per-frame cap off, the PR head behaves like main: submits stop at ~126 s and nothing is presented. So the extra submissions and the one present come from the per-frame cap, not from the build or cache warmth. The cost is the frozen-frame issue from my notes: 24 of the 25 exhaustion warnings are in frame 1907 and 1 is in frame 1909, the title presented 1910 frames in all, and the final "(4097 so far)" is the skip count of the frame it never left. All three walks still end at the commit stop (~141–143 s), so the world is not reached. These walks are on AI use: the walks and log tables were run by an agent on DeepSeek V4.1 Flash (open-weight, measurement only). I checked the counts above against the three |
Split from #1652 (Part of #156 / #1833 / #1452 / #505): cap cumulative pipeline bind waits per
PresentXframe across all threads so bursts of cold pipeline builds cannot stallPresentXpast a title's watchdog, and releasewantedwhen a bounded wait expires so late builds return to memory/slot throttling.Note on defaults (per @milesah3ad review): on
main, unsetXCL_PSO_WAIT_MSwaits until each pipeline is built; with this PR, while a title runs (crate::state::boot().is_some()), unsetXCL_PSO_WAIT_MS/XCL_PSO_FRAME_WAIT_MSdefaults to250 msper pipeline and2,000 msprocess-wide cumulative perPresentXframe, meaning unbuilt compute dispatches are skipped during cold compile bursts (#1452/#505). PassingXCL_PSO_WAIT_MS=0waits until built (unlessXCL_PSO_FRAME_WAIT_MSis explicitly set > 0, in which case the explicit frame cap wins).What is in it
crates/xcl/src/hle/d3d12x/present.rs: exposepresent::frame_generation()reading the monotonicBOUNDARIESframe counter.crates/xcl/src/hle/d3d12x/pso_async.rs:WaitCaps/resolve_capsand a process-wideFRAME_BUDGET: Mutex<FrameBudget>keyed bypresent::frame_generation(), briefly locked only before/aftercv.wait_timeout_whileso multiple recording threads share one per-frame wait cap instead of multiplyingN * 2,000 ms.TimedWantGuard(Pending::want_timed+Demand::timed_waiters/unbounded_wanted) sowantedstays raised only while a bounded wait is actively blocked; timed-out late builds return toreal::big_compile_turnanddxc::wait_for_memorycommit throttling instead of bypassing memory gates (huge, wanted at once (no slot)).late, so they get a fresh wait window on the next frame; already-built pipelines still resolve immediately.wait_caps_respect_env_and_title_boot_state,frame_budget_caps_cumulative_wait_and_resets_on_new_frame,a_frame_budget_caps_a_burst_of_slow_pipelines_and_resets_next_frameincluding cross-thread exhaustion check, andtimed_out_bind_releases_wanted_so_late_builds_respect_throttling).Tested
rustc 1.98.0-nightly (096694416 2026-06-29), release build and debug unit tests on Windows.cargo test -p xcl --lib pso_async -- --nocapture(commit378a077): 10 passed, 0 failed, 0 ignored.cargo test -p xcl --lib -- --test-threads=4 --nocapture(commit378a077): 1098 passed, 4 failed (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3, pre-existingCreateComputePipelineState0x8007000Eon driver 616.64), 26 ignored (SKIPPED GPU tests on 32-lane hardware without Developer Mode: wave64gpu::recomp::lower/lower_dxil/recomp::tests,#1426f16/f32 per-lane cases, andshaders::tests::pso_measurement_compiles_an_exact_synthetic_record).scripts/smoke.ps1 -Seconds 60on clean6020a33(upstream/main) and clean378a077(d3d12x-pso-per-frame-wait-cap).Regression run
main:
PR:
Not tested
cargo test --workspace -- --test-threads=4integration test binaries, Python helper tests, andXCL_DXC_THREADS=4/ 34 GB multi-run world-loading stress test on commit378a077.3c290c16.AI use
FrameBudget,TimedWantGuardfix, unit tests, mergingupstream/main(6020a33), runningcargo testand pairedscripts/smoke.ps1verification, and validating the PR description.