[BUNDLE] GPU diagnostics: 3 PRs, #669 #1251 #602 (rebuilt on main 70564ae) #1691

Open
MamaLeVrai wants to merge 9 commits from upstream-pr/1692 into main
MamaLeVrai commented 2026-11-24 20:47:32 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T20:47:32Z.


One PR in place of 3. After main moved, this bundle keeps the 3 of its earlier 16 PRs that still merge; the left-out ones are listed below. The earlier description follows, and may mention PRs or measurements that no longer apply. GPU diagnostics for hangs and black frames: device-removed reports that name the stopped command, the list and the descriptor tables (#279, #669, #1233, #1236, #1344, #1449, #537), loop-count breadcrumbs for hung shaders (#1081), shader dumps by hash (#279), frame and capture helpers (#500, #1254, #1251), pipeline and copy counters and switches (#1320, #491, #602, #1604) and the guide that says how to use them (#1064). Several reports on #71 (the NVIDIA world hang) use DRED and these switches, so one reviewed branch saves each tester a hand merge. I have not checked, PR by PR, that each leaves a run unchanged when its switch is off. Every head is merged unchanged onto main (70564ae, after the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#669 iurysf 52d528ba0 GPU: find a list in the DRED breadcrumbs by its name, not only its pointer
#1251 LaunchDoesntCode 17a15daf7 Diagnostics: trace command-list waits and memory write progress
#602 lucaseddd 380dab26c GPU diagnostics: report retained copy memory

Changes made while bundling

No PR was edited, and there is no hand resolution: a PR that does not merge as it is, is left out (below).

Left out, and why

Rebuilt on the new main. The earlier version of this bundle had 16 PRs; 3 merge here in order, each checked with clippy as it went in.

  • #537: conflicts with the new main (or with an earlier PR of this bundle) in README.md.
  • #279: conflicts with the new main (or with an earlier PR of this bundle) in README.md, crates/victory-gpu/src/pipeline.rs.
  • #1233: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/draw.rs.
  • #1236: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/descriptor/host.rs.
  • #1344: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/draw.rs.
  • #1449: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/descriptor/host.rs, crates/victory-gpu/src/draw.rs.
  • #500: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/capture.rs.
  • #1320: conflicts with the new main (or with an earlier PR of this bundle) in README.md, crates/victory-gpu/src/pipeline/make.rs.
  • #1081: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/descriptor/host.rs, crates/victory-gpu/src/draw.rs, crates/victory-gpu/src/lib.rs, crates/victory-gpu/src/shader_cache.rs, crates/victory-shader/src/emit/lower.rs, crates/victory-shader/src/emit/mod.rs, crates/victory-shader/src/emit/valu_tests.rs.
  • #491: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/pipeline/host.rs.
  • #1064: conflicts with the new main (or with an earlier PR of this bundle) in README.md.
  • #1254: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/draw.rs.
  • #1604: conflicts with the new main (or with an earlier PR of this bundle) in crates/victory-gpu/src/pipeline.rs, crates/victory-gpu/src/pipeline/make.rs.
  • #1585 (report slots only inside recorded heap ranges): it fixes the formatter of the descriptor-slot inference that #1236 removes (#1236 stops inferring slots from fault addresses), so the two cannot both stand; #1236 is in.
  • #638 (producers, VICTORY_SHOW_TARGET, VICTORY_CAPTURE_BUSY): it conflicts with this bundle in capture.rs (its VICTORY_CAPTURE_BUSY trigger against #500's VICTORY_CAPTURE_DRAWS, two triggers for the same job) and in one line of queue.rs (producers::presented next to capture::frame_recorded). Which trigger stays is for its authors.
  • Not tried: #1571 (it edits .github/workflows/ci.yml), #1227 (shader mask handling besides diagnostics), #130 (a profiler with an overlay, +2,720 lines), #458 (conflicts with main) and #390 (a draft). They are not only diagnostics, or not mergeable as they stand, and each needs its own look.
  • #1081 is also merged onto the wave64 and world-run tree of #1638 in the branch bundle/nvidia-crumbs (with #279), for testers on that tree.

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 479 passed, 0 failed, 7 ignored (one run; main: 476 passed, 7 ignored)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/gpu-diagnostics
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6591093877 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1692). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T20:47:32Z. --- **One PR in place of 3.** After `main` moved, this bundle keeps the 3 of its earlier 16 PRs that still merge; the left-out ones are listed below. The earlier description follows, and may mention PRs or measurements that no longer apply. GPU diagnostics for hangs and black frames: device-removed reports that name the stopped command, the list and the descriptor tables (#279, #669, #1233, #1236, #1344, #1449, #537), loop-count breadcrumbs for hung shaders (#1081), shader dumps by hash (#279), frame and capture helpers (#500, #1254, #1251), pipeline and copy counters and switches (#1320, #491, #602, #1604) and the guide that says how to use them (#1064). Several reports on #71 (the NVIDIA world hang) use DRED and these switches, so one reviewed branch saves each tester a hand merge. I have not checked, PR by PR, that each leaves a run unchanged when its switch is off. Every head is merged unchanged onto `main` (`70564ae`, after the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below, so one run covers all of it. ## What is inside | PR | Author | Head | Title | |---|---|---|---| | #669 | iurysf | `52d528ba0` | GPU: find a list in the DRED breadcrumbs by its name, not only its pointer | | #1251 | LaunchDoesntCode | `17a15daf7` | Diagnostics: trace command-list waits and memory write progress | | #602 | lucaseddd | `380dab26c` | GPU diagnostics: report retained copy memory | ## Changes made while bundling No PR was edited, and there is no hand resolution: a PR that does not merge as it is, is left out (below). ## Left out, and why **Rebuilt on the new `main`.** The earlier version of this bundle had 16 PRs; 3 merge here in order, each checked with clippy as it went in. - **#537**: conflicts with the new `main` (or with an earlier PR of this bundle) in README.md. - **#279**: conflicts with the new `main` (or with an earlier PR of this bundle) in README.md, crates/victory-gpu/src/pipeline.rs. - **#1233**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/draw.rs. - **#1236**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/descriptor/host.rs. - **#1344**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/draw.rs. - **#1449**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/descriptor/host.rs, crates/victory-gpu/src/draw.rs. - **#500**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/capture.rs. - **#1320**: conflicts with the new `main` (or with an earlier PR of this bundle) in README.md, crates/victory-gpu/src/pipeline/make.rs. - **#1081**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/descriptor/host.rs, crates/victory-gpu/src/draw.rs, crates/victory-gpu/src/lib.rs, crates/victory-gpu/src/shader_cache.rs, crates/victory-shader/src/emit/lower.rs, crates/victory-shader/src/emit/mod.rs, crates/victory-shader/src/emit/valu_tests.rs. - **#491**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/pipeline/host.rs. - **#1064**: conflicts with the new `main` (or with an earlier PR of this bundle) in README.md. - **#1254**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/draw.rs. - **#1604**: conflicts with the new `main` (or with an earlier PR of this bundle) in crates/victory-gpu/src/pipeline.rs, crates/victory-gpu/src/pipeline/make.rs. - **#1585** (report slots only inside recorded heap ranges): it fixes the formatter of the descriptor-slot inference that #1236 removes (#1236 stops inferring slots from fault addresses), so the two cannot both stand; #1236 is in. - **#638** (producers, `VICTORY_SHOW_TARGET`, `VICTORY_CAPTURE_BUSY`): it conflicts with this bundle in `capture.rs` (its `VICTORY_CAPTURE_BUSY` trigger against #500's `VICTORY_CAPTURE_DRAWS`, two triggers for the same job) and in one line of `queue.rs` (`producers::presented` next to `capture::frame_recorded`). Which trigger stays is for its authors. - **Not tried**: #1571 (it edits `.github/workflows/ci.yml`), #1227 (shader mask handling besides diagnostics), #130 (a profiler with an overlay, +2,720 lines), #458 (conflicts with `main`) and #390 (a draft). They are not only diagnostics, or not mergeable as they stand, and each needs its own look. - #1081 is also merged onto the wave64 and world-run tree of #1638 in the branch `bundle/nvidia-crumbs` (with #279), for testers on that tree. ## Verification Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain): | Check | Result | |---|---| | `cargo clippy --workspace --all-targets --locked -- -D warnings` | clean | | `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` | clean | | `cargo test --workspace --locked` | 479 passed, 0 failed, 7 ignored (one run; `main`: 476 passed, 7 ignored) | The title was not run, so this says nothing about in-game effect. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/gpu-diagnostics git checkout FETCH_HEAD cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo test --workspace --locked ``` To confirm that no component PR moved since this was built, compare each `Head` above with `gh pr view <n> --repo Marvisak/VIctory --json headRefOid`. If one differs, the branch needs a rebuild: merge the new head in the same order. ## If this lands The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above. AI-assisted (Claude Code); no game data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
copilot-pull-request-reviewer[bot commented 2026-11-24 21:03:14 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T20:47:43Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:Marvisak/VIctory:review:6047142900 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1692#pullrequestreview-6047142900). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/copilot-pull-request-reviewer%5Bbot%5D) on 2026-11-24T20:47:43Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
upstream-sync changed title from [PR #1692] [BUNDLE] GPU diagnostics: 16 PRs, #279 #491 #500 #537 #602 #669 #1064 #1081 #1233 #1236 #1251 #1254 #1320 #1344 #1449 #1604 to [PR #1692] [BUNDLE] GPU diagnostics: 3 PRs, #669 #1251 #602 (rebuilt on main 70564ae) 2026-11-25 00:05:54 +00:00
Marvisak commented 2026-11-25 04:06:57 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:34:15Z.


Automated triage for the maintainers.

Proposed close: a bundle that only re-packages other people's pull requests. This branch only merges the unchanged heads of #669 (already merged), #1251 (closed without merging) and #602 (open). The merge commits contain nothing beyond the automatic merges, so it adds no change of its own, and #602 can be reviewed on its own. CI: no check runs on this head.

The description has a section addressed to verifying agents with checkout and cargo commands; automated triage did not follow it.

This pull request will be closed in 48 hours unless the author pushes a change or a maintainer removes the triage: proposed close label.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7152037425 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1692#issuecomment-7152037425). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T03:34:15Z. --- <!-- victory-triage v1 head=a100b0e3184f55da6b1c7902150c668148ea27fd verdict=proposed-close at=2026-11-25T03:38:20Z --> Automated triage for the maintainers. **Proposed close: a bundle that only re-packages other people's pull requests.** This branch only merges the unchanged heads of #669 (already merged), #1251 (closed without merging) and #602 (open). The merge commits contain nothing beyond the automatic merges, so it adds no change of its own, and #602 can be reviewed on its own. CI: no check runs on this head. The description has a section addressed to verifying agents with checkout and cargo commands; automated triage did not follow it. This pull request will be closed in 48 hours unless the author pushes a change or a maintainer removes the `triage: proposed close` label. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1692:upstream-pr/1692'
git switch 'upstream-pr/1692'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1692'
git switch 'upstream-pr/1692'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1692'
git switch 'upstream-pr/1692'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1692'
git switch 'main'
git merge --squash 'upstream-pr/1692'
git switch 'main'
git merge --ff-only 'upstream-pr/1692'
git switch 'main'
git merge 'upstream-pr/1692'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!1691
No description provided.