GPU: partition observed queue gaps by submit phase #3649

Closed
github-bot wants to merge 1 commit from github-bot/gh-3649 into main AGit
Owner

@⁠ghptc on GitHub · 2026-11-30 02:49 UTC · original
ghptc:diagnostics/queue-gap-submit-phases → main · +137 −13 · 3 files · 1 commits · closed without merging

What changes

The graphics queue observer already counts how much of each observed empty interval overlaps submit work. This patch breaks that bucket down into inline write-watch asks, submitter waits for the auxiliary ask, batched refresh, and remaining submit work. The four fields are emitted by the existing opt-in VICTORY_QUEUE_GAPS=1 report.

An auxiliary ask contributes only while the submitter waits for it. Batched refresh includes waits for its workers. The fields use the existing empty-interval boundaries and sum to the existing submit-work bucket. The patch extends the observer from ghptc's #1126.

Validation

Type-checked the exact upstream port f3939323edc34efb852c82f9c2529d9712ef1b25 for x86_64-pc-windows-msvc with diagnostics enabled. Built the default-feature libtest binary offline and ran three selected queue-gap tests under headless Proton. They cover conservation across report windows, phase restoration, delayed recording, and ambiguous blockers. The tests use a synthetic clock. GPU timing, observer overhead and gameplay performance were outside this validation.

**@⁠ghptc** on GitHub · 2026-11-30 02:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3649) `ghptc:diagnostics/queue-gap-submit-phases` → `main` · +137 −13 · 3 files · 1 commits · closed without merging ## What changes The graphics queue observer already counts how much of each observed empty interval overlaps submit work. This patch breaks that bucket down into inline write-watch asks, submitter waits for the auxiliary ask, batched refresh, and remaining submit work. The four fields are emitted by the existing opt-in `VICTORY_QUEUE_GAPS=1` report. An auxiliary ask contributes only while the submitter waits for it. Batched refresh includes waits for its workers. The fields use the existing empty-interval boundaries and sum to the existing submit-work bucket. The patch extends the observer from ghptc's [#1126](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/1126). ## Validation Type-checked the exact upstream port `f3939323edc34efb852c82f9c2529d9712ef1b25` for `x86_64-pc-windows-msvc` with diagnostics enabled. Built the default-feature libtest binary offline and ran three selected queue-gap tests under headless Proton. They cover conservation across report windows, phase restoration, delayed recording, and ambiguous blockers. The tests use a synthetic clock. GPU timing, observer overhead and gameplay performance were outside this validation.
Extends the observed queue-gap accounting introduced by ghptc in #1126.
Keep the existing lane states and partition their submit-work bucket.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 02:52:52 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:50 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3649#issuecomment-7321637819) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
github-bot closed this pull request 2026-12-01 18:58:05 +00:00

Pull request closed

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!3649
No description provided.