RTX 5060 Ti 16 GB + Ryzen 7 5800X, 32 GB, resizable BAR: unified-memory audit switches measured (WC_BAR, window grid, INPLACE) and a memory census #3935
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#3935
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?
@schoperena on GitHub · 2026-11-30 12:14 UTC · original
A set of measurements for
docs/unified-memory-audit.md, which lists several of these switches as "written and off, with no result recorded". Everything below is from one rig; the method is the same for every run. (AI-assisted with Claude Code: the runs, the log parsing and this write-up. Every number comes from the layer's own log lines.)Rig and method
card memory the CPU maps supported=true), budget ~14.9 GB. Ryzen 7 5800X, 32 GB DDR4-3200, Windows 11 Pro 26300. The title's Xbox Series build v1.0.2.1.mainat41adb551, release build, unless said otherwise. Two local builds were used besides: the window-grid andINPLACEruns carried the root-CBV change of section 2 (no effect on the default 4 MiB grid), and theWINDOWS_BAR4096/6144 runs carried a 6144 default for big cards (see #2313; the 4096 runs set the switch explicitly). Series X, 2560x1440, DLSS Quality, frame generation off, ray tracing off, warm caches, the launcher's own switches.host: N fpslines. One run per setting unless marked; runs differ by about one fps and one GB between themselves on the same setting.1. U3: one side for what the CPU only writes (
VICTORY_WC_BAR,VICTORY_WINDOWS_BAR_MB)VICTORY_WC_BAR=1on top adds no measurable frame rate and ~0.6 GB less shared memory. No flicker was seen in the 30 s screenshots, but runs were not watched live (cf. #553).2. The window grid (
VICTORY_WINDOW_KB=256,VICTORY_WINDOW_TAILS=1)With
WC_BAR=1andWINDOWS_BAR_MB=3072, one run each:Host copies 0.7 GB lower, but no lower process memory: no result worth a default here.
This run also had a local change: root constant buffer views asked for their copy with 64 KiB (
shadow::find_any(address, 1 << 16)indraw.rs'sroot_view_len) instead offind(address, 1). As it stands, a root CBV outside buffer objects names its cell's long window (4 MiB plus the 2 MiB reach) although it reads 64 KiB at the most, which the finer grid cannot cut. It made no measurable difference in this run, so it is only an observation.3. U5: in place (
VICTORY_INPLACE=1)With
WC_BAR=1andWINDOWS_BAR_MB=3072:VICTORY_INPLACE=1The census line at the end:
80 windows 512 MBin place,1702 view memory or not private memory committed whole,0 refused by the host,0 let go because their memory changed. On this PCIe 4.0 x8 card the GPU reading title memory across the bus costs far more than the copy saved, and most windows are view memory, which stage 1 turns down. No failedVirtualFree(error 87) was seen.4. Memory census (diagnostics build,
VICTORY_DUP_CENSUS=150,VICTORY_PROCESS_HEAPS=1)With
WC_BAR=1andWINDOWS_BAR_MB=3072, in the world:process memory: 29,958 MB private (22,918 MB in memory). At console addresses 4,963 MB private + 10,585 MB mapped; at host addresses 24,686 MB private + 7,860 MB mapped. Named 22,184 MB, unnamed 7,773 MB.The zero pieces and the windows asked for without a length look like the largest share left of the bridge's commit on this rig.
5. The title's memory figure
XMemGetWorkingSetStatistics(which reports the process's commit as the title's use, audit 6.5): in a session of almost two hours (about 11 minutes of it in the world) the title asked fewer than 1,025 times (one log line, atasked=1, before the world). If the title budgets streaming from it, it does not ask often.@github-actions[bot] on GitHub · 2026-11-30 12:14 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)
@shurhundo on GitHub · 2026-11-30 15:40 UTC · original
PR #3723 (open) changes the exact subsystem section 4 measures: windows outside buffers, let go and rebuilt under idle-time pressure. It holds a window in use 10 s, one remade soon after its last let-go 20/40/60 s, instead of the 2-5 s idle time gives under pressure today. Its own benchmark claims 19% fewer windows built and 39% fewer rebuilt within 30 s, but admits it hasn't been checked against a real play session yet.
Two things worth connecting:
Not asking for a run, just flagging the two could use each other instead of each redoing the other's measurement work.