RTX 4060 Laptop 8 GB, 16 GB RAM, 8-core CPU (f72cec77): CPU-bound at 7-17 fps, card memory 7.5/7.1 GB with ~4.5 GB shared spill; measured A/B of what helps and what does not #3866

Open
opened 2026-11-30 09:51:35 +00:00 by github-bot · 3 comments
Owner

@⁠bilalramzipxl on GitHub · 2026-11-30 09:47 UTC · original

Hardware and build

  • GPU: GeForce RTX 4060 Laptop 8 GB (driver 616.92), VICTORY_ADAPTER='RTX 4060' (a Radeon 780M iGPU is also present)
  • CPU / RAM / OS: Ryzen 7 8845HS (8 cores / 16 threads), 16 GB (15.6 GB usable), Windows 11 build 26300, AC power, High performance plan
  • Page file: fixed 32 GB on an SSD (commit limit 48 GB). With the stock 13 GB page file the world load ended in 0x8007000E and a black picture.
  • Build: built from source at f72cec77 (v2026.11.29.04). Earlier tests used the v2026.11.29.01 release.
  • Settings: Series S, DLSS Balanced, --fps 30, frame generation 2x, VICTORY_TEXTURE_ROOM_PERCENT=55, VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536. The pipeline cache was warmed first (preload).

What I see (opening cutscenes)

Rendered 7-17 fps (heavy scenes: 3,000-4,900 draws a frame), shown 30-56 with frame generation. The new start overlay says:
LIMIT: YOUR CPU (THE GPU WAITS 7 OF EVERY 46 MS) and VIDEO MEMORY IS FULL (7.0 OF 7.0 GB).

Where the memory goes (log lines, heavy scene)

  • Card in use 7,470 MB against a budget of about 7,140 MB. Texture copies 2,457 MB. Card copies of title buffers 2,537 MB (3,676 copies). The remaining ~2.4 GB is render targets, DLSS and frame generation, heaps, pipelines.
  • Shared GPU memory 4-5 GB. Free system RAM stays at about 1 GB (the game holds 6.1 GB).
  • Streamline logs Exceeded VRAM budget, various performance issues including stuttering can be expected 2,500-3,300 times in a 110 s run, and "1.00 of them with the card's memory past its budget" for the DLSS upscale.

Where the CPU goes (per-thread sampling over 10 s, 84 core-seconds in total)

Threads Core-seconds
title's own (84 unnamed threads) 34.5
victory-list-* (8 threads) 17.7
victory-wide-* (6 threads) 16.0
victory-submit 6.5 (about 65% busy)
victory-relay 2.9

The game keeps about 8.4 cores busy on an 8-core CPU, and about 40% of that is the layer's own helper threads. Disk reads are about 1 MB/s and Defender used no CPU, so neither is a factor. In heavy frames the submitting thread takes about 56 ms, about 20 ms of it refresh checks (roughly 9,000 of 10,500 known to copy nothing).

A/B results (same cutscene, warm caches, same settings otherwise)

Change Result
VICTORY_FLUSH_SIFT=1 and VICTORY_FRONT_SIFT=1 no change: submit 56.9 vs 56.6 ms, 16.3 vs 16.8 fps
VICTORY_CARD_BUFFERS_MB=500 worse: 16.9 to 8.1 fps, submit 56 to 127 ms; card use only 5.8 to 5.3 GB on average
VICTORY_THIN_THREADS=4 and VICTORY_WIDE_THREADS=4 same average (16.4 vs 16.9 fps), but 95th-percentile frame 100 to 83 ms and slowest stretch 6.7 to 9.6 fps (one run each)
VICTORY_TEXTURE_FIRST_UPLOAD_MB=32 faces rendered as teeth and eyes only
VICTORY_AMBIENT=0.4 with VICTORY_AMBIENT_SPECULAR_BOUND=1 card time 43-54 ms instead of 30-37 ms, and a much darker picture

Findings

  1. The glass and car-paint speckle matches #2323: VICTORY_ALIAS_TARGETS=1. With 4ffb47bb (aliasing off by default) I saw none in the faces, street and prison-window frames. The cost is more card memory, which an 8 GB card does not have to spare.
  2. victory-list is fixed at 8 threads and victory-wide is 3/8 of the logical processors. On an 8-core CPU these look high. A scaling default might help smoothness.
  3. On 8 GB the card's memory is over budget in every heavy scene, and nothing I tried gets it under without losing faces or textures. Related: #946, #1918, #2693.

