Texture residency grows without bound and nothing evicts at the wall (RTX 4080 SUPER, 1080p->1440p DLAA) #2753
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#2753
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?
@TheBen420 on GitHub · 2026-11-29 16:51 UTC · original
Texture memory grows without bound on every configuration I can find, and the picture decays as it does. Split out from #1976, where it is one of several findings and the thread has turned into the aliasing reports; this one has no switch that fixes it and it stops the session being playable after a while.
Machine: RTX 4080 SUPER 16 GB (budget reads 14.3-14.6 GB), driver 32.0.16.2140, Windows 11 Pro 23H2 build 22631, Ryzen-class CPU, 32 GB RAM. GTA VI Xbox
game_scarlett_master.exe1.0.2.1.Launch:
victory play <title> --res 1080to1440 --dlss dlaa --no-framegen-ready, plus the region switches from #1976 (VICTORY_ALIAS_TARGETS=0,VICTORY_SHOW_AFTER=0,VICTORY_TEXTURE_NO_WAIT=0,VICTORY_AMBIENT_CHROMA_SCRUB=1).The measurement
Same save, same spot, F3's
VRAM x/y GBline read twice, minutes apart:568c5e5+VICTORY_TEXTURE_ROOM_PERCENT=80ALSO: VIDEO MEMORY IS FULL (14.3 OF 14.6 GB)bc5330f(VRAM admission reverted)VICTORY_TEXTURE_FIRST_UPLOAD_MB=0(strict first-upload line)VICTORY_SLOT_EVICT=1(85/75, 256 MB sweeps)Nothing bounds the roster. Two of these make it worse when a mechanism that should bound it is switched on.
Why it matters for the picture
The artefacts in #1976 are a function of residency, with a dose-response. Identical viewpoint, same save:
That is what a surface looks like when it has dropped a mip level or lost residency, and it is worst nearest the camera, where on-screen texel density is highest.
What I have not tried
829188e9itself (the four measurements are on568c5e5and the fork), andVICTORY_ROOM_REAL/VICTORY_RESIDENT_LATER, which look aimed at exactly this. I'll test those next and report back.What would help
Anything that gives the roster a hard ceiling: a supported way to cap it, or a pointer to where residency is supposed to be released so I can instrument the growth. Logs from any of the four runs are available on request, and the launchers are identical apart from the switch under test.
@github-actions[bot] on GitHub · 2026-11-29 16:51 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@TheBen420 on GitHub · 2026-11-29 17:00 UTC · original
Answering the two things I should have put in the report itself:
The logs are here, added to the same gist the #1976 thread points at — https://gist.github.com/TheBen420/d227b62b1cc5aae626f4b4b795c9a74c — one per configuration in the table, all from gameplay with the reporter standing still:
victory-nvidia-play-20261129-084715-12828.log—VICTORY_TEXTURE_FIRST_UPLOAD_MB=0, the strict first-upload line. This is the run where material dies progressively.victory-nvidia-play-20261129-085951-18204.log—mainat568c5e5withVICTORY_TEXTURE_ROOM_PERCENT=80, the configuration that climbs to the wall and stays.victory-nvidia-play-20261129-090238-18756.log—VICTORY_SLOT_EVICT=1, the run that filled fastest.victory-nvidia-play-20261129-090610-22152.log— the long clean session, 11 MB.Environment as asked in #1976: RTX 4080 SUPER 16 GB, driver 32.0.16.2140, Windows 11 Pro 23H2 build 10.0.22631, 32 GB RAM. Paths if you want them locally: play logs in
%LOCALAPPDATA%ictory\logs\, and there is no crash log from any of these four — nothing crashed; the newest entry in%LOCALAPPDATA%\Victory\data952987A\crashes.logis from 2026-11-28 17:08, before any of this work.And we are not sitting still: I'm building the newest main (
55d06914, 1,282 commits past the build those measurements came from, 115 of them translator changes) right now, and the first thing I'll run is this same session withVICTORY_ROOM_REAL=1andVICTORY_RESIDENT_LATERto see whether the new real-budget margin and the residency change bound the growth. I'll report the F3 numbers from it in this issue either way, so the table above gets a row for the current main.@TheBen420 on GitHub · 2026-11-29 17:03 UTC · original
Full specifications for the machine behind the table above, since #1976 only had the GPU and OS:
CPU: AMD Ryzen 7 5800X (Zen 3), 8 cores / 16 threads
Board: ASUS ROG STRIX B550-F GAMING — PCIe 4.0, DDR4 platform
Memory: 64 GB DDR4-3600, 2 x 32 GB in dual channel
GPU: NVIDIA GeForce RTX 4080 SUPER 16 GB, driver 32.0.16.2140
OS: Windows 11 Pro, build 22631
Worth flagging for whoever reproduces this: this is a DDR4 Zen 3 platform, while the development and most of the reporting in these threads is on DDR5 systems. Two consequences that matter for exactly the symptoms in this issue:
preparing: copies 21.5 ms / 55 MBon the clean build, i.e. about 2.5 GB/s achieved, and those copies sit on the submitting thread. On DDR5 that same accounting reads much lower, so a threshold tuned upstream may sit on the far side of what this machine can feed.VICTORY_SLOT_EVICT=1filling the card faster may be a platform effect rather than a policy one — if re-uploads after eviction can't keep up with the rate the title asks for, the roster refills before the sweep's effect is visible. If so, a DDR5 machine would show less of it, and this row of the table may not reproduce for you.If a log from the
55d06914build on this platform would help distinguish those, it's coming in this thread next.@TheBen420 on GitHub · 2026-11-30 08:15 UTC · original
Distant-texture flicker with no residency churn — five exclusions, measured
mainat41adb551(+ our 27-line copy-back cap), RTX 4080 SUPER, Ryzen 7 5800X, Win 11 23H2, GTA VI Xbox1.0.2.1,
--res 1080to1440 --dlss dlaa, daily switches(
VICTORY_ALIAS_TARGETS=0 VICTORY_ROOM_REAL=1 VICTORY_AMBIENT_CHROMA_SCRUB=1 VICTORY_GPU_BACK_MAX_KB=256 VICTORY_RAYMISS_KEEP=1 VICTORY_AMBIENT_SPECULAR=1,0 VICTORY_SOFT_VIEWS=0 VICTORY_MAP_THREADS=8 VICTORY_JOIN_PARTS=1 VICTORY_TEXTURE_ROOM_PERCENT=80).Symptom
Standing still at a viewpoint with the island in the distance: every so often, several times a minute, distant
texture detail reads incorrectly for roughly a frame and then corrects itself. The reporter counts three to four
per two-minute window. Once, while
VICTORY_ALIAS_TARGETS=1, a wider flash covered clouds and sunlit wood, palegrey with a slight red cast, and cleared in the same way.
What the counters say
Three minutes standing still at the spot, reading the frame line's texture column every ~5 s:
Flat. 2.3-5.1 ms a frame for 2.5 minutes with no bursts and no periodicity, i.e. nothing is being re-streamed
while the flicker happens. If the flicker were a texture leaving the card and coming back, this column would
show it, and it does not.
What was excluded, by count
Each row is a cold launch, the reporter parked at the same viewpoint, counting flickers in a fixed window:
VICTORY_PORT_CONSTANTS=0VICTORY_RESIDENCY_HIGH=1VICTORY_TEXTURE_ROOM_PERCENT=90VICTORY_ALIAS_TARGETS=1Where that points
Not residency (#2753), not streaming, not the port, not the copy-back cap, not the upscaler (the reporter sees it
at native 1440 with DLSS off as well, reported earlier on #1976). What is left is a transient wrong frame written
by a pass that reads elsewhere — and the one time we saw it up close it looked like the pale grey / red cast that
this reporter's #2887 logs show the reflection programs writing into glossy surfaces when their rays carry sun and
sky but no scene content.
Two questions we cannot answer from the outside:
on distant geometry — something a frame counter would not catch because the data never moves, only the read?
which would show as exactly the pale flash we caught once?
The counts above are the reporter's, from fixed two-minute windows, so treat them as a coarse instrument: the
variance between windows is large. The upload counter and the exclusions are the solid part.
Logs
https://gist.github.com/TheBen420/e1265a79164ba9087e132cbca70b8711
victory-nvidia-play-20261130-075238-20876.log— the three-minute stand at the viewpoint the upload figures abovecome from (the daily config, standing still, nothing else running).
victory-nvidia-play-20261130-080618-15168.log— theVICTORY_ALIAS_TARGETS=1run in which the clouds and woodflashed pale grey with a red cast.