VICTORY_WC_BAR=1: about half the GPU wait gone on an 8 GB card, but the whole screen flickers #553

Closed
opened 2026-11-28 00:41:25 +00:00 by github-bot · 2 comments
Owner

@⁠Tissma95 on GitHub · 2026-11-28 00:40 UTC · original

Setup: RTX 3060 Ti 8 GB (local budget 7,256 MB), Resizable BAR on (checked in GPU-Z), Ryzen 9 5900X, 32 GB, PCIe 4.0 x16. Series S profile, DLSS Quality, -Fps 30. Base build: main 64d4931 plus a few PRs. On top of play-foxhound's defaults: VICTORY_PORT_CONSTANTS=1 VICTORY_DYNAMIC_WAIT=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_COPY_BESIDE=1 VICTORY_STORE_BESIDE=1.

What happens: with VICTORY_WC_BAR=1 added, the frame rate goes up, but the picture flickers over the whole screen, frame after frame. It can't be played.

Frame-rate lines. Same spot, standing still. The WC_BAR runs are short (about 30 s each, two launches):

without VICTORY_WC_BAR=1
waiting for the GPU per frame 41 ms 19-25 ms
copying back 4.6 ms / 0.8 MB 0.6 ms / 0.0 MB
preparing (submitting thread) 22 ms 20 ms

About 3,350 "a write-combined buffer's host copy is in card memory the CPU maps" lines.

Likely cause: the one the doc comment of wc_bar() already names. A refresh writes whole pages into the mapping, so when the title writes a page, what shaders wrote elsewhere in that page is overwritten by the old bytes. With no CPU side left, there is nothing to compare against.

Why it matters: on this card the GPU wait is the wall once PORT_CONSTANTS is on: about 40 of a ~75 ms frame, mostly reads over the bus. WC_BAR shows it can roughly halve. A refresh into the mapping that writes only the ranges the title wrote (from write watch or the guards' blocks), not whole pages, might keep the gain without the flicker.

A related note: default_window_card_mb gives 0 MB of windows on the card below an 8 GiB budget, so an 8 GB card (7.26 GB budget) gets none at all. I am measuring VICTORY_CARD_WINDOWS_MB=512/768 next.

**@⁠Tissma95** on GitHub · 2026-11-28 00:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/553) **Setup:** RTX 3060 Ti 8 GB (local budget 7,256 MB), Resizable BAR on (checked in GPU-Z), Ryzen 9 5900X, 32 GB, PCIe 4.0 x16. Series S profile, DLSS Quality, `-Fps 30`. Base build: main 64d4931 plus a few PRs. On top of play-foxhound's defaults: `VICTORY_PORT_CONSTANTS=1 VICTORY_DYNAMIC_WAIT=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_COPY_BESIDE=1 VICTORY_STORE_BESIDE=1`. **What happens:** with `VICTORY_WC_BAR=1` added, the frame rate goes up, but the picture flickers over the whole screen, frame after frame. It can't be played. **Frame-rate lines.** Same spot, standing still. The WC_BAR runs are short (about 30 s each, two launches): | | without | `VICTORY_WC_BAR=1` | |---|---|---| | waiting for the GPU per frame | 41 ms | 19-25 ms | | copying back | 4.6 ms / 0.8 MB | 0.6 ms / 0.0 MB | | preparing (submitting thread) | 22 ms | 20 ms | About 3,350 "a write-combined buffer's host copy is in card memory the CPU maps" lines. **Likely cause:** the one the doc comment of `wc_bar()` already names. A refresh writes whole pages into the mapping, so when the title writes a page, what shaders wrote elsewhere in that page is overwritten by the old bytes. With no CPU side left, there is nothing to compare against. **Why it matters:** on this card the GPU wait is the wall once PORT_CONSTANTS is on: about 40 of a ~75 ms frame, mostly reads over the bus. WC_BAR shows it can roughly halve. A refresh into the mapping that writes only the ranges the title wrote (from write watch or the guards' blocks), not whole pages, might keep the gain without the flicker. A related note: `default_window_card_mb` gives 0 MB of windows on the card below an 8 GiB budget, so an 8 GB card (7.26 GB budget) gets none at all. I am measuring `VICTORY_CARD_WINDOWS_MB=512/768` next.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 00:41:25 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 00:41 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-28 00:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/553#issuecomment-7231110145) 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

@⁠trustno1-coder on GitHub · 2026-11-29 19:51 UTC · original

Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.

If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/553#issuecomment-7261612011) Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then. If it still happens on the [latest release](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest), please open a new issue with the play log and crashes.log from that run. Thanks for reporting!
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#553
No description provided.