16 GB RAM / RTX 3070 8 GB: VICTORY_SEND_BAR auto-on costs 7-8 %, measurements + suggestions #3965
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#3965
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?
@danielvv88 on GitHub · 2026-11-30 13:08 UTC · original
Hi, thanks for the fast releases. These are measurements from one mid-range PC and a few ideas that follow from them.
The measurements and the one-line patch below were tested on this PC; the numbered suggestions are ideas, not tested patches.
Test PC
VICTORY_THIN_THREADS=4play --preload(93,859 pipelines), story area with 5,000-11,000 draws/frameWhat we measured
(copies 38.6 ms for 59 MB) + 20.9 ms copying back, 3.7 ms on the GPU. RAM free 0.8 GB, ~3 GB in Windows memory compression,
5.3 GB of the PC's memory shared with the card. F2 says "your GPU is fully busy, turn on frame generation", which is misleading here.
On the list threads
draw::State::bindis ~65 % inclusive,HostHeap::make_listed~22 %.VICTORY_THIN_THREADS=4was clearly best on 6 cores (3 worse, 5 and 6 not better). The default is a fixed 8.Measured finding:
VICTORY_SEND_BARauto-on costs 7-8 % on a 16 GB / 8 GB PCWith Resizable BAR on,
residency::shared_is_small()turnsVICTORY_SEND_BARon by default. On this PC that is a loss.The same controller tape (
VICTORY_INPUT_REPLAY) replayed on v2026.11.29.05, two runs each:VICTORY_SEND_BAR=0VICTORY_SEND_BAR=0+VICTORY_WINDOWS_BAR_MB=0A sampling profile shows why: on the submit thread
send::take->mapped_card_buffer(new committed GPU_UPLOAD buffer + Map)takes ~11 % of its time, because
kept()caps the spares at 64 MiB on a small host while a frame sends 70-90 MB.The note above
on_card()already says it is a loss while the card waits for the submit thread.We built v2026.11.29.05 with only this change (
on_card()true only whenVICTORY_SEND_BAR=1; windows on the card unchanged)and replayed the tape against the unchanged build. Compared at equal draw counts, it was faster in 5 of 6 bands (+2 to +13 %,
one -2.8 %), roughly +5-10 % overall, with 0 memory errors. Replays diverge (6,700-11,000 draws), so treat the range as approximate.
Suggest: keep sends off the card by default when the shared budget is small (windows on the card are a clear win and should stay),
or raise the spare cap so buffers are reused.
VICTORY_WINDOWS_BAR_MB3072 and 2048 were both worse than the default 4096.Things that did not help here:
VICTORY_TABLE_SAME=1,VICTORY_SEND_WB=1.Suggestions (ordered by expected value for low-end PCs)
Size the thread pools from the core count.
VICTORY_THIN_THREADSis fixed at 8 and pipeline workers come to 8 on a 12-thread CPU,which oversubscribes a 6-core part (main + submit + 8 list + 8 workers). Suggest: list threads = physical cores - 2 (min 2),
pipeline workers = physical cores / 2 while playing, more only during the preload.
Lower RAM use when RAM is small. On <24 GB systems, RAM is the limit here (see the frame breakdown above):
Make the F2 hint aware of copy time. When "GPU busy" is mostly copies and copy-backs, suggesting frame generation does not help;
pointing at RAM/VRAM would.
Draw a placeholder instead of dropping draws while a pipeline is still being made or failed (a simple fallback pixel shader with the
same root signature), so missing pipelines show as plain surfaces instead of holes, and a failed pipeline (0x8007000E) is retried later.
Tell users when Resizable BAR is off. A line in F2/F3 ("RESIZABLE BAR OFF: TURN IT ON IN BIOS") would help many people with
mid-range PCs; here it removed the 0x8007000E errors.
Keep the list-view cache across recordings (
make_listed'sListViewsis cleared at every new recording). Lower priority:on this PC the list threads did not seem to be the frame's critical path.
Longer term: make the in-place path (
VICTORY_INPLACE,OpenExistingHeapFromAddress) the default where it works, so title GPU memoryis not held twice (staging + card copy). Today it locks up to 4 GB of RAM, which is too much on 16 GB.
Logs are available on request. We can test builds on this hardware. Thanks!
@github-actions[bot] on GitHub · 2026-11-30 13:08 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)
@danielvv88 on GitHub · 2026-11-30 13:21 UTC · original
Logs attached in victory-logs-3965.zip (user name and device IDs replaced):
1-v29.05-unpatched-replay.log: v2026.11.29.05 unchanged, controller tape replayed (VICTORY_INPUT_REPLAY), 0x8007000E: 02-v29.05-sendbar-off-replay.log: same build with only theon_card()change (sends off the card unlessVICTORY_SEND_BAR=1), same tape, 0x8007000E: 03-v29.05-sendbar-off-play-13h.log: normal play with the patched build, ~12-15 fps; the frame is mostly copies and copy-backs (e.g. 84.9 ms = 61.5 preparing + 20.9 copying back, 3.7 on the GPU)4-crashes-v29.01-v29.02.log: crashes.log from v2026.11.29.01/.02 (0x8007000E, before Resizable BAR was turned on)GPU: RTX 3070 8 GB, driver 621.40. Windows 11 (10.0.26300). Nothing crashed on v2026.11.29.05; this issue is about performance.
victory-logs-3965.zip
@andrewpozdnakov7-jpg on GitHub · 2026-11-30 14:29 UTC · original
The send-buffer change shipped in v2026.11.30.01. Commit
1a4c66camakes BAR sends opt-in, including on a small shared budget. I verified that the release tag contains this commit and that its window configuration is still selected independently.Your trace pair explained the change well. My independent read found 11.3 to 12.3 FPS across the logged world samples, with preparation down from 57.0 to 46.0 ms in the 8,000-8,999-draw bucket. A current-release check on the same RTX 3070 would confirm how the new default behaves with the rest of the release.
@trustno1-coder on GitHub · 2026-11-30 16:38 UTC · original
This should be fixed in v2026.11.30.01. If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from
%LOCALAPPDATA%\victory\logsandcrashes.log).