[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

Open
opened 2026-11-27 14:32:04 +00:00 by github-bot · 0 comments
Owner

@⁠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>.

  • 32 min 27.8 s of run: 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 line 11:49:02.783325Z, host pipeline library saved). It ended because I closed the window (window closed: suspending the title at 11:49:02.372), not because it crashed: 0 panic lines, 0 ERROR-level records.
  • At 2:16.8 (11:18:51.465) the log prints textures picked by index: the card has no room for more; they wait for the first time (draw.rs:2556; that WARN is once-only), and so_far=1 right after it.
  • From there the run keeps updating textures that are already on the card: so_far climbs from 1 to 31,500 (last line at 11:48:13.288). The final statistics line says 1,383,737 uploaded so far (567,334 MB), with 5,630 still waiting.
  • At 31:45.0 (11:48:19.668) the per-frame statistics collapse: the sample before reads 7.4 fps / 7,483 draws, the next reads 30.0 fps / 33.3 ms / 86 draws, and the following 9 samples stay at 86–91 draws/frame until 11:49:00.336; from its start to window closed at 11:49:02.372 is 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).
  • In the same second (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

Item Value
GPU RTX 5090 D v2, adapter total 24,455 MiB (≈23.88 GiB)
VRAM budget (DXGI) 22,422 MB (29:56.5) and 22,369 MB (31:45.3) around the collapse; 246 budget moves of ≥256 MB over the run
System RAM 32 GB — this machine hits limited_host_ram() (ullTotalPhys <= 32 GiB)
CPU Ryzen 7 9800X3D
GPU driver 610.88
OS Windows 11 Pro, build 26200
Page file commit limit ≈ 94.22 GB; what the log itself gives is commit-side: available_commit_mib=34239 (0:59.0), 34071 (3:15.5), 29508 (the 14:38.0 row), and 5,488 MB of shared PC memory just before exit (32:27.6)
Game GTA VI, Xbox build 1.0.2.1
Console profile / mode --console series-s --execute (i.e. series-s)
Cache a warm shader cache (about 2.5 GB, 51,564 files at the last look)

Three different quantities, kept apart and never converted: 23.2 GB = what was "in use" at the time; the adapter's total capacity = 24,455 MiB (23.88 GiB); 22,369 MB = the DXGI budget. The DXGI in-use pair for this run is only 22,540 / 22,369 MB.


2. Build (disclosed on purpose)

  • Self-built release: cargo build --release -p victory from the f4b48ad tree of cool_fox (HEAD is that commit, the same commit the official release names).
  • One code change: a new file crates/victory-hle/src/modules/mouse.rs (mouse look, VICTORY_MOUSE=1). That patch does not touch the rendering path; my own cargo test -p victory-hle mouse reported 5 passed (I kept no build or test log).
  • The title-side build fingerprint is b99f876b74d4a77f… (full b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93). The launcher's stdout starts with build 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.
  • AI involvement, disclosed up front: this write-up was assembled with an AI assistant — log filtering, counts, tables and wording are its work; every run, measurement and visual observation is mine. Every number here can be re-derived from the raw log with the scripts in §10.
  • My build changes none of the defaults for the VRAM budget, the texture room line, or the card-buffer cap; every switch I did use is in §3.

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=1

3 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 --execute


4. Timeline (all UTC, 2026-11-27)

Relative UTC What the log says (abridged)
0:00.0 11:16:34.634 first line static TLS redirected index=10 patched=53246; next image mapped … victory-image-b99f876b74d4a77f.dll
0:59.0 11:17:33.600 host memory pressure: limiting texture prefetch and idle upload storage frame=1189 physical_free_mib=3036 available_commit_mib=34239 texture_staging_mib=139 game_filled_gpu_texture_mib=12031
2:16.8 11:18:51.465 first textures picked by index: the card has no room for more; they wait (draw.rs:2556, once-only)
2:16.8 11:18:51.469 so_far=1 (draw.rs:2806; printed on n == 1 and every 500 after)
2:54.6 11:19:29.250 so_far=9000
3:15.5 11:19:50.142 host memory pressure cleared physical_free_mib=5150 available_commit_mib=34071
14:38.0 11:31:12.675 second host memory pressure frame=19689 physical_free_mib=3041 available_commit_mib=29508 texture_staging_mib=129 game_filled_gpu_texture_mib=12154
15:57.4 11:32:32.068 draws peak 10,726 / 13.7 fps / 72.9 ms
29:56.5 11:46:31.156 frame 33064: budget 22,422 MB, in use 22,202 MB (≈99.0%)
30:35.8 11:47:10.396 8,098 draws / 8.3 fps / 121.0 ms
30:41.3 11:47:15.908 8,154 draws / 8.3 fps / 120.8 ms
30:52.2 11:47:26.860 8,188 draws / 7.0 fps / 142.2 ms (last high-draw sample before the collapse)
31:38.7 11:48:13.288 so_far=31500 (last full-card update line)
31:45.0 11:48:19.668 collapse: 7.4 fps / 7,483 draws → 30.0 fps / 33.3 ms / 86 draws; then 86–91 draws for 9 samples until 11:49:00.336. That second holds 18 first bind lines and 28 victory_gpu::pipeline lines (typical of a new scene / cutscene start)
31:45.3 11:48:19.971 frame 34090: budget 22,369 MB, in use 22,540 MB (100.8%, the only over-budget point in the run, 171 MB over)
32:25.7 11:49:00.336 final statistics: textures picked by index: 1,383,737 uploaded so far (567,334 MB), 5,630 waiting, 116,577 passed over unmapped; same frame 30.0 fps … 91 draws/frame, dropped 1 without a host pipeline
32:27.6 11:49:02.272 last readings before exit: budget 22,308 MB / in use 20,429 MB; 5,488 MB of shared PC memory
32:27.8 11:49:02.467 window 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" is 11:48:19.668 − 11:16:34.634, not a round 31 minutes. Also: from 11:48:19 to window closed at 11:49:02.372 is 43 s, and the 86–91 draws cover 9 samples of it (up to 11:49:00.336), which does not match "white for about 5 s" — see §8 item 1.

Minimal path to what I see

  1. Use the same title build (fingerprint b99f876b74d4a77f…) with the switches in §3 and --console series-s --execute.
  2. Play continuously past the 30-minute mark. In my run the once-only the card has no room for more; they wait WARN arrived at 2:16.8 and so_far= started at 1.
  3. Watch the per-frame line (… 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.
  4. The at the last look … MB of the card's lines (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)

Log string Lines
the card has no room 65 (my export holds 65 matching lines)
a texture already on the card is brought up to date … so_far=N 64 (= 65 − 1 once-only WARN); so_far runs 1 → 31,500
a texture picked by index changed after its upload 355
texture refreshes 1,808
host view heap capped at 1000000 … count=1245184 1 (once, at startup 11:16:35.654932Z)
no wave32 lowering for this wave64 program 6 lines / 6 distinct hashes: 02384a60fda6f2d0, 5dc3b25986622949, 6b82bc7d22016cb5, 6f225b641c5b0708, 926c46bab3b86bd6, a10179ab7eda0dc3
shader does not translate 6 (the same 6 hashes)
a page was not there 0 (this run had VICTORY_TEXTURE_NO_WAIT=0)
not implemented object= 3
the system changed the budget of the card's memory … (only on ≥256 MB moves) 246
full-card uploads (final statistics line) 1,383,737 textures / 567,334 MB; 5,630 waiting; 116,577 passed over unmapped
panic 0
ERROR-level records 0 (the 6 lines whose text contains error= are the shader-translation WARNs above)

6. Source locations

Location What it does
crates/victory-gpu/src/resource.rs:1676-1705 room(): false when the card is full; always true while filled < texture_floor_bytes; otherwise used.saturating_sub(texture_room()) + card_room_kept() + targets_room_kept() < budget / 100 * room_percent()
resource.rs:1660-1666 texture_floor_bytes = min(2 GiB, budget/4)
resource.rs:1758-1773 room_percent() defaults to 90; VICTORY_TEXTURE_ROOM_PERCENT overrides within 50–97
draw.rs:2554-2557 if !room { HEAP_TEXTURES_FULL += 1; once!("textures picked by index: the card has no room for more; they wait") }
draw.rs:2783-2808 while the card is full, a slot that already has a host copy is still updated when REUPLOAD_WHEN_FULL is on (draw.rs:783-786, on by default); the line prints on n == 1 || n % 500 == 0
draw.rs:2524-2534 per-frame staging budget; limited_host_ram() caps it at min(base, 128 MB)
crates/victory-gpu/src/residency.rs:93-96 limited_host_ram() = ullTotalPhys <= 32 GiB — true on this 32 GB machine
crates/victory-gpu/src/host.rs:9388-9407 one line per ≥256 MB budget move, followed by a log_video_memory line
host.rs:8895 the format string of the textures picked by index: … uploaded so far (… MB) statistics
crates/victory-gpu/src/shadow.rs:210-216 card-buffer defaults: >= 20 GiB budget → 1 MiB / up to 8192 MiB (VICTORY_CARD_BUFFERS_MB overrides 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 room 4 (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.

Issue State Relation to this report
#3 open RTX 3070 8 GB. Quotes that same full-card line 4 times (body + comments 2/7/13), but always as a single line on an 8/12/16 GB card: no 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)
#67 open RTX 3090 24 GB. Its body gives both 5–8 fps in gameplay with ~7,000–12,000 draws/frame and 30 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 draws
#83 open RTX 4090 24 GB, out-of-memory crash while loading a save (black cutscene), not a statistics collapse after 30 minutes; 0 comments
#68 open RTX 5090 (32 GB of VRAM — so not a 24 GB card), 0xc0000005 crash (Game Init, frame 32–46), draws=N drawn=0 — it never reached rendering
#11 closed RTX 5070 Ti 16 GB, only displayed a dark blue screen (fine after restart), not a white screen
#28 open Only proposes a memory-budget trace; carries no budget reading at all

The 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's 30.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 read 7.4 fps / 7,483 draws one 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

  1. The log does not pin down when the white screen started or ended. [Log fact] 86–91 draws / 30.0 fps runs from 11:48:19.668 to 11:49:00.336 (9 samples; from its start to window closed at 11:49:02.372 is 43 s); the 11:48:2x and 11:48:5x stretches hold 0 first bind and 0 victory_gpu::pipeline lines (the scene has settled), while the 11:48:1x second holds 18 first bind lines 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 about 11: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 bind lines in 11:48:1x support this) and the white screen comes at its end; (b) the stretch already was the white screen from 11:48:19 on. The one firm statement: while the screen was white, draws were still only 86–91. I have no screenshot — my screenshot sampling stopped at 11:27:28, before any of these samples.
  2. No causal link is established. The over-budget reading (171 MB over, 0.8%) and the collapse sit in the same second, and the collapse reading (11:48:19.668) comes before the over-budget reading (11:48:19.971). I report "in the same second" only.
  3. Three VRAM quantities, kept apart. 23.2 GB is what was in use; the adapter's total capacity is 24,455 MiB (23.88 GiB); the DXGI budget pair is 22,540 / 22,369 MB. They are never converted into each other.
  4. 8,109 draws is my own reading, not a log line. The three neighbouring samples are 8,098 / 8,154 / 8,188; the body says "about 8.1k draws" and names the source.
  5. This machine has 32 GB of RAM and hits limited_host_ram() (staging capped at 128 MB). Behaviour on a 64 GB machine may differ; I state only what happened here.
  6. No controlled experiments. I have not run VICTORY_REUPLOAD_WHEN_FULL=0, VICTORY_TEXTURE_ROOM_PERCENT=94 or VICTORY_CARD_BUFFERS_MB=1536.
  7. The same budget yielded a second, differently-timed reading. In the frame-33064 second, the at the last look line reads in use 22,202 MB while the right after that change line that follows reads 22,198 MB (4 MB apart, two reading moments). This report uses the at the last look value, 22,202 MB, throughout.

9. Levers I have not tested (all untested; whether any is worth trying is your call)

Variable Current value / default Why it lines up with what the log shows Status
VICTORY_REUPLOAD_WHEN_FULL=0 on by default (draw.rs:783-786) corresponds directly to the 31,500 full-card updates and the 567,334 MB total upload untested
VICTORY_TEXTURE_ROOM_PERCENT default 90, settable 50–97 (resource.rs:1765-1772) the only direct knob for the 90% room line untested
VICTORY_CARD_BUFFERS_MB >=20 GiB cards default to at most 8192 MiB (shadow.rs:210-216) my baseline sets only VICTORY_CARD_BUFFERS_MIN_KB=64 and leaves the cap alone untested
VICTORY_TEXTURE_BUDGET_MB not set (resource.rs:1680-1683) puts a hard byte cap on the host texture copies untested
VICTORY_FILL_TITLE not set in this run in an A/B of two other runs, the one with it showed what I saw as a white screen and the one without did not; they ran for different lengths (8m53s vs 18m) and both rendered normally — a weak coincidence, not a cause untested

I am not claiming that any of these fixes the collapse.


10. Attachments

  • On request, already sanitised and safe to paste: the three sampling scripts (fps/ms/draws, at the last look … MB, so_far=) plus three excerpts — the 65 the card has no room lines, the 246 budget-change pairs, and the per-frame fps/ms/draws. None of the three contains a host path.
  • The full log only after sanitising: the raw log is about 18 MB and about 67k lines and carries host paths and the game directory, so it is not published as is; sha256 E3614AE0F839C63E0ACB78CDAA518AA944CEFD62F464D6275D5DC2A1B9053015 is an integrity marker only. If you want it, say so and I will replace paths with <cache> / <game> / <data> first.
  • Every log line quoted here carries <cache> / <game> / <data> where a path was.
**@⁠XccQ114** on GitHub · 2026-11-27 14:29 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/85) # [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>`. - **32 min 27.8 s** of run: `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 line `11:49:02.783325Z`, `host pipeline library saved`). It ended because I closed the window (`window closed: suspending the title` at `11:49:02.372`), not because it crashed: 0 `panic` lines, 0 ERROR-level records. - At **2:16.8** (`11:18:51.465`) the log prints `textures picked by index: the card has no room for more; they wait` for the first time (`draw.rs:2556`; that WARN is once-only), and `so_far=1` right after it. - From there the run keeps updating textures that are already on the card: `so_far` climbs from **1** to **31,500** (last line at `11:48:13.288`). The final statistics line says `1,383,737 uploaded so far (567,334 MB)`, with **5,630** still waiting. - At **31:45.0** (`11:48:19.668`) the per-frame statistics collapse: the sample before reads `7.4 fps / 7,483 draws`, the next reads `30.0 fps / 33.3 ms / 86 draws`, and the following 9 samples stay at **86–91 draws/frame** until `11:49:00.336`; from its start to `window closed` at `11:49:02.372` is **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`). - In the **same second** (`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 | Item | Value | |:---|:---| | GPU | RTX 5090 D v2, adapter total **24,455 MiB** (≈23.88 GiB) | | VRAM budget (DXGI) | **22,422 MB** (29:56.5) and **22,369 MB** (31:45.3) around the collapse; 246 budget moves of ≥256 MB over the run | | System RAM | **32 GB** — this machine hits `limited_host_ram()` (`ullTotalPhys <= 32 GiB`) | | CPU | Ryzen 7 9800X3D | | GPU driver | **610.88** | | OS | Windows 11 Pro, build **26200** | | Page file | commit limit ≈ **94.22 GB**; what the log itself gives is commit-side: `available_commit_mib=34239` (0:59.0), `34071` (3:15.5), `29508` (the 14:38.0 row), and `5,488 MB` of shared PC memory just before exit (32:27.6) | | Game | GTA VI, Xbox build **1.0.2.1** | | Console profile / mode | `--console series-s --execute` (i.e. **series-s**) | | Cache | a warm shader cache (about 2.5 GB, 51,564 files at the last look) | > Three different quantities, kept apart and never converted: **23.2 GB = what was "in use"** at the time; **the adapter's total capacity = 24,455 MiB (23.88 GiB)**; **22,369 MB = the DXGI budget**. The DXGI in-use pair for this run is only **22,540 / 22,369 MB**. --- ## 2. Build (disclosed on purpose) - **Self-built release**: `cargo build --release -p victory` from **the `f4b48ad` tree of cool_fox** (HEAD is that commit, the same commit the official release names). - **One code change**: a new file `crates/victory-hle/src/modules/mouse.rs` (mouse look, `VICTORY_MOUSE=1`). That patch does not touch the rendering path; my own `cargo test -p victory-hle mouse` reported **5 passed** (I kept no build or test log). - **The title-side build fingerprint is `b99f876b74d4a77f…`** (full `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93`). The launcher's stdout starts with `build 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. - **AI involvement, disclosed up front**: this write-up was assembled with an AI assistant — log filtering, counts, tables and wording are its work; **every run, measurement and visual observation is mine**. Every number here can be re-derived from the raw log with the scripts in §10. - My build changes none of the defaults for the VRAM budget, the texture room line, or the card-buffer cap; every switch I did use is in §3. --- ## 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=1` **3 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 --execute` --- ## 4. Timeline (all UTC, 2026-11-27) | Relative | UTC | What the log says (abridged) | |:---|---:|:---| | 0:00.0 | 11:16:34.634 | first line `static TLS redirected index=10 patched=53246`; next `image mapped … victory-image-b99f876b74d4a77f.dll` | | 0:59.0 | 11:17:33.600 | `host memory pressure: limiting texture prefetch and idle upload storage` frame=1189 `physical_free_mib=3036` `available_commit_mib=34239` `texture_staging_mib=139` `game_filled_gpu_texture_mib=12031` | | **2:16.8** | **11:18:51.465** | first `textures picked by index: the card has no room for more; they wait` (`draw.rs:2556`, once-only) | | 2:16.8 | 11:18:51.469 | `so_far=1` (`draw.rs:2806`; printed on n == 1 and every 500 after) | | 2:54.6 | 11:19:29.250 | `so_far=9000` | | 3:15.5 | 11:19:50.142 | `host memory pressure cleared` `physical_free_mib=5150` `available_commit_mib=34071` | | 14:38.0 | 11:31:12.675 | second `host memory pressure` frame=19689 `physical_free_mib=3041` `available_commit_mib=29508` `texture_staging_mib=129` `game_filled_gpu_texture_mib=12154` | | 15:57.4 | 11:32:32.068 | **draws peak 10,726 / 13.7 fps / 72.9 ms** | | 29:56.5 | 11:46:31.156 | frame 33064: budget **22,422 MB**, in use **22,202 MB** (≈99.0%) | | 30:35.8 | 11:47:10.396 | 8,098 draws / 8.3 fps / 121.0 ms | | 30:41.3 | 11:47:15.908 | 8,154 draws / 8.3 fps / 120.8 ms | | 30:52.2 | 11:47:26.860 | **8,188 draws / 7.0 fps / 142.2 ms** (last high-draw sample before the collapse) | | 31:38.7 | 11:48:13.288 | `so_far=31500` (last full-card update line) | | **31:45.0** | **11:48:19.668** | **collapse**: 7.4 fps / 7,483 draws → **30.0 fps / 33.3 ms / 86 draws**; then 86–91 draws for 9 samples until 11:49:00.336. That second holds **18 `first bind` lines and 28 `victory_gpu::pipeline` lines** (typical of a new scene / cutscene start) | **31:45.3** | **11:48:19.971** | frame 34090: budget **22,369 MB**, in use **22,540 MB** (**100.8%**, the only over-budget point in the run, 171 MB over) | | 32:25.7 | 11:49:00.336 | final statistics: `textures picked by index: 1,383,737 uploaded so far (567,334 MB), 5,630 waiting, 116,577 passed over unmapped`; same frame `30.0 fps … 91 draws/frame, dropped 1 without a host pipeline` | | 32:27.6 | 11:49:02.272 | last readings before exit: budget 22,308 MB / in use 20,429 MB; 5,488 MB of shared PC memory | | 32:27.8 | 11:49:02.467 | `window 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" is `11:48:19.668 − 11:16:34.634`, not a round 31 minutes. Also: from `11:48:19` to `window closed` at `11:49:02.372` is **43 s**, and the 86–91 draws cover 9 samples of it (up to `11:49:00.336`), which does not match "white for about 5 s" — see §8 item 1. ### Minimal path to what I see 1. Use the same title build (fingerprint `b99f876b74d4a77f…`) with the switches in §3 and `--console series-s --execute`. 2. Play continuously past the 30-minute mark. In my run the once-only `the card has no room for more; they wait` WARN arrived at 2:16.8 and `so_far=` started at 1. 3. Watch the per-frame line (`… 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. 4. The `at the last look … MB of the card's` lines (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) | Log string | Lines | |:---|:---| | `the card has no room` | **65** (my export holds 65 matching lines) | | `a texture already on the card is brought up to date … so_far=N` | 64 (= 65 − 1 once-only WARN); `so_far` runs **1 → 31,500** | | `a texture picked by index changed after its upload` | 355 | | `texture refreshes` | **1,808** | | `host view heap capped at 1000000 … count=1245184` | **1** (once, at startup `11:16:35.654932Z`) | | `no wave32 lowering for this wave64 program` | 6 lines / **6 distinct hashes**: `02384a60fda6f2d0`, `5dc3b25986622949`, `6b82bc7d22016cb5`, `6f225b641c5b0708`, `926c46bab3b86bd6`, `a10179ab7eda0dc3` | | `shader does not translate` | 6 (the same 6 hashes) | | `a page was not there` | **0** (this run had `VICTORY_TEXTURE_NO_WAIT=0`) | | `not implemented object=` | 3 | | `the system changed the budget of the card's memory …` (only on ≥256 MB moves) | **246** | | full-card uploads (final statistics line) | **1,383,737 textures / 567,334 MB**; 5,630 waiting; 116,577 passed over unmapped | | `panic` | **0** | | ERROR-level records | **0** (the 6 lines whose text contains `error=` are the shader-translation WARNs above) | --- ## 6. Source locations | Location | What it does | |:---|:---| | `crates/victory-gpu/src/resource.rs:1676-1705` | `room()`: false when the card is full; always true while `filled < texture_floor_bytes`; otherwise `used.saturating_sub(texture_room()) + card_room_kept() + targets_room_kept() < budget / 100 * room_percent()` | | `resource.rs:1660-1666` | `texture_floor_bytes` = `min(2 GiB, budget/4)` | | `resource.rs:1758-1773` | `room_percent()` defaults to **90**; `VICTORY_TEXTURE_ROOM_PERCENT` overrides within 50–97 | | `draw.rs:2554-2557` | `if !room { HEAP_TEXTURES_FULL += 1; once!("textures picked by index: the card has no room for more; they wait") }` | | `draw.rs:2783-2808` | while the card is full, a slot that already has a host copy is still updated when `REUPLOAD_WHEN_FULL` is on (`draw.rs:783-786`, on by default); the line prints on `n == 1 \|\| n % 500 == 0` | | `draw.rs:2524-2534` | per-frame staging budget; `limited_host_ram()` caps it at `min(base, 128 MB)` | | `crates/victory-gpu/src/residency.rs:93-96` | `limited_host_ram()` = `ullTotalPhys <= 32 GiB` — true on this 32 GB machine | | `crates/victory-gpu/src/host.rs:9388-9407` | one line per ≥256 MB budget move, followed by a `log_video_memory` line | | `host.rs:8895` | the format string of the `textures picked by index: … uploaded so far (… MB)` statistics | | `crates/victory-gpu/src/shadow.rs:210-216` | card-buffer defaults: `>= 20 GiB` budget → 1 MiB / up to 8192 MiB (`VICTORY_CARD_BUFFERS_MB` overrides 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 room` **4** (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**. | Issue | State | Relation to this report | |:---|:---|:---| | #3 | open | RTX 3070 **8 GB**. Quotes that same full-card line 4 times (body + comments 2/7/13), but always as a **single line** on an 8/12/16 GB card: no `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) | | #67 | open | RTX 3090 **24 GB**. Its body gives both `5–8 fps in gameplay with ~7,000–12,000 draws/frame` and `30 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 draws | | #83 | open | RTX 4090 **24 GB**, out-of-memory crash while loading a save (black cutscene), not a statistics collapse after 30 minutes; 0 comments | | #68 | open | RTX 5090 (**32 GB of VRAM** — so not a 24 GB card), `0xc0000005` crash (Game Init, frame 32–46), `draws=N drawn=0` — it never reached rendering | | #11 | closed | RTX 5070 Ti 16 GB, `only displayed a dark blue screen` (fine after restart), not a white screen | | #28 | open | Only proposes a `memory-budget trace`; carries no budget reading at all | The 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's `30.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 read `7.4 fps / 7,483 draws` one 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 1. **The log does not pin down when the white screen started or ended.** [Log fact] `86–91 draws / 30.0 fps` runs from `11:48:19.668` to `11:49:00.336` (9 samples; from its start to `window closed` at `11:49:02.372` is **43 s**); the `11:48:2x` and `11:48:5x` stretches hold **0 `first bind` and 0 `victory_gpu::pipeline` lines** (the scene has settled), while the `11:48:1x` second holds **18 `first bind` lines 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 about **`11: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 bind` lines in `11:48:1x` support this) and the white screen comes at its end; (b) the stretch already was the white screen from `11:48:19` on. **The one firm statement: while the screen was white, draws were still only 86–91.** I have no screenshot — my screenshot sampling stopped at `11:27:28`, before any of these samples. 2. **No causal link is established.** The over-budget reading (171 MB over, 0.8%) and the collapse sit in the same second, and the collapse reading (`11:48:19.668`) comes **before** the over-budget reading (`11:48:19.971`). I report "in the same second" only. 3. **Three VRAM quantities, kept apart.** 23.2 GB is what was in use; the adapter's total capacity is 24,455 MiB (23.88 GiB); the DXGI budget pair is 22,540 / 22,369 MB. They are never converted into each other. 4. **8,109 draws is my own reading, not a log line.** The three neighbouring samples are **8,098 / 8,154 / 8,188**; the body says "about 8.1k draws" and names the source. 5. **This machine has 32 GB of RAM and hits `limited_host_ram()`** (staging capped at 128 MB). Behaviour on a 64 GB machine may differ; I state only what happened here. 6. **No controlled experiments.** I have not run `VICTORY_REUPLOAD_WHEN_FULL=0`, `VICTORY_TEXTURE_ROOM_PERCENT=94` or `VICTORY_CARD_BUFFERS_MB=1536`. 7. **The same budget yielded a second, differently-timed reading.** In the frame-33064 second, the `at the last look` line reads in use **22,202 MB** while the `right after that change` line that follows reads **22,198 MB** (4 MB apart, two reading moments). This report uses the `at the last look` value, 22,202 MB, throughout. --- ## 9. Levers I have not tested (all **untested**; whether any is worth trying is your call) | Variable | Current value / default | Why it lines up with what the log shows | Status | |:---|:---|:---|:---| | `VICTORY_REUPLOAD_WHEN_FULL=0` | on by default (`draw.rs:783-786`) | corresponds directly to the 31,500 full-card updates and the 567,334 MB total upload | **untested** | | `VICTORY_TEXTURE_ROOM_PERCENT` | default 90, settable 50–97 (`resource.rs:1765-1772`) | the only direct knob for the 90% room line | **untested** | | `VICTORY_CARD_BUFFERS_MB` | `>=20 GiB` cards default to at most 8192 MiB (`shadow.rs:210-216`) | my baseline sets only `VICTORY_CARD_BUFFERS_MIN_KB=64` and leaves the cap alone | **untested** | | `VICTORY_TEXTURE_BUDGET_MB` | not set (`resource.rs:1680-1683`) | puts a hard byte cap on the host texture copies | **untested** | | `VICTORY_FILL_TITLE` | not set in this run | in an A/B of two other runs, the one with it showed what I saw as a white screen and the one without did not; they ran for different lengths (8m53s vs 18m) and both rendered normally — a weak coincidence, not a cause | **untested** | I am not claiming that any of these fixes the collapse. --- ## 10. Attachments - **On request, already sanitised and safe to paste**: the three sampling scripts (`fps/ms/draws`, `at the last look … MB`, `so_far=`) plus three excerpts — the 65 `the card has no room` lines, the 246 budget-change pairs, and the per-frame `fps/ms/draws`. None of the three contains a host path. - **The full log only after sanitising**: the raw log is about 18 MB and about 67k lines and carries host paths and the game directory, so it is not published as is; sha256 `E3614AE0F839C63E0ACB78CDAA518AA944CEFD62F464D6275D5DC2A1B9053015` is an integrity marker only. If you want it, say so and I will replace paths with `<cache>` / `<game>` / `<data>` first. - Every log line quoted here carries `<cache>` / `<game>` / `<data>` where a path was.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 14:32:05 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.