Clarify DRED reports when GPU progress is unknown #1283

Open
DoubleD17 wants to merge 1 commit from upstream-pr/1283 into main
DoubleD17 commented 2026-11-24 17:07:42 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DoubleD17 on 2026-11-24T17:07:42Z.


When DRED returns zero breadcrumb nodes, the device-removal report prints an empty progress list alongside recent command notes. This makes it unclear whether the GPU reached those commands.

Report that GPU progress is unknown when DRED returns no nodes, and label the recent notes as recorded commands. Keep the existing progress output when breadcrumb nodes are available.

Independent Windows x64 QA verified the diagnostic build and ran cargo test --locked --offline --profile diag -p victory --features diagnostics (1 passed). A synthetic formatting test covered zero nodes, unchanged output for two populated nodes, and the order and six-note limit for each command list. The test exercised formatting without initializing a GPU or triggering device removal.

Context: #1222.

AI-assisted.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6587238394 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1283). Originally posted by [DoubleD17](https://github.com/DoubleD17) on 2026-11-24T17:07:42Z. --- When DRED returns zero breadcrumb nodes, the device-removal report prints an empty progress list alongside recent command notes. This makes it unclear whether the GPU reached those commands. Report that GPU progress is unknown when DRED returns no nodes, and label the recent notes as recorded commands. Keep the existing progress output when breadcrumb nodes are available. Independent Windows x64 QA verified the diagnostic build and ran `cargo test --locked --offline --profile diag -p victory --features diagnostics` (1 passed). A synthetic formatting test covered zero nodes, unchanged output for two populated nodes, and the order and six-note limit for each command list. The test exercised formatting without initializing a GPU or triggering device removal. Context: #1222. AI-assisted.
geiyiliyabumo commented 2026-11-24 18:05:51 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T17:35:13Z.


Independent verification of \232b88\ on Windows 11 / AMD Radeon RX 9060 XT (RDNA4, \gfx1200) / Rust 1.98.1 MSVC:

  • Merge check vs \main\ (\ fe310e): clean
  • \cargo test -p victory-gpu --lib: 50 passed, 0 failed, 1 ignored
  • \cargo clippy -p victory-gpu --all-targets -- -D warnings\ (default and --all-features): clean
  • \cargo xtask policy: 154 files ok

Clear, minimal DRED wording improvement distinguishing recorded commands from actual GPU breadcrumb progress.

AI-assisted; synthetic tests only, no game files.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7139414165 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7139414165). Originally posted by [geiyiliyabumo](https://github.com/geiyiliyabumo) on 2026-11-24T17:35:13Z. --- Independent verification of \232b88\ on **Windows 11 / AMD Radeon RX 9060 XT (RDNA4, \gfx1200\) / Rust 1.98.1 MSVC**: - Merge check vs \main\ (\ fe310e\): clean - \cargo test -p victory-gpu --lib\: **50 passed, 0 failed, 1 ignored** - \cargo clippy -p victory-gpu --all-targets -- -D warnings\ (default and \--all-features\): clean - \cargo xtask policy\: 154 files ok Clear, minimal DRED wording improvement distinguishing recorded commands from actual GPU breadcrumb progress. *AI-assisted; synthetic tests only, no game files.*
muhammed-aksoy commented 2026-11-24 18:06:01 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by muhammed-aksoy on 2026-11-24T17:55:07Z.


I independently tested b232b88 against main ffe310e on Windows. The GPU diagnostics suite passed 53 tests with one ignored. In a local batch with #1279, #1307, #1309, and #1311, the all-features workspace suite passed 360 tests with six ignored and zero failures. WARP was selected, and Clippy and asset policy passed at local batch commit 1409f9c. These runs used synthetic fixtures. AI-assisted.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7139892425 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7139892425). Originally posted by [muhammed-aksoy](https://github.com/muhammed-aksoy) on 2026-11-24T17:55:07Z. --- I independently tested b232b88 against main ffe310e on Windows. The GPU diagnostics suite passed 53 tests with one ignored. In a local batch with #1279, #1307, #1309, and #1311, the all-features workspace suite passed 360 tests with six ignored and zero failures. WARP was selected, and Clippy and asset policy passed at local batch commit 1409f9c. These runs used synthetic fixtures. AI-assisted.
Marvisak commented 2026-11-25 02:05:54 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:21:07Z.


Automated triage for the maintainers.

Merge candidate. It now merges cleanly with main. It is a small diagnostics-only change in victory-gpu/src/host.rs. When DRED returns no breadcrumb nodes, the device-removal report now says "GPU progress unknown" instead of printing an empty list. last_notes labels its entries as recorded commands, so they are not read as GPU progress. I checked that the populated-breadcrumb output is unchanged and that nothing outside the report text changes behaviour. This is a real clarity gain, but a small one. It sits near #1233 (descriptor tables in DRED breadcrumbs) without overlapping it.

CI: passing (check).


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149457827 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7149457827). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:21:07Z. --- <!-- victory-triage v1 head=0e2cf3d94f8fc5fe709c2b80eaba0b573153c889 verdict=merge-candidate at=2026-11-25T06:25:00Z --> Automated triage for the maintainers. **Merge candidate.** It now merges cleanly with `main`. It is a small diagnostics-only change in `victory-gpu/src/host.rs`. When DRED returns no breadcrumb nodes, the device-removal report now says "GPU progress unknown" instead of printing an empty list. `last_notes` labels its entries as recorded commands, so they are not read as GPU progress. I checked that the populated-breadcrumb output is unchanged and that nothing outside the report text changes behaviour. This is a real clarity gain, but a small one. It sits near #1233 (descriptor tables in DRED breadcrumbs) without overlapping it. CI: passing (`check`). --- _Generated by [Claude Code](https://claude.ai/code)_
fuzeofficlal commented 2026-11-26 02:06:56 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T01:14:23Z.


