Do the launcher's window switches help an 8 GB card on a 32 GB machine? One run, a question, and two switches that damaged the picture #3331
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#3331
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?
@Razen114514 on GitHub · 2026-11-29 21:54 UTC · original
Do the launcher's window switches help an 8 GB card on a 32 GB machine? One run, a question, and two switches that damaged the picture
Testbed. RTX 5060 8 GB, Intel i5-13490F, 32 GB RAM, Windows 11 build 26300, driver 32.0.16.2124, image
b99f876b74d4a77f.v2026.11.29.03(cec481f4), Series S, DLSS performance, frame generation 2x.victory preloadwas run first:4418 of 4418 in the pipeline library in 8 s,made=772 loaded=3646.What I am asking, rather than claiming.
scripts/play-foxhound.ps1:173gives two switches only to machines reporting 16.5 GB of RAM or less:Its own note measures them on an RTX 5060 Laptop 8 GB with 16 GB: the windows 3,400 -> 2,598 MB, of them those asked for without a length 2,732 -> 980 MB, the card's share of the PC's memory 6.0 -> 5.2 GB. The gate reads system RAM, and the copies these windows describe do live in system memory, so there is a reason for it. My machine has 32 GB and an 8 GB card, and does not get them. Whether it should is a question I cannot answer from one run — I am putting the measurement here so someone who knows the intent can say.
What the timings were
WINDOW_KB=1024WINDOW_TAILS=1LOWSPEC_ADAPTIVE=1LOWSPEC_SNAPSHOT_MB=2560xc000001dThe 7 min 43 s is not a fixed limit. It is one fault, and another run of the same build went past eight minutes without one. So nothing in this table establishes that any switch made a run live longer: the middle column was stopped before the baseline's fault time, and the right-hand column is four switches at once.
What the four switches did to the picture
With
LOWSPEC_ADAPTIVEandLOWSPEC_SNAPSHOT_MBalso set, the picture degraded the further and longer I played:I withdraw my earlier explanation of why, which was in a comment below:
LOWSPEC_SNAPSHOT_MBcaps a pool of idle, already-returned buffers waiting to be reused (shadow.rs:1990), and taking one backclear()s it, so nothing in the source says capping that pool stops evicted textures coming back. What still stands is that the six things above are what I saw. I cannot attribute them to those two switches, because I only saw them with both set, and several are reported on this build without either.What the crash log says, and what it does not
The tile heap was 72.8% used, with 1,081 MB between used and total. That says the heap was not full; it does not say the gap could satisfy the next allocation, and this tag does not define the two columns of
UnusedorPool, so I am not reading 194 MiB of free memory out of them.Poolat used/capacity would be 98.8% full. Neither OOM nor memory pressure is established by these two logs, in either direction.The fault was
0xc000001d(STATUS_ILLEGAL_INSTRUCTION) atvictory-image-b99f876b74d4a77f.dll+0x55b1811.crash.rs:622reads thecodefield fromExceptionAddressitself, not centred on the faulting instruction, so:+0e9 2a ed 9c fajmp rel32+590nop+6c4 e2 79 21 c9vpmovsxbd xmm1, xmm1The AVX instruction starts six bytes after the reported address, behind an unconditional jump, so what this CPU supports has nothing to do with the record. What does look worth checking:
console_insn.rs:212patch_sse4arewrites a six-byte SSE4aEXTRQ/INSERTQinto aE9 rel32to a replacement plus90padding, and the first six bytes above have exactly that shape. The report reads memory as it stands when the report is made, not the instruction the CPU faulted on. I am not claiming that site was patched — only that the shape fits, and someone with the image could look.What I would like from you
0xc000001dat+0x55b1811a known stop on this build, and if it is not, would the play log help (11 MB, gzipped) or aVICTORY_LOG=debugrun of the same length?To reproduce
Start from
v2026.11.29.03, runvictory preloadonce, then pass the two switches through the launcher's own-More, which is required because the script clears most inheritedVICTORY_*variables (play-foxhound.ps1:366):The window figures themselves are in
memory, windows:, which prints only from a diagnostics build (copystatis behind that feature,lib.rs:36);VICTORY_LOG=infoalone will not show them. What every build prints is the run's length andprocess memory:every 5 s.@github-actions[bot] on GitHub · 2026-11-29 21:54 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)
@Razen114514 on GitHub · 2026-11-29 21:58 UTC · original
Both logs, and what they say — which is not what I expected.
GPU / OS: RTX 5060 8 GB, Intel i5-13490F, 32 GB RAM, Windows 11 build 26300, driver 32.0.16.2124.
Play log:
victory-nvidia-20261130-041952.log(11,537,125 bytes). It is a script-launcher run, so the name has no-play-in it.Crash log:
victory-20261130-042739-4148.crash.log(2,781 bytes) intemp\, plus the newest block ofcrashes.log.The crash, as the crash log records it
The title's own memory account is healthy at the moment it dies. The tile heap is at 2,896 MB of 3,977 MB — about a gigabyte still free — and the pool has 194 MB unused. So whatever ends this run, it is not the title running out of what it was given.
That matters because earlier in my write-up I said the run ended "at
available_mb=0". I have since readxmem.rs:3405:available_mbis printed once, on the process's firstGlobalMemoryStatusExcall, shifted right by 20. So that0was a single reading taken near the start, not a last reading taken before the fault. I was reading a one-shot log line as a live gauge, and my "the title ran out of memory" framing was wrong.The fault itself:
0xc000001disSTATUS_ILLEGAL_INSTRUCTION.console_insn.rsemulates the console-only instructions that raise it, and its own note records the same code ending a run 22 minutes in, so this is a path the layer already knows about — but the bytes above are not obviously one of theclzeroshapes it handles, andc4 e2 79 21 c9decodes as an AVX instruction an i5-13490F should execute natively. I do not know how to tell from here whether the layer trapped it, mistranslated something before it, or whether it is a consequence of an earlier allocation failing.What I would like from you
Given the title's heap has a gigabyte free, is
0xc000001dat+0x55b1811a known stop on this build? And if it is not, which of the two logs would you want next — the play log is 11 MB and I can gzip it, or aVICTORY_LOG=debugrun of the same length instead.@Razen114514 on GitHub · 2026-11-29 22:04 UTC · original
Correction to the two comments above, on three points
I have been through both with the source and the crash log again, and three things I wrote do not hold.
1. The bytes at the fault are not what I said they were.
crash.rs:622reads thecodefield fromExceptionAddressitself, not centred on the faulting instruction. So:+0e9 2a ed 9c fajmp rel32+590nop+6c4 e2 79 21 c9vpmovsxbd xmm1, xmm1The AVX instruction starts six bytes after the reported address, behind an unconditional jump — so whether this i5 supports AVX has nothing to do with the record. What does look worth checking:
console_insn.rs:212patch_sse4arewrites a six-byte SSE4aEXTRQ/INSERTQinto aE9 rel32to a replacement plus90padding, and the first six bytes here have exactly that shape. The crash report reads memory as it stands when the report is made, not the instruction the CPU faulted on. I am not claiming that site was patched, only that the shape fits and someone with the image could check.2. "The title's memory account was healthy" was too strong.
TileHeap: used 2896 / total 3977 Mbdoes say the heap was 72.8% used with about 1081 MB between used and total. It does not say that gap could satisfy the next allocation, nor that 3977 is a hard ceiling. And I misread the other two lines:Unused: 0 / 203423728andPool: 267235712 / 270532592are separate rows, this tag does not define their two columns, and the 194 MiB I called "free in the pool" is not the difference of either pair. IfPoolis used/capacity it is 98.8% full with 3.14 MiB left. What the two logs support is narrower: the run ended on an illegal instruction, the tile heap was not full, and neither OOM nor memory pressure is established either way.3.
LOWSPEC_SNAPSHOT_MBdoes not do what I said it does. It caps the pool of idle, already-returned buffers waiting to be reused (shadow.rs:1990); taking one backclear()s it, and when none fits it allocates afresh.LOWSPEC_ADAPTIVElikewise works on idle buffers not yet handed out (ahead.rs:113). Nothing in the source supports "capping the pool stops evicted textures coming back" — that was my guess written as a mechanism, and it should not be in the report. The six things I saw on screen are still what I saw; the explanation of why is withdrawn.One more, on the run I called a lifetime improvement: the window-only run was stopped by hand at five minutes, which is before the baseline fault at 7:43, so it says nothing about living longer. And
7 min 45 s -> 21 min 37 swas with all four switches and cannot be split between them.Apologies for the noise. The parts I still stand behind: the launcher gates those two switches on system RAM and a 32 GB PC does not get them,
victory preloadtook 772 pipelines from never-loaded to loaded, and the queue numbers in the earlier comment are the numbers.8 GB: the launcher's window switches are gated on system RAM (<=16.5 GB), so a 32 GB PC never gets themto Do the launcher's window switches help an 8 GB card on a 32 GB machine? One run, a question, and two switches that damaged the picture@futurepro62 on GitHub · 2026-12-01 00:48 UTC · original
A data point for the question above, from a machine on the other side of the RAM gate: a 16 GB card with 31 GB of system RAM. Here
VICTORY_WINDOW_KB=1024andVICTORY_WINDOW_TAILS=1made no measurable memory difference. They may have helped the picture indoors, but I can't say so firmly.Memory: no measurable difference
Peak private bytes of the process, same build, same save:
The short pair differs by 0.1 to 0.6 GB, which is inside what two runs of the same build differ by here. The long run peaked higher than any short run, so the switches didn't keep memory down over a session either. In the long run, memory stayed at 28 to 30 GB for most of the session, and Windows moved about 1.2 GB of the process to the pagefile around minute 9. Note that the "on" runs also had an experimental texture cap (
VICTORY_TEXTURE_LRU_MB, not in this repo), whose own log line says it never let a texture go, so it shouldn't have affected these numbers.Picture: a possible side benefit, not confirmed
Before the switches, every daylight visit to the first house's kitchen and bathroom had white sparkle dots in the shade. Two builds and four sessions showed it. With the switches on, three sessions were clean, day and night. In a later 38-minute session, though, white dots were back indoors, in that session's interiors, with another experimental switch on. So the switches may reduce the dots, or the clean sessions may have been luck of the scene. I can't separate the two.
Method
Get-Process). Peaks are over the gameplay part of each session.Build
93008750plus 27 local commits: #339, the #348 paired Wave64 work, #1074 and #1145, the #2538 ledger port,b0228f07, and a stall watcher.c9c53541,e2d7854e, a #3844 port, and fat LTO. Release profile.VICTORY_SLOT_EVICT=1/_PERCENT=78,VICTORY_SAMPLED_MARKS=0,VICTORY_SAMPLED_EVICT=0,VICTORY_WATER_LIGHT=0,VICTORY_CARD_STEPS=2.Setup
Confounds
AI-assisted (Claude Code, Claude Opus 5.5): numbers from the recorder and logs computed by the assistant, observations by the player. No game data.