Clarify DRED reports when GPU progress is unknown #1283
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1283"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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:
Clear, minimal DRED wording improvement distinguishing recorded commands from actual GPU breadcrumb progress.
AI-assisted; synthetic tests only, no game files.
Imported from Marvisak/VIctory. Originally posted by muhammed-aksoy on 2026-11-24T17:55:07Z.
I independently tested
b232b88against mainffe310eon 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.upstream-sync referenced this pull request2026-11-24 19:03:41 +00:00
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 invictory-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_noteslabels 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
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T01:14:23Z.
Code review and RTX 5090 + WARP verification at head
0e2cf3d94f8fmerged cleanly ontomain(63bcca43c6a0):crates/victory-gpu/src/host.rs:1545-1549, 3763-3787):breadcrumbs (done/count, list) []withno DRED breadcrumb nodes (GPU progress unknown)whenprogress.is_empty(), and clarifieslast_notesunderdiagnosticsasrecorded command ({} in list)so CPU recording order isn't mistaken for GPU execution progress. Default (not(feature = "diagnostics")) path remains unchanged with 0 warnings.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 warningshost::: 16/16 passed--features diagnostics,VICTORY_D3D12_WARP=1,VICTORY_D3D12_DEBUG=1): 246/246 passed (1 ignored; concurrentwaits_end_on_ticks_and_count_framespassed 1/1 solo).LGTM.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.