Host GPU failure: say how full the system's and the card's memory were #645
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!645
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-645"
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?
@hxghr6 on GitHub · 2026-11-25 03:53 UTC · original
hxghr6:diag/gpu-failure-memory→main· +86 −3 · 1 files · 1 commits · openA host GPU failure gives the removal reason and the debug layer's first error, but not how full memory was, though memory running out removes a device as well. On an RX 9070 XT the device went during world loads with a cold driver shader cache, and
crashes.logsaid onlydevice removed ... (0x887A0006).The report (the log's error line and
crashes.log) now ends with how full the system's commit and the card's memory were, of what can be read:from
K32GetPerformanceInfo,K32GetProcessMemoryInfoandHost::video_memory(the adapter'sQueryVideoMemoryInfo, already used by the frame statistics).Tested on an RX 9070 XT
Windows 11, Adrenalin 32.0.31044.16, 31 GB RAM with a page file Windows grows on demand. Diag build of this branch on
main310c6eb, the title run into the world with scripted keys and a cold driver shader cache. The device was removed 128 s in;crashes.log:The system's commit stood at 98 % of its limit; the page file had already grown the limit from 37 GB (it was back at 38 GB after the run). The process's own private bytes, sampled every 10 s from outside, went from 10.3 GB in the menus to 13.4 GB as the world began and 28.6 GB ten seconds before the failure, while the world's pipelines compiled. So this removal came with memory running out, which the report now says. The same failure in earlier runs on this machine read only the removal reason.
Checks
host::trail::a_failure_says_how_full_memory_was: the line's wording with all numbers, with only the system's, and with none, and that this process's own numbers are read.cargo test --workspace --locked: 511 passed, 0 failed (GPU tests on the RX 9070 XT, DXIL validation on).cargo clippy --workspace --all-targets --locked -- -D warnings, with and without--all-features: nothing in the changed code; both fail onmain310c6ebas it stands (draw.rssort_unstable_by_key,indirect.rsdepth_written,resource.rsplaced_filler_twins), which #642 fixes.cargo xtask policy: ok.Related: #392 warns once in diagnostics builds when the commit headroom drops under 2 GiB while the run goes on; this puts the numbers into every build's failure report. #603 adds the pipelines being compiled to the same
crashes.logentry; neither touches the same code as this.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.