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-26 03:35:59 +00:00 by github-bot · 5 comments
Owner

@⁠Drdg263 on GitHub · 2026-11-24 21:24 UTC · original

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** on GitHub · 2026-11-24 21:24 UTC · [original](https://github.com/fxceless/victory-fork/issues/89) 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:35:59 +00:00
Author
Owner

@⁠Drdg263 on GitHub · 2026-11-24 21:39 UTC · original

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.

**@⁠Drdg263** on GitHub · 2026-11-24 21:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7145216491) 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.
Author
Owner

@⁠ryotdev on GitHub · 2026-11-24 22:34 UTC · original

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.

**@⁠ryotdev** on GitHub · 2026-11-24 22:34 UTC · [original](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7146393389) 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.
Author
Owner

@⁠Logan-Gaillard on GitHub · 2026-11-25 10:13 UTC · original

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.

**@⁠Logan-Gaillard** on GitHub · 2026-11-25 10:13 UTC · [original](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7159409943) 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.
Author
Owner

@⁠Daolyap on GitHub · 2026-11-25 13:39 UTC · original

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.

**@⁠Daolyap** on GitHub · 2026-11-25 13:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7164097373) 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.
Author
Owner

@⁠Ahmet-Dedeler on GitHub · 2026-11-25 18:46 UTC · original

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).

**@⁠Ahmet-Dedeler** on GitHub · 2026-11-25 18:46 UTC · [original](https://github.com/fxceless/victory-fork/issues/89#issuecomment-7171380514) 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).
This discussion has been locked. Commenting is limited to contributors.
No description provided.