Repository navigation
Conversation
A host GPU failure (a removed device, 0x887A0006 and the like) gave 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 with a 37 GB commit limit the process stood at 35.6 GB private when its device went, and the report said nothing of it. The report (the log's error line and crashes.log) now ends with ; memory: the system's commit <in use> of <limit> MiB (this process <private> MiB); the card's own <in use> of <budget> MiB, shared <in use> of <budget> MiB from K32GetPerformanceInfo, K32GetProcessMemoryInfo and the adapter's QueryVideoMemoryInfo (Host::video_memory), of what can be read.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A 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 onmain310c6eb as it stands (draw.rssort_unstable_by_key,indirect.rsdepth_written,resource.rsplaced_filler_twins), which GPU: clippy passes on main again #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.