RTX 5070 Laptop (8 GB, default TDR) on 4e17478: 20 min stable, but VICTORY_RELAY=2 causes missing character skin and overlapping subtitles (clean without relay) #89

Open
opened 2026-11-24 21:24:00 +00:00 by Drdg263 · 6 comments
Drdg263 commented 2026-11-24 21:24:00 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by Drdg263 on 2026-11-24T21:24:00Z.


Same-machine A/B comparison on 4e17478 (fxceless/victory-gta6 main) testing VICTORY_RELAY=2 vs default (no relay) on an 8 GB NVIDIA GeForce RTX 5070 Laptop GPU.

Setup

  • OS: Windows 11 Pro 25H2 (build 26200.7462) x64, 64 GB RAM (63.18 GiB usable), default Windows TDR (TdrDelay unset / 2 s)
  • GPU (dGPU): NVIDIA GeForce RTX 5070 Laptop GPU (0x10DE:0x2D18, 7,891 MB dedicated VRAM, 32-lane waves, driver 621.24 / 32.0.16.2124), selected via Windows Graphics High Performance preference (hybrid laptop with unused AMD Radeon(TM) 610M iGPU)
  • Build: unmodified fxceless/victory-gta6 main at 4e17478, Rust 1.98.1, cargo build --release -p victory, Series X profile, title 1.0.2.1
  • Commands tested:
    • Run A (VICTORY_RELAY=2):
      VICTORY_CACHE_DIR=<clean_dir>, VICTORY_TEXTURE_BUDGET_MB=4096, VICTORY_RELAY=2, target\release\victory.exe run "<game_dir>\<title_exe>" --execute
    • Run B (default, no relay):
      same VICTORY_CACHE_DIR (warm), VICTORY_TEXTURE_BUDGET_MB=4096, VICTORY_RELAY unset, target\release\victory.exe run "<game_dir>\<title_exe>" --execute

A/B Results

Metric / Observation Run A (VICTORY_RELAY=2) Run B (default, no relay)
Duration & stability ~20 min, 0 device removals / crashes (0 slow host submissions, 0 black frames) ~6 min, 0 device removals / crashes (10 slow host submissions, 0 black frames)
Menu FPS 27.5–30.6 fps 30.0 fps
World FPS / frame time Median 3.0 fps (342.4 ms/frame; min 0.5, max 5.4 fps / 184.9 ms, 174 samples) Median 1.8 fps (554.3 ms/frame; steady 1.8–2.1 fps, ~5,500–5,800 draws/frame, 55 samples)
Opening cutscene & subtitles Flickering background; subtitles overlap each other and become unreadable Opening cutscene renders cleanly; subtitles do not overlap (audio runs ahead of video at ~2 fps)
Character rendering (cf. #15) Character skin missing (eyes and mouth visible without skin) Skin, clothing, and hair render properly under direct sunlight (shadowed areas dark without RT; sunlit areas overexposed/washed-out)
Startup animation (#39) Flashes and jumps back and forth Same flicker and back-and-forth jumps (independent of VICTORY_RELAY)
Other visual artifacts — Thick jagged edge artifacts periodically flashing for ~0.2–0.3 s at regular intervals

Shader & Pipeline Counts (identical across both runs)

  • 4 refused compute pipelines (0x80070057): 02384a60fda6f2d0, 369cbe906ea72764, 2da4beb386509b77, 2cc4c197ee29e291
  • 8–9 untranslated shaders:
    • pixel 7d0f14ce44746d7e, pixel 6b6db9f1a526daeb (a descriptor read only as data is not supported)
    • pixel 78f3f2fc53a69531, pixel 38bf0814e721a1b3 (the first half of an interpolation is not supported)
    • compute a929109552ce1e84 (v_permlanex16_b32 is not supported)
    • compute f133e35efed2a48a (a lane mask exchanged where not every lane runs is not supported)
    • compute 5dc3b25986622949, compute 6f225b641c5b0708 (v_cvt_f32_f64 is not supported)

Next step

Planning to test VICTORY_RELAY=1 next to check whether stage 1 keeps the ~2.5–3 fps speedup without missing the dependencies that drop character skin and overlap subtitles under VICTORY_RELAY=2.

AI-assisted analysis and report.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6591705282 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89). Originally posted by [Drdg263](https://github.com/Drdg263) on 2026-11-24T21:24:00Z. --- Same-machine A/B comparison on `4e17478` (`fxceless/victory-gta6` `main`) testing `VICTORY_RELAY=2` vs default (no relay) on an **8 GB NVIDIA GeForce RTX 5070 Laptop GPU**. ### Setup - **OS:** Windows 11 Pro 25H2 (build `26200.7462`) x64, 64 GB RAM (`63.18 GiB` usable), default Windows TDR (`TdrDelay` unset / 2 s) - **GPU (dGPU):** NVIDIA GeForce RTX 5070 Laptop GPU (`0x10DE:0x2D18`, `7,891 MB` dedicated VRAM, 32-lane waves, driver `621.24` / `32.0.16.2124`), selected via Windows Graphics High Performance preference (hybrid laptop with unused AMD Radeon(TM) 610M iGPU) - **Build:** unmodified `fxceless/victory-gta6` `main` at `4e17478`, Rust `1.98.1`, `cargo build --release -p victory`, Series X profile, title `1.0.2.1` - **Commands tested:** - **Run A (`VICTORY_RELAY=2`):** `VICTORY_CACHE_DIR=<clean_dir>`, `VICTORY_TEXTURE_BUDGET_MB=4096`, `VICTORY_RELAY=2`, `target\release\victory.exe run "<game_dir>\<title_exe>" --execute` - **Run B (default, no relay):** same `VICTORY_CACHE_DIR` (warm), `VICTORY_TEXTURE_BUDGET_MB=4096`, `VICTORY_RELAY` unset, `target\release\victory.exe run "<game_dir>\<title_exe>" --execute` ### A/B Results | Metric / Observation | Run A (`VICTORY_RELAY=2`) | Run B (default, no relay) | |---|---|---| | Duration & stability | **~20 min**, `0` device removals / crashes (`0` slow host submissions, `0` black frames) | **~6 min**, `0` device removals / crashes (`10` slow host submissions, `0` black frames) | | Menu FPS | `27.5–30.6 fps` | `30.0 fps` | | World FPS / frame time | Median **`3.0 fps`** (`342.4 ms/frame`; min `0.5`, max `5.4 fps` / `184.9 ms`, `174` samples) | Median **`1.8 fps`** (`554.3 ms/frame`; steady `1.8–2.1 fps`, `~5,500–5,800` draws/frame, `55` samples) | | Opening cutscene & subtitles | Flickering background; subtitles overlap each other and become unreadable | Opening cutscene renders cleanly; subtitles do not overlap (audio runs ahead of video at ~2 fps) | | Character rendering (cf. #15) | **Character skin missing** (eyes and mouth visible without skin) | **Skin, clothing, and hair render properly** under direct sunlight (shadowed areas dark without RT; sunlit areas overexposed/washed-out) | | Startup animation (#39) | Flashes and jumps back and forth | Same flicker and back-and-forth jumps (**independent of `VICTORY_RELAY`**) | | Other visual artifacts | — | Thick jagged edge artifacts periodically flashing for ~0.2–0.3 s at regular intervals | ### Shader & Pipeline Counts (identical across both runs) - **`4` refused compute pipelines (`0x80070057`):** `02384a60fda6f2d0`, `369cbe906ea72764`, `2da4beb386509b77`, `2cc4c197ee29e291` - **`8–9` untranslated shaders:** - `pixel 7d0f14ce44746d7e`, `pixel 6b6db9f1a526daeb` (`a descriptor read only as data is not supported`) - `pixel 78f3f2fc53a69531`, `pixel 38bf0814e721a1b3` (`the first half of an interpolation is not supported`) - `compute a929109552ce1e84` (`v_permlanex16_b32 is not supported`) - `compute f133e35efed2a48a` (`a lane mask exchanged where not every lane runs is not supported`) - `compute 5dc3b25986622949`, `compute 6f225b641c5b0708` (`v_cvt_f32_f64 is not supported`) ### Next step Planning to test `VICTORY_RELAY=1` next to check whether stage 1 keeps the ~2.5–3 fps speedup without missing the dependencies that drop character skin and overlap subtitles under `VICTORY_RELAY=2`. AI-assisted analysis and report.
Drdg263 commented 2026-11-24 22:07:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Drdg263 on 2026-11-24T21:39:22Z.


Follow-up test with VICTORY_RELAY=1 (exact=false) on the exact same machine, driver, build (4e17478), and warm VICTORY_CACHE_DIR:

Command tested:
VICTORY_CACHE_DIR=<warm_dir>, VICTORY_TEXTURE_BUDGET_MB=4096, VICTORY_RELAY=1, target\release\victory.exe run "<game_dir>\<title_exe>" --execute

VICTORY_RELAY=1 vs =2 vs Default (same host, 4e17478)

Mode Duration & stability World FPS / frame time Character & subtitle rendering
Default (no relay) ~6 min, 0 device removals (10 slow submissions, 0 black frames) Median 1.8 fps (554.3 ms/frame; 55 samples) Clean: skin/face lit properly, non-overlapping subtitles
VICTORY_RELAY=1 (exact=false) ~12 min, 0 device removals (0 slow submissions, 0 black frames) Median 3.0 fps (333.2 ms/frame); 116 world samples, min 0.7 (1422.2 ms), max 4.4 fps (228.5 ms), sustained 4.1–4.3 fps Clean: character face/skin colored properly, non-overlapping subtitles
VICTORY_RELAY=2 (exact=true) ~20 min, 0 device removals (0 slow submissions, 0 black frames) Median 3.0 fps (342.4 ms/frame; 174 samples, max 5.4 fps) Broken: character skin missing (eyes/mouth only), flickering background, overlapping subtitles

Key takeaways

  • This isolates the missing-skin and overlapping-subtitle regression specifically to VICTORY_RELAY=2 (relay_exact() in crates/victory-gpu/src/host.rs): its selective wait appears to skip a cross-submission memory dependency needed by character skinning/textures and UI/subtitle passes.
  • VICTORY_RELAY=1 delivers the full ~3.0 fps median (and 4.1–4.3 fps sustained later in the run) with 0 crashes and 0 slow submissions while keeping character rendering and subtitles intact.
  • Two remaining visual observations also present in VICTORY_RELAY=1 (matching the default no-relay look):
    • Hair appears pale/silvery.
    • The sun disc renders blue (possibly an R <-> B channel swap or un-tonemapped HDR/atmosphere pass).
  • Refusal/translation counts remained essentially unchanged (5 refused compute pipelines 0x80070057, 9 untranslated shaders).

AI-assisted analysis and report.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7145216491 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7145216491). Originally posted by [Drdg263](https://github.com/Drdg263) on 2026-11-24T21:39:22Z. --- Follow-up test with **`VICTORY_RELAY=1`** (`exact=false`) on the exact same machine, driver, build (`4e17478`), and warm `VICTORY_CACHE_DIR`: **Command tested:** `VICTORY_CACHE_DIR=<warm_dir>`, `VICTORY_TEXTURE_BUDGET_MB=4096`, `VICTORY_RELAY=1`, `target\release\victory.exe run "<game_dir>\<title_exe>" --execute` ### `VICTORY_RELAY=1` vs `=2` vs Default (same host, `4e17478`) | Mode | Duration & stability | World FPS / frame time | Character & subtitle rendering | |---|---|---|---| | Default (no relay) | ~6 min, `0` device removals (`10` slow submissions, `0` black frames) | Median `1.8 fps` (`554.3 ms/frame`; `55` samples) | **Clean:** skin/face lit properly, non-overlapping subtitles | | **`VICTORY_RELAY=1` (`exact=false`)** | **~12 min**, `0` device removals (`0` slow submissions, `0` black frames) | **Median `3.0 fps` (`333.2 ms/frame`)**; `116` world samples, min `0.7` (`1422.2 ms`), max **`4.4 fps` (`228.5 ms`)**, sustained **`4.1–4.3 fps`** | **Clean:** character face/skin colored properly, non-overlapping subtitles | | `VICTORY_RELAY=2` (`exact=true`) | ~20 min, `0` device removals (`0` slow submissions, `0` black frames) | Median `3.0 fps` (`342.4 ms/frame`; `174` samples, max `5.4 fps`) | **Broken:** character skin missing (eyes/mouth only), flickering background, overlapping subtitles | ### Key takeaways - This isolates the missing-skin and overlapping-subtitle regression specifically to **`VICTORY_RELAY=2`** (`relay_exact()` in `crates/victory-gpu/src/host.rs`): its selective wait appears to skip a cross-submission memory dependency needed by character skinning/textures and UI/subtitle passes. - **`VICTORY_RELAY=1`** delivers the full **~3.0 fps** median (and **4.1–4.3 fps** sustained later in the run) with **0 crashes** and **0 slow submissions** while keeping character rendering and subtitles intact. - Two remaining visual observations also present in `VICTORY_RELAY=1` (matching the default no-relay look): - Hair appears pale/silvery. - The sun disc renders **blue** (possibly an `R <-> B` channel swap or un-tonemapped HDR/atmosphere pass). - Refusal/translation counts remained essentially unchanged (`5` refused compute pipelines `0x80070057`, `9` untranslated shaders). AI-assisted analysis and report.
ryotdev commented 2026-11-24 23:09:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by ryotdev on 2026-11-24T22:34:29Z.


RTX 5070 desktop (12 GB), driver 610.88, Ryzen 7 7800X3D, Windows. I compared relay disabled with VICTORY_RELAY=1 on the same direct-queue build of 4e17478 + the one-file patch from #63. The baseline already had late-wait stage 3, wide back, 1 MiB minimum and 1024 MiB card-buffer budget. Both used a fresh copy of the same checkpoint, the same initial native pipeline cache, and the same input sequence. One run each.

Between +300 and +500 frames after the first 500-draw frame, the same 200 frames took 48.75 s off vs 43.89 s on (4.10 vs 4.56 FPS). Median eight-frame intervals were 241.7 vs 216.8 ms/frame. In comparable reporting windows the game submitted around 4,970 draws/frame with no pipelines compiling. GPU-queue idle time attributed to the submitter fell from 63.6 to 42.3 ms/frame.

Visual result in my checkpoint: the character and hair were still present in both. At +200, +300 and +500 the near fence and yard detail were visible with relay off. The stage-1 screenshots showed a washed-out yard with no distinct fence grid, plus patchy areas on the character’s back. The camera faced the same window. One run per state is insufficient to isolate the cause; I’m keeping relay disabled on this machine for play. This is a different scene and GPU from the laptop A/B above. AI-assisted test; figures only.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7146393389 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7146393389). Originally posted by [ryotdev](https://github.com/ryotdev) on 2026-11-24T22:34:29Z. --- RTX 5070 desktop (12 GB), driver 610.88, Ryzen 7 7800X3D, Windows. I compared relay disabled with `VICTORY_RELAY=1` on the same direct-queue build of 4e17478 + the one-file patch from #63. The baseline already had late-wait stage 3, wide back, 1 MiB minimum and 1024 MiB card-buffer budget. Both used a fresh copy of the same checkpoint, the same initial native pipeline cache, and the same input sequence. One run each. Between +300 and +500 frames after the first 500-draw frame, the same 200 frames took **48.75 s off vs 43.89 s on** (4.10 vs 4.56 FPS). Median eight-frame intervals were 241.7 vs 216.8 ms/frame. In comparable reporting windows the game submitted around 4,970 draws/frame with no pipelines compiling. GPU-queue idle time attributed to the submitter fell from 63.6 to 42.3 ms/frame. Visual result in my checkpoint: the character and hair were still present in both. At +200, +300 and +500 the near fence and yard detail were visible with relay off. The stage-1 screenshots showed a washed-out yard with no distinct fence grid, plus patchy areas on the character’s back. The camera faced the same window. One run per state is insufficient to isolate the cause; I’m keeping relay disabled on this machine for play. This is a different scene and GPU from the laptop A/B above. AI-assisted test; figures only.
Logan-Gaillard commented 2026-11-25 11:10:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Logan-Gaillard on 2026-11-25T10:13:51Z.


Same GPU model here, different machine and a newer commit — one more data point, plus a correction that cost us a day.

Setup. Hybrid laptop, RTX 5070 Laptop 8 GB (32-lane) + Intel iGPU, 23.4 GB RAM, Windows, default TdrDelay (unset). fxceless/victory-fork at 9376fd6, release build, title 1.0.2.1, launch through a test runner that forces the per-exe high-performance preference before Start-Process.

Reference run (f429, 300 s window, no env overrides).

  • held the full 300 s, passed frame 1690 (last seen 3070) — the point where an earlier build in the same code base died;
  • 754 → 6236 draws/frame, 0.5–2.7 fps, 380–560 ms/frame once the world was drawing;
  • 12 898 MB max working set on 23.4 GB RAM, no 0x8007000E, no device loss.

The correction. An earlier 0x8007000E (a host command list did not close) in the same build was not on the dGPU. That log has wave lanes 8–32, a 12 912/11 725 MB card budget and 0 MB shared memory: the exe had no preference key and was created on the iGPU, where the "card budget" is Windows RAM. If you ever compare two runs on a hybrid machine, log the adapter and the wave-lane width — otherwise a memory result can be an adapter result.

Small find while A/B-ing. VICTORY_CARD_ROOM_FOR_BUFFERS appears to be already on by default (shadow.rs:196), while the README describes it as off. A test with =1 is therefore not a before/after; =0 against the reference is.

Next: a 600 s run on the dGPU, then CARD_ROOM_FOR_BUFFERS=0, then the name of the allocation that breaks before touching the policy. Credit for the memory side: @1mlesc.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7159409943 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7159409943). Originally posted by [Logan-Gaillard](https://github.com/Logan-Gaillard) on 2026-11-25T10:13:51Z. --- Same GPU model here, different machine and a newer commit — one more data point, plus a correction that cost us a day. **Setup.** Hybrid laptop, RTX 5070 Laptop 8 GB (32-lane) + Intel iGPU, 23.4 GB RAM, Windows, default `TdrDelay` (unset). `fxceless/victory-fork` at `9376fd6`, release build, title `1.0.2.1`, launch through a test runner that forces the per-exe high-performance preference before `Start-Process`. **Reference run (`f429`, 300 s window, no env overrides).** - held the full 300 s, passed frame 1690 (last seen 3070) — the point where an earlier build in the same code base died; - 754 → 6236 draws/frame, 0.5–2.7 fps, 380–560 ms/frame once the world was drawing; - 12 898 MB max working set on 23.4 GB RAM, no `0x8007000E`, no device loss. **The correction.** An earlier `0x8007000E` (`a host command list did not close`) in the same build was **not** on the dGPU. That log has wave lanes 8–32, a 12 912/11 725 MB card budget and 0 MB shared memory: the exe had no preference key and was created on the **iGPU**, where the "card budget" is Windows RAM. If you ever compare two runs on a hybrid machine, log the adapter and the wave-lane width — otherwise a memory result can be an adapter result. **Small find while A/B-ing.** `VICTORY_CARD_ROOM_FOR_BUFFERS` appears to be already on by default (`shadow.rs:196`), while the README describes it as off. A test with `=1` is therefore not a before/after; `=0` against the reference is. Next: a 600 s run on the dGPU, then `CARD_ROOM_FOR_BUFFERS=0`, then the name of the allocation that breaks before touching the policy. Credit for the memory side: @1mlesc.
Daolyap commented 2026-11-25 14:10:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Daolyap on 2026-11-25T13:39:27Z.


Since c96b4f2 ("The depth bounds test works (#82); faster defaults; ...") the relay is on by default (VICTORY_RELAY stage 2), so this issue now hits every launch that doesn't set VICTORY_RELAY=0 explicitly.

I bisected a copy-back slowdown on an RTX 3070 8 GB (driver 32.0.16.1692, Ryzen 5 5600X, 32 GB, Windows 11) between 7b0f736 and 9376fd6 to that commit. Same settings each run (VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024), medians over the last 150-240 s in the prologue:

build copy-back / frame ms per 1,000 draws
7b0f736 44 ms 66
a803c87 32 ms 54
c96b4f2 304 ms 77
310c6eb 337 ms 83
9376fd6 (relay default) 192 ms 74
9376fd6 + VICTORY_RELAY=0 91 ms 55

So on this card the new default is about 25% slower per draw, and per this issue it also loses character skin. With VICTORY_RELAY=0 skin and clothing render normally. It might be worth defaulting the relay off again on NVIDIA, or at least naming VICTORY_RELAY=0 in the README status table.

AI-assisted (Claude Code); measured on my own copy.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7164097373 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7164097373). Originally posted by [Daolyap](https://github.com/Daolyap) on 2026-11-25T13:39:27Z. --- Since **c96b4f2** ("The depth bounds test works (#82); faster defaults; ...") the relay is **on by default** (`VICTORY_RELAY` stage 2), so this issue now hits every launch that doesn't set `VICTORY_RELAY=0` explicitly. I bisected a copy-back slowdown on an RTX 3070 8 GB (driver 32.0.16.1692, Ryzen 5 5600X, 32 GB, Windows 11) between 7b0f736 and 9376fd6 to that commit. Same settings each run (`VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024`), medians over the last 150-240 s in the prologue: | build | copy-back / frame | ms per 1,000 draws | |---|---|---| | 7b0f736 | 44 ms | 66 | | a803c87 | 32 ms | 54 | | c96b4f2 | 304 ms | 77 | | 310c6eb | 337 ms | 83 | | 9376fd6 (relay default) | 192 ms | 74 | | 9376fd6 + `VICTORY_RELAY=0` | 91 ms | 55 | So on this card the new default is about 25% slower per draw, and per this issue it also loses character skin. With `VICTORY_RELAY=0` skin and clothing render normally. It might be worth defaulting the relay off again on NVIDIA, or at least naming `VICTORY_RELAY=0` in the README status table. AI-assisted (Claude Code); measured on my own copy.
Ahmet-Dedeler commented 2026-11-25 19:09:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Ahmet-Dedeler on 2026-11-25T18:46:30Z.


One more platform, in case it helps rule out the driver: macOS, CrossOver 26.3 with D3DMetal 4.0b3 on an M5 Max (so no NVIDIA or AMD driver involved), tree based on fxceless 0b0074e.

With the relay at stage 2 the opening cutscene draws characters' faces black with only the eyes showing, and skin comes out flat cream. Same build and switches with VICTORY_RELAY=0: normal skin in the same shots. VICTORY_RELAY=1 also draws skin correctly here, so on this host it's only stage 2 that loses it. Checked over 8 runs (one at stage 2, seven with the relay off or at 1).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7171380514 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7171380514). Originally posted by [Ahmet-Dedeler](https://github.com/Ahmet-Dedeler) on 2026-11-25T18:46:30Z. --- One more platform, in case it helps rule out the driver: macOS, CrossOver 26.3 with D3DMetal 4.0b3 on an M5 Max (so no NVIDIA or AMD driver involved), tree based on fxceless `0b0074e`. With the relay at stage 2 the opening cutscene draws characters' faces black with only the eyes showing, and skin comes out flat cream. Same build and switches with `VICTORY_RELAY=0`: normal skin in the same shots. `VICTORY_RELAY=1` also draws skin correctly here, so on this host it's only stage 2 that loses it. Checked over 8 runs (one at stage 2, seven with the relay off or at 1).
Logan-Gaillard commented 2026-11-29 13:43:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Logan-Gaillard on 2026-11-29T13:43:54Z.


Same laptop as the report above (RTX 5070 Laptop, 8 GiB): this is what an 8 GiB card can actually do today, from the fork that is tuned for one, and which of the 8 GiB changes are worth taking.

8 GiB of VRAM, measured end to end: what crbns/victory-tapin does, and what it costs in picture

Machine. RTX 5070 Laptop (8 151 MiB reported, 7 467 958 272 B of budget), driver 621.40, 2560x1600 panel,
Windows 11, game window 1920x1080, the layer's Series S profile (the title renders 1280x720 inside). One PC only,
like the fork's own README says.

Build. crbns/victory-tapin at fe0e108 (build r35), cargo build --release --locked -p victory, 1 m 05 s,
exit 0, and its own scripts/play-tapin.ps1 taken as-is (145 switches). No DLSS, no FSR, no warm-up step.

The headline number. Free roam at 1080p, frame rate read from the title's own HUD line every 10 s:
7, 12, 14, 22, 17, 16, 14, 10, 14, 15, 15, 16, 17, 11, 19, 20, 20, 13 fps — median 15.5 fps, min 7, max 22.
A second session with the picture tweaks below: 21 samples, median 11 fps (5 to 23), 17 minutes, no panic,
no device removal. Card use from the stats box on this card: 6 670 MB of a 7 122 MB budget, 4 532 MB shared,
3 994 draws a frame, 20 fps at 50.6 ms (Americas | VIctory 20 fps 50.6 ms/frame 3994 draws/frame).

Audio holds at that frame rate. Ten-second telemetry, same sessions: xma_rings_ran_dry=0,
xma_late_passes=0, coprocessor_messages_dropped=0, opus_slow=0; the DSP does 1.17 to 2.35 s of work per
10 s (18 to 25 % of one core) with 1 to 33 blocks at 2 ms or more. Listening: no lag, no crackle.

The same laptop on the November 29 upstream tip, for contrast. 101Leafy/victory-leafy e62d4f32, release,
warmed with victory warm --used --jobs 24: 0.5 to 2 s a frame (474, 522, 620, 824, 939, 979, 986, 1 092,
1 191, 1 326, 1 630, 3 013 ms), 720p gave nothing back, and the tree's own play.ps1 went from 3 fps to
the thread that prepares and sends submissions panicked at 1 m 24; -Budget the same at about 2 minutes.
So the difference is not a setting: it is the fork.

What makes 8 GiB work

None of this invents memory; it changes what the layer decides to put on the card, and it is all behind
switches, off by default. The fork's docs/tapin-memory.md has the byte accounting; this is the short version.

What Switch Why it is the one that matters
The title is told its own memory use, not the whole process's VICTORY_XMEM_USED=title The title asks XMemGetWorkingSetStatistics and was told 9 031 MB against a 7 776 MB limit, so it streamed as if it had room it did not have. Same build, A/B: 7 452 MB median and 155 of 272 world seconds over budget without it, 6 629 MB and 0 of 292 s with it
A smaller copy instead of a held slot when the card is full VICTORY_TEXTURE_PRESSURE_SKIP=2 One or two largest levels dropped (a quarter to a sixteenth of the bytes), shown at once: the right texture, a little soft, instead of another object's texture or grey. Made whole again 32 a pass when room returns
New textures first, and in turns with re-checks VICTORY_QUEUE_FRESH_FIRST=1, VICTORY_QUEUE_TURNS=1 The queue used to serve thousands of "looked at before" slots ahead of what is on screen
Targets and card buffers are high priority VICTORY_RESIDENCY_PRIORITY=1 When Windows pushes something out on an overshoot, it pushes filled textures, not the targets every frame needs
No hard ceiling, no pool gate VICTORY_CARD_CEILING_PCT, VICTORY_POOL_GATE left off Both look like savers and both starve textures: 36 "no room, new textures wait" stretches against 2 with the ceiling at 95 %, texture rate 8.9 to 5.6 MB a frame with the gate
Resizable BAR buffers, small shader-written ones keeping two sides VICTORY_WC_BAR=1 Removes the second system-memory copy of title buffers; the two-sided part is what stopped the ground flickering
Blocks compacted and returned, 4 spare VICTORY_POOL_SPARE_BLOCKS=4, VICTORY_POOL_COMPACT=1 Killed the long-session drift: over budget 1 260 of 1 304 s without the drain, 191 of 1 916 s with it, 0 of 262 s with compaction

Two things that look like the fix and are not, on 8 GiB: VICTORY_VIEW_REMAP (the NVIDIA 1 000 000-slot view
heap cap; correct in its self-check, but 9.3 fps against 15.4 at matched draws when it was on) and
VICTORY_CARD_BUFFERS_MIN_KB (refused outright under a 10 GiB budget).

What the picture costs, and where each defect comes from

This is the part that matters to a player, and it is not a tuning problem.

  1. No reflections in water or glass, and no bounce light. The layer does not build the ray-tracing
    acceleration structure upstream never built, so every reflection ray misses. Glass comes out black and water
    dark brown without help. VICTORY_REFLECT_FALLBACK=1 reclassifies traced texels as the title's own fallback
    texels right before its fallback program, so they are lit from the title's sky and reflection probes: you get
    the sky's colour in the water, not the boat, the shore or the other character. VICTORY_AMBIENT_SPECULAR=1
    adds a screen-space estimate along the reflected direction, and the screen-space resolve overwrites it with
    whatever it found on screen. Nothing on the PC side can put the boat back in the water yet — that needs the
    structure (or a real SSR replacement), not a switch.
  2. Lighting is an estimate, so it drifts from the console. VICTORY_AMBIENT=0.8, AMBIENT_AIR=1.5,
    AMBIENT_LAMPS=6, AMBIENT_SKY_FILL=0.5, AMBIENT_ROOM=1, AMBIENT_INDOOR=0.2,
    AMBIENT_SPECULAR_BOUND=10: lamps capped relative to the frame, shade filled from the sky, reflections
    bounded to 10x the screen's average light. That is why lights read "too bright" and colours "too intense" in
    some scenes and flat in others. Lowering the bound (I tried 4) removes the last highlights rather than fixing
    them — it is a clamp, not a light.
  3. Materials flashing between shadowed and unshadowed. The likeliest cause is on the translator side, not the
    memory side: VICTORY_COMPARISON_FILTER_FIX=1 is off in the launcher, and it "changes what some shadow and
    light lookups return; unconfirmed in game". Comparison (PCF/shadow) samplers reduce their samples to one bit;
    if the reduction bits of the immediate sampler are kept for those instructions, the same comparison can come
    back the other way from one draw to the next, which reads exactly as a surface losing and regaining its shadow.
    Hypothesis, not measured. It is the first thing to try, and it costs nothing to turn on.
  4. Textures and materials popping. TEXTURE_PRESSURE_SKIP copies without the top mips and regrow refills
    them (32 a pass), so a texture goes soft then sharp; TEXTURE_SUBSTITUTE_MS=250 shows another object's texture
    for up to a quarter of a second by design. Setting it to 0 and the skip to 1 removes the borrowed texture and
    softens the pop, at a cost of frames.

What I would take from this fork, in order

VICTORY_XMEM_USED=title first (it is the one with an A/B behind it), then pressure skip plus the queue order,
then residency priority, then pool compaction, then the two-sided WC_BAR flicker fix. They are cheap, they are
switch-guarded, and none of them changes what the game is trying to draw — the softness is the only quality
they spend. The five above are what took this laptop from "device removed during world load" to 15.5 fps median
for 17 minutes with sound.

What this does not say. One GPU, one driver, one dump, free roam only (no mission replayed here), frame rates
from HUD samples every 10 s rather than a per-frame CSV, and two sessions with different scenes — so the 15.5 and
11 fps medians are not a like-for-like A/B of the two switch sets. The shadow hypothesis is read from the code and
has not been tested in game. Long-session memory behaviour past ~20 minutes is the fork author's measurement
on a 3070, not mine.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7256758672 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7256758672). Originally posted by [Logan-Gaillard](https://github.com/Logan-Gaillard) on 2026-11-29T13:43:54Z. --- Same laptop as the report above (RTX 5070 Laptop, 8 GiB): this is what an 8 GiB card can actually do today, from the fork that is tuned for one, and which of the 8 GiB changes are worth taking. ## 8 GiB of VRAM, measured end to end: what `crbns/victory-tapin` does, and what it costs in picture **Machine.** RTX 5070 Laptop (8 151 MiB reported, 7 467 958 272 B of budget), driver 621.40, 2560x1600 panel, Windows 11, game window 1920x1080, the layer's Series S profile (the title renders 1280x720 inside). One PC only, like the fork's own README says. **Build.** `crbns/victory-tapin` at `fe0e108` (build r35), `cargo build --release --locked -p victory`, 1 m 05 s, exit 0, and its own `scripts/play-tapin.ps1` taken as-is (145 switches). No DLSS, no FSR, no warm-up step. **The headline number.** Free roam at 1080p, frame rate read from the title's own HUD line every 10 s: 7, 12, 14, 22, 17, 16, 14, 10, 14, 15, 15, 16, 17, 11, 19, 20, 20, 13 fps — **median 15.5 fps**, min 7, max 22. A second session with the picture tweaks below: 21 samples, **median 11 fps** (5 to 23), 17 minutes, no panic, no device removal. Card use from the stats box on this card: **6 670 MB of a 7 122 MB budget**, 4 532 MB shared, 3 994 draws a frame, 20 fps at 50.6 ms (`Americas | VIctory 20 fps 50.6 ms/frame 3994 draws/frame`). **Audio holds at that frame rate.** Ten-second telemetry, same sessions: `xma_rings_ran_dry=0`, `xma_late_passes=0`, `coprocessor_messages_dropped=0`, `opus_slow=0`; the DSP does 1.17 to 2.35 s of work per 10 s (18 to 25 % of one core) with 1 to 33 blocks at 2 ms or more. Listening: no lag, no crackle. **The same laptop on the November 29 upstream tip, for contrast.** `101Leafy/victory-leafy` `e62d4f32`, release, warmed with `victory warm --used --jobs 24`: **0.5 to 2 s a frame** (474, 522, 620, 824, 939, 979, 986, 1 092, 1 191, 1 326, 1 630, 3 013 ms), 720p gave nothing back, and the tree's own `play.ps1` went from 3 fps to `the thread that prepares and sends submissions panicked` at 1 m 24; `-Budget` the same at about 2 minutes. So the difference is not a setting: it is the fork. ### What makes 8 GiB work None of this invents memory; it changes *what the layer decides to put on the card*, and it is all behind switches, off by default. The fork's `docs/tapin-memory.md` has the byte accounting; this is the short version. | What | Switch | Why it is the one that matters | |---|---|---| | The title is told its **own** memory use, not the whole process's | `VICTORY_XMEM_USED=title` | The title asks `XMemGetWorkingSetStatistics` and was told 9 031 MB against a 7 776 MB limit, so it streamed as if it had room it did not have. Same build, A/B: 7 452 MB median and 155 of 272 world seconds over budget without it, 6 629 MB and 0 of 292 s with it | | A **smaller copy** instead of a held slot when the card is full | `VICTORY_TEXTURE_PRESSURE_SKIP=2` | One or two largest levels dropped (a quarter to a sixteenth of the bytes), shown at once: the right texture, a little soft, instead of another object's texture or grey. Made whole again 32 a pass when room returns | | New textures first, and in turns with re-checks | `VICTORY_QUEUE_FRESH_FIRST=1`, `VICTORY_QUEUE_TURNS=1` | The queue used to serve thousands of "looked at before" slots ahead of what is on screen | | Targets and card buffers are **high priority** | `VICTORY_RESIDENCY_PRIORITY=1` | When Windows pushes something out on an overshoot, it pushes filled textures, not the targets every frame needs | | **No** hard ceiling, **no** pool gate | `VICTORY_CARD_CEILING_PCT`, `VICTORY_POOL_GATE` left off | Both look like savers and both starve textures: 36 "no room, new textures wait" stretches against 2 with the ceiling at 95 %, texture rate 8.9 to 5.6 MB a frame with the gate | | Resizable BAR buffers, small shader-written ones keeping two sides | `VICTORY_WC_BAR=1` | Removes the second system-memory copy of title buffers; the two-sided part is what stopped the ground flickering | | Blocks compacted and returned, 4 spare | `VICTORY_POOL_SPARE_BLOCKS=4`, `VICTORY_POOL_COMPACT=1` | Killed the long-session drift: over budget 1 260 of 1 304 s without the drain, 191 of 1 916 s with it, 0 of 262 s with compaction | Two things that look like the fix and are not, on 8 GiB: `VICTORY_VIEW_REMAP` (the NVIDIA 1 000 000-slot view heap cap; correct in its self-check, but 9.3 fps against 15.4 at matched draws when it was on) and `VICTORY_CARD_BUFFERS_MIN_KB` (refused outright under a 10 GiB budget). ### What the picture costs, and where each defect comes from This is the part that matters to a player, and it is not a tuning problem. 1. **No reflections in water or glass, and no bounce light.** The layer does not build the ray-tracing acceleration structure upstream never built, so *every* reflection ray misses. Glass comes out black and water dark brown without help. `VICTORY_REFLECT_FALLBACK=1` reclassifies traced texels as the title's own fallback texels right before its fallback program, so they are lit from the title's sky and reflection probes: you get the sky's colour in the water, not the boat, the shore or the other character. `VICTORY_AMBIENT_SPECULAR=1` adds a screen-space estimate along the reflected direction, and the screen-space resolve overwrites it with whatever it found on screen. **Nothing on the PC side can put the boat back in the water yet** — that needs the structure (or a real SSR replacement), not a switch. 2. **Lighting is an estimate, so it drifts from the console.** `VICTORY_AMBIENT=0.8`, `AMBIENT_AIR=1.5`, `AMBIENT_LAMPS=6`, `AMBIENT_SKY_FILL=0.5`, `AMBIENT_ROOM=1`, `AMBIENT_INDOOR=0.2`, `AMBIENT_SPECULAR_BOUND=10`: lamps capped relative to the frame, shade filled from the sky, reflections bounded to 10x the screen's average light. That is why lights read "too bright" and colours "too intense" in some scenes and flat in others. Lowering the bound (I tried 4) removes the last highlights rather than fixing them — it is a clamp, not a light. 3. **Materials flashing between shadowed and unshadowed.** The likeliest cause is on the translator side, not the memory side: `VICTORY_COMPARISON_FILTER_FIX=1` is **off** in the launcher, and it "changes what some shadow and light lookups return; unconfirmed in game". Comparison (PCF/shadow) samplers reduce their samples to one bit; if the reduction bits of the immediate sampler are kept for those instructions, the same comparison can come back the other way from one draw to the next, which reads exactly as a surface losing and regaining its shadow. **Hypothesis, not measured.** It is the first thing to try, and it costs nothing to turn on. 4. **Textures and materials popping.** `TEXTURE_PRESSURE_SKIP` copies without the top mips and `regrow` refills them (32 a pass), so a texture goes soft then sharp; `TEXTURE_SUBSTITUTE_MS=250` shows another object's texture for up to a quarter of a second by design. Setting it to 0 and the skip to 1 removes the borrowed texture and softens the pop, at a cost of frames. ### What I would take from this fork, in order `VICTORY_XMEM_USED=title` first (it is the one with an A/B behind it), then pressure skip plus the queue order, then residency priority, then pool compaction, then the two-sided `WC_BAR` flicker fix. They are cheap, they are switch-guarded, and none of them changes what the game is trying to draw — the softness is the only quality they spend. The five above are what took this laptop from "device removed during world load" to 15.5 fps median for 17 minutes with sound. **What this does not say.** One GPU, one driver, one dump, free roam only (no mission replayed here), frame rates from HUD samples every 10 s rather than a per-frame CSV, and two sessions with different scenes — so the 15.5 and 11 fps medians are not a like-for-like A/B of the two switch sets. The shadow hypothesis is read from the code and has **not** been tested in game. Long-session memory behaviour past ~20 minutes is the fork author's measurement on a 3070, not mine.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork#89
No description provided.