16 GB RAM / RTX 3070 8 GB: VICTORY_SEND_BAR auto-on costs 7-8 %, measurements + suggestions #3965

Closed
opened 2026-11-30 13:08:20 +00:00 by danielvv88 · 4 comments
danielvv88 commented 2026-11-30 13:08:20 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by danielvv88 on 2026-11-30T13:08:20Z.


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

  • Ryzen 5 5600 (6 cores / 12 threads), 16 GB DDR4-3200, RTX 3070 8 GB (driver 621.40), ASUS B550-F, Windows 11 (10.0.26300)
  • Resizable BAR on since v2026.11.29.05 (BAR1 = 8 GiB); the older rows in the first table were measured with it off
  • Series S profile, DLSS Performance (960x540 -> 1920x1080), frame generation off, ray tracing off, VICTORY_THIN_THREADS=4
  • Shaders fully preloaded with play --preload (93,859 pipelines), story area with 5,000-11,000 draws/frame

What we measured

Build Driving, median fps Worst 10 % Problems
v2026.11.28.03 10.3-14.7 5.7-10.5 none in 40 min
v2026.11.29.01 9.2 5.6 1x 0x8007000E, RAM commit ~23.8 GB
v2026.11.29.02 4-7 - RAM full (777 MB free, ~22,700 pages/s), 51 pipelines failed with 0x8007000E, ~2,400 draws/frame dropped
v2026.11.29.05, ReBAR off 13.8 (~4,300 draws) 3.1 27x 0x8007000E
v2026.11.29.05, ReBAR on 11.2 (~5,800 draws) 6.5 none
  • The process commits 18-24 GB on a Series S profile (the console has 10 GB).
  • In play on v2026.11.29.05 the frame is spent moving data, not drawing: e.g. 84.9 ms/frame = 61.5 ms preparing
    (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.
  • Sampling profile (diagnostics build): 4 list threads ~70 % busy each, submit thread ~16 % inside the driver (win32u), audio thread ~70 % of a core.
    On the list threads draw::State::bind is ~65 % inclusive, HostHeap::make_listed ~22 %.
  • VICTORY_THIN_THREADS=4 was clearly best on 6 cores (3 worse, 5 and 6 not better). The default is a fixed 8.

Measured finding: VICTORY_SEND_BAR auto-on costs 7-8 % on a 16 GB / 8 GB PC

With Resizable BAR on, residency::shared_is_small() turns VICTORY_SEND_BAR on 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:

standing, median fps driving, median fps
default (SEND_BAR auto-on) 11.9 / 11.8 11.9 / 12.4
VICTORY_SEND_BAR=0 12.9 / 12.7 12.3 / 14.2
VICTORY_SEND_BAR=0 + VICTORY_WINDOWS_BAR_MB=0 10.4 6.6

A 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 when VICTORY_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_MB 3072 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)

  1. Size the thread pools from the core count. VICTORY_THIN_THREADS is 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.

  2. Lower RAM use when RAM is small. On <24 GB systems, RAM is the limit here (see the frame breakdown above):

    • drop texture staging copies after upload (re-read from title memory when needed) instead of keeping them per texture,
    • scale the texture room from free RAM as well as VRAM.
  3. 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.

  4. 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.

  5. 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.

  6. Keep the list-view cache across recordings (make_listed's ListViews is cleared at every new recording). Lower priority:
    on this PC the list threads did not seem to be the frame's critical path.

  7. Longer term: make the in-place path (VICTORY_INPLACE, OpenExistingHeapFromAddress) the default where it works, so title GPU memory
    is 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!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6697012802 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3965). Originally posted by [danielvv88](https://github.com/danielvv88) on 2026-11-30T13:08:20Z. --- 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 - Ryzen 5 5600 (6 cores / 12 threads), 16 GB DDR4-3200, RTX 3070 8 GB (driver 621.40), ASUS B550-F, Windows 11 (10.0.26300) - Resizable BAR on since v2026.11.29.05 (BAR1 = 8 GiB); the older rows in the first table were measured with it off - Series S profile, DLSS Performance (960x540 -> 1920x1080), frame generation off, ray tracing off, `VICTORY_THIN_THREADS=4` - Shaders fully preloaded with `play --preload` (93,859 pipelines), story area with 5,000-11,000 draws/frame ## What we measured | Build | Driving, median fps | Worst 10 % | Problems | |---|---|---|---| | v2026.11.28.03 | 10.3-14.7 | 5.7-10.5 | none in 40 min | | v2026.11.29.01 | 9.2 | 5.6 | 1x 0x8007000E, RAM commit ~23.8 GB | | v2026.11.29.02 | 4-7 | - | RAM full (777 MB free, ~22,700 pages/s), 51 pipelines failed with 0x8007000E, ~2,400 draws/frame dropped | | v2026.11.29.05, ReBAR off | 13.8 (~4,300 draws) | 3.1 | 27x 0x8007000E | | v2026.11.29.05, ReBAR on | 11.2 (~5,800 draws) | 6.5 | none | - The process commits 18-24 GB on a Series S profile (the console has 10 GB). - In play on v2026.11.29.05 the frame is spent moving data, not drawing: e.g. 84.9 ms/frame = 61.5 ms preparing (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. - Sampling profile (diagnostics build): 4 list threads ~70 % busy each, submit thread ~16 % inside the driver (win32u), audio thread ~70 % of a core. On the list threads `draw::State::bind` is ~65 % inclusive, `HostHeap::make_listed` ~22 %. - `VICTORY_THIN_THREADS=4` was clearly best on 6 cores (3 worse, 5 and 6 not better). The default is a fixed 8. ## Measured finding: `VICTORY_SEND_BAR` auto-on costs 7-8 % on a 16 GB / 8 GB PC With Resizable BAR on, `residency::shared_is_small()` turns `VICTORY_SEND_BAR` on 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: | | standing, median fps | driving, median fps | |---|---|---| | default (SEND_BAR auto-on) | 11.9 / 11.8 | 11.9 / 12.4 | | `VICTORY_SEND_BAR=0` | 12.9 / 12.7 | 12.3 / 14.2 | | `VICTORY_SEND_BAR=0` + `VICTORY_WINDOWS_BAR_MB=0` | 10.4 | 6.6 | A 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 when `VICTORY_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_MB` 3072 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) 1. **Size the thread pools from the core count.** `VICTORY_THIN_THREADS` is 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. 2. **Lower RAM use when RAM is small.** On <24 GB systems, RAM is the limit here (see the frame breakdown above): - drop texture staging copies after upload (re-read from title memory when needed) instead of keeping them per texture, - scale the texture room from free RAM as well as VRAM. 3. **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. 4. **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. 5. **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. 6. **Keep the list-view cache across recordings** (`make_listed`'s `ListViews` is cleared at every new recording). Lower priority: on this PC the list threads did not seem to be the frame's critical path. 7. **Longer term:** make the in-place path (`VICTORY_INPLACE`, `OpenExistingHeapFromAddress`) the default where it works, so title GPU memory is 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] commented 2026-11-30 13:08:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-30T13:08:29Z.


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.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7279413275 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3965#issuecomment-7279413275). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T13:08:29Z. --- 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. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
danielvv88 commented 2026-11-30 13:21:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by danielvv88 on 2026-11-30T13:21:13Z.


Logs attached in victory-logs-3965.zip (user name and device IDs replaced):

  1. 1-v29.05-unpatched-replay.log: v2026.11.29.05 unchanged, controller tape replayed (VICTORY_INPUT_REPLAY), 0x8007000E: 0
  2. 2-v29.05-sendbar-off-replay.log: same build with only the on_card() change (sends off the card unless VICTORY_SEND_BAR=1), same tape, 0x8007000E: 0
  3. 3-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. 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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7279721245 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3965#issuecomment-7279721245). Originally posted by [danielvv88](https://github.com/danielvv88) on 2026-11-30T13:21:13Z. --- Logs attached in victory-logs-3965.zip (user name and device IDs replaced): 1. `1-v29.05-unpatched-replay.log`: v2026.11.29.05 unchanged, controller tape replayed (`VICTORY_INPUT_REPLAY`), 0x8007000E: 0 2. `2-v29.05-sendbar-off-replay.log`: same build with only the `on_card()` change (sends off the card unless `VICTORY_SEND_BAR=1`), same tape, 0x8007000E: 0 3. `3-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. `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](https://github.com/user-attachments/files/35619925/victory-logs-3965.zip)
andrewpozdnakov7-jpg commented 2026-11-30 14:29:02 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T14:29:02Z.


The send-buffer change shipped in v2026.11.30.01. Commit 1a4c66ca makes 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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7281444680 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3965#issuecomment-7281444680). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-30T14:29:02Z. --- The send-buffer change shipped in [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). [Commit `1a4c66ca`](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/1a4c66ca49eb965e35599d3f6ed08557d238aa9b) makes 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 commented 2026-11-30 16:38:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T16:38:55Z.


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\logs and crashes.log).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7285008472 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3965#issuecomment-7285008472). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-30T16:38:55Z. --- This should be fixed in [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/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\logs` and `crashes.log`).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA#3965
No description provided.