D3D12.X: distinguish the Wait64 signal queue from recording history #1045
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1045
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1045"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Prime1997 on GitHub · 2026-11-24 10:49 UTC · original
Prime1997:contrib/wait64-queue-provenance→main· +86 −20 · 2 files · 1 commits · openA retail intro stalled on our RTX 3060 Ti. The Wait64 warning named queue 1 as the producer even though it showed
recorded=0x3568, submitted=0, completed=0. The oldprod=field could pick up the last queue used by the recording list. That pointed us at queue 1 before there was evidence it would submit the signal.This follow-up to gsucristo’s #795 reports the queue assigned by the sync graph only when its signal value covers the wait. A separate field gives the recording list’s last known queue. A newer recording with unknown history clears the old hint. The graph assigns the signal before the host call, so host acceptance and GPU completion are separate observations.
Tested
fcc2fd2, all sixwait_queue_diagnostictests passed.cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --nocaptureafter building the workspace fixtures. 733 passed, 0 failed, 41 ignored. Two wave64-only test bodies skipped on this GPU. The native cross-queue test verified the COMPUTE queue assignment and the DIRECT queue completed after the signal.Regression run
60 seconds per release build on the same RTX 3060 Ti, Series X profile and starting shader cache, with preloading off and no menu input.
Main
PR
Not tested
The player-controlled prologue on this revision. These startup runs do not establish a gameplay or frame-rate change.
AI use
OpenAI Codex (GPT-6) helped write and review the change, run the tests, and prepare this report.
I use a temporary Discord to coordinate my work. Anyone helping test XCL or compare results is welcome. Test coordination on Discord
@Diskuss on GitHub · 2026-11-24 11:11 UTC · original
Tested on AMD Radeon RX 9070 XT (RDNA4) at
fcc2fd20186a692e30f6c181c0ae935ed628a868Ryzen 7 5700X3D, 32 GB RAM, Windows 11 Pro build 26300.9974, driver 32.0.32015.7029, Rust 1.100.0, DXC 1.9.2602.17, debug build.
Tested (PR head
fcc2fd2merged locally with origin/main47efa2e; the branch is 19 commits behind main; merge was clean, nothing pushed):cargo build --workspace: OKcargo test --workspace --no-fail-fast -- --test-threads=4: 747 passed, 0 failed, 41 ignoredcargo test -p xcl --lib wait_queue_diagnostic -- --test-threads=1, each run alone 5 times: 5/5 (6 passed each run)47efa2egave 741 passed, 0 failed, 41 ignored. The +6 is the PR's 6 new tests.Not tested: retail title /
scripts/smoke.ps1(no game files), release build.Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine.
@DavidM1911 on GitHub · 2026-11-24 11:14 UTC · original
Independent verification, merged onto current
main384f7f7locally (clean merge).Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug.
cargo test -p xcl --lib wait64: 2 passed — the Wait64 split/cross-queue deadlock tests.cargo test -p xcl --lib list_x: 30 passed, 0 failed — includes the five newwait_queue_diagnostic_*tests; the log shows the new fields live, e.g.Wait64BitValueX ... (waiter=q1/ty2, graph_signal_queue=qNone, recorded_list_last_queue=qNone/tySome(0); ...).AI use: test runs by Devin (Cognition, SWE-2); no code changes.
@JJAutoCompare on GitHub · 2026-11-25 05:26 UTC · original
Empirical test report (
fcc2fd20)Verified xcl-dev/xcl PR #1045 at
fcc2fd20186a692e30f6c181c0ae935ed628a868.Hardware / environment
10.0.26200.0, AMD x64 CPU (family 23, model 113, stepping 0). Unoptimized Rust test profile with debug information and incremental compilation disabled.rustc 1.100.0 (0ef1bc386 2026-11-09)and DXC1.9.2609.5 (01b62ad47).XCL_ADAPTER=A770andRUST_TEST_NOCAPTURE=1. The native fixture opens the default D3D12 device with a WARP fallback. Its output did not identify the active adapter or driver.Commands and results
cargo test --workspace --no-runexited 0 outside the Arc lock.Invoke-ArcTest.ps1, ran the compiledxcllibrary test binary from that build with the filtershle::d3d12x::list_x::tests::wait_queue_diagnostic_andhle::d3d12x::list_x::tests::cross_queue_wait64_before_signal_does_not_deadlock_submit_thread, plus--test-threads=1. The run exited 0. The captured log recorded 7 passed, 0 failed, 0 ignored, and 0 explicitSKIPPEDlines. Libtest reported 705 filtered out and 0.18 s elapsed.Observed behavior
graph_signal_queue=qNoneandrecorded_list_last_queue=qNone/tySome(2)when DIRECT waited before COMPUTE submitted. The fixture passed its assertions for DIRECT submission within 500 ms, graph attribution to the COMPUTE queue after submission, and DIRECT fence completion after the COMPUTE signal.Not tested
The full GPU workspace suite and game smoke runs were omitted. The focused fixture does not exercise the watchdog timeout diagnostic.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1045-focused.logand published.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.