Log memory budgets at GPU buffer allocation failures #4879
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!4879
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4878"
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 12:34 UTC · original
andrewpozdnakov7-jpg:codex/diagnostics-4844-buffer-oom→main· +37 −3 · 2 files · 1 commits · draftRefs #4845
What it changes
A terminal
E_OUTOFMEMORYfrom an upload or shared GPU buffer now records local and non-local DXGI usage and budgets, available RAM, and available commit when those counters can be read. The two failure paths share one sample per second. The existing warnings, retry behavior, and allocation policy are preserved.The courtyard trace reached 99–103% of the non-local budget with 77 MiB of physical memory free. It needed
VICTORY_MEMORY_TRACE=1to collect those counters. The new sample captures them at the refusal in an ordinary play log.How it was tested
tracing. The first shared-buffer refusal captured all six counters. It skipped 999 upload refusals within the same second. Eight simultaneous failures at the next interval emitted one sample and queried each source once. Other HRESULTs and unavailable counters were covered.Checked for overlap
Close()diagnostics. The new sample is tied to the buffer allocation refusal.AI-assisted with OpenAI Codex.
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.