Code review and RTX 5090 + WARP verification at head 0e2cf3d94f8f merged cleanly onto main (63bcca43c6a0):

  • Code review (crates/victory-gpu/src/host.rs:1545-1549, 3763-3787):
    • Replaces ambiguous breadcrumbs (done/count, list) [] with no DRED breadcrumb nodes (GPU progress unknown) when progress.is_empty(), and clarifies last_notes under diagnostics as recorded command ({} in list) so CPU recording order isn't mistaken for GPU execution progress. Default (not(feature = "diagnostics")) path remains unchanged with 0 warnings.
  • Verified (Windows 11, NVIDIA RTX 5090 + WARP, VICTORY_D3D12_DEBUG=1, Rust 1.98.1):
    • cargo xtask policy: 191 files ok; cargo clippy -p victory-gpu --all-targets -- -D warnings (default + --features diagnostics): 0 warnings
    • RTX 5090 host::: 16/16 passed
    • WARP (--features diagnostics, VICTORY_D3D12_WARP=1, VICTORY_D3D12_DEBUG=1): 246/246 passed (1 ignored; concurrent waits_end_on_ticks_and_count_frames passed 1/1 solo).

LGTM.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7179572946 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7179572946). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T01:14:23Z. --- Code review and RTX 5090 + WARP verification at head `0e2cf3d94f8f` merged cleanly onto `main` (`63bcca43c6a0`): - **Code review (`crates/victory-gpu/src/host.rs:1545-1549, 3763-3787`)**: - Replaces ambiguous `breadcrumbs (done/count, list) []` with `no DRED breadcrumb nodes (GPU progress unknown)` when `progress.is_empty()`, and clarifies `last_notes` under `diagnostics` as `recorded command ({} in list)` so CPU recording order isn't mistaken for GPU execution progress. Default (`not(feature = "diagnostics")`) path remains unchanged with 0 warnings. - **Verified (Windows 11, NVIDIA RTX 5090 + WARP, `VICTORY_D3D12_DEBUG=1`, Rust 1.98.1)**: - `cargo xtask policy`: `191 files ok`; `cargo clippy -p victory-gpu --all-targets -- -D warnings` (default + `--features diagnostics`): 0 warnings - RTX 5090 `host::`: **16/16 passed** - WARP (`--features diagnostics`, `VICTORY_D3D12_WARP=1`, `VICTORY_D3D12_DEBUG=1`): **246/246 passed** (1 ignored; concurrent `waits_end_on_ticks_and_count_frames` passed 1/1 solo). LGTM.
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/1283:upstream-pr/1283'
git switch 'upstream-pr/1283'

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/1283'
git switch 'upstream-pr/1283'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1283'
git switch 'upstream-pr/1283'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1283'
git switch 'main'
git merge --squash 'upstream-pr/1283'
git switch 'main'
git merge --ff-only 'upstream-pr/1283'
git switch 'main'
git merge 'upstream-pr/1283'
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!1283
No description provided.