GPU: a capped view heap's warning fires once per title slot past it (310,720 lines in one world load) #3474
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#3474
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@tharun-37 on GitHub · 2026-11-27 05:14 UTC · original
What happens
A host whose shader-visible descriptor heap is smaller than the title's descriptor table (NVIDIA caps them at 1,000,000 descriptors) cannot hold every title slot. Each slot it could not hold logs a warning of its own:
The warning is meant for the first slot past the heap, but it fires for every new highest index the title reaches. A GTA VI world load on an RTX 4060 Laptop produced 310,720 such lines and a 140 MB log file, and the number of slots the title could not place was nowhere in it.
Why it matters
Change
Verification
cargo test -p victory-gpu— 230 passed, 1 ignored; the 2 failures are the known NVIDIA heap-cap ones (dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_views), reproduced onmain.cargo clippy -p victory-gpu --all-targets -- -D warnings, with and withoutdiagnostics— clean.Seen while reproducing the NVIDIA hang in #2661.