[6 GB VRAM] Street scene stuck at 7-9.5 fps: copies (32-75 MB/frame) are the wall, FSR4 clamps 640x360 to 1280x720 #442
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI#442
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?
@rawetrip on GitHub · 2026-12-05 20:24 UTC · original
Description
6 GB VRAM card: the street scene sits at 7-9.5 fps and the frame is dominated by
copies(23-49 ms, 32-75 MB per frame) pluscopying back(21-26 ms for only 0.7 MB),while GPU BUSY is 54-71 ms and the submitting thread was already cut to 44 ms by
v2026.12.04.01. No switch I tried moves it. sorry for AI generate...
Three separate findings, in order of how much they would help this card:
640x360 always comes back as
made_render=[1280, 720].VICTORY_FSR_PATH=0does notchange it, and
--dlss off+ 540p is worse (GPU BUSY 55-71 -> 96.1 ms, 5.2 fps).A 6 GB card cannot get below 720p.
copiesare the frame now: 23-49 ms / 32-75 MB every frame at 6,200-6,600 draws.VICTORY_COPY_FILTER,KEEP_HOST_BUFFERS,DYNAMIC_CHUNK,PARTS_ONE_CALL,SWAPCHAIN_BUFFERS,CARD_ACCOUNTINGmade no measurable difference.0xc0000005null read at+0x4e9b54aafter ~13 minutes in thestreet (log full of "texture picked by index changed after its upload ... uploaded
again" right before), and a vertex explosion when
VICTORY_DSTORAGE_WORKERS=6on a6-core CPU (character mesh -> black spikes, 3.2 fps).
Rig Specs
get-d3d12Run Settings & Build
(
MiniVI.exe, 14.3 MB, SHA-25617707fba592ac3f53474fbba62f4f15f5185dd4b87ef1994b909b479d730a2caverified)series-s, requested scale0.33333334(640x360 of 1920x1080) - but the title's FSR4 path returns
made_render=[1280, 720](
0.6666667), so the requested scale is not what is renderedultraperformance(set with--set VICTORY_DLSS_MODE=ultraperformancebecause the CLI's--dlssdoes not accept it)--no-framegen-ready)DSTORAGE_WORKERS,HELPER_PRIORITY,WIDE_THREADS,PROCESS_PRIORITYall left attheir defaults in this run - see the vertex-explosion note for what happened when I changed them)
shaders= 25,757 entries, 232 do not translate(197 container-without-program, 30 no wave32 lowering, 3 lane-mask, 2 malformed), then
warm --jobs 12= 83,549 / 83,549 made in 4,122 s, 1 has no host pipeline, 0 endedtheir process.
Observed Telemetry & Logs
20-30 fps indoors, 30 fps (capped) at menus.
--fps 30cap was never the limiter.SHARED5.2-5.8 GB,process RAM 19-21 GB of 32 GB (commit 40-43 GB of a 56 GB limit)
session; the crash happened at 13m43s / frame 3870
F3/ DRED Snippets:Frame line, street, ~6,600 draws:
Submitting thread (the
.12.04.01win is visible here - it was ~100 ms in .12.03.04):Render size, every run:
Crash:
Right before it, repeatedly:
Vertex explosion (only with
VICTORY_DSTORAGE_WORKERS=6,HELPER_PRIORITY=0,WIDE_THREADS=4,PROCESS_PRIORITY=high):Questions
instead of handing the size to the title's FSR4 path and getting 720p back? This is
worth more on a 6 GB card than every other switch combined.
VICTORY_TEXTURE_STAGE_MSbudgets texture staging? At 32-75 MB a frame the copies arenow the wall, not the submitting thread.
copying backcharges 21-26 ms for 0.7-1.3 MB - is that a wait rather than bandwidth,and is
VICTORY_WAIT_RESIDENT=0the right way to skip it?LEVELS_ON_DEMAND/LEVELS_RECLAIM) the suspect,and is there an ordering that cannot hand a recycled texture to a draw as null? A run
with both set to 0 did not crash in the same window.
VICTORY_DSTORAGE_WORKERS- silently corrupting vertex data is the worst failure mode.what I ended up with after ~15 A/B runs; a preset would save that for everyone on
1660 Super / 2060 / 3050 class cards.
Logs from the runs above are attached (layer logs only, no game files): the two
minivi-play-*.logfiles named in the upload, pluscrashcontext.logfor the0xc0000005. Happy to run a diagnostics build or any switch combination you want - thismachine is dedicated to testing.
minivi-play-20261205-174659-12672.log
minivi-play-20261205-175326-1736.log
MiniVI-20261203-204950-15696.crash.log
@Androtim on GitHub · 2026-12-05 20:53 UTC · original
Huge thanks for one of the cleanest, most detailed 6 GB diagnostic reports we've received — this is super useful data!
Answering your points directly:
Confirmed — in \2026.12.04.10, the Series S FidelityFX path clamps the render scale floor at \
@rawetrip on GitHub · 2026-12-05 21:12 UTC · original
Your reply looks truncated here - it ends at "the Series S FidelityFX path clamps
the render scale floor at ". Could you continue? The parts I still need are:
per-frame copy budget, or a switch you want me to test?
bandwidth, and is VICTORY_WAIT_RESIDENT=0 the right way to skip it?
recycling (LEVELS_ON_DEMAND / LEVELS_RECLAIM)? A run with both at 0 did not
crash in the same window, but that is one sample.
6-core CPU corrupted vertex data (character mesh exploded) at 3.2 fps.
54-71 ms of a 130-147 ms frame here, so the card has headroom that the floor
is wasting.
and 83,549 pipelines warmed for .12.04.10 and would like to know when to re-warm.
Happy to run any diag build or switch combination - the machine is idle and dedicated
to this.
@Androtim on GitHub · 2026-12-05 22:27 UTC · original
Sorry about the truncated comment above — my CLI shell ate a backtick! Here is the full answer to all 6 points:
Per-frame
copies(23–49 ms,32–75 MB/frame) on 6 GB:There isn't a per-frame copy budget switch in
v2026.12.04.10(deferring required buffer copies mid-frame risks stale/corrupt geometry or constants). Rather than capping copies in the old path, our upcoming MiniVI v2.0 major architecture upgrade (targeting next week) replaces the memory/paging path withD3D12MA+ demand-paged/sparse memory and explicit engine--stream-budgetcontrol (e.g.1500 MBon 6 GB cards), which cuts host copy churn andSHAREDVRAM spill at the source.copying back(21–26 msfor0.7–1.3 MB) &VICTORY_WAIT_RESIDENT=0:You diagnosed it accurately —
21–26 msfor ~1 MB is a GPU queue/fence wait, not PCIe transfer bandwidth (especially with5.2–5.8 GBspilled intoSHAREDmemory keeping the GPU stalled behind paging). We do not recommendVICTORY_WAIT_RESIDENT=0as a workaround since skipping residency waits can expose uninitialized/stale data; relieving VRAM pressure and cutting GPU frame time is what actually collapses that wait.0xc0000005at+0x4e9b54a(read 0xc) withLEVELS_ON_DEMAND=1/LEVELS_RECLAIM=1:Yes — aggressive texture level reclamation under tight 6 GB churn is the prime suspect (racing/invalidating descriptors in flight). That's exactly why
v2026.12.04.10ships withVICTORY_LEVELS_ON_DEMAND=0by default. Keeping both at0is the safe baseline on.04.10.Vertex explosion with
VICTORY_DSTORAGE_WORKERS=6+ priority overrides:Very valuable catch — starving DirectStorage decompression workers alongside
HELPER_PRIORITY=0andPROCESS_PRIORITY=highcan deliver incomplete geometry buffers. We'll clamp/document safe worker minimums so vertex corruption can't be triggered silently.Sub-720p render (
540p/360p) & 6 GB preset — planned & which build?Yes! Confirmed that in
.04.10, the Series S FidelityFX path clamps render scale at0.667(1280x720), ignoringultraperformance(0.333). This is planned for MiniVI v2.0 (targeting next week), which intercepts the title's render-size reset callbacks directly so true Performance (0.5/540p) and Ultra Performance (0.333/360p) render at the requested internal size — paired with a dedicated 6 GB VRAM preset (--console series-s --stream-budget 1500).Will the next release invalidate your
.04.10cache (25,757shaders /83,549pipelines)?Yes — MiniVI v2.0 is a major translator & GPU architecture jump, so it will use a fresh shader/pipeline cache (in its own cache namespace/folder so it won't overwrite your
.04.10cache if you want to A/B compare, and with much faster all-core startup pipeline compilation so warming won't take over an hour!). No need to spend extra time re-warming.04.10right now.Also, since you have a dedicated RTX 2060 6 GB test machine and do disciplined A/B runs, we'd love to have you test early v2.0
-prereleasebuilds next week if you're interested — having a dedicated 6 GB tester is huge for MiniVI!@rawetrip on GitHub · 2026-12-05 23:02 UTC · original
Thanks for the detailed response — that clarifies everything.
Here's the status on my side, so you know what to expect from the next log:
I had set VICTORY_LEVELS_ON_DEMAND and VICTORY_LEVELS_RECLAIM explicitly in my launcher, but I have now removed them so that the defaults (0) for .04.10 apply. This is most likely why my run showed 'a texture picked by index changed after its upload... uploaded again' in a loop, followed by 0xc0000005 at +0x4e9b54a. I will re-run the same scene and report back on whether the re-upload warnings and the crash have been resolved.
For v2.0 prerelease, yes please count me in. I can run disciplined A/Bs on this machine and will report back with the same telemetry (frame line, submitting thread breakdown, asked_render vs made_render, VRAM/SHARED and crash log) for:
Just ping me when a build is ready and I will turn it around the same day.
@Androtim on GitHub · 2026-12-06 02:23 UTC · original · edited 2026-12-06 02:33 UTC
Hey @rawetrip — pinging you as promised! 🎉
MiniVI v2.0 Tester Preview 2 (
v2026.12.06.02-test.2) is now LIVE and we're actively accepting tester registrations!It already includes:
larp(GPL-3.0-or-later) core with single-fileMiniVI.exe(all 85 replacement shaders embedded) and fullVICTORY_*->LARP_*compatibility<= 6.5 GiBautomatically defaults to--stream-budget 1500unless you pass your own--stream-budget 1200/1000override)< 10 GBflat in-world RAM curve, DirectStorage staging accounting fix, idle pool reclamation, and Microsoftmimalloc)How to join the v2.0 Tester Program (takes ~15 seconds)
v0.1.49+— handles Agility SDK1.620.2and keepsv2.0pre-releases gated cleanly to registered testers).rawetripor Fluxer handle so we recognize you immediately!) — or hop into our official MiniVI Fluxer server (#testers) and we'll issue your tester key right away.Your disciplined 6 GB (
RTX 2060) A/B numbers on--stream-budget 1500 / 1200 / 1000will be super valuable for validating our 6 GB preset before v2.0 goes stable!