Question

Is there a planned way to shrink the non-texture part of the card's memory (render targets, the card copies of title buffers, frame generation) on 8 GB cards? Happy to run more A/B tests on this card.

Measurements by hand-run A/B tests with AI help (Claude Code). The numbers come straight from the play logs and per-thread sampling.

**@⁠bilalramzipxl** on GitHub · 2026-11-30 09:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3866) ### Hardware and build - **GPU:** GeForce RTX 4060 Laptop 8 GB (driver 616.92), `VICTORY_ADAPTER='RTX 4060'` (a Radeon 780M iGPU is also present) - **CPU / RAM / OS:** Ryzen 7 8845HS (8 cores / 16 threads), 16 GB (15.6 GB usable), Windows 11 build 26300, AC power, High performance plan - **Page file:** fixed 32 GB on an SSD (commit limit 48 GB). With the stock 13 GB page file the world load ended in `0x8007000E` and a black picture. - **Build:** built from source at `f72cec77` (v2026.11.29.04). Earlier tests used the v2026.11.29.01 release. - **Settings:** Series S, DLSS Balanced, `--fps 30`, frame generation 2x, `VICTORY_TEXTURE_ROOM_PERCENT=55`, `VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536`. The pipeline cache was warmed first (`preload`). ### What I see (opening cutscenes) Rendered 7-17 fps (heavy scenes: 3,000-4,900 draws a frame), shown 30-56 with frame generation. The new start overlay says: `LIMIT: YOUR CPU (THE GPU WAITS 7 OF EVERY 46 MS)` and `VIDEO MEMORY IS FULL (7.0 OF 7.0 GB)`. ### Where the memory goes (log lines, heavy scene) - Card in use 7,470 MB against a budget of about 7,140 MB. Texture copies 2,457 MB. Card copies of title buffers 2,537 MB (3,676 copies). The remaining ~2.4 GB is render targets, DLSS and frame generation, heaps, pipelines. - Shared GPU memory 4-5 GB. Free system RAM stays at about 1 GB (the game holds 6.1 GB). - Streamline logs `Exceeded VRAM budget, various performance issues including stuttering can be expected` 2,500-3,300 times in a 110 s run, and "1.00 of them with the card's memory past its budget" for the DLSS upscale. ### Where the CPU goes (per-thread sampling over 10 s, 84 core-seconds in total) | Threads | Core-seconds | |---|---| | title's own (84 unnamed threads) | 34.5 | | `victory-list-*` (8 threads) | 17.7 | | `victory-wide-*` (6 threads) | 16.0 | | `victory-submit` | 6.5 (about 65% busy) | | `victory-relay` | 2.9 | The game keeps about 8.4 cores busy on an 8-core CPU, and about 40% of that is the layer's own helper threads. Disk reads are about 1 MB/s and Defender used no CPU, so neither is a factor. In heavy frames the submitting thread takes about 56 ms, about 20 ms of it refresh checks (roughly 9,000 of 10,500 known to copy nothing). ### A/B results (same cutscene, warm caches, same settings otherwise) | Change | Result | |---|---| | `VICTORY_FLUSH_SIFT=1` and `VICTORY_FRONT_SIFT=1` | no change: submit 56.9 vs 56.6 ms, 16.3 vs 16.8 fps | | `VICTORY_CARD_BUFFERS_MB=500` | worse: 16.9 to 8.1 fps, submit 56 to 127 ms; card use only 5.8 to 5.3 GB on average | | `VICTORY_THIN_THREADS=4` and `VICTORY_WIDE_THREADS=4` | same average (16.4 vs 16.9 fps), but 95th-percentile frame 100 to 83 ms and slowest stretch 6.7 to 9.6 fps (one run each) | | `VICTORY_TEXTURE_FIRST_UPLOAD_MB=32` | faces rendered as teeth and eyes only | | `VICTORY_AMBIENT=0.4` with `VICTORY_AMBIENT_SPECULAR_BOUND=1` | card time 43-54 ms instead of 30-37 ms, and a much darker picture | ### Findings 1. The glass and car-paint speckle matches #2323: `VICTORY_ALIAS_TARGETS=1`. With `4ffb47bb` (aliasing off by default) I saw none in the faces, street and prison-window frames. The cost is more card memory, which an 8 GB card does not have to spare. 2. `victory-list` is fixed at 8 threads and `victory-wide` is 3/8 of the logical processors. On an 8-core CPU these look high. A scaling default might help smoothness. 3. On 8 GB the card's memory is over budget in every heavy scene, and nothing I tried gets it under without losing faces or textures. Related: #946, #1918, #2693. ### Question Is there a planned way to shrink the non-texture part of the card's memory (render targets, the card copies of title buffers, frame generation) on 8 GB cards? Happy to run more A/B tests on this card. *Measurements by hand-run A/B tests with AI help (Claude Code). The numbers come straight from the play logs and per-thread sampling.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 09:51:35 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-30 09:47 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-30 09:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3866#issuecomment-7274692410) 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

