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
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#89
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Drdg263 on GitHub · 2026-11-24 21:24 UTC · original
Same-machine A/B comparison on
4e17478(fxceless/victory-gta6main) testingVICTORY_RELAY=2vs default (no relay) on an 8 GB NVIDIA GeForce RTX 5070 Laptop GPU.Setup
26200.7462) x64, 64 GB RAM (63.18 GiBusable), default Windows TDR (TdrDelayunset / 2 s)0x10DE:0x2D18,7,891 MBdedicated VRAM, 32-lane waves, driver621.24/32.0.16.2124), selected via Windows Graphics High Performance preference (hybrid laptop with unused AMD Radeon(TM) 610M iGPU)fxceless/victory-gta6mainat4e17478, Rust1.98.1,cargo build --release -p victory, Series X profile, title1.0.2.1VICTORY_RELAY=2):VICTORY_CACHE_DIR=<clean_dir>,VICTORY_TEXTURE_BUDGET_MB=4096,VICTORY_RELAY=2,target\release\victory.exe run "<game_dir>\<title_exe>" --executesame
VICTORY_CACHE_DIR(warm),VICTORY_TEXTURE_BUDGET_MB=4096,VICTORY_RELAYunset,target\release\victory.exe run "<game_dir>\<title_exe>" --executeA/B Results
VICTORY_RELAY=2)0device removals / crashes (0slow host submissions,0black frames)0device removals / crashes (10slow host submissions,0black frames)27.5–30.6 fps30.0 fps3.0 fps(342.4 ms/frame; min0.5, max5.4 fps/184.9 ms,174samples)1.8 fps(554.3 ms/frame; steady1.8–2.1 fps,~5,500–5,800draws/frame,55samples)VICTORY_RELAY)Shader & Pipeline Counts (identical across both runs)
4refused compute pipelines (0x80070057):02384a60fda6f2d0,369cbe906ea72764,2da4beb386509b77,2cc4c197ee29e2918–9untranslated 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=1next to check whether stage 1 keeps the ~2.5–3 fps speedup without missing the dependencies that drop character skin and overlap subtitles underVICTORY_RELAY=2.AI-assisted analysis and report.
@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 warmVICTORY_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>" --executeVICTORY_RELAY=1vs=2vs Default (same host,4e17478)0device removals (10slow submissions,0black frames)1.8 fps(554.3 ms/frame;55samples)VICTORY_RELAY=1(exact=false)0device removals (0slow submissions,0black frames)3.0 fps(333.2 ms/frame);116world samples, min0.7(1422.2 ms), max4.4 fps(228.5 ms), sustained4.1–4.3 fpsVICTORY_RELAY=2(exact=true)0device removals (0slow submissions,0black frames)3.0 fps(342.4 ms/frame;174samples, max5.4 fps)Key takeaways
VICTORY_RELAY=2(relay_exact()incrates/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=1delivers 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.VICTORY_RELAY=1(matching the default no-relay look):R <-> Bchannel swap or un-tonemapped HDR/atmosphere pass).5refused compute pipelines0x80070057,9untranslated shaders).AI-assisted analysis and report.
VICTORY_RELAY=2, no device loss #125@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=1on the same direct-queue build of4e17478+ 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 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-forkat9376fd6, release build, title1.0.2.1, launch through a test runner that forces the per-exe high-performance preference beforeStart-Process.Reference run (
f429, 300 s window, no env overrides).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_BUFFERSappears to be already on by default (shadow.rs:196), while the README describes it as off. A test with=1is therefore not a before/after;=0against 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 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_RELAYstage 2), so this issue now hits every launch that doesn't setVICTORY_RELAY=0explicitly.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
7b0f736and9376fd6to 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:7b0f736a803c87c96b4f2310c6eb9376fd6(relay default)9376fd6+VICTORY_RELAY=0So on this card the new default is about 25% slower per draw, and per this issue it also loses character skin. With
VICTORY_RELAY=0skin and clothing render normally. It might be worth defaulting the relay off again on NVIDIA, or at least namingVICTORY_RELAY=0in the README status table.AI-assisted (Claude Code); measured on my own copy.
@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=1also 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).