Distinguish descriptor slot exhaustion from fragmentation #1508
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!1508
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1508"
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?
@Nazzgy on GitHub · 2026-11-28 21:02 UTC · original
Nazzgy:codex/descriptor-miss-cause→main· +11 −3 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCDistinguish descriptor heap exhaustion from fragmentation
The allocation path needs one contiguous run of dynamic descriptors for a fresh table. Its first failed allocation currently reports the requested size alone. The same warning can indicate a shortage of free slots or fragmentation even when the total number of free slots is sufficient. The two cases require different fixes, especially on capped hosts where reserving more dynamic slots reduces the title's usable slots.
Include the free count, dynamic capacity and whether the free count was sufficient at the allocation miss. Use the free count already read under the allocator lock. Keep the existing once-per-process warning and allocation behavior.
The previous live run produced 1,564 dropped table binds in one sampled interval. That run predates these fields, so its log leaves the cause unresolved. The patch applies on upstream main at
923e38cc8c. Isolated index apply and whitespace checks passed.Overlap check
The combined run reproduced an allocation miss and identified capacity exhaustion with
n=1 free=0 capacity=262144 fragmented=false. The sampled counters still recorded 26 missed binds during loading. The focused allocator regression passed in the combined workspace.feat(gpu): distinguish descriptor slot exhaustion from fragmentationto [pr-diagnostics] Distinguish descriptor slot exhaustion from fragmentation[pr-diagnostics] Distinguish descriptor slot exhaustion from fragmentationto Distinguish descriptor slot exhaustion from fragmentation