Diagnostics: distinguish submit-thread phase from unfinished work #4595

Open
github-bot wants to merge 1 commit from github-bot/gh-4594 into main AGit
Owner

@⁠tyr0nsur on GitHub · 2026-11-30 23:31 UTC · original
tyr0nsur:codex/report-unfinished-gpu-submissions → main · +13 −10 · 1 files · 1 commits · open

What it changes

The device-removal report used the submitting thread's phase to say the GPU had no work running. With the relay, a thread can be between submissions while earlier work is still outstanding. The RTX 5060 log in #4506 shows that phase alongside 90,651 submissions started and 90,627 marked finished. The RTX 2080 retry in #4294 shows the same 24-submission gap.

The report now describes the CPU thread's phase and prints how many started submissions were still unmarked as finished when the counters were sampled. Those counters cover the whole submission path. The fence and DRED data remain the evidence for where the hang occurred.

How it was tested

The local results below were recorded on 36193175 before the upstream history rewrite.

  • cargo test --locked -p victory-gpu --lib the_removal_report_says_the_newest_things_done passed, and the staged asset-policy check passed.
  • Git merges this change cleanly with #3740 and #4574.

Checked for overlap

Related: #3740 and #4574.

**@⁠tyr0nsur** on GitHub · 2026-11-30 23:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4594) `tyr0nsur:codex/report-unfinished-gpu-submissions` → `main` · +13 −10 · 1 files · 1 commits · open ## What it changes The device-removal report used the submitting thread's phase to say the GPU had no work running. With the relay, a thread can be between submissions while earlier work is still outstanding. The RTX 5060 log in #4506 shows that phase alongside 90,651 submissions started and 90,627 marked finished. The RTX 2080 retry in #4294 shows the same 24-submission gap. The report now describes the CPU thread's phase and prints how many started submissions were still unmarked as finished when the counters were sampled. Those counters cover the whole submission path. The fence and DRED data remain the evidence for where the hang occurred. ## How it was tested The local results below were recorded on 36193175 before the upstream history rewrite. - `cargo test --locked -p victory-gpu --lib the_removal_report_says_the_newest_things_done` passed, and the staged asset-policy check passed. - Git merges this change cleanly with #3740 and #4574. ## Checked for overlap Related: #3740 and #4574.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 23:35:51 +00:00
github-bot force-pushed github-bot/gh-4594 from 36193175c4 to 833387225a 2026-12-01 00:05:13 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4595/head:github-bot/gh-4594'
git switch 'github-bot/gh-4594'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4594'
git switch 'github-bot/gh-4594'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4594'
git switch 'github-bot/gh-4594'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4594'
git switch 'main'
git merge --squash 'github-bot/gh-4594'
git switch 'main'
git merge --ff-only 'github-bot/gh-4594'
git switch 'main'
git merge 'github-bot/gh-4594'
git push origin 'main'
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!4595
No description provided.