Report memory exhaustion when a host command list cannot close #4806
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4806
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4805"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 09:32 UTC · original
andrewpozdnakov7-jpg:fix/close-oom-diagnostics→main· +14 −7 · 1 files · 1 commits · closed without mergingRefs #4723
Main at
5fabb46has five Clippy errors covered by #4708.What it changes
In #4723,
ID3D12GraphicsCommandList::Closereports0x8007000E. The release and current main both describe every failed Close as an invalid recorded command. D3D12 documents separate return codes for an invalid argument and memory exhaustion.Report memory exhaustion for
E_OUTOFMEMORYand attach the same RAM, commit and adapter figures used for a failed command reset when available. Keep the existing description forE_INVALIDARGand report the HRESULT alone for other errors. This addresses the crash message. The allocation pressure in #4723 remains open.How it was tested
5fabb46and15cd2f0. The OOM case changes from an invalid-command message to memory exhaustion with the injected memory figures. The invalid-argument message matches main, andE_FAILretains its HRESULT.cargo check --locked -p victory-gpu --jobs 2passed.cargo xtask policy --stagedpassed for the one changed file.Checked for overlap
host.rs. #4574 changes debug-layer message selection. #3488 and #3975 work on recovering from a Close failure. This change classifies the HRESULT and captures memory figures in main's existing failure path.Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.[pr-fix][crash][memory] Report memory exhaustion when a host command list cannot closeto Report memory exhaustion when a host command list cannot close@trustno1-coder on GitHub · 2026-12-01 18:31 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed