RTX 3060 Ti 8 GB + Ryzen 7 5700 (PCIe 3.0): ~19-20 fps in the cell on every build; CPU-bound, flat profile #1882

Closed
opened 2026-11-29 01:29:34 +00:00 by github-bot · 5 comments
Owner

@⁠stokeer on GitHub · 2026-11-29 01:27 UTC · original

Results

Summary. On a Ryzen 7 5700 with an RTX 3060 Ti 8 GB on PCIe 3.0, the prologue cell holds about 19–20 rendered fps (diagnostics build) on every build and switch set tested, from 63b902fe to f9dfb76f plus eight open PRs. The limit is total CPU work (about 11 of 16 hardware threads busy every frame), not one lock, copy or thread. Same spot in the cell, character standing still, pipeline queue empty (0 being made).

Build Kind Switches beyond the settings below ms/frame fps Notes
f9dfb76f + 8 PRs diag the PRs' 7 switches on (see below) 52.4–54.5 ~19 same artifacts as f9dfb76f
f9dfb76f (main, Nov 28) diag none 50.6–52.6 19.5 preparing 39 ms (was 46–50); new artifacts, separate graphics issue
be86c92b diag VICTORY_AB=15,VICTORY_FAULT_UNLOCKED 51.1–53.8 on, 51.6–52.6 off ~19 medians of 3 phases each
be86c92b diag none 53.7–54.2 18.5 4,500 draws
be86c92b release, target-cpu=native, fat LTO TEXTURE_SKIP_LEVELS=1, SKIP_MIN=2048 60–65 15–17 5,900 draws (busier view)
63b902fe release targets 1536 only, pool and BAR at defaults ~64 15–16 scene visible
63b902fe release targets 1536, THIN=0, JOIN_PARTS=1, pool and BAR at defaults ~67 ~15 scene visible
63b902fe release defaults, browser and RGB tools open 278 3.6 cold pipeline cache, textures waiting, scene dark

be86c92b is 63b902fe with PRs #68, #76, #81, #196, #293 and #339 merged (the small-PC profile of docs/small-config.md).

VRAM on 8 GB: THIN=0 / JOIN_PARTS=1 are not needed. docs/windows-memory.md lists them as what made the cell visible on a 3060 Ti. Here the scene showed with free VRAM and a warm pipeline cache alone:

  1. Other programs shrink the budget: with a browser, an RGB tool and a few launchers open it fell from 7,256 MB at the menu to about 6,050 MB in the world, the texture queue said no room, new textures wait and the cutscene stayed dark. Closed: 7,180 MB.
  2. The render-target reserve kept 1,813–2,838 MB back at the default; with VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536 it fell to 0 MB.
  3. With the reserve at 1536 and a warm cache, the defaults (THIN=1, JOIN_PARTS=8) showed the same picture as THIN=0, JOIN_PARTS=1, at 15–16 fps against ~15.
  4. Cold cache: the first visit dropped about 2,000 of 2,700 draws a frame for pipelines not made yet (3.6 fps); the queue emptied in about 4 minutes with 8 workers.

Textures still wait with the small-PC profile: 10,857–11,843 slots waiting at the 85 % line, clothing drawn in a flat colour. About 265 draws a frame are dropped without a host pipeline (0 being made) on every build, also once the queue is empty.

Where the CPU goes. About 585 ms of CPU per 52 ms frame (504–529 user, 68–81 kernel).

WPR, 15 s in the cell (be86c92b diag; the process = 68.7 % of the machine):

Module Share of process CPU
Title image 34.1 %
victory.exe (layer) 32.3 %
ntoskrnl.exe 10.6 %
nvwgf2umx.dll 8.1 %
ntdll.dll 4.2 %
D3D12Core.dll + D3D12.dll 3.8 %
vcruntime140.dll 3.4 %

Inside the layer the profile is flat: std collections and allocation 8.7 %, descriptor 6.8 %, draw 3.6 %, host 2.7 %, victory_safe_* 2.6 %, shadow 2.4 %. Top functions: draw::State::bind 2.16 %, HostHeap::keep 1.82 %, victory_safe_copy_at 1.47 %, Shadow::nothing_new 0.93 %, heap_buffer_pass 0.93 %.

  • Copystat: 22,081 refreshes a frame; 8,971 MB of ranges checked, 8,942 MB unchanged; watches 23.4 ms, guards 20.0 ms, moves 14.1 ms (all threads). The small-PC profile halved the bytes (83 → 42 MB up, 22 → 1 MB back) but copy time only went from ~26 to ~22 ms: the cost follows the number of ranges, not the bytes.
  • VICTORY_FAULT_UNLOCKED A/B: guards' lock waits 84–100 ms a frame off, 14–19 ms on, and no change in frame time. The waiting threads were not on the frame's chain.
  • Timeline at 250 s: the present's chain is mostly the title's own threads outside our spans (~17 ms a frame), plus 3.7 ms of woken, not running yet; each layer stage on the chain is about 1 ms or less. Recording: 36,000–39,000 list calls a frame, 251–281 ms over 8 title threads, ~7 µs a call.

Open PRs on f9dfb76f, switches on: no gain (~53 ms against ~51 ms): #1760 FRONT_SIFT, #1761 FLUSH_SIFT, #1675, #1790 SEND_BESIDE + SNAP_BESIDE, #1849 TEAM_FAST, #1722 ROOT_SAME, #1719, #1729 MEMORY_NO_WAIT. #1723, #1715, #1766, #1848 conflict with those; #1800, #1785, #1676, #1763 conflict with f9dfb76f. #1719 needs a one-line fix to build with diagnostics (commented on the PR).

GPU and driver

RTX 3060 Ti 8 GB, driver 616.92, resizable BAR on (BAR1 8192 MiB), PCIe 3.0 x16

CPU, RAM and Windows version

Ryzen 7 5700 (8C/16T, Zen 3, 16 MB L3, PCIe 3.0) on B450M, 32 GB DDR4-3200 dual channel, 30 GB page file, Windows 11 build 26300, High performance power plan

VIctory release or commit

f9dfb76f (F3: V2026.11.28.03-384); also 63b902fe and be86c92b (63b902fe + #68, #76, #81, #196, #293, #339)

Settings

Series S, scene 960x540, DLSS Performance, 1920x1080 window, frame generation off, ray tracing off. From be86c92b on: VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536, VICTORY_TEXTURE_POOL=0, VICTORY_WINDOWS_BAR_MB=1024, VICTORY_TEXTURE_ROOM_PERCENT=85, VICTORY_PLACED_ORDER=1. Builds: --profile diag --features diagnostics unless marked release.

Logs

**@⁠stokeer** on GitHub · 2026-11-29 01:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1882) ### Results **Summary.** On a Ryzen 7 5700 with an RTX 3060 Ti 8 GB on PCIe 3.0, the prologue cell holds about 19–20 rendered fps (diagnostics build) on every build and switch set tested, from 63b902fe to f9dfb76f plus eight open PRs. The limit is total CPU work (about 11 of 16 hardware threads busy every frame), not one lock, copy or thread. Same spot in the cell, character standing still, pipeline queue empty (`0 being made`). | Build | Kind | Switches beyond the settings below | ms/frame | fps | Notes | | --- | --- | --- | --- | --- | --- | | f9dfb76f + 8 PRs | diag | the PRs' 7 switches on (see below) | 52.4–54.5 | ~19 | same artifacts as f9dfb76f | | f9dfb76f (main, Nov 28) | diag | none | 50.6–52.6 | 19.5 | preparing 39 ms (was 46–50); new artifacts, separate graphics issue | | be86c92b | diag | `VICTORY_AB=15,VICTORY_FAULT_UNLOCKED` | 51.1–53.8 on, 51.6–52.6 off | ~19 | medians of 3 phases each | | be86c92b | diag | none | 53.7–54.2 | 18.5 | 4,500 draws | | be86c92b | release, `target-cpu=native`, fat LTO | `TEXTURE_SKIP_LEVELS=1`, `SKIP_MIN=2048` | 60–65 | 15–17 | 5,900 draws (busier view) | | 63b902fe | release | targets 1536 only, pool and BAR at defaults | ~64 | 15–16 | scene visible | | 63b902fe | release | targets 1536, `THIN=0`, `JOIN_PARTS=1`, pool and BAR at defaults | ~67 | ~15 | scene visible | | 63b902fe | release | defaults, browser and RGB tools open | 278 | 3.6 | cold pipeline cache, textures waiting, scene dark | be86c92b is 63b902fe with PRs #68, #76, #81, #196, #293 and #339 merged (the small-PC profile of docs/small-config.md). **VRAM on 8 GB: `THIN=0` / `JOIN_PARTS=1` are not needed.** docs/windows-memory.md lists them as what made the cell visible on a 3060 Ti. Here the scene showed with free VRAM and a warm pipeline cache alone: 1. Other programs shrink the budget: with a browser, an RGB tool and a few launchers open it fell from 7,256 MB at the menu to about 6,050 MB in the world, the texture queue said `no room, new textures wait` and the cutscene stayed dark. Closed: 7,180 MB. 2. The render-target reserve kept 1,813–2,838 MB back at the default; with `VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536` it fell to 0 MB. 3. With the reserve at 1536 and a warm cache, the defaults (`THIN=1`, `JOIN_PARTS=8`) showed the same picture as `THIN=0`, `JOIN_PARTS=1`, at 15–16 fps against ~15. 4. Cold cache: the first visit dropped about 2,000 of 2,700 draws a frame for pipelines not made yet (3.6 fps); the queue emptied in about 4 minutes with 8 workers. Textures still wait with the small-PC profile: 10,857–11,843 slots waiting at the 85 % line, clothing drawn in a flat colour. About 265 draws a frame are dropped `without a host pipeline (0 being made)` on every build, also once the queue is empty. **Where the CPU goes.** About 585 ms of CPU per 52 ms frame (504–529 user, 68–81 kernel). WPR, 15 s in the cell (be86c92b diag; the process = 68.7 % of the machine): | Module | Share of process CPU | | --- | --- | | Title image | 34.1 % | | victory.exe (layer) | 32.3 % | | ntoskrnl.exe | 10.6 % | | nvwgf2umx.dll | 8.1 % | | ntdll.dll | 4.2 % | | D3D12Core.dll + D3D12.dll | 3.8 % | | vcruntime140.dll | 3.4 % | Inside the layer the profile is flat: std collections and allocation 8.7 %, `descriptor` 6.8 %, `draw` 3.6 %, `host` 2.7 %, `victory_safe_*` 2.6 %, `shadow` 2.4 %. Top functions: `draw::State::bind` 2.16 %, `HostHeap::keep` 1.82 %, `victory_safe_copy_at` 1.47 %, `Shadow::nothing_new` 0.93 %, `heap_buffer_pass` 0.93 %. - Copystat: 22,081 refreshes a frame; 8,971 MB of ranges checked, 8,942 MB unchanged; watches 23.4 ms, guards 20.0 ms, moves 14.1 ms (all threads). The small-PC profile halved the bytes (83 → 42 MB up, 22 → 1 MB back) but copy time only went from ~26 to ~22 ms: the cost follows the number of ranges, not the bytes. - `VICTORY_FAULT_UNLOCKED` A/B: guards' lock waits 84–100 ms a frame off, 14–19 ms on, and no change in frame time. The waiting threads were not on the frame's chain. - Timeline at 250 s: the present's chain is mostly the title's own threads outside our spans (~17 ms a frame), plus 3.7 ms of `woken, not running yet`; each layer stage on the chain is about 1 ms or less. Recording: 36,000–39,000 list calls a frame, 251–281 ms over 8 title threads, ~7 µs a call. **Open PRs on f9dfb76f, switches on: no gain** (~53 ms against ~51 ms): #1760 `FRONT_SIFT`, #1761 `FLUSH_SIFT`, #1675, #1790 `SEND_BESIDE` + `SNAP_BESIDE`, #1849 `TEAM_FAST`, #1722 `ROOT_SAME`, #1719, #1729 `MEMORY_NO_WAIT`. #1723, #1715, #1766, #1848 conflict with those; #1800, #1785, #1676, #1763 conflict with f9dfb76f. #1719 needs a one-line fix to build with `diagnostics` (commented on the PR). ### GPU and driver RTX 3060 Ti 8 GB, driver 616.92, resizable BAR on (BAR1 8192 MiB), PCIe 3.0 x16 ### CPU, RAM and Windows version Ryzen 7 5700 (8C/16T, Zen 3, 16 MB L3, PCIe 3.0) on B450M, 32 GB DDR4-3200 dual channel, 30 GB page file, Windows 11 build 26300, High performance power plan ### VIctory release or commit f9dfb76f (F3: V2026.11.28.03-384); also 63b902fe and be86c92b (63b902fe + #68, #76, #81, #196, #293, #339) ### Settings Series S, scene 960x540, DLSS Performance, 1920x1080 window, frame generation off, ray tracing off. From be86c92b on: `VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536`, `VICTORY_TEXTURE_POOL=0`, `VICTORY_WINDOWS_BAR_MB=1024`, `VICTORY_TEXTURE_ROOM_PERCENT=85`, `VICTORY_PLACED_ORDER=1`. Builds: `--profile diag --features diagnostics` unless marked release. ### Logs
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 01:29:34 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-29 01:27 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.

  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)

**@⁠github-actions[bot]** on GitHub · 2026-11-29 01:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1882#issuecomment-7248793785) 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)
Author
Owner

@⁠stokeer on GitHub · 2026-11-29 01:31 UTC · original · edited 2026-11-29 01:33 UTC

log-ab-fault-unlocked.log
log-main-f9dfb76f.log
ogs attached: the f9dfb76f diag run and the be86c92b A/B run. No crashes.log: no run crashed.

**@⁠stokeer** on GitHub · 2026-11-29 01:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1882#issuecomment-7248842976) · edited 2026-11-29 01:33 UTC [log-ab-fault-unlocked.log](https://github.com/user-attachments/files/35561074/log-ab-fault-unlocked.log) [log-main-f9dfb76f.log](https://github.com/user-attachments/files/35561075/log-main-f9dfb76f.log) ogs attached: the f9dfb76f diag run and the be86c92b A/B run. No crashes.log: no run crashed.
Author
Owner

@⁠POMXARK on GitHub · 2026-11-29 03:45 UTC · original

@⁠stokeer One BIOS check worth verifying on your Ryzen 7 5700 / PCIe 3.0 + RTX 3060 Ti setup:

Run nvidia-smi -q | findstr /I "BAR1". If it shows Total : 256 MiB, Resizable BAR is OFF, which forces D3D12_FEATURE_D3D12_OPTIONS16::GPUUploadHeapSupported = false (card memory the CPU maps supported=false) and disables D3D12_HEAP_TYPE_GPU_UPLOAD (VICTORY_WC_BAR=runs, PR #1927), leaving the submitting CPU thread stuck doing full staging copies for ~4.46 GB of write-combined pools.

Enabling Above 4G Decoding + Re-Size BAR Support (UEFI / CSM off) in BIOS expands BAR1 to full VRAM (8192 MiB on 8 GB cards). Feel free to share before/after BAR1 + FPS numbers in the community testing thread: https://github.com/trustno1-coder/VIctory-NVIDIA/discussions/1947

**@⁠POMXARK** on GitHub · 2026-11-29 03:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1882#issuecomment-7250240798) @⁠stokeer One BIOS check worth verifying on your Ryzen 7 5700 / PCIe 3.0 + RTX 3060 Ti setup: Run `nvidia-smi -q | findstr /I "BAR1"`. If it shows `Total : 256 MiB`, Resizable BAR is OFF, which forces `D3D12_FEATURE_D3D12_OPTIONS16::GPUUploadHeapSupported = false` (`card memory the CPU maps supported=false`) and disables `D3D12_HEAP_TYPE_GPU_UPLOAD` (`VICTORY_WC_BAR=runs`, PR #1927), leaving the submitting CPU thread stuck doing full staging copies for ~4.46 GB of write-combined pools. Enabling **Above 4G Decoding + Re-Size BAR Support** (UEFI / CSM off) in BIOS expands BAR1 to full VRAM (`8192 MiB` on 8 GB cards). Feel free to share before/after BAR1 + FPS numbers in the community testing thread: https://github.com/trustno1-coder/VIctory-NVIDIA/discussions/1947
Author
Owner

@⁠stokeer on GitHub · 2026-11-29 13:35 UTC · original

@⁠POMXARK Thanks. Resizable BAR is already on here: nvidia-smi -q shows BAR1 Total : 8192 MiB, and the f9dfb76f log attached above has card memory the CPU maps supported=true. So the numbers in the report are with ReBAR on (PCIe 3.0 x16).

I haven't tried VICTORY_WC_BAR yet; I'll A/B it in the cell and post the result in #1947.

**@⁠stokeer** on GitHub · 2026-11-29 13:35 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1882#issuecomment-7256655872) @⁠POMXARK Thanks. Resizable BAR is already on here: `nvidia-smi -q` shows BAR1 `Total : 8192 MiB`, and the f9dfb76f log attached above has `card memory the CPU maps supported=true`. So the numbers in the report are with ReBAR on (PCIe 3.0 x16). I haven't tried `VICTORY_WC_BAR` yet; I'll A/B it in the cell and post the result in #1947.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:39 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:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1882#issuecomment-7283370848) 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](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/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: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

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