[RTX 5090 D v2 24 GB] 31m45s into a run: frame drops to 86-91 draws/frame; DXGI in-use 22,540 MB against a 22,369 MB budget #85
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/DoubleGhosty--cool_fox#85
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?
@XccQ114 on GitHub · 2026-11-27 14:29 UTC · original
[RTX 5090 D v2 24 GB] 31m45s into a run: frame drops to 86-91 draws/frame; DXGI in-use 22,540 MB against a 22,369 MB budget
What I see
All numbers below come from one log of one continuous run. Host paths in that log are elided here as
<cache>/<game>/<data>.2026-11-27T11:16:34.633998Z(first line) →11:49:02.466956Z(title suspended; ending the title), with 0.3 s of teardown lines after it (last line11:49:02.783325Z,host pipeline library saved). It ended because I closed the window (window closed: suspending the titleat11:49:02.372), not because it crashed: 0paniclines, 0 ERROR-level records.11:18:51.465) the log printstextures picked by index: the card has no room for more; they waitfor the first time (draw.rs:2556; that WARN is once-only), andso_far=1right after it.so_farclimbs from 1 to 31,500 (last line at11:48:13.288). The final statistics line says1,383,737 uploaded so far (567,334 MB), with 5,630 still waiting.11:48:19.668) the per-frame statistics collapse: the sample before reads7.4 fps / 7,483 draws, the next reads30.0 fps / 33.3 ms / 86 draws, and the following 9 samples stay at 86–91 draws/frame until11:49:00.336; from its start towindow closedat11:49:02.372is 43 s. These samples are inside the game world — no map, no pause menu. They cannot be equated with the white screen (see §8, item 1): I saw the screen go white while driving on the street for about 1–2 minutes after a driving mission (taking Carl home), and I closed the window about 5 s after it went white (window closed=11:49:02.372).11:48:19.971, about 0.30 s after the collapsed sample) comes the only in-use-above-budget reading of the whole run: in use 22,540 MB against a budget of 22,369 MB (100.8%, 171 MB over). In the log the collapsed frame comes first and the over-budget reading comes second; I report them as "in the same second" and nothing stronger.1. Environment
limited_host_ram()(ullTotalPhys <= 32 GiB)available_commit_mib=34239(0:59.0),34071(3:15.5),29508(the 14:38.0 row), and5,488 MBof shared PC memory just before exit (32:27.6)--console series-s --execute(i.e. series-s)2. Build (disclosed on purpose)
cargo build --release -p victoryfrom thef4b48adtree of cool_fox (HEAD is that commit, the same commit the official release names).crates/victory-hle/src/modules/mouse.rs(mouse look,VICTORY_MOUSE=1). That patch does not touch the rendering path; my owncargo test -p victory-hle mousereported 5 passed (I kept no build or test log).b99f876b74d4a77f…(fullb99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93). The launcher's stdout starts withbuild unknown (b99f876b74d4a77f03af…), and the second log line carries the same fingerprint in the image path:path=<cache>\images\victory-image-b99f876b74d4a77f.dll(paths elided). The official build's own hash is not among the artifacts I collected, so the "same as the official build" half is indicative only.3. Flags and environment variables
23 behaviour switches (all
VICTORY_-prefixed, alphabetical):VICTORY_AMBIENT=0.8,VICTORY_AMBIENT_AIR=1.5,VICTORY_CARD_AWAKE=1,VICTORY_CARD_BUFFERS_MIN_KB=64,VICTORY_CARD_REHASH_RUNS=1,VICTORY_CARD_STEPS=2,VICTORY_INDIRECT_BATCH=2,VICTORY_INDIRECT_WINDOW=1,VICTORY_JOIN_COPIES=1,VICTORY_JOIN_PARTS=8,VICTORY_LEVELS_ON_DEMAND=1,VICTORY_LOG=info,VICTORY_MAP_THREADS=8,VICTORY_MOUSE=1,VICTORY_PIPELINE_WAIT_MS=20,VICTORY_RELAY=2,VICTORY_RELAY_COPY=1,VICTORY_SHOW_AFTER=1,VICTORY_TEXTURE_NO_WAIT=0,VICTORY_THIN=1,VICTORY_UPLOAD_AHEAD=1,VICTORY_WIDE_BACK=1,VICTORY_WIDE_MERGE=13 path variables (existence and relative size only, no paths):
VICTORY_GAME_DIR,VICTORY_CACHE_DIR(a warm shader cache, about 2.5 GB, 51,564 files),VICTORY_DATA_DIR.2 explicitly removed (so, not set) by my run script:
VICTORY_FILL_TITLE,VICTORY_LATE_WAIT_LISTS.3 the script never touches, so defaults apply:
VICTORY_TEXTURE_BUDGET_MB,VICTORY_TEXTURE_ROOM_PERCENT,VICTORY_CARD_BUFFERS_MB.Command line:
victory.exe run <the title> --console series-s --execute4. Timeline (all UTC, 2026-11-27)
static TLS redirected index=10 patched=53246; nextimage mapped … victory-image-b99f876b74d4a77f.dllhost memory pressure: limiting texture prefetch and idle upload storageframe=1189physical_free_mib=3036available_commit_mib=34239texture_staging_mib=139game_filled_gpu_texture_mib=12031textures picked by index: the card has no room for more; they wait(draw.rs:2556, once-only)so_far=1(draw.rs:2806; printed on n == 1 and every 500 after)so_far=9000host memory pressure clearedphysical_free_mib=5150available_commit_mib=34071host memory pressureframe=19689physical_free_mib=3041available_commit_mib=29508texture_staging_mib=129game_filled_gpu_texture_mib=12154so_far=31500(last full-card update line)first bindlines and 28victory_gpu::pipelinelines (typical of a new scene / cutscene start)textures picked by index: 1,383,737 uploaded so far (567,334 MB), 5,630 waiting, 116,577 passed over unmapped; same frame30.0 fps … 91 draws/frame, dropped 1 without a host pipelinewindow closed: suspending the title→title suspended; ending the title(I closed it)Note on the relative column: every row is derived from the UTC stamps with the first log line (
11:16:34.634Z) as zero and rounded to 0.1 s (all rows within 0.05 s of their UTC stamp). The collapse point "31 min 45 s" is11:48:19.668 − 11:16:34.634, not a round 31 minutes. Also: from11:48:19towindow closedat11:49:02.372is 43 s, and the 86–91 draws cover 9 samples of it (up to11:49:00.336), which does not match "white for about 5 s" — see §8 item 1.Minimal path to what I see
b99f876b74d4a77f…) with the switches in §3 and--console series-s --execute.the card has no room for more; they waitWARN arrived at 2:16.8 andso_far=started at 1.… draws/frame). Mine read 8,098 / 8,154 / 8,188 at 30:35.8 / 30:41.3 / 30:52.2, then 86 at 31:45.0, and 86–91 for the rest of the run.at the last look … MB of the card'slines (printed whenever the DXGI budget moves by ≥256 MB — 246 of them here) let the in-use/budget pair be followed with no extra tooling.5. Counts (same log; script-reproducible)
the card has no rooma texture already on the card is brought up to date … so_far=Nso_farruns 1 → 31,500a texture picked by index changed after its uploadtexture refresheshost view heap capped at 1000000 … count=124518411:16:35.654932Z)no wave32 lowering for this wave64 program02384a60fda6f2d0,5dc3b25986622949,6b82bc7d22016cb5,6f225b641c5b0708,926c46bab3b86bd6,a10179ab7eda0dc3shader does not translatea page was not thereVICTORY_TEXTURE_NO_WAIT=0)not implemented object=the system changed the budget of the card's memory …(only on ≥256 MB moves)panicerror=are the shader-translation WARNs above)6. Source locations
crates/victory-gpu/src/resource.rs:1676-1705room(): false when the card is full; always true whilefilled < texture_floor_bytes; otherwiseused.saturating_sub(texture_room()) + card_room_kept() + targets_room_kept() < budget / 100 * room_percent()resource.rs:1660-1666texture_floor_bytes=min(2 GiB, budget/4)resource.rs:1758-1773room_percent()defaults to 90;VICTORY_TEXTURE_ROOM_PERCENToverrides within 50–97draw.rs:2554-2557if !room { HEAP_TEXTURES_FULL += 1; once!("textures picked by index: the card has no room for more; they wait") }draw.rs:2783-2808REUPLOAD_WHEN_FULLis on (draw.rs:783-786, on by default); the line prints onn == 1 || n % 500 == 0draw.rs:2524-2534limited_host_ram()caps it atmin(base, 128 MB)crates/victory-gpu/src/residency.rs:93-96limited_host_ram()=ullTotalPhys <= 32 GiB— true on this 32 GB machinecrates/victory-gpu/src/host.rs:9388-9407log_video_memorylinehost.rs:8895textures picked by index: … uploaded so far (… MB)statisticscrates/victory-gpu/src/shadow.rs:210-216>= 20 GiBbudget → 1 MiB / up to 8192 MiB (VICTORY_CARD_BUFFERS_MBoverrides unconditionally)7. Relation to existing reports
When I checked, just before opening this one, the repo held 30 issues (12 open / 18 closed) + 53 pull requests. Across the 10 issues whose full comment set I pulled (46 comments) plus the 83 entry bodies I had at that point, I counted four facts: a run-time VRAM timeline on a 24 GB card 0;
the card has no room4 (all in #3, always a single quoted line);brought up to date … so_far=0; a screen going white or UI-only after 20+ minutes 0; 7–8 fps jumping to a steady 30 fps while draws drop to two digits 0.so_far=, no timeline, no statistics collapse. Its comment 13 is the only VRAM reading in the scope above: RTX 5070 12 GB,budget 10758 MB, in use 8076 MB(one sample, not a 24 GB card)5–8 fps in gameplay with ~7,000–12,000 draws/frameand30 fps on the map (~400 draws/frame)— so a 30 fps record on a 24 GB card does exist, but it is the map screen at about 400 draws; my 30.0 fps is inside the game world with no map and no pause, at 86–91 draws0xc0000005crash (Game Init, frame 32–46),draws=N drawn=0— it never reached renderingonly displayed a dark blue screen(fine after restart), not a white screenmemory-budget trace; carries no budget reading at allThe one place most likely to look like a duplicate, called out on purpose: #3 comment 7 has a menu-table row
30.0 | 33.3 | 4–10(RTX 5060 Ti) whose fps and ms are numerically identical to my collapsed frame's30.0 fps / 33.3 ms / 86 draws— 30.0 fps with 33.3 ms is a frame-cap / UI-layer signature. Where they differ: my two-digit draw count happens inside the game world, with no map and no pause menu, and the same scene read7.4 fps / 7,483 drawsone sample earlier.Conclusion: scattered 24 GB readings already exist (#67's map-screen 30 fps, plus one 12 GB budget/in-use pair in #3), but there is no continuous 30+ minute in-use/budget timeline from a single log with a statistics collapse at its end. That is what this report adds: budget 22,369 MB against in use 22,540 MB (100.8%, the only over-budget sample) and, within the same second, 7.4 fps / 7,483 draws → 30.0 fps / 86 draws.
8. What I have not verified
86–91 draws / 30.0 fpsruns from11:48:19.668to11:49:00.336(9 samples; from its start towindow closedat11:49:02.372is 43 s); the11:48:2xand11:48:5xstretches hold 0first bindand 0victory_gpu::pipelinelines (the scene has settled), while the11:48:1xsecond holds 18first bindlines and 28 pipeline lines.[What I saw] The screen went white while I was driving on the street for about 1–2 minutes after a driving mission (taking Carl home); I closed the window about 5 s later (
window closed=11:49:02.372), which puts the white screen at about11:48:57.[Conclusion] Two readings are open and this report does not pick one: (a) the first part of the 86–91 draws stretch is a cutscene / still frame (the 18
first bindlines in11:48:1xsupport this) and the white screen comes at its end; (b) the stretch already was the white screen from11:48:19on. The one firm statement: while the screen was white, draws were still only 86–91. I have no screenshot — my screenshot sampling stopped at11:27:28, before any of these samples.11:48:19.668) comes before the over-budget reading (11:48:19.971). I report "in the same second" only.limited_host_ram()(staging capped at 128 MB). Behaviour on a 64 GB machine may differ; I state only what happened here.VICTORY_REUPLOAD_WHEN_FULL=0,VICTORY_TEXTURE_ROOM_PERCENT=94orVICTORY_CARD_BUFFERS_MB=1536.at the last lookline reads in use 22,202 MB while theright after that changeline that follows reads 22,198 MB (4 MB apart, two reading moments). This report uses theat the last lookvalue, 22,202 MB, throughout.9. Levers I have not tested (all untested; whether any is worth trying is your call)
VICTORY_REUPLOAD_WHEN_FULL=0draw.rs:783-786)VICTORY_TEXTURE_ROOM_PERCENTresource.rs:1765-1772)VICTORY_CARD_BUFFERS_MB>=20 GiBcards default to at most 8192 MiB (shadow.rs:210-216)VICTORY_CARD_BUFFERS_MIN_KB=64and leaves the cap aloneVICTORY_TEXTURE_BUDGET_MBresource.rs:1680-1683)VICTORY_FILL_TITLEI am not claiming that any of these fixes the collapse.
10. Attachments
fps/ms/draws,at the last look … MB,so_far=) plus three excerpts — the 65the card has no roomlines, the 246 budget-change pairs, and the per-framefps/ms/draws. None of the three contains a host path.E3614AE0F839C63E0ACB78CDAA518AA944CEFD62F464D6275D5DC2A1B9053015is an integrity marker only. If you want it, say so and I will replace paths with<cache>/<game>/<data>first.<cache>/<game>/<data>where a path was.