D3D12.X: clamp PcCalls across frame boundaries and drop orphaned PSO jobs immediately #2296

Manually merged
github merged 1 commit from gh-pr/2296/head into gh-pr/2296/base 2026-11-26 05:26:09 +00:00
Owner

@⁠Decodere on GitHub · 2026-11-25 12:58 UTC · original
Decodere:fix-1782-2178-pso-async-frame-orphan → main · +197 −23 · 1 files · 1 commits · merged 2026-11-25 18:16 UTC

What is in it

Follow-up to #1782 and #2178 fixing two lifetime/timing bugs in crates/xcl/src/hle/d3d12x/pso_async.rs:

  1. Clamp PcCalls across monotonic frame boundaries: PcCalls now tracks frame: Option<u64> and frame_since: Option<Instant>, recording frame_since = Some(now) on monotonic frame advances (frame > prev in begin(), end(), and holds(), with pc_call() reading present::presents() under PC_CALLS.lock() like held_by_pc_call() and PcCall::drop()) and clamping call start times via since.max(frame_since). A long PC call that began on frame N and finishes after frame N+1 is presented no longer charges its pre-frame-N+1 duration into frame N+1's PC_CALL_HOLDS_AFTER (250 ms) budget, stale lower frame numbers never rewind frame or clear spent, and a call genuinely stuck >= 250 ms after a frame still holds the title.
  2. Immediate outside-lock drop of unstarted orphaned Job closures: Added drop_unstarted_job(&Pending) and call it from released() (after releasing PENDING and p.done locks) as well as the preload() and enqueue() worker p.orphan checks. When released() claims p.job before a worker takes it, the unstarted Job closure (with its captured COM objects and shader bytecode buffers) is cancelled and dropped immediately outside all locks rather than staying pinned until background workers drain deep queues, and *p.done = true + p.cv.notify_all() wakes any concurrent waiter (a worker that already passed the p.orphan check and claims p.job first still runs and discards its result once in complete()).

