Use one DXGI sample for VRAM budget diagnostics #384
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/readmet3xt-lab--foxhound!384
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-384"
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?
@Excaliburcccc on GitHub · 2026-12-01 21:08 UTC · original
Excaliburcccc:perf/reuse-dxgi-budget-snapshot→main· +27 −35 · 2 files · 72 commits · closed without mergingUse the same local and non-local DXGI memory sample for the budget-change message and its detailed breakdown. Previously the breakdown queried the adapter again, so the two lines could disagree about the budget that triggered the event. The diagnostics build now also derives the periodic memory summary and its detailed log from the same query pair. The configured VRAM cap applies to the value returned to callers. The detailed line reports the raw system budget.
On Windows with an RTX 5080, I replayed the same startup into the game world at 2560×1440, DLSS Quality, frame generation off. Both gameplay builds included #378. On the baseline, 611 of 1,420 unambiguously paired budget reports disagreed, by up to 1,298 MiB. With this change, all 1,500 unambiguous pairs matched across 1,546 budget-change events. Overlapping reports from different threads were excluded from both comparisons. Each successful budget-change event now uses two DXGI calls instead of four.
The candidate reached the game world and exited with status 0, with 4,255 DLSS evaluations and no device-removal error. Four existing VRAM budget and residency tests passed with the diagnostics feature enabled.
Pull request closed