@⁠bilalramzipxl on GitHub · 2026-11-30 14:15 UTC · original

Addendum: the device was lost after about 6 minutes of play on this setup.

What happened

  • The game ran about 6 minutes (cutscenes into the first missions), then stopped. The play log ends with:
    host GPU device removed after 5 submissions sent ahead (VICTORY_RELAY=1) of 71 lists; no breadcrumbs (... 0x887A0004)
  • crashes.log has the same message ("host GPU failure ... device removed").
  • An earlier run on the same PC ended in the same way with: relay: the device was lost before fence value 13120 was reached.
  • Windows logged no display driver reset (no nvlddmkm / TDR event in the System log in that window). The laptop was on AC power (charging, 95%).

Conditions

  • RTX 4060 Laptop 8 GB, 16 GB RAM, Ryzen 7 8845HS; Series S, DLSS Balanced, frame generation 2x.
  • Build f72cec77 (v2026.11.29.04) with two small local changes; pipeline cache warm.
  • Just before the stop, the card was over its budget as in the numbers above (about 7.5 of 7.1 GB, about 5 GB in shared memory), with Streamline logging Exceeded VRAM budget.

Related reports on 8 GB cards: #1548 (device reset after about 6 minutes of heavy city play on a 4060 Laptop), #1031, #1867.

So on this card the card-memory overflow seems to end in a lost device after several minutes, not only in low fps. I can run a stability test with frame generation off if that helps tell the two apart.

**@⁠bilalramzipxl** on GitHub · 2026-11-30 14:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3866#issuecomment-7281073679) Addendum: the device was lost after about 6 minutes of play on this setup. **What happened** - The game ran about 6 minutes (cutscenes into the first missions), then stopped. The play log ends with: `host GPU device removed after 5 submissions sent ahead (VICTORY_RELAY=1) of 71 lists; no breadcrumbs (... 0x887A0004)` - `crashes.log` has the same message ("host GPU failure ... device removed"). - An earlier run on the same PC ended in the same way with: `relay: the device was lost before fence value 13120 was reached`. - Windows logged no display driver reset (no `nvlddmkm` / TDR event in the System log in that window). The laptop was on AC power (charging, 95%). **Conditions** - RTX 4060 Laptop 8 GB, 16 GB RAM, Ryzen 7 8845HS; Series S, DLSS Balanced, frame generation 2x. - Build `f72cec77` (v2026.11.29.04) with two small local changes; pipeline cache warm. - Just before the stop, the card was over its budget as in the numbers above (about 7.5 of 7.1 GB, about 5 GB in shared memory), with Streamline logging `Exceeded VRAM budget`. **Related reports on 8 GB cards:** #1548 (device reset after about 6 minutes of heavy city play on a 4060 Laptop), #1031, #1867. So on this card the card-memory overflow seems to end in a lost device after several minutes, not only in low fps. I can run a stability test with frame generation off if that helps tell the two apart.
Author
Owner

@⁠bilalramzipxl on GitHub · 2026-11-30 14:44 UTC · original

Second addendum: the lost device is reproducible at the same point, and two switches I expected to help do not.

