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
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#3866
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?
@bilalramzipxl on GitHub · 2026-11-30 09:47 UTC · original
Hardware and build
VICTORY_ADAPTER='RTX 4060'(a Radeon 780M iGPU is also present)0x8007000Eand a black picture.f72cec77(v2026.11.29.04). Earlier tests used the v2026.11.29.01 release.--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)andVIDEO MEMORY IS FULL (7.0 OF 7.0 GB).Where the memory goes (log lines, heavy scene)
Exceeded VRAM budget, various performance issues including stuttering can be expected2,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)
victory-list-*(8 threads)victory-wide-*(6 threads)victory-submitvictory-relayThe 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)
VICTORY_FLUSH_SIFT=1andVICTORY_FRONT_SIFT=1VICTORY_CARD_BUFFERS_MB=500VICTORY_THIN_THREADS=4andVICTORY_WIDE_THREADS=4VICTORY_TEXTURE_FIRST_UPLOAD_MB=32VICTORY_AMBIENT=0.4withVICTORY_AMBIENT_SPECULAR_BOUND=1Findings
VICTORY_ALIAS_TARGETS=1. With4ffb47bb(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.victory-listis fixed at 8 threads andvictory-wideis 3/8 of the logical processors. On an 8-core CPU these look high. A scaling default might help smoothness.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-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.%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)
@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
host GPU device removed after 5 submissions sent ahead (VICTORY_RELAY=1) of 71 lists; no breadcrumbs (... 0x887A0004)crashes.loghas the same message ("host GPU failure ... device removed").relay: the device was lost before fence value 13120 was reached.nvlddmkm/ TDR event in the System log in that window). The laptop was on AC power (charging, 95%).Conditions
f72cec77(v2026.11.29.04) with two small local changes; pipeline cache warm.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: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 budgetwarnings stop, but the memory does not go down. The layer fills the card to its budget either way.VICTORY_SAMPLED_EVICT=1does 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), and350 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. Thetextures 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.