0 of 141,063 texture uploads admitted for 1.5 h on v2026.11.30.03 (RTX 4060 8 GB), with ~1.5 GB of VRAM unused #4990
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#4990
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?
@ffaddd-ddd on GitHub · 2026-12-01 16:43 UTC · original
AI use: written by DeepSeek (deepseek-v4.1-flash) from the reporter's logs; every figure below is quoted from the log file named at the end.
Filed again per the closing note on #1605 ("closing this because it was opened before v2026.11.29.01"). This run is on the latest release, v2026.11.30.03, driver 621.40. Both logs are attached.
What I see
Textures are not slow here. They are never admitted. Over a 4 h 58 min session on an 8 GB card the layer reports:
0 allowedfor the whole 1.5 hours of open-world play. On screen: props stay neutral grey/white (a held apple is white), and any texture that does arrive arrives minutes late. No crash in the session —device removed0 times.Why I do not think it is "the 8 GB card is full"
Two numbers taken at the same moment disagree about how much room there is.
At 15:39:26 the layer printed:
At that same moment
nvidia-smireported 6602 MiB / 8188 MiB — about 1.5 GB of the card still unused while every new texture was refused.So the refusal comes from the layer's own accounting, not from the card. Two things in that line look like the reason.
1. The line moves with a budget that shrinks during the run.
The budget starts at the full 7188 MB and settles 7-11% lower; the trigger line is a fixed 90.0% of it (all 3,484 samples print 90.0), so the line falls from 6469 to ~5900 MB with it. Nothing in the log says what made the budget fall.
2.
kept for render targetsis charged against the texture room.In the same line 545 MB is set aside for render targets before the comparison.
targets_room_kept(resource.rs) exists for a real reason — its comment describes the world-load case where the queue filled the card to 99-100.5% and buffer copies were turned down for good — but here it settles at 500-750 MB held for most of the session while the texture queue is being refused.Numbers over the session (same log)
no room, new textures waitpicked by index changed after its uploadHERO LEAD(view inside host-written memory)What I ruled out first
Not a compile stall:
being madeis 0 in the frames where textures are missing; the 4,545 translations are spread over scene changes.Not a whole-card budget refusal: the counter's own breakdown says
0 at the whole-card budgetand0 at the texture-copy ceiling. All 141,063 arerefused by an explicit byte limit.Not the 8 GB ceiling:
nvidia-smishows ~1.5 GB unused at the same timestamp.Not the old build: this is v2026.11.30.03 (SHA-256 below). My earlier report #3688 was on a locally built 2026-11-28 binary with driver 610.88, and it showed the same shape (budget 7188 falling to 6352); that is why I am re-filing rather than reopening it.
What would help me understand it
Is
kept for render targetsmeant to be charged against the texture room, or against the card's total with the queue counted separately? On this run that reserve is the difference between admitting textures and refusing them.Is the budget expected to move after the swap chain is made? If it is re-read, where, and what makes it fall 7-11%? If it is not re-read, then the 90.0% line is being applied to a figure that no longer matches the card.
Which switch is the right A/B knife? I can run the same route with
VICTORY_CARD_ROOM_FOR_TARGETS_MB=0, and/or a fixedVICTORY_TEXTURE_ROOM_PERCENT— tell me which pair you want and I will post both runs with the same counters.Environment
Logs (attached)
Play log, attached twice over:
victory-nvidia-play-20261201-105533-61704.log.gz(232 MB raw -> 22.1 MB gzipped, under the 25 MB limit), andsession-20261201-timeline.csv(159 KB, 3,483 rows) which is the whole session one row per second: time, fps, frame_ms, prep_ms, gpu_ms, copyback_ms, vram_used_mb, queue_due, budget_mb, no_room. The CSV is enough to see the budget decline and the 0-allowed window without unpacking the 232 MB.Crash log: none, because there was no crash.
%LOCALAPPDATA%\victory\data\7952987Ahas nocrashes.logand no*.crash.logfrom this run — I checked.Related and probably the same accounting: #3688 (my earlier one), #4860 (53% of slot rewrites show nothing), #4463 (one owner for the card budget), #4258 (HERO LEAD on a 3070 Ti).
session-20261201-timeline.csv
victory-nvidia-play-20261201-105533-61704.log.gz
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 16:55 UTC · original · edited 2026-12-01 16:57 UTC
I checked the header of the attached log and the release source. There is no numeric
VICTORY_TEXTURE_BUDGET_MBin the header. The release counts two different things under “refused by an explicit byte limit”: a fixed texture cap and the dynamic cap derived from DXGI's current budget, the other GPU allocations, andVICTORY_TEXTURE_KEEP_FREE_MB. The dynamic cap is the relevant check here. Admission checksThe render-target reserve belongs to the separate queue-room calculation. In your 15:39:26 sample, removing its 545 MB would still leave 6,417 MB counted against the 5,903 MB line, and it would leave the dynamic cap unchanged. DXGI's budget is the OS's current target for this application. The free memory reported by
nvidia-smidoesn't give the same quantity. Queue accounting · DXGI budget and usageThere are two existing PRs. #4769 separates the diagnostic counters. #4828 changes admissions so a first upload can reuse an aligned range in the correct pool without growing it. The 1,321 MB free across texture blocks in your log doesn't tell us how much fits those exact requests. If you can test #4828, the useful A/B is its base versus
b3ca3736on the same route with both proposed switches unchanged. The first-upload counts and whether the grey props recover are enough.