8 GB VRAM / 16 GB RAM: shared GPU memory hits the Windows cap, uploads fail with 0x8007000E, picture goes black/garbled (v2026.11.29.04) #3280
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#3280
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?
@11izann on GitHub · 2026-11-29 21:16 UTC · original
System
GPU: NVIDIA GeForce RTX 3070, 8 GB (driver 621.24, HAGS off)
CPU: Intel Core i5-10400F
RAM: 16 GB
Disk: NVMe SSD, page file set by hand to 32 GB (commit limit about 48 GB)
Windows 11 (build 26200), TdrDelay raised to 10 s
Release: v2026.11.29.04 (victory.exe SHA-256 853765913a8a6c1c…, matches the release)
Settings
Series S profile, picture 360 (lowest), DLSS Ultra Performance, frame generation off
Shader preload run before playing
Added in victory-settings.txt: VICTORY_TEXTURE_ROOM_PERCENT=72, VICTORY_SLOT_EVICT_PERCENT=75, VICTORY_SLOT_EVICT_LOW_PERCENT=65, VICTORY_SLOT_EVICT_MB=512
What happens
Story mode, Lucía's first robbery, after she takes the bag and pistol out of the trunk. As the new area streams in, frame rate drops from about 6 fps to 0.1–1 fps. The screen goes black or garbled until nothing can be made out. No crash on .04; I closed the game myself.
On older builds the same scene crashed instead:
a host command list did not close (0x8007000E)
with the default 2 s TDR: device removed 0x887A0005 after a frame took about 600 ms on the GPU
What the log shows (attached)
Shared GPU memory is at the Windows cap. On a 16 GB PC, Windows allows about 8 GB of shared GPU memory.
memory now: committed 21925 MB, the card's own 6509 MB in use of a budget of 7127 MB, the PC's shared with the card 7710 MB in use
238,913 failed buffer allocations in about 8 minutes: 171,451 no upload buffer and 67,462 no shared buffer, all 0x8007000E (sizes 256 KiB and 6 MiB).
The shared memory is not the layer's own staging. procmem reports only 53 MB of texture staging and 0 MB of upload buffers held by lists. The rest looks like VRAM overflow that Windows demoted to system memory.
in the PC's memory shared with the card: staging of textures 53 MB, upload buffers held by lists 0 (0 MB)
the PC has 291 MB free
host copies of title memory 4716 (6614 MB)
VRAM stays over the texture line and nothing is evicted. Usage sits about 1.7 GB above the 72 % line, and new textures wait:
the texture queue's room: 6506 MB in use ... = 6890 MB against a line of 5174 MB (72.0 % of a budget of 7186 MB ...): no room, new textures wait
Possible lead: slot eviction is blocked by bindless slots
Sampled marks show about 1.4 GB of VRAM in textures that no shader has sampled within the idle time:
texture slots shaders sampled (VICTORY_SAMPLED_MARKS=1, VRAM): 27460 marked over the last 30 frames; slot eviction's last pass: of 15153 textures shown by a slot shaders pick by index, 15150 were marked by no shader within its idle time (1422 MB)
slot_evict still lets almost nothing go. Nearly all idle textures are shown by a slot that shaders pick by index, and evictable_slots counts those as blocked:
slot eviction since the last line (VICTORY_SLOT_EVICT=1): 1 host copies of textures let go though slots showed them (0.2 MB) ... Evicting: yes; of the last 38232 idle-looking textures, 0 kept as a draw's table showed them, 14901 not to be taken (a slot shaders pick by index ...)
On a 32 GB+ PC this is probably harmless: the 16 GB shared cap absorbs the overflow. On 8 GB VRAM with 16 GB RAM, those 1.4 GB seem to decide whether the scene plays or falls apart.
One idea, behind a switch for low-memory cards: let slot_evict take textures whose index-picked slots the sampled marks show as unsampled for the idle time. Put those slots back to waiting the same way table slots are. I have not tried it, so there may be a reason this is unsafe that I can't see.
Attached
victory-nvidia-play-20261129-205758-4812.log (%LOCALAPPDATA%\victory\logs)
crashes.log (%LOCALAPPDATA%\VIctory\data\7952987A)
victory-nvidia-play-20261129-205758-4812.zip
crashes.log
@MAK-DO on GitHub · 2026-11-30 16:12 UTC · original
Same wall here on v2026.11.30.01, reproduced 4 times out of 4 at one story point, with the process memory breakdown at the moment it happens. In my runs the jump is the layer's host copies of title memory, not VRAM demoted by Windows.
PC: RTX 2080 8 GB (Turing), driver 621.24, Ryzen 7 5800X, 16 GB RAM, page file 37-49 GB, Windows 10 22H2 (19045). Build: v2026.11.30.01 (
c71899d9) built from source, plus a local logging-only patch (F3 panel figures to a CSV). Series S, FSR 3 frame generation 2X, full preload done.Where: starting from my prologue save, a few minutes in, right after a pre-rendered movie (the frame rate sits at the 60 cap, the movie plane gate is active), as the next area streams in. The game has not autosaved by then, so every run goes back through the same point.
What happens each time (from the procmem and
memory nowlines, about 5 s apart):So about 5.1 k new host copies and +5.4 GB in under 8 s, while the card itself stays under its budget. Shared GPU memory passes the Windows cap (about half the RAM), the 0x8007000E storm on upload and shared buffers follows, and the host GPU fails.
TEXTURE_ROOM_PERCENT=95(this also drops the launcher's FG reserve, my mistake)VICTORY_TEXTURE_FIRST_UPLOAD_WINDOW_MB=128VICTORY_CARD_ALL=0(new launcher default is 1)So on this PC neither the texture room, the first-upload cap nor
CARD_ALLchanges the outcome. What grows is the set of host copies of title memory as the new area loads. Before the crash the game ran well: 22-25 fps rendered in the last two runs (card ~31 ms, submission ~29 ms).Questions I could not answer from the log:
I can rerun this exact point with any switch or a diagnostics build. A cleaned excerpt of the play log of run 4 (local paths and game file names removed; the procmem, memory, frame and warning lines kept) is available on request.
Written with AI assistance (Claude Code); the measurements are from my PC. No game files attached.
@green2345 on GitHub · 2026-12-01 17:16 UTC · original
Confirming this still happens — and got noticeably worse — on latest
main(5fabb46e, afterc71899d9, which pulled in PR #3994 / #3750; likely related to #4845 as well).Hardware & Setup
610.88, DXGI budget7189 MB)E:\pagefile.sys 24576 36864)26100), VBS off,TdrDelay=10release(cargo build --release --locked), commit5fabb46eVICTORY_LEVELS_ON_DEMAND=0,VICTORY_PROCESS_MEMORY=0,VICTORY_PIPELINE_WORKERS=4,VICTORY_WATER_LIGHT=0,VICTORY_AMBIENT_SPECULAR=0Before vs After (same PC & settings)
5fabb46e(10 min run -> crash)80.5 ms(~12.4 FPS)101.6 ms(~9.8 FPS)9.2 FPS6.5 FPS17.4 – 19.2 GB20.8 – 23.3 GBcard's own)4.2 – 4.5 GB4.9 – 5.5 GBPC's shared with the card)3.7 – 5.0 GB(stable)5.7 – 7.7 GB(hits ~8 GB Windows cap)no shared buffer(0x8007000E)07,793(+54no read-back buffer)As soon as
PC's shared with the cardhit7719 MB,no shared buffer(0x8007000E) spammed 7,793 times in ~45 seconds, ending in0xc0000005atnvwgf2umx.dll+0x332103.free_physical_mbalso dropped as low as673 MB, tanking FPS to ~10 with F2 showing CPU bottleneck.Attaching the full log below.
victory-nvidia-20261201-195320.zip