GPU: report ordinary texture upload room accurately #3904
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!3904
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3904"
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?
@Yoruiopz on GitHub · 2026-11-30 11:04 UTC · original
Yoruiopz:texture-room-log-05→main· +104 −26 · 2 files · 1 commits · closed without mergingRelated to #3829 and #3848.
What it changes
The periodic texture-room meter used a comparison of rounded memory terms to label uploads as waiting. The ordinary admission path can still admit uploads below the automatic texture floor. It can also refuse uploads near the raw DXGI budget when weighted use is below the line.
Use the exact byte counts from one meter sample, share the admission floor and raw-budget predicates, and report the ordinary upload gate with its reason. The first-upload allowance keeps its separate diagnostics. Upload and eviction policy stay the same.
How it was tested
Checked for overlap
@andrewpozdnakov7-jpg on GitHub · 2026-11-30 11:31 UTC · original
I tested
a2db88atogether with #3848a9980e6, both based on41adb551. Cherry-picking the two PRs in either order was clean and produced the same Git tree,bd16abc7d61d. The combined Windows diagnostics build ran 78 resource and pool tests successfully, including a generated integration check. Four tests were ignored.In the #3829 example (1,238 MiB of texture copies, 6,910 MiB budget), the new meter says there is room. At one byte below the automatic floor it still says there is room, and #3848 leaves the reserves out of the eviction calculation. At the floor and one byte above, the same weighted use is over the line, so the meter says no room and #3848 counts the reserves. The separate raw-budget tests also passed.
scripts/summarize-frame-log.pystill recognized the revised messages in a three-row generated log. It counted the under-floor row as admitted and both the weighted-limit and raw-budget rows as blocked.This checks compatibility at the two current heads. The visual trade-off from the exact #3848 hardware pair is still being tracked in that PR.
AI-assisted with OpenAI Codex.
@trustno1-coder on GitHub · 2026-12-01 18:47 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