Reproducible crash. Four runs on this PC (RTX 4060 Laptop 8 GB, 16 GB RAM, AC power) ended with host GPU device removed ... (0x887A0004) / 0x887A0005, each 5-6 minutes after the start, each right after the same prison cutscene, in the next area. The last frames before the stop look alike: 8,000-13,000 draws a frame and frame times of 175 ms, then 336 ms, then 1.5-5.4 s. A run with other programs closed (RAM free) ended the same way. Windows logged no driver reset.

The card is full long before that. The card's own use goes from about 0.6 GB at the start to 3.1 GB at 27 s and to 7.0 GB (budget 7.08 GB) at about 66 s, then stays at 7.0-7.1 GB. Shared GPU memory is 5.4-5.8 GB for the rest of the run and jumps to 6.9 GB in the last seconds. So the heavy scene arrives with no room left.

Frame generation is not the cause. With frame generation off (DLSS Performance) the card's use averages the same 7.29 GB (max 7.46 against 7.6 GB with it on), and rendered fps is 19.5 against about 16. Streamline's Exceeded VRAM budget warnings stop, but the memory does not go down. The layer fills the card to its budget either way.

VICTORY_SAMPLED_EVICT=1 does not free enough. With it on, the log shows 63,237 slots picked by index put back to null (22,819 of them queued again as a shader read them), and 350 host copies of textures let go (41.6 MB) in one interval. Against a card that needs well over 1 GB back, that is about 40 MB a pass. The textures let go with their slots under pressure ... 0 textures (0 MB) counter stays at 0 because it counts the other kind. The run still ended the same way at 5 minutes.

Also measured with no effect on the card's use or the crash: textures 55/45/35 % and render targets 1.5/1.0 GB (fps and the number of VRAM warnings unchanged; with 1.0 GB targets the slowest stretch fell to 0.4 fps).

So on 8 GB the card is at its budget within about a minute and the first heavy scene after that overflows it. A way to keep headroom for the render targets of a heavy scene (for example by letting the texture pool give memory back, which the pool does not do here) looks like the missing piece. Happy to test a build or a switch on this card.

**@⁠bilalramzipxl** on GitHub · 2026-11-30 14:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3866#issuecomment-7281867803) Second addendum: the lost device is reproducible at the same point, and two switches I expected to help do not. **Reproducible crash.** Four runs on this PC (RTX 4060 Laptop 8 GB, 16 GB RAM, AC power) ended with `host GPU device removed ... (0x887A0004)` / `0x887A0005`, each 5-6 minutes after the start, each right after the same prison cutscene, in the next area. The last frames before the stop look alike: 8,000-13,000 draws a frame and frame times of 175 ms, then 336 ms, then 1.5-5.4 s. A run with other programs closed (RAM free) ended the same way. Windows logged no driver reset. **The card is full long before that.** The card's own use goes from about 0.6 GB at the start to 3.1 GB at 27 s and to 7.0 GB (budget 7.08 GB) at about 66 s, then stays at 7.0-7.1 GB. Shared GPU memory is 5.4-5.8 GB for the rest of the run and jumps to 6.9 GB in the last seconds. So the heavy scene arrives with no room left. **Frame generation is not the cause.** With frame generation off (DLSS Performance) the card's use averages the same 7.29 GB (max 7.46 against 7.6 GB with it on), and rendered fps is 19.5 against about 16. Streamline's `Exceeded VRAM budget` warnings stop, but the memory does not go down. The layer fills the card to its budget either way. **`VICTORY_SAMPLED_EVICT=1` does not free enough.** With it on, the log shows 63,237 slots picked by index put back to null (22,819 of them queued again as a shader read them), and `350 host copies of textures let go (41.6 MB)` in one interval. Against a card that needs well over 1 GB back, that is about 40 MB a pass. The `textures let go with their slots under pressure ... 0 textures (0 MB)` counter stays at 0 because it counts the other kind. The run still ended the same way at 5 minutes. **Also measured with no effect on the card's use or the crash:** textures 55/45/35 % and render targets 1.5/1.0 GB (fps and the number of VRAM warnings unchanged; with 1.0 GB targets the slowest stretch fell to 0.4 fps). So on 8 GB the card is at its budget within about a minute and the first heavy scene after that overflows it. A way to keep headroom for the render targets of a heavy scene (for example by letting the texture pool give memory back, which the pool does not do here) looks like the missing piece. Happy to test a build or a switch on this card.
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#3866
No description provided.