(Rebased onto origin/main 06c9f550 to adapt cleanly to #2080's Work queue / enqueue() extraction in pso_async.rs, calling drop_unstarted_job(&p) in enqueue()'s orphan branch.)

Tested

  • Pre-fix reproduction (cargo test --release -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --test-threads=1 --nocapture): 10 passed, 2 failed — both new tests failed (pre-frame duration leaked into frame 8's budget and normal queued job was not dropped immediately on released()).
  • Post-fix cargo test --release -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --test-threads=4 --nocapture: 12 passed, 0 failed, 0 ignored (0.61 s), including:
    • pc_call_crossing_frame_boundary_does_not_charge_prior_frame_time: verifies pre-frame duration does not leak on either holds() or end() after a frame advance, calls genuinely stuck >= PC_CALL_HOLDS_AFTER after the frame advance still hold the title, and stale lower frame numbers never rewind frame or wipe the newer frame's spent budget.
    • released_queued_pipeline_drops_job_immediately_before_workers_drain: saturates both the normal worker pool and the preload worker pool behind gates, calls released() on queued pipelines carrying a DropFlag, and asserts both jobs drop immediately while workers are still blocked and never execute.
    • Serializes worker-saturation tests in used_tests with a test-only WORKER_SATURATION_LOCK so a_released_queued_pipeline_is_not_built_by_normal_workers and the new saturation test never race under --test-threads=4.
  • Full release workspace (cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture on NVIDIA GeForce RTX 4060): 23 test binaries, 1267 passed, 0 failed, 46 ignored (28 pre-existing hardware/debug-layer SKIPPED: 21 no wave64 on 32-lane GPU, 3 wave32 per-lane refused, 2 missing D3D12 debug layer, 1 driver cache toggle, 1 no heap windows; 0 skipped in pso_async).

Regression run

Paired 60 s scripts/smoke.ps1 runs on the same RTX 4060 host against origin/main (06c9f5505f63f10c5ec49ef932d75b2c28177324) and PR head (5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af):

Baseline (origin/main):

xcl-smoke v1
commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1566 (PresentX 1566)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14462 MB

PR head:

xcl-smoke v1
commit: 5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1559 (PresentX 1559)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14420 MB

Not tested

  • AMD/Intel GPUs and native wave64 hardware (this host has an NVIDIA RTX 4060).
  • D3D12 debug-layer validation (d3d12SDKLayers.dll is not installed on this host).

AI use

Implemented and verified with Google Antigravity (Gemini 4 Neon).

**@⁠Decodere** on GitHub · 2026-11-25 12:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296) `Decodere:fix-1782-2178-pso-async-frame-orphan` → `main` · +197 −23 · 1 files · 1 commits · merged 2026-11-25 18:16 UTC **What is in it** Follow-up to #1782 and #2178 fixing two lifetime/timing bugs in `crates/xcl/src/hle/d3d12x/pso_async.rs`: 1. **Clamp `PcCalls` across monotonic frame boundaries**: `PcCalls` now tracks `frame: Option<u64>` and `frame_since: Option<Instant>`, recording `frame_since = Some(now)` on monotonic frame advances (`frame > prev` in `begin()`, `end()`, and `holds()`, with `pc_call()` reading `present::presents()` under `PC_CALLS.lock()` like `held_by_pc_call()` and `PcCall::drop()`) and clamping call start times via `since.max(frame_since)`. A long PC call that began on frame `N` and finishes after frame `N+1` is presented no longer charges its pre-frame-`N+1` duration into frame `N+1`'s `PC_CALL_HOLDS_AFTER` (250 ms) budget, stale lower frame numbers never rewind `frame` or clear `spent`, and a call genuinely stuck `>= 250 ms` after a frame still holds the title. 2. **Immediate outside-lock drop of unstarted orphaned `Job` closures**: Added `drop_unstarted_job(&Pending)` and call it from `released()` (after releasing `PENDING` and `p.done` locks) as well as the `preload()` and `enqueue()` worker `p.orphan` checks. When `released()` claims `p.job` before a worker takes it, the unstarted `Job` closure (with its captured COM objects and shader bytecode buffers) is cancelled and dropped immediately outside all locks rather than staying pinned until background workers drain deep queues, and `*p.done = true` + `p.cv.notify_all()` wakes any concurrent waiter (a worker that already passed the `p.orphan` check and claims `p.job` first still runs and discards its result once in `complete()`). *(Rebased onto `origin/main` `06c9f550` to adapt cleanly to #2080's `Work` queue / `enqueue()` extraction in `pso_async.rs`, calling `drop_unstarted_job(&p)` in `enqueue()`'s orphan branch.)* **Tested** - Pre-fix reproduction (`cargo test --release -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --test-threads=1 --nocapture`): `10 passed, 2 failed` — both new tests failed (`pre-frame duration leaked into frame 8's budget` and `normal queued job was not dropped immediately on released()`). - Post-fix `cargo test --release -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --test-threads=4 --nocapture`: `12 passed, 0 failed, 0 ignored` (0.61 s), including: - `pc_call_crossing_frame_boundary_does_not_charge_prior_frame_time`: verifies pre-frame duration does not leak on either `holds()` or `end()` after a frame advance, calls genuinely stuck `>= PC_CALL_HOLDS_AFTER` after the frame advance still hold the title, and stale lower frame numbers never rewind `frame` or wipe the newer frame's `spent` budget. - `released_queued_pipeline_drops_job_immediately_before_workers_drain`: saturates both the normal worker pool and the `preload` worker pool behind gates, calls `released()` on queued pipelines carrying a `DropFlag`, and asserts both jobs drop immediately while workers are still blocked and never execute. - Serializes worker-saturation tests in `used_tests` with a test-only `WORKER_SATURATION_LOCK` so `a_released_queued_pipeline_is_not_built_by_normal_workers` and the new saturation test never race under `--test-threads=4`. - Full release workspace (`cargo test --release --workspace --no-fail-fast -- --test-threads=4 --nocapture` on NVIDIA GeForce RTX 4060): `23` test binaries, `1267 passed, 0 failed, 46 ignored` (`28` pre-existing hardware/debug-layer `SKIPPED`: `21` `no wave64` on 32-lane GPU, `3` wave32 per-lane `refused`, `2` missing D3D12 debug layer, `1` driver cache toggle, `1` `no heap windows`; `0` skipped in `pso_async`). **Regression run** Paired 60 s `scripts/smoke.ps1` runs on the same RTX 4060 host against `origin/main` (`06c9f5505f63f10c5ec49ef932d75b2c28177324`) and PR head (`5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af`): Baseline (`origin/main`): ``` xcl-smoke v1 commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1566 (PresentX 1566) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14462 MB ``` PR head: ``` xcl-smoke v1 commit: 5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1559 (PresentX 1559) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14420 MB ``` **Not tested** - AMD/Intel GPUs and native wave64 hardware (this host has an NVIDIA RTX 4060). - D3D12 debug-layer validation (`d3d12SDKLayers.dll` is not installed on this host). **AI use** Implemented and verified with Google Antigravity (Gemini 4 Neon).
Track `frame: Option<u64>` and `frame_since: Option<Instant>` on `PcCalls` so
monotonic frame advances (`frame > prev`) record `frame_since = Some(now)` and
clamp call start timestamps in `end()` and `holds()` (while advancing frame in
`begin()` too, reading `present::presents()` under `PC_CALLS.lock()`). A long
PC call that started on frame N and ends after frame N+1 is presented no longer
charges pre-frame-N+1 duration into frame N+1's `PC_CALL_HOLDS_AFTER` budget,
stale lower frame numbers never rewind `frame` or clear `spent`, and calls
stuck >= 250 ms after a frame still hold the title.

Also drop unstarted orphaned `Job` closures immediately in `released()` (outside
`PENDING`, `done`, and `job` locks via `drop_unstarted_job`), waking any
concurrent waiter when taking an unstarted job, and mirror that cleanup in the
`preload()` and normal worker orphan checks so captured COM objects and shader
bytecode are not pinned until workers drain deep queues.

Assisted-by: Google Antigravity (Gemini 4 Neon)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:26:07 +00:00
github manually merged commit 5b97e22b2e into gh-pr/2296/base 2026-11-26 05:26:09 +00:00
Author
Owner

@⁠Decodere on GitHub · 2026-11-25 14:20 UTC · original

Thanks @fromthemoonx (for the RTX 3060 + D3D12 debug-layer verification) and @Gevroska (for the cancellation-boundary testing and wording precision)!

Rebased onto origin/main 06c9f550 -> 5b97e22b:

  • Adapted cleanly to #2080's Work queue / enqueue() extraction in crates/xcl/src/hle/d3d12x/pso_async.rs (wiring drop_unstarted_job(&p) into enqueue()'s p.orphan check).
  • Updated the PR description wording per @Gevroska to clarify that released() cancels/drops immediately when it claims p.job before a worker takes it, whereas a worker that already passed the p.orphan check and claims p.job first still runs and discards its result once in complete().
  • Re-verified pso_async::used_tests (12/0), full release workspace (1,267 passed, 0 failed, 46 ignored), and paired 60 s RTX 4060 smoke (1566 -> 1559 frames, 0 removals/crashes, 14462 -> 14420 MB).

AI use: rebased, tested, and drafted with Google Antigravity (Gemini 4 Neon).

**@⁠Decodere** on GitHub · 2026-11-25 14:20 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296#issuecomment-7165137876) Thanks `@fromthemoonx` (for the RTX 3060 + D3D12 debug-layer verification) and `@Gevroska` (for the cancellation-boundary testing and wording precision)! Rebased onto `origin/main` `06c9f550` -> `5b97e22b`: - Adapted cleanly to #2080's `Work` queue / `enqueue()` extraction in `crates/xcl/src/hle/d3d12x/pso_async.rs` (wiring `drop_unstarted_job(&p)` into `enqueue()`'s `p.orphan` check). - Updated the PR description wording per `@Gevroska` to clarify that `released()` cancels/drops immediately when it claims `p.job` before a worker takes it, whereas a worker that already passed the `p.orphan` check and claims `p.job` first still runs and discards its result once in `complete()`. - Re-verified `pso_async::used_tests` (`12/0`), full release workspace (`1,267 passed, 0 failed, 46 ignored`), and paired 60 s RTX 4060 smoke (`1566 -> 1559` frames, `0` removals/crashes, `14462 -> 14420 MB`). _AI use: rebased, tested, and drafted with Google Antigravity (Gemini 4 Neon)._
Author
Owner

@⁠nnonno91 on GitHub · 2026-11-25 14:25 UTC · original

Independent parallel test rerun on rebased head 5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af.

Tested

  • Ryzen 7 9800X3D, Windows 11 25H2 build 26200.9974, Rust 1.100.0 MSVC, unoptimized test profile. These focused tests are CPU-side.
  • Ran cargo test --locked -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --nocapture --test-threads=4 three times in separate processes. All three runs gave 12 passed, 0 failed, 0 ignored and no skips.
  • The frame-boundary timing case and the test that drops queued jobs while the normal/preload workers are still gated passed on each run.

Not tested

The parent, a retail title, GPU behavior and the full workspace suite.

AI use

OpenAI Codex (GPT-6.2 Sol) ran the checks, verified the logs and wrote this report.

**@⁠nnonno91** on GitHub · 2026-11-25 14:25 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296#issuecomment-7165251617) Independent parallel test rerun on rebased head `5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af`. **Tested** - Ryzen 7 9800X3D, Windows 11 25H2 build 26200.9974, Rust 1.100.0 MSVC, unoptimized test profile. These focused tests are CPU-side. - Ran `cargo test --locked -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --nocapture --test-threads=4` three times in separate processes. All three runs gave 12 passed, 0 failed, 0 ignored and no skips. - The frame-boundary timing case and the test that drops queued jobs while the normal/preload workers are still gated passed on each run. **Not tested** The parent, a retail title, GPU behavior and the full workspace suite. **AI use** OpenAI Codex (GPT-6.2 Sol) ran the checks, verified the logs and wrote this report.
Author
Owner

@⁠fromthemoonx on GitHub · 2026-11-25 14:06 UTC · original · edited 2026-11-25 14:26 UTC

Rerun on the new head 5b97e22 (rebased onto main 06c9f55): passes on NVIDIA with the D3D12 debug layer, and the debug layer reports the same messages as on main. The conflict with #2080 noted below is resolved.

result
cargo test --workspace --no-fail-fast -- --test-threads=4 1267 passed, 0 failed, 46 ignored; 25 SKIPPED lines (no wave64 and the refused per-lane cases); test_title_draws_with_a_root_signature_under_the_debug_layer ran and passed
cargo test -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --test-threads=4, 30 runs 12 passed each time, 30 of 30
debug-layer messages in the e2e title's xcl.log, PR vs 06c9f55 identical: 3× error id 93, 1× error id 1046, 1× warning id 820, 8× id 0 (live-object report at exit)

First run, on 99bb282: Passed on NVIDIA with the D3D12 debug layer installed, but conflicted with main. #2080 (9a257e1) had changed the worker loop in queue() (Box<dyn FnOnce()> work items, the orphan check moved into enqueue()), so I tested the head on its base 1a0bbe3: 1252 passed, 0 failed, 46 ignored; used_tests 30 of 30; debug-layer messages identical to 1a0bbe3.

The e2e title runs with XCL_ASYNC_PSO unset (async on). It does not release a pipeline that is still queued, and it does not keep a PC call open across a present. So the debug-layer run checks that nothing changed for that title, not the two new paths themselves. The new unit tests cover those.

Tested: RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug, Graphics Tools (D3D12 debug layer) installed.

Not tested: a release build, a title, AMD / Intel.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

**@⁠fromthemoonx** on GitHub · 2026-11-25 14:06 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296#issuecomment-7164774189) · edited 2026-11-25 14:26 UTC **Rerun on the new head `5b97e22` (rebased onto `main` `06c9f55`): passes on NVIDIA with the D3D12 debug layer, and the debug layer reports the same messages as on `main`.** The conflict with #2080 noted below is resolved. | | result | |---|---| | `cargo test --workspace --no-fail-fast -- --test-threads=4` | 1267 passed, 0 failed, 46 ignored; 25 `SKIPPED` lines (`no wave64` and the refused per-lane cases); `test_title_draws_with_a_root_signature_under_the_debug_layer` ran and passed | | `cargo test -p xcl --lib hle::d3d12x::pso_async::used_tests:: -- --test-threads=4`, 30 runs | 12 passed each time, 30 of 30 | | debug-layer messages in the e2e title's `xcl.log`, PR vs `06c9f55` | identical: 3× error id 93, 1× error id 1046, 1× warning id 820, 8× id 0 (live-object report at exit) | --- *First run, on `99bb282`:* **Passed on NVIDIA with the D3D12 debug layer installed, but conflicted with `main`.** #2080 (`9a257e1`) had changed the worker loop in `queue()` (`Box<dyn FnOnce()>` work items, the orphan check moved into `enqueue()`), so I tested the head on its base `1a0bbe3`: 1252 passed, 0 failed, 46 ignored; `used_tests` 30 of 30; debug-layer messages identical to `1a0bbe3`. The e2e title runs with `XCL_ASYNC_PSO` unset (async on). It does not release a pipeline that is still queued, and it does not keep a PC call open across a present. So the debug-layer run checks that nothing changed for that title, not the two new paths themselves. The new unit tests cover those. **Tested:** RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug, Graphics Tools (D3D12 debug layer) installed. **Not tested:** a release build, a title, AMD / Intel. **AI use:** Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
Author
Owner

@⁠Gevroska on GitHub · 2026-11-25 14:01 UTC · original · edited 2026-11-25 15:23 UTC

I tested the cancellation boundary at 99bb2826 with a standalone Rust CPU fixture. I paused the worker after it read orphan == false, then let released() mark the entry orphaned. When I resumed the worker before released() took the job mutex, the worker claimed and ran the job. On completion, it discarded the result exactly once. When released() took the job first, the waiter woke and the job never ran.

I’d qualify “any unstarted Job closure is dropped immediately” in the description. Release cancels a queued job if it takes the job slot first. A worker that already passed the orphan check can still win that race.

All four fixture cases passed. I used inert job results and did not run a driver compile. I used Codex GPT-6.2 Sol for the fixture and a separate GPT-6.2 Sol agent at high reasoning to verify the source and results.

I reviewed and approved this comment before posting.

**@⁠Gevroska** on GitHub · 2026-11-25 14:01 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296#issuecomment-7164637994) · edited 2026-11-25 15:23 UTC I tested the cancellation boundary at `99bb2826` with a standalone Rust CPU fixture. I paused the worker after it read `orphan == false`, then let `released()` mark the entry orphaned. When I resumed the worker before `released()` took the job mutex, the worker claimed and ran the job. On completion, it discarded the result exactly once. When `released()` took the job first, the waiter woke and the job never ran. I’d qualify “any unstarted `Job` closure is dropped immediately” in the description. Release cancels a queued job if it takes the job slot first. A worker that already passed the orphan check can still win that race. All four fixture cases passed. I used inert job results and did not run a driver compile. I used Codex GPT-6.2 Sol for the fixture and a separate GPT-6.2 Sol agent at high reasoning to verify the source and results. I reviewed and approved this comment before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 17:29 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 17:29 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296#issuecomment-7169588714) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Author
Owner

@⁠emirduran707 on GitHub · 2026-11-25 17:37 UTC · original

Independent AMD RDNA4 (native wave64) test report on exact head 5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af (clean detached checkout, no local changes).

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64, driver 32.0.31044.16), Ryzen 5 5600, 32 GB RAM, Windows 11 Pro 26300, Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17; tests debug, smoke release.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 1265 passed, 2 failed, 46 ignored; 8 SKIPPED (6 in lower_dxil::tests::{f16,f32}_programs_on_the_gpu refused by per-lane form; heap_window_out_of_memory_falls_back_to_the_switch_form; pso_measurement_compiles_an_exact_synthetic_record).
    • Both PR tests passed: hle::d3d12x::pso_async::used_tests::pc_call_crossing_frame_boundary_does_not_charge_prior_frame_time and released_queued_pipeline_drops_job_immediately_before_workers_drain.
    • The 2 failures (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 seed 722 and fuzz_validate_and_gpu_3 seed 1599) are pre-existing on unmodified main on this GPU.

