Texture eviction gets slower the longer a session runs (frame prep 48 → 70 ms over 30 min, RTX 3080 10 GB) #12
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound#12
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?
@notdeeney on GitHub · 2026-11-27 17:31 UTC · original
Setup
play-foxhound.ps1 -SeriesS -Dlss performance -FrameGen -FrameGenX 2(frame generation on this card goes through the third-party DLSSG SM86 proxy)
VICTORY_TEXTURE_ROOM_PERCENT=80, budget reported by Windows ~8.6–9.3 GBerror,victory_gpu::host=infoWhat happens
Over a 30-minute session in the open world the game gets steadily slower at the same draw counts,
and system RAM climbs from ~27 GB to ~30 GB.
From about +4 min the texture queue line says
no room, new textures waitalmost every time(e.g.
7647 MB in use ... against a line of 6914 MB (80.0 % of a budget of 8643 MB)).The "looks for textures to let go" in the "textures from the first level viewed" line keep getting
more expensive, even after the number of host copies stops growing:
Between +15 and +30 min the host copies grow by only ~3,400 (+1.4 %), but the average cost of a look
keeps rising (11.4 → 14.5 ms, so recent looks are well above 14 ms) at about one look per second.
It looks like something the look walks keeps growing (entries let go but not removed?).
Also tried
VICTORY_LEVELS_ON_DEMAND=1: VRAM in use went above the line (8.4–8.9 GB vs a 7.0 GB line), manytextures black, as documented for levels without memory. Not a workaround here.
VICTORY_PORT_CONSTANTS(was on before): RAM still climbs, maybe a bit slower.Full logs available on request.
@readmet3xt-lab on GitHub · 2026-11-27 21:20 UTC · original
Thank you for the measurements, they pointed straight at it. Fixed in v0.2.0-pre.4: https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.2.0-pre.4
A texture whose host copy was let go kept its last-use stamp, so every look over the card's line sorted and locked it again and found nothing to let go. Those textures only grow in number during a session, which matches your 3.5 to 14.5 ms. The stamp is now cleared when the copy goes (the next use sets it again), so the looks pass them by.
On the 12 GB card here the looks stay under 1 ms, so I could not reproduce the over-the-line case your 10 GB card is in all the time. A 30-minute check with the same log level would be welcome. The change is in foxhound itself (commit
3d52ac8,resource.rs,let_go_idle); other forks need it too.@notdeeney on GitHub · 2026-11-27 22:37 UTC · original
Thanks a lot, that did it. 33-minute check on the same machine (i5-12600K, 32 GB, RTX 3080 10 GB), same log level (
error,victory_gpu::host=info).Build: VIctory-NVIDIA df2daaf with your one-line change from
3d52ac8(r.host.used.store(0, Relaxed)inlet_go_idle) applied by hand, since that fork hasn't picked it up yet. Series S, DLSS performance, FSR 3 frame generation 2X,VICTORY_TEXTURE_ROOM_PERCENT=86.The card was over the line about half the time (7.0–7.9 GB in use against a 7.3–7.6 GB line, budget ~8.8 GB), but nothing degrades over the session any more: preparing stays at 40–55 ms at 7–9k draws from start to end, and "title's bytes under flights' writes" stays at 2.5–5 ms.
@readmet3xt-lab on GitHub · 2026-11-28 10:58 UTC · original
Confirmed fixed by the reporter in a 33-minute check. Closing, thanks.