report texture upload holdbacks in frame log summaries #4004

Open
xmorvay wants to merge 1 commit from upstream-pr/4004 into main
xmorvay commented 2026-11-30 14:18:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by xmorvay on 2026-11-30T14:18:24Z.


what changed

the texture budget line tells us how much room was available at the instant it was sampled

in one five second window on my 4070 super that line showed room while the texture pass counted 4086 upload attempts held back for room

the frame log summary now reports how many selected windows had a holdback count and how many had at least one holdback plus the median count per window
retries can count the same slot more than once

how i tested it

three launches from copies of the same checkpoint with the same binary and shared shader cache on a 4070 super 12 gb with 32 gb system ram
series x at 1440p with dlss quality and frame generation and ray tracing off
the game build was based on 3bdb280c with the local refresh change from #2504 held constant

render target reserve setting world windows with holdbacks median attempts held per window median frame time across window averages
default 19 / 19 23352 46.7 ms
VICTORY_CARD_ROOM_FOR_TARGETS_MB=2560 12 / 19 9317 44.6 ms
default again 18 / 18 34790 46.3 ms

used the existing 1000 draws per frame cutoff
the camera segment still stuttered in the middle run and the visible scene varied slightly across runs
these counters tell us when uploads were deferred but cannot identify which textures were visible

two python regression tests passed covering a zero count and a missing count as well as menu and out of window records
the staged asset policy check passed

checked for overlap

used the parser change from #2475 locally to read the current host log format
that change is still needed for current logs and is tracked in its own pr
this change adds the same holdback metrics to any window the summary already recognises
the middle run used the existing reserve switch and did not run the proposed patch in #3944

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5567066117 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4004). Originally posted by [xmorvay](https://github.com/xmorvay) on 2026-11-30T14:18:24Z. --- ## what changed the texture budget line tells us how much room was available at the instant it was sampled in one five second window on my 4070 super that line showed room while the texture pass counted 4086 upload attempts held back for room the frame log summary now reports how many selected windows had a holdback count and how many had at least one holdback plus the median count per window retries can count the same slot more than once ## how i tested it three launches from copies of the same checkpoint with the same binary and shared shader cache on a 4070 super 12 gb with 32 gb system ram series x at 1440p with dlss quality and frame generation and ray tracing off the game build was based on 3bdb280c with the local refresh change from #2504 held constant | render target reserve setting | world windows with holdbacks | median attempts held per window | median frame time across window averages | | --- | ---: | ---: | ---: | | default | 19 / 19 | 23352 | 46.7 ms | | VICTORY_CARD_ROOM_FOR_TARGETS_MB=2560 | 12 / 19 | 9317 | 44.6 ms | | default again | 18 / 18 | 34790 | 46.3 ms | used the existing 1000 draws per frame cutoff the camera segment still stuttered in the middle run and the visible scene varied slightly across runs these counters tell us when uploads were deferred but cannot identify which textures were visible two python regression tests passed covering a zero count and a missing count as well as menu and out of window records the staged asset policy check passed ## checked for overlap used the parser change from #2475 locally to read the current host log format that change is still needed for current logs and is tracked in its own pr this change adds the same holdback metrics to any window the summary already recognises the middle run used the existing reserve switch and did not run the proposed patch in #3944
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/4004:upstream-pr/4004'
git switch 'upstream-pr/4004'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/4004'
git switch 'upstream-pr/4004'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4004'
git switch 'upstream-pr/4004'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4004'
git switch 'main'
git merge --squash 'upstream-pr/4004'
git switch 'main'
git merge --ff-only 'upstream-pr/4004'
git switch 'main'
git merge 'upstream-pr/4004'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!4004
No description provided.