Verify GPU completion before publishing or retiring work #2728

Manually merged
github merged 1 commit from github-bot/gh-2728 into main 2026-11-30 14:16:43 +00:00 AGit
Owner

@⁠CDworks-Design on GitHub · 2026-11-29 16:40 UTC · original
CDworks-Design:cdworks/verified-fence-completion → main · +21 −17 · 1 files · 1 commits · merged 2026-11-30 14:12 UTC

What it changes

Reject the D3D12 device-removal fence sentinel before the relay drains queued work. Use the existing checked fence wait in the synchronous submission path, and advance completion and retirement only after verification. This is a correctness fix, not an FPS or crash-root-cause claim.

How it was tested

Applied cleanly to main at 55d0691; git diff --check passed. A standalone Rust regression compiled the patched completion helpers and passed ordered publication, incomplete fences, and the device-removal sentinel cases. Full crate and RTX integration checks are pending. No title assets or logs included.

Checked for overlap

Related to #242 and #993, which cover the background wait helper and device-loss error text. This patch also covers the relay's pre-wait queue drain and the separate synchronous submission path.

**@⁠CDworks-Design** on GitHub · 2026-11-29 16:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2728) `CDworks-Design:cdworks/verified-fence-completion` → `main` · +21 −17 · 1 files · 1 commits · merged 2026-11-30 14:12 UTC ## What it changes Reject the D3D12 device-removal fence sentinel before the relay drains queued work. Use the existing checked fence wait in the synchronous submission path, and advance completion and retirement only after verification. This is a correctness fix, not an FPS or crash-root-cause claim. ## How it was tested Applied cleanly to main at `55d0691`; `git diff --check` passed. A standalone Rust regression compiled the patched completion helpers and passed ordered publication, incomplete fences, and the device-removal sentinel cases. Full crate and RTX integration checks are pending. No title assets or logs included. ## Checked for overlap Related to #242 and #993, which cover the background wait helper and device-loss error text. This patch also covers the relay's pre-wait queue drain and the separate synchronous submission path.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 16:43:38 +00:00
github manually merged commit dd6b18b0d9 into main 2026-11-30 14:16:43 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2728
No description provided.