Regression run (60 s retail-title smoke, XCL_NETWORK=0, release)

xcl-smoke v1
commit: 5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af
gpu: AMD Radeon RX 9060 XT
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1582 (PresentX 1582)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17029 MB

(Matched main 68a284a baseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.)

Not tested

  • D3D12 debug layer; Intel GPUs.

AI use

  • Antigravity with Gemini 4 Neon ran the build, test suite, and smoke run and drafted this report.
**@⁠emirduran707** on GitHub · 2026-11-25 17:37 UTC · [original](https://github.com/xcl-dev/xcl/pull/2296#issuecomment-7169771918) Independent AMD RDNA4 (native wave64) test report on exact head `5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af` (clean detached checkout, no local changes). **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64, driver 32.0.31044.16), Ryzen 5 5600, 32 GB RAM, Windows 11 Pro 26300, Rust 1.100.0 (`stable-x86_64-pc-windows-msvc`), DXC 1.9.2602.17; tests debug, smoke release. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: **1265 passed, 2 failed, 46 ignored; 8 SKIPPED** (6 in `lower_dxil::tests::{f16,f32}_programs_on_the_gpu` refused by per-lane form; `heap_window_out_of_memory_falls_back_to_the_switch_form`; `pso_measurement_compiles_an_exact_synthetic_record`). - Both PR tests passed: `hle::d3d12x::pso_async::used_tests::pc_call_crossing_frame_boundary_does_not_charge_prior_frame_time` and `released_queued_pipeline_drops_job_immediately_before_workers_drain`. - The 2 failures (`gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` seed 722 and `fuzz_validate_and_gpu_3` seed 1599) are pre-existing on unmodified `main` on this GPU. **Regression run** (60 s retail-title smoke, `XCL_NETWORK=0`, release) ``` xcl-smoke v1 commit: 5b97e22b2e77b2ba3e65d8a3396c0f7a9eaf04af gpu: AMD Radeon RX 9060 XT title: 21222967 seconds: 60 exit: 0x0 frames shown: 1582 (PresentX 1582) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17029 MB ``` (Matched `main` `68a284a` baseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.) **Not tested** - D3D12 debug layer; Intel GPUs. **AI use** - Antigravity with Gemini 4 Neon ran the build, test suite, and smoke run and drafted this report.
This discussion has been locked. Commenting is limited to contributors.
No description provided.