Tests: the queue slot 18 test signals a fence object that is complete (#1487) #1523

Closed
github-bot wants to merge 1 commit from gh-pr/1523/head into gh-pr/1523/base
Owner

@⁠upipibi on GitHub · 2026-11-24 17:15 UTC · original
upipibi:tests/slot18-fake-fence → main · +33 −1 · 1 files · 1 commits · closed without merging

Refs #1487: the 0xC0000005 part. The test-thread count doesn't matter; the order the tests happen to run in does.

hle::d3d12x::real::queue_tests::queue_slot_18_before_the_layout_is_known_writes_8_bytes registers a bare number, 0x5EED_0000, as one of the title's fences and sends a Signal of it through queue slot #14. That Signal goes on to the title-fence bookkeeping: list_x::note_title_queue_signal puts the fence into the sync graph's title_fences, and fence_x::note_queue_signal into its map. Nothing takes it out again. The next list_x call that looks for cycles (break_cycles_before_title_signal and the check before a Wait64 signal) walks title_fences and calls prune_title_fence. That calls GetCompletedValue() through 0x5EED_0000, and the process ends with STATUS_ACCESS_VIOLATION. With one test thread it never shows, because list_x's tests run before real's.

Test-only.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs, queue_tests: the test's fence is a static object that lives as long as the process. Its GetCompletedValue answers u64::MAX, so the bookkeeping drops its signal at the first look. Its other methods return E_NOTIMPL. The test's own checks are unchanged.

Tested
NVIDIA GeForce RTX 3070, driver 616.56; Windows 11 Pro 26100; Rust 1.100.0 MSVC; debug; main b7aa9f3.

  • main, cargo test -p xcl --lib -- --test-threads=32: 2 of 2 runs ended with 0xc0000005. Narrowed down by running subsets: just hle::d3d12x::real:: and hle::d3d12x::list_x:: together crash 4 of 4 runs, and each alone passes. The smallest set is this test plus one of list_x::tests::cross_queue_cycle_and_same_queue_fifo_do_not_deadlock / cross_queue_wait64_before_signal_does_not_deadlock_submit_thread (--exact, 32 threads): 4 of 4 crash on each pair.

  • This head: both pairs 4 of 4 pass; real:: + list_x:: 4 of 4 pass. Whole library suite: 3 runs at 32 threads, 2 at 16 and 2 at the default count, with no access violation. --test-threads=1: 721 passed, 1 failed (the XAudio2 test below, while another process ran the XAudio2 tests), 21 ignored.

  • Checked independently on AMD by GonZiin (#1523), thanks: RX 9070 XT, driver 32.0.32029.2010. The two pairs crashed in 8 of 8 runs on b7aa9f3 and passed 8 of 8 on this head; cargo test -p xcl --lib -- --test-threads=32 at this head gave 722 passed, 0 failed, 21 ignored.

  • Also on an RTX 5070 by marquezinii (#1523), thanks: with --test-threads=32, main 9e3831e had the access violation in 9 of 10 runs, and with #1456 and this PR in 0 of 10. Their procdump of a crashed run stops in list_x::prune_title_fence → ID3D12Fence::GetCompletedValue, reading 0x5eed0000, called from cross_queue_cycle_and_same_queue_fifo_do_not_deadlock: the path described above.

  • RTX 5090 by Bullet18x (#1523), thanks: --test-threads=32, 10 runs on this head with no access violation. main 9e3831e had 1 in 10, #1520's head 3 in 10. main + #1520 + #1523 + #1590, 25 runs: none. Device removals (0x887A0006) in 5 of 45 runs on every branch, this one included, look unrelated.

Still flaky after this (not fixed here)

  • hle::xaudio2::tests::opus_source_voice_decodes_and_manages_lifetime / xma2_source_voice_decodes_and_manages_lifetime: one of the two failed in each of the 32- and 16-thread runs above. The failing assert is STARTED == CTX1 + CTX2: no buffer started within the test's 3 s. On this PC that is the machine, not XCL. Opening the default audio output here takes 1 to 2.5 minutes: a run of clamped_and_silenced_buffers_accepted_by_windows_xaudio2 alone passed in 151 s, against 57 ms for engine_from_the_system_dll, which opens no device. The PC has many virtual and Bluetooth outputs. The opus_… / xma2_… tests give the voice 3 s, so they fail here even one at a time. Whether that is also what #1487's machine saw, I can't tell.
  • readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state failed once (16 threads) at assert_ne!(VirtualFree(mem, 0, MEM_RELEASE), 0), the left != right assert from #1487: fixed in #1590.

Regression run
The change is test-only (all inside real.rs's #[cfg(test)] mod queue_tests), so the release build is unchanged. The pair below is by Kalmarv (comment), thanks: RTX 5070 Ti 16 GB, driver 610.74, scripts/smoke.ps1, 60 s each, main at this PR's merge-base b7aa9f3, then this head. No device removal or crash in either run. Not checked in these runs: whether the fake-fence path was taken.

main:

xcl-smoke v1
commit: b7aa9f3bd212088e0d927439284dc5ed325ce3c7
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 60
exit: 0x0
frames shown: 1236 (PresentX 1236)
presents per 2 s (last 3): 21 13 18
device removals: 0
crashes: 0
peak commit: 26434 MB

PR:

xcl-smoke v1
commit: 1362129345ac91609bf8048361472f3f6bd6652e
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 60
exit: 0x0
frames shown: 1302 (PresentX 1302)
presents per 2 s (last 3): 11 40 52
device removals: 0
crashes: 0
peak commit: 26887 MB

Not tested

  • AMD, Wine.

AI use

  • Claude Code (Claude Opus 5.5) narrowed the crash down on this machine, found the cause, wrote the change and ran the tests.

🤖 Generated with Claude Code

**@⁠upipibi** on GitHub · 2026-11-24 17:15 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523) `upipibi:tests/slot18-fake-fence` → `main` · +33 −1 · 1 files · 1 commits · closed without merging Refs #1487: the `0xC0000005` part. The test-thread count doesn't matter; the order the tests happen to run in does. `hle::d3d12x::real::queue_tests::queue_slot_18_before_the_layout_is_known_writes_8_bytes` registers a bare number, `0x5EED_0000`, as one of the title's fences and sends a Signal of it through queue slot #14. That Signal goes on to the title-fence bookkeeping: `list_x::note_title_queue_signal` puts the fence into the sync graph's `title_fences`, and `fence_x::note_queue_signal` into its map. Nothing takes it out again. The next `list_x` call that looks for cycles (`break_cycles_before_title_signal` and the check before a Wait64 signal) walks `title_fences` and calls `prune_title_fence`. That calls `GetCompletedValue()` through `0x5EED_0000`, and the process ends with `STATUS_ACCESS_VIOLATION`. With one test thread it never shows, because `list_x`'s tests run before `real`'s. Test-only. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`, `queue_tests`: the test's fence is a static object that lives as long as the process. Its `GetCompletedValue` answers `u64::MAX`, so the bookkeeping drops its signal at the first look. Its other methods return `E_NOTIMPL`. The test's own checks are unchanged. **Tested** NVIDIA GeForce RTX 3070, driver 616.56; Windows 11 Pro 26100; Rust 1.100.0 MSVC; debug; `main` `b7aa9f3`. - `main`, `cargo test -p xcl --lib -- --test-threads=32`: 2 of 2 runs ended with `0xc0000005`. Narrowed down by running subsets: just `hle::d3d12x::real::` and `hle::d3d12x::list_x::` together crash 4 of 4 runs, and each alone passes. The smallest set is this test plus one of `list_x::tests::cross_queue_cycle_and_same_queue_fifo_do_not_deadlock` / `cross_queue_wait64_before_signal_does_not_deadlock_submit_thread` (`--exact`, 32 threads): 4 of 4 crash on each pair. - This head: both pairs 4 of 4 pass; `real::` + `list_x::` 4 of 4 pass. Whole library suite: 3 runs at 32 threads, 2 at 16 and 2 at the default count, with no access violation. `--test-threads=1`: 721 passed, 1 failed (the XAudio2 test below, while another process ran the XAudio2 tests), 21 ignored. - Checked independently on AMD by GonZiin (https://git.gtahub.st/github/xcl-dev--xcl/pulls/1523), thanks: RX 9070 XT, driver 32.0.32029.2010. The two pairs crashed in 8 of 8 runs on `b7aa9f3` and passed 8 of 8 on this head; `cargo test -p xcl --lib -- --test-threads=32` at this head gave 722 passed, 0 failed, 21 ignored. - Also on an RTX 5070 by marquezinii (https://git.gtahub.st/github/xcl-dev--xcl/pulls/1523), thanks: with `--test-threads=32`, `main` `9e3831e` had the access violation in 9 of 10 runs, and with #1456 and this PR in 0 of 10. Their procdump of a crashed run stops in `list_x::prune_title_fence` → `ID3D12Fence::GetCompletedValue`, reading `0x5eed0000`, called from `cross_queue_cycle_and_same_queue_fifo_do_not_deadlock`: the path described above. - RTX 5090 by Bullet18x (https://git.gtahub.st/github/xcl-dev--xcl/pulls/1523), thanks: `--test-threads=32`, 10 runs on this head with no access violation. `main` `9e3831e` had 1 in 10, #1520's head 3 in 10. `main` + #1520 + #1523 + #1590, 25 runs: none. Device removals (`0x887A0006`) in 5 of 45 runs on every branch, this one included, look unrelated. **Still flaky after this (not fixed here)** - `hle::xaudio2::tests::opus_source_voice_decodes_and_manages_lifetime` / `xma2_source_voice_decodes_and_manages_lifetime`: one of the two failed in each of the 32- and 16-thread runs above. The failing assert is `STARTED == CTX1 + CTX2`: no buffer started within the test's 3 s. On this PC that is the machine, not XCL. Opening the default audio output here takes 1 to 2.5 minutes: a run of `clamped_and_silenced_buffers_accepted_by_windows_xaudio2` alone passed in 151 s, against 57 ms for `engine_from_the_system_dll`, which opens no device. The PC has many virtual and Bluetooth outputs. The `opus_…` / `xma2_…` tests give the voice 3 s, so they fail here even one at a time. Whether that is also what #1487's machine saw, I can't tell. - `readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state` failed once (16 threads) at `assert_ne!(VirtualFree(mem, 0, MEM_RELEASE), 0)`, the `left != right` assert from #1487: fixed in #1590. **Regression run** The change is test-only (all inside `real.rs`'s `#[cfg(test)] mod queue_tests`), so the release build is unchanged. The pair below is by Kalmarv ([comment](https://git.gtahub.st/github/xcl-dev--xcl/pulls/1523)), thanks: RTX 5070 Ti 16 GB, driver 610.74, `scripts/smoke.ps1`, 60 s each, `main` at this PR's merge-base `b7aa9f3`, then this head. No device removal or crash in either run. Not checked in these runs: whether the fake-fence path was taken. main: ``` xcl-smoke v1 commit: b7aa9f3bd212088e0d927439284dc5ed325ce3c7 gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 60 exit: 0x0 frames shown: 1236 (PresentX 1236) presents per 2 s (last 3): 21 13 18 device removals: 0 crashes: 0 peak commit: 26434 MB ``` PR: ``` xcl-smoke v1 commit: 1362129345ac91609bf8048361472f3f6bd6652e gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 60 exit: 0x0 frames shown: 1302 (PresentX 1302) presents per 2 s (last 3): 11 40 52 device removals: 0 crashes: 0 peak commit: 26887 MB ``` **Not tested** - AMD, Wine. **AI use** - Claude Code (Claude Opus 5.5) narrowed the crash down on this machine, found the cause, wrote the change and ran the tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
queue_slot_18_before_the_layout_is_known_writes_8_bytes passed a bare
number (0x5EED_0000) as the title's fence to a Signal at queue #14. That
Signal goes on to the title-fence bookkeeping: list_x's sync graph and
fence_x keep the fence, and later queue calls from other threads ask it
for its completed value (prune_title_fence -> GetCompletedValue). In a
parallel run, a list_x test that checks for cycles after this test
called through 0x5EED_0000 and the test process ended with
STATUS_ACCESS_VIOLATION (#1487). One thread at a time it never showed:
list_x's tests run before real's.

The test now uses a static fence object whose GetCompletedValue answers
u64::MAX, so the bookkeeping drops its signal the first time it looks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:56:20 +00:00
github-bot closed this pull request 2026-11-26 04:56:20 +00:00
Author
Owner

@⁠marquezinii on GitHub · 2026-11-24 18:02 UTC · original

Test report on an RTX 5070 (Blackwell, 32-lane waves): with this PR the parallel lib runs stop crashing. #1456 was applied too, see below.

Tested

  • NVIDIA GeForce RTX 5070 12 GB, driver 621.40; Ryzen 5 5600X (12 threads), 32 GB; Windows 11 Pro 26300; Rust 1.99.1 MSVC; DXC 1.9.2602.17; debug.
  • The xcl lib test binary run directly with --test-threads=32, 10 runs per build, alternating builds:
build runs with an access violation runs with failed tests clean
main 9e3831e 9 1 0
9e3831e + #1456 (309b45a) + this PR (1362129), cherry-picked 0 3 7
  • The access violation is the one this PR describes. A procdump dump of a crashed run (b7aa9f3 + #1456) stops in list_x::prune_title_fence → ID3D12Fence::GetCompletedValue, a read of 0x5eed0000, called from list_x::tests::cross_queue_cycle_and_same_queue_fifo_do_not_deadlock (would_signal_close_cycle → signal_write64_pairs).
  • Failures left with both PRs: readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state in 2 runs, and kernelx::tests::fine_timer_makes_short_sleeps_short once (Sleep(1) took the 15.6 ms tick). The main runs that got far enough also failed coherent_buffer_sanitizes_console_flags_and_state (4 times), as you noted.

Not tested

  • This PR on its own, without #1456; AMD; Wine.

AI use: Claude Code (Claude Opus 5.5) ran the builds and runs, read the dump and drafted this report.

**@⁠marquezinii** on GitHub · 2026-11-24 18:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7140082783) Test report on an RTX 5070 (Blackwell, 32-lane waves): with this PR the parallel lib runs stop crashing. #1456 was applied too, see below. **Tested** - NVIDIA GeForce RTX 5070 12 GB, driver 621.40; Ryzen 5 5600X (12 threads), 32 GB; Windows 11 Pro 26300; Rust 1.99.1 MSVC; DXC 1.9.2602.17; debug. - The `xcl` lib test binary run directly with `--test-threads=32`, 10 runs per build, alternating builds: | build | runs with an access violation | runs with failed tests | clean | |---|---|---|---| | `main` `9e3831e` | 9 | 1 | 0 | | `9e3831e` + #1456 (`309b45a`) + this PR (`1362129`), cherry-picked | **0** | 3 | 7 | - The access violation is the one this PR describes. A procdump dump of a crashed run (`b7aa9f3` + #1456) stops in `list_x::prune_title_fence` → `ID3D12Fence::GetCompletedValue`, a read of `0x5eed0000`, called from `list_x::tests::cross_queue_cycle_and_same_queue_fifo_do_not_deadlock` (`would_signal_close_cycle` → `signal_write64_pairs`). - Failures left with both PRs: `readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state` in 2 runs, and `kernelx::tests::fine_timer_makes_short_sleeps_short` once (`Sleep(1)` took the 15.6 ms tick). The `main` runs that got far enough also failed `coherent_buffer_sanitizes_console_flags_and_state` (4 times), as you noted. **Not tested** - This PR on its own, without #1456; AMD; Wine. **AI use:** Claude Code (Claude Opus 5.5) ran the builds and runs, read the dump and drafted this report.
Author
Owner

@⁠Bullet18x on GitHub · 2026-11-24 18:24 UTC · original

NVIDIA test report for head 1362129 (the AMD runs so far are GonZiin's).

Tested

  • RTX 5090, driver 32.0.16.2114, Windows 11 Pro 10.0.28000, Rust 1.100.0 MSVC, debug, all XCL_SAMPLE_* unset.
  • cargo test -p xcl --lib -- --test-threads=32, 10 runs on 1362129: no access violation in 10. 7 runs: 722 passed, 0 failed, 21 ignored. 1 run: coherent_buffer_sanitizes_console_flags_and_state failed on VirtualFree (the failure you list as still open; cause and fix in #1590). 2 runs: device removal 0x887A0006 (see below).
  • For comparison, without this change: main 9e3831e, 10 runs at 16/32 threads, 1 access violation. #1520's head 6159773, 10 runs at 32 threads, 3 access violations.
  • main 9e3831e + #1520 + #1523 + #1590, 25 runs at 32/16 threads: no access violation.

Not tested

  • AMD and Intel, the release build, Wine.

Other

  • Device removal (0x887A0006, "device hung") ended 5 of 45 runs at 32 threads on every branch I ran, including the one with all three fixes. It looks unrelated to this PR. I have not looked into it.

AI use: Claude Code with Claude Opus 5.5 ran the tests and wrote this report. I checked the results.

**@⁠Bullet18x** on GitHub · 2026-11-24 18:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7140600446) NVIDIA test report for head `1362129` (the AMD runs so far are GonZiin's). **Tested** - RTX 5090, driver 32.0.16.2114, Windows 11 Pro 10.0.28000, Rust 1.100.0 MSVC, debug, all `XCL_SAMPLE_*` unset. - `cargo test -p xcl --lib -- --test-threads=32`, 10 runs on `1362129`: **no access violation in 10**. 7 runs: 722 passed, 0 failed, 21 ignored. 1 run: `coherent_buffer_sanitizes_console_flags_and_state` failed on `VirtualFree` (the failure you list as still open; cause and fix in #1590). 2 runs: device removal 0x887A0006 (see below). - For comparison, without this change: main `9e3831e`, 10 runs at 16/32 threads, 1 access violation. #1520's head `6159773`, 10 runs at 32 threads, 3 access violations. - main `9e3831e` + #1520 + #1523 + #1590, 25 runs at 32/16 threads: no access violation. **Not tested** - AMD and Intel, the release build, Wine. **Other** - Device removal (0x887A0006, "device hung") ended 5 of 45 runs at 32 threads on every branch I ran, including the one with all three fixes. It looks unrelated to this PR. I have not looked into it. AI use: Claude Code with Claude Opus 5.5 ran the tests and wrote this report. I checked the results.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 18:58 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 18:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7141415890) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~21 ignored. Thanks!
Author
Owner

@⁠upipibi on GitHub · 2026-11-24 20:47 UTC · original

The PR description check fails because the diff is in real.rs, but the change is test-only: it touches only queue_tests (the fake fence). Could a maintainer add the test-only label, so the retail smoke check is waived as for other test-only PRs?

Otherwise, a smoke pair (main and 1362129) from anyone with the title would do it too; @⁠eizispark and @⁠Kalmarv have made these for our earlier PRs. Four testers have confirmed the crash fix above (RX 9070 XT, RTX 5070, RTX 5090, RTX 3060 Ti).

**@⁠upipibi** on GitHub · 2026-11-24 20:47 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7144053371) The `PR description` check fails because the diff is in `real.rs`, but the change is test-only: it touches only `queue_tests` (the fake fence). Could a maintainer add the test-only label, so the retail smoke check is waived as for other test-only PRs? Otherwise, a smoke pair (`main` and `1362129`) from anyone with the title would do it too; @⁠eizispark and @⁠Kalmarv have made these for our earlier PRs. Four testers have confirmed the crash fix above (RX 9070 XT, RTX 5070, RTX 5090, RTX 3060 Ti).
Author
Owner

@⁠Kalmarv on GitHub · 2026-11-24 21:13 UTC · original

Regression pair for 1362129 against main b7aa9f3 (this PR's merge-base), for the Regression run section, as you asked. Both runs pass: no device removal, no crash, 105 % of main's frames, 102 % of its peak commit.

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (driver 610.74), AMD Ryzen 9 9950X, Windows 11 Pro 26200.
  • scripts/smoke.ps1, the same retail title for 60 s each: main at b7aa9f3 first, then this PR's head, one after the other on the same machine.

main b7aa9f3:

xcl-smoke v1
commit: b7aa9f3bd212088e0d927439284dc5ed325ce3c7
gpu: NVIDIA GeForce RTX 5070 Ti
title: GTA VI
seconds: 60
exit: 0x0
frames shown: 1236 (PresentX 1236)
presents per 2 s (last 3): 21 13 18
device removals: 0
crashes: 0
peak commit: 26434 MB

this PR, 1362129:

xcl-smoke v1
commit: 1362129345ac91609bf8048361472f3f6bd6652e
gpu: NVIDIA GeForce RTX 5070 Ti
title: GTA VI
seconds: 60
exit: 0x0
frames shown: 1302 (PresentX 1302)
presents per 2 s (last 3): 11 40 52
device removals: 0
crashes: 0
peak commit: 26887 MB

Not tested

  • World loading: a 60 s run ends before it.
  • Whether the fake-fence path was taken in these runs: the logs were not read for it.
  • A second pair, AMD, Linux.

AI use: Claude Code (Claude Opus 5.5) ran the pair on this machine and wrote this; no person read the logs.

**@⁠Kalmarv** on GitHub · 2026-11-24 21:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7144642814) Regression pair for `1362129` against `main` `b7aa9f3` (this PR's merge-base), for the **Regression run** section, as you asked. Both runs pass: no device removal, no crash, 105 % of `main`'s frames, 102 % of its peak commit. **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (driver 610.74), AMD Ryzen 9 9950X, Windows 11 Pro 26200. - `scripts/smoke.ps1`, the same retail title for 60 s each: `main` at `b7aa9f3` first, then this PR's head, one after the other on the same machine. `main` `b7aa9f3`: ``` xcl-smoke v1 commit: b7aa9f3bd212088e0d927439284dc5ed325ce3c7 gpu: NVIDIA GeForce RTX 5070 Ti title: GTA VI seconds: 60 exit: 0x0 frames shown: 1236 (PresentX 1236) presents per 2 s (last 3): 21 13 18 device removals: 0 crashes: 0 peak commit: 26434 MB ``` this PR, `1362129`: ``` xcl-smoke v1 commit: 1362129345ac91609bf8048361472f3f6bd6652e gpu: NVIDIA GeForce RTX 5070 Ti title: GTA VI seconds: 60 exit: 0x0 frames shown: 1302 (PresentX 1302) presents per 2 s (last 3): 11 40 52 device removals: 0 crashes: 0 peak commit: 26887 MB ``` **Not tested** - World loading: a 60 s run ends before it. - Whether the fake-fence path was taken in these runs: the logs were not read for it. - A second pair, AMD, Linux. **AI use:** Claude Code (Claude Opus 5.5) ran the pair on this machine and wrote this; no person read the logs.
Author
Owner

@⁠upipibi on GitHub · 2026-11-24 21:38 UTC · original

Thanks, Kalmarv: the pair is in the description under Regression run, with credit.

**@⁠upipibi** on GitHub · 2026-11-24 21:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7145189208) Thanks, Kalmarv: the pair is in the description under Regression run, with credit.
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 01:04 UTC · original

Tested

  • Clean PR head 1362129345ac91609bf8048361472f3f6bd6652e, verified against the live PR after testing. Intel Arc A770 driver 32.0.101.9175, Ryzen 7 3800X, Windows 11 Enterprise Evaluation 25H2 build 26200.9974, Rust 1.100.0 x86_64-pc-windows-msvc, debug. DXC 1.9.2609.5 configured via XCL_DXC_DIR=%LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64. These tests exercise D3D12 queue synchronization without shader compilation.
  • XCL_ADAPTER=A770, CARGO_BUILD_JOBS=2, CARGO_INCREMENTAL=0, isolated target and temporary directories. The GPU companions use the Windows default D3D12 adapter, which a probe under the Arc lock identified as the A770.
  • The build and standalone fixture ran outside the Arc lock. Each GPU pair ran four times under L:/XclTooling/Invoke-ArcTest.ps1.
cargo test -p xcl --lib --locked --no-run
$slot = 'hle::d3d12x::real::queue_tests::queue_slot_18_before_the_layout_is_known_writes_8_bytes'
$cycle = 'hle::d3d12x::list_x::tests::cross_queue_cycle_and_same_queue_fifo_do_not_deadlock'
$wait64 = 'hle::d3d12x::list_x::tests::cross_queue_wait64_before_signal_does_not_deadlock_submit_thread'
cargo test -p xcl --lib --locked -- --exact --nocapture --test-threads=1 $slot
cargo test -p xcl --lib --locked -- --exact --nocapture --test-threads=32 $slot $cycle
cargo test -p xcl --lib --locked -- --exact --nocapture --test-threads=32 $slot $wait64
  • Standalone fixture passed (1 passed, 0 failed, 0 ignored, 0 skipped). Each of the eight paired invocations reported 2 passed, 0 failed, 0 ignored, and 0 skips. All nine test invocations exited 0 without an access violation.

Not tested

Old baseline, full lib or workspace suite, retail smoke, release build, and other adapters.

AI use

Codex in T3 Code (gpt-6.2-sol) ran the tests, checked the logs and wrote this report.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 01:04 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7149170947) **Tested** - Clean PR head `1362129345ac91609bf8048361472f3f6bd6652e`, verified against the live PR after testing. Intel Arc A770 driver 32.0.101.9175, Ryzen 7 3800X, Windows 11 Enterprise Evaluation 25H2 build 26200.9974, Rust 1.100.0 `x86_64-pc-windows-msvc`, debug. DXC 1.9.2609.5 configured via `XCL_DXC_DIR=%LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64`. These tests exercise D3D12 queue synchronization without shader compilation. - `XCL_ADAPTER=A770`, `CARGO_BUILD_JOBS=2`, `CARGO_INCREMENTAL=0`, isolated target and temporary directories. The GPU companions use the Windows default D3D12 adapter, which a probe under the Arc lock identified as the A770. - The build and standalone fixture ran outside the Arc lock. Each GPU pair ran four times under `L:/XclTooling/Invoke-ArcTest.ps1`. ```powershell cargo test -p xcl --lib --locked --no-run $slot = 'hle::d3d12x::real::queue_tests::queue_slot_18_before_the_layout_is_known_writes_8_bytes' $cycle = 'hle::d3d12x::list_x::tests::cross_queue_cycle_and_same_queue_fifo_do_not_deadlock' $wait64 = 'hle::d3d12x::list_x::tests::cross_queue_wait64_before_signal_does_not_deadlock_submit_thread' cargo test -p xcl --lib --locked -- --exact --nocapture --test-threads=1 $slot cargo test -p xcl --lib --locked -- --exact --nocapture --test-threads=32 $slot $cycle cargo test -p xcl --lib --locked -- --exact --nocapture --test-threads=32 $slot $wait64 ``` - Standalone fixture passed (1 passed, 0 failed, 0 ignored, 0 skipped). Each of the eight paired invocations reported 2 passed, 0 failed, 0 ignored, and 0 skips. All nine test invocations exited 0 without an access violation. **Not tested** Old baseline, full lib or workspace suite, retail smoke, release build, and other adapters. **AI use** Codex in T3 Code (`gpt-6.2-sol`) ran the tests, checked the logs and wrote this report.
Author
Owner

@⁠upipibi on GitHub · 2026-11-25 06:27 UTC · original

Closing in favour of #2002, which makes the same fix (a fake fence whose GetCompletedValue returns u64::MAX in place of 0x5EED_0000 in the queue slot 18 test, #1978) and adds cleanup helpers. One copy is enough.

AI-assisted (Claude Code).

**@⁠upipibi** on GitHub · 2026-11-25 06:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/1523#issuecomment-7154814091) Closing in favour of #2002, which makes the same fix (a fake fence whose `GetCompletedValue` returns `u64::MAX` in place of `0x5EED_0000` in the queue slot 18 test, #1978) and adds cleanup helpers. One copy is enough. AI-assisted (Claude Code).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.