Skip to content

[upstream #1045] D3D12.X: distinguish the Wait64 signal queue from recording history - #103

Closed
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1045
Closed

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1045

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 24, 2026

Copy link
Copy Markdown
Owner

A 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 old prod= 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 xcl-dev#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

  • Windows 11 build 26200, i5-10400, RTX 3060 Ti 8 GB, driver 617.14, Rust 1.100.0 MSVC. The old selection logic with the new tests reproduced three wrong attributions in four cases. At fcc2fd2, all six wait_queue_diagnostic tests passed.
  • cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --nocapture after 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

xcl-smoke v1
commit: 6efdabcdaac93ce5cc123a85e85deba5d49cb294
gpu: NVIDIA GeForce RTX 3060 Ti
title: game_scarlett_master.exe
seconds: 60
exit: 0x0
frames shown: 309 (PresentX 309)
presents per 2 s (last 3): 16 15 12
device removals: 0
crashes: 0
peak commit: 15390 MB

PR

xcl-smoke v1
commit: fcc2fd20186a692e30f6c181c0ae935ed628a868
gpu: NVIDIA GeForce RTX 3060 Ti
title: game_scarlett_master.exe
seconds: 60
exit: 0x0
frames shown: 295 (PresentX 296)
presents per 2 s (last 3): 15 15 16
device removals: 0
crashes: 0
peak commit: 15354 MB

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


Mirror of xcl-dev#1045 (auto-synced, do not edit).

The producer label introduced by gsucristo in xcl-dev#795 can name an old
recording-list queue even when the graph has no signal covering the
requested value. Report the covering graph-assigned signal queue and
recording-list history independently, and clear unknown hints when a
newer recording advances the tracked value.

Graph assignment precedes the host Signal call: the label does not
claim host acceptance or GPU completion. Signal/Wait behavior and
production locking are unchanged.

Verified with pure before/after controls: old selection/hint semantics
fail 3 of 4 assertions; the candidate passes all 6 focused assertions.
The existing native fixture has an added graph-attribution assertion;
its GPU execution and the broader suite remain for independent checks.

Assisted-by: Codex (GPT-6; exact deployment identifier not provided)
@ufoptg

ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Upstream PR xcl-dev#1045 was closed or merged.

@ufoptg ufoptg closed this Nov 25, 2026
@ufoptg
ufoptg deleted the upstream-pr/1045 branch November 25, 2026 00:10
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.

2 participants