Avoid unnecessary first-upload pool scans and report the VRAM reserve #4769
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!4769
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4768"
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?
@v8816 on GitHub · 2026-12-01 06:41 UTC · original
v8816:perf/first-upload-reserve-diagnostics→main· +57 −38 · 2 files · 1 commits · closed without mergingWhat changed
First-upload admission now probes the texture pool for a reusable range only when the whole-card check actually depends on reuse. A request accepted by normal room, rejected by a stricter ceiling, or too large for aggregate free space can be decided without a range scan. The existing byte thresholds and accepted requests stay the same.
The frame-rate log reports the dynamic VRAM reserve separately from the explicit texture budget. One local Series S run on an 8 GiB card reported about 70,000 first-upload refusals in the explicit-limit bucket with no explicit texture budget configured. The new counter makes it possible to measure the reserve's effect without guessing from that bucket.
Verification
The change has unit coverage. Its effect on gameplay FPS has yet to be measured with a matched run.
@trustno1-coder on GitHub · 2026-12-01 18:32 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