Laptop (RTX 5060 8 GB, 8-core) findings: title watchdog quit, logging off the hot threads, ultraperformance in the launcher #1609
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1609"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by icdmkg2 on 2026-11-28T22:21:37Z.
Measured on an RTX 5060 Laptop GPU (8 GB) with a Ryzen 7 H 260 (8 cores, 16 threads), 31 GB RAM, Windows 11. It's a CPU-limited laptop: the submitting thread takes about 40–45 ms a frame and the card is 36–68 % busy. Series S, DLSS performance, release build. Every figure comes from the layer's own 5-second lines, read over 60 s of play after a 30 s settle, with the same save, started and driven by a script. Run-to-run noise is about ±1.5 fps, so the smaller changes were run as alternating A/B pairs.
What's in it
1. The title's watchdog is told to quit: no more "crash" at
+0x23cf683.That crash is the title's own 30 s watchdog writing
0x4D8BD421to address 0 (as found in #1428; #1221 has the same shape). On this laptop every run that ended there had first stood for 30 s with its frames stopped while loading into the world. The quit flag (bit 0 at+0x71b6340) is set at start, and only when the trap bytes are where they were found, so other title versions are left alone.VICTORY_TITLE_WATCHDOG=1keeps the watchdog. Trade-off: a real deadlock now freezes the game instead of ending it.2. Log lines are written by a thread of their own.
Each line used to be written to the console pipe on the thread that logged it, and
play-foxhound.ps1reads that pipe a line at a time. In one A/B pair: median frame time 52–57 ms with lines written in place, against 47–49 ms here, and frames over 50 ms per 5 s window 12–19 against 4–9. A full queue drops a line and says so.VICTORY_LOG_SYNC=1writes in place, as before.3.
VICTORY_SUBMIT_CORE_ALONE=1(opt-in): a physical core of its own forvictory-submiton one-CCD CPUs.#1093 only does this where a V-Cache half exists. This extends it to one-class SMT CPUs with 6 cores or more. It's off by default because here it was inside the noise (19.0 against 19.6 fps; 20.2–20.5 together with
VICTORY_WAIT_SPIN=500).4.
guard()'s clean check a word at a time (Blocks::allinstead ofrange().count()under the guards' lock), with a test against the old count over 40,000 random ranges. It gives the same answers; no gain was measurable on this machine.5.
play-foxhound.ps1 -Dlss ultraperformance.Two A/B pairs on the 8 GB card: frames over 50 ms per 5 s window 3.8–3.9 against 6.8–7.0 with
performance, and median fps 21.0 / 17.9 against 16.6 / 16.8. The picture is softer.Found along the way, not in this PR
e1f2eb6,VICTORY_LDS_LAST_RESORT=1doesn't change fps on this card, but it makes about 28% of the picture near-black (1.4% with it unset). Off by default is right. Details are in the #1435 thread.VICTORY_LIBRARY_STATIC_SAMPLERS=1looks safe now thatsamplers.rsprimes a fixed order. Pipelines compiled per start fell from 1,089 to 333. It shortens loading, but gameplay fps didn't change.sweep()runs on the submitting thread and takes 28–79 ms on an 8 GB card. Most of that isslot_evictwalking every texture and slot. Resting it after empty passes cut that to 2–5 ms but made frames worse in A/B (VRAM filled up), so it's not included. Freeing spare upload chunks on another thread was in the same A/B and is left out too.VICTORY_GUARD_HOT=100and=500: 15.7 and 8.6 fps, worse.VICTORY_WAIT_RESIDENT=0/=textures: no change.main, both within a minute of entering the world. None in about 8 runs of the older build. Not investigated yet.cargo clippy --no-deps -D warningsreports nothing in the changed files; the findings it does report are already onmain(victory-shaderlower.rs, victory-gpuhost.rs/resource.rs/ others). The newblocks_all_teststest and the existingcorestests pass.🤖 Generated with Claude Code