Skip to content

Tests: the nvidia-dev suite follows late release and the moved AS-slot MS - #8

Draft
itsSio wants to merge 1 commit into
nvidia-devfrom
tests/nvidia-dev-suite-fixes
Draft

itsSio wants to merge 1 commit into
nvidia-devfrom
tests/nvidia-dev-suite-fixes

Conversation

@itsSio

@itsSio itsSio commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Fixes the 5 test failures currently reproducing on nvidia-dev (c044dc6d48d2b46a8ae77852df275c534681f3df) on both RTX 5080 and RTX 2080 SUPER with no runtime code changes (test-only).

What is in it

  • Tests: the nvidia-dev suite follows late release and the moved AS-slot MS:
    • crates/xcl/src/hle/d3d12x/texture_upload.rs (mod tests only): use wrapping_mul/wrapping_add in some_ranges LCG so debug builds match release wrapping instead of panicking on usize overflow (fixes pieces_hold_the_texels_of_their_levels and gpu_parts_of_a_texture_go_up_and_the_rest_stays).
    • crates/xcl/tests/d3d12_mesh_stream.rs: update case 1 assertion and header comment to match nvidia-dev's intentional real::mesh_shader_slots handling of a lone console MS in the AS slot (still expects E_INVALIDARG, checks for an MS: error and no "in the AS slot" refusal).
    • crates/xcl/tests/gpu_compute_e2e.rs and crates/xcl/tests/gpu_two_pass_cache_e2e.rs: poll for up to 10 s (5 ms interval, matching late_release::a_pipeline_xcl_lets_go_is_released_by_the_thread) after drop so the tests wait for nvidia-dev's late_release::hold_pipeline fence batch to drain before running the unchanged cleanup assertions.

Tested
Commit 5fe5d6e77d32af20ba35bc86306fa8d2920423e8 (based on nvidia-dev c044dc6d48d2b46a8ae77852df275c534681f3df), clean checkouts on both NVIDIA machines, debug builds (XCL_ADAPTER=NVIDIA). On unpatched c044dc6d, both machines reported 1560 passed, 5 failed, 47 ignored on these exact 5 tests.

  • PC 1: NVIDIA GeForce RTX 5080 (driver 32.0.16.1088), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11 Pro build 26200, rustc 1.97.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2609.5, debug build.
    • cargo build --workspace: exit 0.
    • cargo test --workspace --no-fail-fast -- --test-threads=4 --nocapture: 1568 passed, 0 failed, 47 ignored (29 test binaries; all 5 previously failing tests pass).
    • SKIPPED: 27 (NVIDIA wave64 tests, 3 #1426 f16/cvt per-lane refusals, two_pass_binds_set_the_shared_view_heap opt-in XCL_HEAP_WINDOWS=1, heap_window_out_of_memory_falls_back_to_the_switch_form, pso_measurement_compiles_an_exact_synthetic_record Developer Mode).
  • PC 2: NVIDIA GeForce RTX 2080 SUPER (driver 32.0.16.1088), AMD Ryzen 5 5600X, 16 GB RAM, Windows 11 Pro build 26200, rustc 1.99.1 (stable-x86_64-pc-windows-msvc), Windows SDK 10.0.26100 DXC 1.8.2502.11, debug build.
    • cargo build --workspace: exit 0.
    • cargo test --workspace --no-fail-fast -- --test-threads=4 --nocapture: 1568 passed, 0 failed, 47 ignored (29 test binaries; all 5 previously failing tests pass).
    • SKIPPED: 30 (same 27 as PC 1 plus 3 requiring d3d12SDKLayers.dll).

Not tested

  • Retail scripts/smoke.ps1 regression run (test-only diff; texture_upload.rs edit is inside #[cfg(test)] mod tests, no runtime behavior changes).
  • Release builds (--release).
  • AMD / Intel GPUs, native wave64, Linux / Wine / vkd3d-proton.

AI use
Ran via Samaritan:

  • Google Antigravity CLI (Claude Opus 5.5 (High)): root-caused the 5 nvidia-dev failures, wrote 5fe5d6e7, and ran the dual-PC full-workspace test suites on both NVIDIA machines.
  • Google Antigravity CLI (Gemini 4 Neon (High)): coordinated, performed independent cross-model diff review, ran scripts/pr_check.py --local --test-only, and wrote this PR description.

…t MS

Five tests failed on nvidia-dev c044dc6 with no runtime fault behind them:

- texture_upload some_ranges: the LCG step overflowed usize in debug builds
  (pieces_hold_the_texels_of_their_levels and
  gpu_parts_of_a_texture_go_up_and_the_rest_stays). It now wraps, which is
  what release builds already did, so the ranges are the same.
- d3d12_mesh_stream: a console MS alone in the AS slot is taken as the MS
  (real::mesh_shader_slots) instead of being refused for the slot. The
  synthetic container has no NGG variant, so it still fails with
  E_INVALIDARG, now as "MS: no NGG hardware variant". The test checks for
  that and for the absence of an AS-slot refusal.
- gpu_compute_e2e async_compute_pso_registers_real_pso_and_not_standin and
  gpu_two_pass_cache_e2e: the real pipeline behind a released stand-in goes
  through late_release::hold_pipeline, once every queue is past a fence, and
  is forgotten when that Release runs. The tests checked right after drop();
  they now poll for up to 10 s, as late_release's own test does.

Test-only; no runtime code changes.

Assisted-by: Google Antigravity CLI (Claude Opus 5.5 (High))
@itsSio
itsSio force-pushed the tests/nvidia-dev-suite-fixes branch from 5fe5d6e to f7ac6cb Compare November 26, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant