Descriptor: views past the capped heap are counted and shown (part of #2625) #2666
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!2666
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2666"
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?
@unueberlegt on GitHub · 2026-11-29 15:46 UTC · original
unueberlegt:diag/past-cap-views→main· +51 −4 · 3 files · 3 commits · openTwo reports ask to tell views the capped heap cannot hold apart from a texture problem:
Both are answered with the counting that the warn was missing and the two surfaces they asked for:
HostHeap::mirror_innerrefused a view past the cap with a warn once per new highest slot. It counts every refusal now (note_past_cap_view) and keeps the highest slot seen.views past the capped heap: N in this interval, the highest title slot there H.PAST CAP n(the count since the start) — #2625's reporter asked for that panel by name.Nothing else changes: which views read the null slot, and what they read, are exactly as before. A follow-up that makes those reads return a neutral descriptor instead of null is the next step, and I would like the maintainer's read on it first (#2625's second question) — the numbers from real runs will say how much that is worth.
Verification (RTX 5070 / Windows 11, main
829188e9):cargo test -p victory-gpu --lib --locked: 916 passed, 0 failed (57 ignored, as on main). The new testa_view_past_the_cap_is_counted_and_the_highest_slot_keptwas watched red (the two functions missing) before green.cargo clippy -p victory-gpu --all-targets --locked: the warning set is main's own (31 rows before and after, two pure line shifts from this edit).mainas of829188e9(victory-shader:while_immutable_conditionand two unused imports;victory-loader:unwind_copy) — none of which this branch touches.🤖 Generated with Claude Code
@LasVegas38919 on GitHub · 2026-11-29 15:52 UTC · original
Thanks for picking this up, and for taking the time to wire the counters into both
places — the F3
PAST CAPline is exactly what I was hoping for when I opened #2625,and having it in the five-second line as well is more than I asked for.
For the record, from the machine that filed the report (RTX 3090 24 GB, 9800X3D, 32 GB,
driver 610.62, VICTORY_DYNAMIC_SLOTS=262144):
so 507,329 views past the cap, 40.8% of what the title asks for. On screen it is a
full-frame white (sometimes black) flash that clears the moment the camera turns back —
by far the most disruptive artefact I see, well ahead of the texture and blocky-effect
issues. It shows up most when driving fast through the city, which matches the
full-screen flashes in #2464 you mention.
Your reading of the order is the one I'd take too: count it, see what a real session
says, then decide what those reads should return. The "neutral descriptor instead of
null" follow-up is the change I'd most like to see — even a flat grey would turn a
blinding white flash into a slight wash, which would already make the game playable in
those moments. Whatever the maintainer decides, if a test build shows up I'll run it on
this machine and report back with numbers; the reproduction here is reliable, 100% of
sessions.
Thanks again — reading a report and turning it into instrumentation this quickly is
genuinely appreciated.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.