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
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?
Imported from fxceless/victory-fork. Originally posted by Drdg263 on 2026-11-24T21:24:00Z.
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.
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 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 #125Imported 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=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.
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-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.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_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.
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=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).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-tapindoes, and what it costs in pictureMachine. 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-tapinatfe0e108(build r35),cargo build --release --locked -p victory, 1 m 05 s,exit 0, and its own
scripts/play-tapin.ps1taken 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 per10 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-leafye62d4f32, 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.ps1went from 3 fps tothe thread that prepares and sends submissions panickedat 1 m 24;-Budgetthe 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.mdhas the byte accounting; this is the short version.VICTORY_XMEM_USED=titleXMemGetWorkingSetStatisticsand 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 itVICTORY_TEXTURE_PRESSURE_SKIP=2VICTORY_QUEUE_FRESH_FIRST=1,VICTORY_QUEUE_TURNS=1VICTORY_RESIDENCY_PRIORITY=1VICTORY_CARD_CEILING_PCT,VICTORY_POOL_GATEleft offVICTORY_WC_BAR=1VICTORY_POOL_SPARE_BLOCKS=4,VICTORY_POOL_COMPACT=1Two things that look like the fix and are not, on 8 GiB:
VICTORY_VIEW_REMAP(the NVIDIA 1 000 000-slot viewheap 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.
acceleration structure upstream never built, so every reflection ray misses. Glass comes out black and water
dark brown without help.
VICTORY_REFLECT_FALLBACK=1reclassifies traced texels as the title's own fallbacktexels 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=1adds 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.
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, reflectionsbounded 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.
memory side:
VICTORY_COMPARISON_FILTER_FIX=1is off in the launcher, and it "changes what some shadow andlight 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.
TEXTURE_PRESSURE_SKIPcopies without the top mips andregrowrefillsthem (32 a pass), so a texture goes soft then sharp;
TEXTURE_SUBSTITUTE_MS=250shows another object's texturefor 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=titlefirst (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_BARflicker fix. They are cheap, they areswitch-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.