GPU: name the switch when a removal has no device-removed data #537
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!537
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-537"
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?
@coderanonymus on GitHub · 2026-11-24 04:39 UTC · original
coderanonymus:gpu-dred-hint→main· +11 −0 · 2 files · 1 commits · openTwo points from #468, neither covered by an open PR.
What
The removal report names the switch instead of an "unsupported" error. Without
VICTORY_D3D12_DRED,removal_datastill queried the device-removed data. The breadcrumb query then fails withDXGI_ERROR_UNSUPPORTED, and the report read:As #468 notes, that reads like a missing GPU feature. It is only missing DRED data. When device-removed data is off, the report now says how to get it, the same way
failalready gives the debug-layer hint:The removal reason (
GetDeviceRemovedReason) is still appended byfail, as before.README: the GPU timeout. On slower GPUs a world frame can outlast Windows' default 2 s GPU timeout. Windows then removes the device as hung (
slow host submission ms=5773just before it in #468). The reporter found that raisingTdrDelayandTdrDdiDelaystops that reset. The README warning now says so, in one sentence.Verification
cargo clippy -p victory-gpu --target x86_64-pc-windows-msvc, with and without--features diagnostics: no new warnings.rustfmt: no diffs in the changed lines.No game data used.
🤖 Generated with Claude Code
@Yorivel on GitHub · 2026-11-24 09:38 UTC · original
Checked on current
main(8e79c80): the branch merges without conflicts, andcargo clippy -p victory-gpu --all-targets -- -D warningsis clean with and without--features diagnostics; rustfmt reports no diffs in the changed lines (Windows 11 26300, MSVC, Rust 1.98.1).On the code: in a release build
dred_on()is always false, so onmainevery removal report carries theno breadcrumbs (… 0x887A0004)text, and the closing hint only namesVICTORY_D3D12_DEBUG, which doesn't give the breadcrumbs. The early return here replaces that with the switch that does. Not run against a removed device.Written with Claude Code.
@sennecools on GitHub · 2026-11-24 10:29 UTC · original
Checked against a real device removal on an RX 9070 XT (RDNA 4), Windows 11 Pro 26300. The build was a diag build of
main8e79c80+ this PR at2021e0f. It also included #493 and #427, which do not touchremoval_data.VICTORY_D3D12_DRED: one offline run. The device was removed (DXGI_ERROR_DEVICE_HUNG) after 245 s. The report gives the new hint, and there is no "not supported" error in it.VICTORY_D3D12_DRED=1: six offline runs. Every report still has its breadcrumbs, and none of them contains the hint.On the README sentence: the bounded root SRV runs on this card also ended as hung, after submissions of up to 2.6 s. That fits the timeout case it describes.
No game data is in this comment.
AI-assisted (Claude Code).
@Marvisak on GitHub · 2026-11-25 00:24 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:README.md.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
github-bot referenced this pull request2026-11-26 11:08:22 +00:00
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.