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#1962
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?
@bekandev on GitHub · 2026-11-29 04:26 UTC · original
Hardware: GeForce RTX 5060 8 GB, Ryzen 7 5700X, 16 GB RAM, Windows 11 (pagefile on the NVMe). Series S profile, DLSS performance (540p scene size on
568c5e5), frame generation off, 30 fps cap, PRELOAD SHADERS done first (99k pipelines).What happens: on main
568c5e5, entering the world ends the run with0x8007000E—no shared buffer ... size=6291456,a host command list did not close, anda host state prelude did not record— in 4 of 4 runs. Windows commit was fine each time (13 GB RAM free after one exit, no Resource-Exhaustion-Detector events), so it is the card that runs out: the driver reports a ~6.9 GB budget and usage reaches it, then a driver-side allocation fails.What was tried, same result every time:
VICTORY_TEXTURE_BUDGET_MB=25600x8007000Eon a state preludeSo neither the room line nor a hard texture byte budget stops it. In run 3 the queue's line said 7,225 MB weighed against a 5,555 line and uploads continued; usage grows past the line until the driver cannot allocate. The non-texture side (render targets, card copies of title buffers, swap chain, driver objects) fills the rest of an 8 GB card.
What works, same PC and game: main
8fc2254+VICTORY_TEXTURE_DROP_MIPS=1(a port of soldsawn's switch, PR #1950) + #76, 720p scene size, room 86 default: world entry succeeds and a long session runs stable at 9.1-9.6 fps with 71,575 textures uploaded (8.7 GB), 18 fps in the world on the one568c5e5run that got furthest before dying.Bisect hint: the difference between the working and failing builds is the 406 commits after
8fc2254, of which63b902fturns the memory stack on by default (VICTORY_SLOT_EVICT,VICTORY_ALLOCATOR_TRIM,VICTORY_BUDGET_PACK) and adds the 540p Series S scene size; SLOT_EVICT was never on in the working runs. The 540p path itself is the other suspect.Play logs from all runs and the crash lines are available on request.
@github-actions[bot] on GitHub · 2026-11-29 04:26 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)
github-bot referenced this issue2026-11-29 07:26:49 +00:00
@kalberts0089-hash on GitHub · 2026-11-29 08:00 UTC · original · edited 2026-11-29 08:50 UTC
I don't have an 8 GB card (RTX 4070 Ti 12 GB here), so I can't reproduce this. I read the memory-related changes between
8fc2254and568c5e5(407 commits). Below are three candidates that can each be switched off without a rebuild, and a test matrix for anyone with an 8 GB card.1.
63b902fonly flips defaults. It setsVICTORY_SLOT_EVICT,VICTORY_ALLOCATOR_TRIMandVICTORY_BUDGET_PACKto1inapps/victory/src/play.rs(now lines 121-125) andscripts/play-foxhound.ps1. The comment says "off since .8; on again 2026-11-28". The switches were already there at8fc2254.2. Slot eviction itself changed in the range.
c9c5354clamps its lines to the texture queue's room line and subtracts the free bytes in the texture blocks from "used" (crates/victory-gpu/src/resource.rs:3159-3162). So withSLOT_EVICT=1,568c5e5starts evicting at min(85 %, room line) and runs down to min(75 %, high − 5 %), at most 256 MB a sweep. On a ~6.95 GB budget with the default room line (90 %), it starts around 5.9 GB. With room 80, as in runs 2-4, it starts at 80 %. #1644 (an RTX 5060 Laptop 8 GB) found it past its line on every pass. When it was rested there, frames got worse, probably because VRAM went past its line. So turning it off may fail sooner, not survive.3.
05a269dchanged the render-target reserve, and no switch above covers it. At8fc2254the texture queue kept a flat 3,072 MiB for render targets until they held half of it. Since05a269dit keeps 1.5× the targets' peak, at least 256 MiB (targets_kept_from_peak, resource.rs:2347 at568c5e5). Its commit message measured 2,675 MB → 195 MB reserved on a 720p Series S world. That is roughly 2.5 GB more room the queue can fill on an 8 GB card. Hypothesis: this alone could explain the card filling up where8fc2254did not. SettingVICTORY_CARD_ROOM_FOR_TARGETS_MB=3072brings back the old flat rule (resource.rs:2287-2291).What the log can show. The slot-eviction counters
SLOT_EVICT[0..7](resource.rs:3017; evicted, bytes, back again, back within 2 s, ...) are only ever incremented. Nothing reads them. The closest view in a release build isVICTORY_CARD_ACCOUNTING=1, which logs acard accounting:line every 5 s once the card has no room. That line includes "since the line before: N host copies let go ..., M made again". Those counts mix slot eviction with the idle sweep.Test matrix for an 8 GB card. Use the same settings and route into the world each time, ideally three runs each, with
VICTORY_CARD_ACCOUNTING=1on in every run:VICTORY_SLOT_EVICT=0VICTORY_SLOT_EVICT=0,VICTORY_ALLOCATOR_TRIM=0,VICTORY_BUDGET_PACK=0VICTORY_CARD_ROOM_FOR_TARGETS_MB=3072With
victory.exe, use--set. It is carried over the F1 menu's restarts and the warm-up restart (restart_args, play.rs:993-1015):With the script launcher, use
-More @{VICTORY_CARD_ACCOUNTING='1'; VICTORY_SLOT_EVICT='0'}and so on.-Moreis not carried over a restart from the F1 menu, PRELOAD SHADERS included (play-foxhound.ps1:171), so start it again by hand after a menu restart. Both launchers clear everyVICTORY_...variable they don't keep before a start, so setting$env:VICTORY_SLOT_EVICTby hand does nothing.The first line of each play log (
# console=... switches: ...) shows whether the value took. For each run, please post whether world entry survived, plus the lastthe texture queue's room,card accountingandvideo memory as the system counts itlines before the end.05a269d).Update: the counters part is out of date. Current
main(since49cec75b, which brought in0b6f6a5d, "Slot eviction: what it did is in the frame-rate lines") logs aslot eviction since the last linesummary with the once-a-second frame-rate lines whenever eviction did something, so a normal play log onmainnow shows evictions and textures that came back. What it still doesn't show isslot_evict's own time:SWEPT_USis still recorded beforeslot_evictruns.@notdeeney on GitHub · 2026-11-29 08:57 UTC · original
Same thing on a 10 GB card, and it narrows the window:
9ce3cf9(v2026.11.28.03)is still good here, so the change is between
9ce3cf9and568c5e5.RTX 3080 10 GB, i5-12600K, 32 GB, Win11; Series S 960x540, DLSS performance,
DLSS FG 2x (MFG Unlocker). On
e1f2eb6, "texture queue's room" in use vs. line:+3 min 8,811 vs 7,205 MB, +13 min 10,191 vs 7,142, +53 min 11,519 vs 7,205.
Past the line from the start, shared memory reaches 7.5 GB. With 10 GB it plays
for ~50 minutes (17-20 fps, 2-8 ms GPU), then GPU time jumps to 45-78 ms a frame,
6-8 fps, and the game freezes; on
923e38ca run ended in "host GPU device removed".On
9ce3cf9the same machine stayed at the line (7130 vs 7203 MB) for 4+ hours.Not a clean main, to be fair: a VIper-modded retail exe with a one-line local change
letting native_1440p's patches past the whole-image hash check (fields still checked
against stock bytes), and the
9ce3cf9runs had three foxhound pre.5 changes ported(decoration bake at the call, textures in PC memory when the card is full, a 1536 MB
Series S target reserve). I can repeat on a clean main with the retail exe.
Log available.
Generated with Claude Code
@notdeeney on GitHub · 2026-11-29 12:44 UTC · original
Same 10 GB card on
829188e9(VICTORY_ROOM_REAL on by default), retail-basedVIper copy with VICTORY_ALLOW_MODDED=1: still past the line and still growing.
"texture queue's room" in use vs line: +7 min 9,135 vs 7,136 MB, +27 min 9,788
vs 7,138, +47 min 10,990 vs 7,150. GPU time per frame 2-8 ms for the first half
hour, then 30-34 ms (fps 15-16 -> 11-13). Slower growth than on
e1f2eb6(11,519 at +53 min) but the same shape; I quit before it froze.
@bekandev on GitHub · 2026-11-30 04:39 UTC · original
Matrix results from an 8 GB card (RTX 5060, Ryzen 7 5700X, 16 GB RAM, Windows 11, official v2026.11.29.05, Series S, DLSS performance, frame generation off, 30 fps cap, PRELOAD SHADERS done first). Runs A and D of @kalberts0089-hash's matrix,
VICTORY_CARD_ACCOUNTING=1on in both:Run A — defaults: world entry exhausts the card. About 43,000 textures uploaded (1.2 GB), then host pipelines fail continuously with
0x8007000E(host pipeline failed ... reason="compute 0x8007000E", every few seconds for the ~3 minutes we let it run). 0.2-0.5 fps, frames of 2-6.6 s. The title's audio plays; nothing loads on screen. Budget 7,128 MB.Run D —
VICTORY_CARD_ROOM_FOR_TARGETS_MB=3072: world entry survives. There were 47 pipeline0x8007000Efailures during the entry spike (04:35:44-04:36:27) and then none for the 2+ minutes we stayed in the world, with the game alive and the driver still allocating. The queue stops at the line as the old build did:That leaves ~2.4 GB of the card for the driver. Not playable on this machine (0.2-1.3 fps; 16 GB RAM and the queue starved behind the line), but alive and stable, versus run A's death spiral.
Reading it against the matrix: only D survives, so it is the render-target reserve change (
05a269d, the peak-based rule from #76). With the peak-based reserve holding only ~160-430 MB on this profile, the queue fills an 8 GB card to its budget and driver allocations start failing; with the flat 3,072 MB rule the queue stops ~2.4 GB short and everything survives.Happy to run B (
VICTORY_SLOT_EVICT=0) and C (all three off) on the same scene if useful.One more data point for the fix: on this same PC, main
8fc2254+VICTORY_TEXTURE_DROP_MIPS=1(PR #1950) + #76 enters the world and runs a long stable session at 9.1-9.6 fps with 71,575 textures uploaded (8.7 GB) — the smaller textures let the queue drain within the line instead of pressing against it. So the reserve rule and the texture bytes interact: what an 8 GB card needs is for the queue to stop short of the card's budget counting what the driver needs, whichever mechanism does it.@trustno1-coder on GitHub · 2026-11-30 15:38 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.