8 GB NVIDIA laptop data: VICTORY_MEMORY_CARD_MB=2048 was worth ~6x, plus a possible VRAM creep #3505

Open
opened 2026-11-27 11:20:35 +00:00 by github-bot · 13 comments
Owner

@⁠YUYING234 on GitHub · 2026-11-27 11:16 UTC · original

Measured on an 8 GB NVIDIA laptop (RTX 4060 Laptop, 8188 MiB; D3D12 budget reported 6489-6569 MB), i9-14900HX, 32 GB DDR5, Windows 11 build 26300, driver 621.01, hybrid graphics. Public fork edsuuu/VI-BR-PORT, built from source (MSVC 14.44 + rust 1.98.1, ~45 s). No game files included or linked.

Posting here because two of the findings look layer-level rather than fork-level, and this is where most people will look.

Results (Series S profile, 1080p)

  • Menus 30 fps (title cap), cell 17-24, walking 12-17, heavy 8.5k-draw street 9-12
  • 6 min 11 s session, 47 samples: median 12 fps, GPU median 85 %, 62-64 C, no throttling
  • Frame rate is nearly independent of draw count here (3k draws -> 13 fps, 8.5k -> 12 fps): the cost is per-frame fixed overhead, not scene scale

Two switches that mattered

Change Before After
VICTORY_MEMORY_CARD_MB=1024 -> 2048 1-3 fps (GPU only 3-25 % busy, frames 300-1200 ms) 13-17 fps (GPU 85 %)
VICTORY_HEAP_RECHECK=0 prepare 44 ms/frame, copies 12 ms / 70 MB prepare 29 ms, copies 10 ms / 55 MB

The first one is worth ~6x on this card: at 1024 the GPU sits idle most of the frame, waiting for memory. The second changes no frame rate while the GPU is the limit, but removes about a third of the host-side work, so it should matter as the GPU side improves. No visual difference; the "texture picked by index changed after its upload" warnings drop to zero.

Negative results (so nobody repeats them)

  • 720p output instead of 1080p: 13-17 -> 13-14 fps. Not pixel-bound.
  • VICTORY_ASYNC_SUBMIT=1: 13-17 -> 7-12 fps on this 32 GB laptop, i.e. worse (it is reported as +1.4 fps on a 64 GB desktop, so it looks memory/thread-count dependent).
  • Half render scale and FSR: no change, same reason as 720p.

Something that may be a real leak

VRAM goes 7342 -> 7921 MiB in 6 minutes (96 % of 8192). At the ceiling the frame rate collapses to 3-4 fps and textures blur; restarting the title resets it. If this reproduces for others on 8 GB, a note about session length would save people some confusion.

Shaders that still fail to translate (dropped draws)

002e93a6cc2aa355, 0e64f14fae060d04, dbdbf36298727135, 96ccb14ef981fd85 (a lane-read VGPR written without a dword value); 77360df21e12ea43, 9fc111d3be79364f, 39321a95223001ed (a first-lane read where not every lane); 07c93bfb77fecebb (a descriptor read only as data). Plus 7 compute pipelines refused by the driver with E_INVALIDARG (0x80070057).

Full configuration and the A/B tables: edsuuu/VI-BR-PORT PR #7 (docs/benchmarks-4060-laptop-8gb.md). Tracker entry: 4lwayz/portwatch-vi issue #251.

**@⁠YUYING234** on GitHub · 2026-11-27 11:16 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505) Measured on an 8 GB NVIDIA **laptop** (RTX 4060 Laptop, 8188 MiB; D3D12 budget reported 6489-6569 MB), i9-14900HX, 32 GB DDR5, Windows 11 build 26300, driver 621.01, hybrid graphics. Public fork `edsuuu/VI-BR-PORT`, built from source (MSVC 14.44 + rust 1.98.1, ~45 s). No game files included or linked. Posting here because two of the findings look layer-level rather than fork-level, and this is where most people will look. ## Results (Series S profile, 1080p) - Menus 30 fps (title cap), cell 17-24, walking 12-17, heavy 8.5k-draw street 9-12 - 6 min 11 s session, 47 samples: median **12 fps**, GPU median 85 %, 62-64 C, no throttling - Frame rate is nearly independent of draw count here (3k draws -> 13 fps, 8.5k -> 12 fps): the cost is per-frame fixed overhead, not scene scale ## Two switches that mattered | Change | Before | After | |---|---|---| | `VICTORY_MEMORY_CARD_MB=1024` -> `2048` | **1-3 fps** (GPU only 3-25 % busy, frames 300-1200 ms) | **13-17 fps** (GPU 85 %) | | `VICTORY_HEAP_RECHECK=0` | prepare 44 ms/frame, copies 12 ms / 70 MB | prepare **29 ms**, copies **10 ms / 55 MB** | The first one is worth ~6x on this card: at 1024 the GPU sits idle most of the frame, waiting for memory. The second changes no frame rate while the GPU is the limit, but removes about a third of the host-side work, so it should matter as the GPU side improves. No visual difference; the "texture picked by index changed after its upload" warnings drop to zero. ## Negative results (so nobody repeats them) - 720p output instead of 1080p: 13-17 -> 13-14 fps. Not pixel-bound. - `VICTORY_ASYNC_SUBMIT=1`: 13-17 -> 7-12 fps on this 32 GB laptop, i.e. worse (it is reported as +1.4 fps on a 64 GB desktop, so it looks memory/thread-count dependent). - Half render scale and FSR: no change, same reason as 720p. ## Something that may be a real leak VRAM goes 7342 -> 7921 MiB in 6 minutes (96 % of 8192). At the ceiling the frame rate collapses to 3-4 fps and textures blur; restarting the title resets it. If this reproduces for others on 8 GB, a note about session length would save people some confusion. ## Shaders that still fail to translate (dropped draws) `002e93a6cc2aa355`, `0e64f14fae060d04`, `dbdbf36298727135`, `96ccb14ef981fd85` (a lane-read VGPR written without a dword value); `77360df21e12ea43`, `9fc111d3be79364f`, `39321a95223001ed` (a first-lane read where not every lane); `07c93bfb77fecebb` (a descriptor read only as data). Plus 7 compute pipelines refused by the driver with `E_INVALIDARG (0x80070057)`. Full configuration and the A/B tables: `edsuuu/VI-BR-PORT` PR #7 (`docs/benchmarks-4060-laptop-8gb.md`). Tracker entry: 4lwayz/portwatch-vi issue #251.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:20:35 +00:00
Author
Owner

@⁠neonbyte1 on GitHub · 2026-11-27 11:37 UTC · original

@⁠YUYING234 thanks for the shader list. I ran your 8 hashes through an offline census on our tree (main plus the PRs we need on NVIDIA under Wine, with #3506 to match runtime hashes): all 8 translate there. 7 already do on our base; 07c93bfb77fecebb needs #2999 (implicit-derivative samples in compute). The reasons you saw ("a lane-read VGPR written without a dword value", "a first-lane read where not every lane") don't exist in main's translator, so they come from the fork's own changes; that may be worth raising on the fork. Details are in #3502.

For the 7 compute pipelines the driver refused with E_INVALIDARG: if you can post their hashes (from the dropped ... refused [compute <hash>] lines), I'll check them on our RTX 5090, and they would go into section C of #3502 as host refusals with your driver version.

AI-assisted (Claude); measured on my machine, no game data shared.

**@⁠neonbyte1** on GitHub · 2026-11-27 11:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7217294834) @⁠YUYING234 thanks for the shader list. I ran your 8 hashes through an offline census on our tree (`main` plus the PRs we need on NVIDIA under Wine, with #3506 to match runtime hashes): all 8 translate there. 7 already do on our base; `07c93bfb77fecebb` needs #2999 (implicit-derivative samples in compute). The reasons you saw ("a lane-read VGPR written without a dword value", "a first-lane read where not every lane") don't exist in `main`'s translator, so they come from the fork's own changes; that may be worth raising on the fork. Details are in #3502. For the 7 compute pipelines the driver refused with `E_INVALIDARG`: if you can post their hashes (from the `dropped ... refused [compute <hash>]` lines), I'll check them on our RTX 5090, and they would go into section C of #3502 as host refusals with your driver version. _AI-assisted (Claude); measured on my machine, no game data shared._
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 12:58 UTC · original

@⁠neonbyte1 thanks - both answers below.

The 7 hashes the driver refused with E_INVALIDARG (from host pipeline refused error=0x80070057 shaders=[compute <hash>], 7 distinct hashes over a 10-minute run, each seen once and never retried):

2da4beb386509b77
22338086ea4c5364
02384a60fda6f2d0
6832a9da15c2e584
6b82bc7d22016cb5
3b02415f67c6b0d8
1d434307d981352a

Every one of them carries the same annotation on the same log line:

shaders=[compute 2da4beb386509b77] wave_lanes=Some((64, 64))

So this looks like the wave64-vs-wave32 item you already have in #2220 rather than seven separate bugs: the shader asks for 64-lane waves, and NVIDIA refuses the pipeline instead of lowering it. If a wave32 fallback exists somewhere in main but is not reached from this fork's path, that would explain why we see seven.

On the 8 shader hashes: understood, and that is useful - if main's translator handles them and this fork's does not, then the fork carried a regression in its shader changes, and I will raise it there rather than here. 07c93bfb77fecebb waiting on #2999 is noted.

For context, this is the same machine as 4lwayz/portwatch-vi#251 and it runs the fork at 12 fps median (13-17 walking, 9-12 in the heaviest street scenes, 8 GB laptop, Series S, 1080p).

**@⁠YUYING234** on GitHub · 2026-11-27 12:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7218896668) @⁠neonbyte1 thanks - both answers below. **The 7 hashes the driver refused with `E_INVALIDARG`** (from `host pipeline refused error=0x80070057 shaders=[compute <hash>]`, 7 distinct hashes over a 10-minute run, each seen once and never retried): ``` 2da4beb386509b77 22338086ea4c5364 02384a60fda6f2d0 6832a9da15c2e584 6b82bc7d22016cb5 3b02415f67c6b0d8 1d434307d981352a ``` Every one of them carries the same annotation on the same log line: ``` shaders=[compute 2da4beb386509b77] wave_lanes=Some((64, 64)) ``` So this looks like the wave64-vs-wave32 item you already have in #2220 rather than seven separate bugs: the shader asks for 64-lane waves, and NVIDIA refuses the pipeline instead of lowering it. If a wave32 fallback exists somewhere in `main` but is not reached from this fork's path, that would explain why we see seven. On the 8 shader hashes: understood, and that is useful - if `main`'s translator handles them and this fork's does not, then the fork carried a regression in its shader changes, and I will raise it there rather than here. `07c93bfb77fecebb` waiting on #2999 is noted. For context, this is the same machine as 4lwayz/portwatch-vi#251 and it runs the fork at 12 fps median (13-17 walking, 9-12 in the heaviest street scenes, 8 GB laptop, Series S, 1080p).
Author
Owner

@⁠neonbyte1 on GitHub · 2026-11-27 13:05 UTC · original

@⁠YUYING234 thanks, that settles it. All 7 are wave64 programs with groups larger than 64 threads (numthreads 128 to 1024, from #3506's census output), so your reading matches: the fork emits them with WaveSize(64) and NVIDIA refuses the pipeline (#2220). On main the same programs never reach the driver: the translator refuses them on 32-lane hosts ("console wave64 lanes in a group of more than 64 threads"), and three of them (2da4beb3…, 02384a60…, 6b82bc7d…) are rows of section A in #3502 for that reason.

The fix on both paths is the wave64 stack #2176 → #2711 → #2925, which runs each console wave as two 32-lane halves. In our offline census on an RTX 5090 setup (victory translate --list --host-lanes 32-32), all 7 translate with it. That stack hasn't landed yet, so on main today these dispatches are dropped rather than refused.

AI-assisted (Claude); measured on my machine, no game data shared.

**@⁠neonbyte1** on GitHub · 2026-11-27 13:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7219050628) @⁠YUYING234 thanks, that settles it. All 7 are wave64 programs with groups larger than 64 threads (`numthreads` 128 to 1024, from #3506's census output), so your reading matches: the fork emits them with `WaveSize(64)` and NVIDIA refuses the pipeline (#2220). On `main` the same programs never reach the driver: the translator refuses them on 32-lane hosts ("console wave64 lanes in a group of more than 64 threads"), and three of them (`2da4beb3…`, `02384a60…`, `6b82bc7d…`) are rows of section A in #3502 for that reason. The fix on both paths is the wave64 stack #2176 → #2711 → #2925, which runs each console wave as two 32-lane halves. In our offline census on an RTX 5090 setup (`victory translate --list --host-lanes 32-32`), all 7 translate with it. That stack hasn't landed yet, so on `main` today these dispatches are dropped rather than refused. _AI-assisted (Claude); measured on my machine, no game data shared._
Author
Owner

@⁠KainanP on GitHub · 2026-11-27 13:45 UTC · original

@⁠YUYING234 this is the most useful 8 GB laptop data I've seen, thanks. I have the same card (RTX 4060 Laptop 8 GB) and I'm working on the 8 GB side of LooperSalty/AnyXboxX (its LowVram preset's texture cap is currently not read by its new Vice-Tay base). If you ever have time for one more run, an AnyXboxX main run with the 8 GB preset and the frame/GPU-time log lines (same scene, Series S, 1080p) would tell us whether that base is GPU-bound the same way on this card — nobody has posted an 8 GB laptop run of it yet. Your two findings (VICTORY_MEMORY_CARD_MB=2048 ~6×, VICTORY_HEAP_RECHECK=0) are going into that work with credit.

AI use: Claude Code (Claude Opus 5.5).

**@⁠KainanP** on GitHub · 2026-11-27 13:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7219914792) @⁠YUYING234 this is the most useful 8 GB laptop data I've seen, thanks. I have the same card (RTX 4060 Laptop 8 GB) and I'm working on the 8 GB side of LooperSalty/AnyXboxX (its LowVram preset's texture cap is currently not read by its new Vice-Tay base). If you ever have time for one more run, an AnyXboxX `main` run with the 8 GB preset and the frame/GPU-time log lines (same scene, Series S, 1080p) would tell us whether that base is GPU-bound the same way on this card — nobody has posted an 8 GB laptop run of it yet. Your two findings (`VICTORY_MEMORY_CARD_MB=2048` ~6×, `VICTORY_HEAP_RECHECK=0`) are going into that work with credit. _AI use: Claude Code (Claude Opus 5.5)._
Author
Owner

@⁠vi-tester-8gb on GitHub · 2026-11-27 13:56 UTC · original

RTX 5060 Laptop 8 GB: trustno1 vs Zaka vs Kemerd, same scene, frame generation on an 8 GB card

Adding a second 8 GB laptop data point next to the RTX 4060 Laptop numbers above, this time comparing three
public NVIDIA forks on the same machine and the same scene (prison prologue), each built from source. No game
files, no NVIDIA files redistributed (Streamline v2.14.16 taken from NVIDIA's GitHub release, signatures checked).

Machine: RTX 5060 Laptop GPU 8 GB (115 W limit), i7-13620H (6P+4E, 16 threads), 31.6 GB RAM, Windows 11
build 26300, driver 621.24, PCIe Gen5 x8 under load, Resizable BAR on, MUX in discrete mode, on AC.
Fan/power profile: vendor "performance". CPU held turbo the whole time (~140-155 % of base clock).

Common settings: Series S profile, DLSS Quality through Streamline, DLSS frame generation, windowed.
Each fork has its own cache and data folder; shaders pre-translated with victory shaders before the first run
(25,667 translated, 222 do not on the trustno1/Kemerd tree; 25,689 / 200 on Zaka's).

Results

Frame times from the window title every ~4 s, split by draws per frame. "Rendered" = what the title runs at;
frame generation multiplies the shown rate only.

Build Frame gen Draws < 3,500: median (p90) Draws >= 3,500: median (p90) Dropped draws (no host pipeline)
trustno1-coder/VIctory-NVIDIA 959dcaf 4x 71 ms (301) 115 ms (347) ~440
TheUnrealZaka/VIctoryUnified-DLSS (yaekai-base, 27 Nov) 2x ~114 ms median overall, GPU 99 % busy not counted
Kemerd/VIctory-NVIDIA-RT 421dfac, its "fast" set 4x 64 ms (80) 93 ms (115) 251

Both trustno1 and Kemerd numbers include their first launch. Best moments with Kemerd: 18.8 rendered / 75 shown
at 2,600 draws. Kemerd whole session: n=370, median 76 ms, p90 121, p99 203. No crash, no device loss
(~25 min). Pool tuning from trustno1's launcher was on for both (THIN 12 / UNDER 8 / LAND 6, PLACED_ORDER=1).

Observations

  1. First launch. trustno1 sat at 2.5-3.5 fps for ~5 minutes while ~600 pipelines were being made
    (CPU at 99 %, log: dropped N without a host pipeline (M being made)); only once that count reached 0
    did it jump to 14 fps. Kemerd ran ~11 fps while ~510 were still being made. The p90 difference
    above (301 vs 80 ms) is mostly this.
  2. Heavy scenes are GPU/VRAM bound here, not CPU bound. Kemerd at 6,000-9,000 draws: ~100 ms a frame,
    the submitting thread preparing ~55-60 ms, the card 76-95 % busy at only ~50 W of 115.
    Texture queue at the same time: 6633 MB in use ... = 5924 MB against a line of 5459 MB (80.0 % of a budget of 6824 MB): no room, new textures wait. With frame generation on, render targets plus FG take
    ~1.7 GB more (trustno1: 1695 MB kept for render targets, 6,942 MB against a 5,266 MB line).
    So unlike the 4060 Laptop report above, frame time here does scale with draw count (64 ms -> 93 ms).
  3. Frame generation 4x works on an RTX 5060 Laptop. victory upscaler-check --device --present:
    DLSS and FG supported, 180/180 generated frames, status 0. In game the title shows
    X fps (frame gen 4X fps) consistently.
  4. victory warm did nothing for us (possible bug or misuse). Kemerd tree, VICTORY_CACHE_DIR set to a
    cache whose pipelines\known-pipelines.bin (plus early/slow lists) came from a trustno1 run of the same
    title: 83563 pipelines known, 0 made before, 0 bad; 2470 to make with --used, then
    0 made in 4 s (0 have no host pipeline, 0 ended their process), also with --jobs 1 --limit 5.
    No error printed. Maybe the book is not usable across trees, or warm needs the title images a first run
    writes into cache\images; if so, a message saying why would help.
  5. Zaka's fork (2x FG, mip drop 1, card buffers 1536): GPU-bound at 99 %, 5-10 fps rendered after its
    pipelines were made, CPU 42-82 %. One visual issue: a cellmate's hair strands and glasses floating beside
    the head (not seen on trustno1/Kemerd in the same spot).

Not tried yet

  • VICTORY_HEAP_RECHECK=0 (from the report above) on Kemerd: added to our launcher, not measured yet.
  • VICTORY_MEMORY_CARD_MB: Kemerd's default is already max(4 GiB, budget/4), so the 1024 -> 2048 finding
    above does not apply as is; unclear whether 4 GiB is too much on an 8 GB card with FG.
  • DLSS Performance instead of Quality, and a 10 fps cap (40 shown) for even pacing, for the GPU-bound heavy
    scenes.

Measured on my laptop and written up with help from Claude.

**@⁠vi-tester-8gb** on GitHub · 2026-11-27 13:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7220129660) ## RTX 5060 Laptop 8 GB: trustno1 vs Zaka vs Kemerd, same scene, frame generation on an 8 GB card Adding a second 8 GB **laptop** data point next to the RTX 4060 Laptop numbers above, this time comparing three public NVIDIA forks on the same machine and the same scene (prison prologue), each built from source. No game files, no NVIDIA files redistributed (Streamline v2.14.16 taken from NVIDIA's GitHub release, signatures checked). **Machine:** RTX 5060 Laptop GPU 8 GB (115 W limit), i7-13620H (6P+4E, 16 threads), 31.6 GB RAM, Windows 11 build 26300, driver 621.24, PCIe Gen5 x8 under load, Resizable BAR on, MUX in discrete mode, on AC. Fan/power profile: vendor "performance". CPU held turbo the whole time (~140-155 % of base clock). **Common settings:** Series S profile, DLSS Quality through Streamline, DLSS frame generation, windowed. Each fork has its own cache and data folder; shaders pre-translated with `victory shaders` before the first run (25,667 translated, 222 do not on the trustno1/Kemerd tree; 25,689 / 200 on Zaka's). ### Results Frame times from the window title every ~4 s, split by draws per frame. "Rendered" = what the title runs at; frame generation multiplies the shown rate only. | Build | Frame gen | Draws < 3,500: median (p90) | Draws >= 3,500: median (p90) | Dropped draws (no host pipeline) | |---|---|---|---|---| | trustno1-coder/VIctory-NVIDIA `959dcaf` | 4x | 71 ms (301) | 115 ms (347) | ~440 | | TheUnrealZaka/VIctoryUnified-DLSS (yaekai-base, 27 Nov) | 2x | ~114 ms median overall, GPU 99 % busy | | not counted | | Kemerd/VIctory-NVIDIA-RT `421dfac`, its "fast" set | 4x | **64 ms (80)** | **93 ms (115)** | **251** | Both trustno1 and Kemerd numbers include their first launch. Best moments with Kemerd: 18.8 rendered / 75 shown at 2,600 draws. Kemerd whole session: n=370, median 76 ms, p90 121, p99 203. No crash, no device loss (~25 min). Pool tuning from trustno1's launcher was on for both (THIN 12 / UNDER 8 / LAND 6, PLACED_ORDER=1). ### Observations 1. **First launch.** trustno1 sat at 2.5-3.5 fps for ~5 minutes while ~600 pipelines were being made (CPU at 99 %, log: `dropped N without a host pipeline (M being made)`); only once that count reached 0 did it jump to 14 fps. Kemerd ran ~11 fps *while* ~510 were still being made. The p90 difference above (301 vs 80 ms) is mostly this. 2. **Heavy scenes are GPU/VRAM bound here, not CPU bound.** Kemerd at 6,000-9,000 draws: ~100 ms a frame, the submitting thread preparing ~55-60 ms, the card 76-95 % busy at only ~50 W of 115. Texture queue at the same time: `6633 MB in use ... = 5924 MB against a line of 5459 MB (80.0 % of a budget of 6824 MB): no room, new textures wait`. With frame generation on, render targets plus FG take ~1.7 GB more (trustno1: `1695 MB kept for render targets`, 6,942 MB against a 5,266 MB line). So unlike the 4060 Laptop report above, frame time here *does* scale with draw count (64 ms -> 93 ms). 3. **Frame generation 4x works on an RTX 5060 Laptop.** `victory upscaler-check --device --present`: DLSS and FG supported, 180/180 generated frames, status 0. In game the title shows `X fps (frame gen 4X fps)` consistently. 4. **`victory warm` did nothing for us (possible bug or misuse).** Kemerd tree, `VICTORY_CACHE_DIR` set to a cache whose `pipelines\known-pipelines.bin` (plus early/slow lists) came from a trustno1 run of the same title: `83563 pipelines known, 0 made before, 0 bad; 2470 to make` with `--used`, then `0 made in 4 s (0 have no host pipeline, 0 ended their process)`, also with `--jobs 1 --limit 5`. No error printed. Maybe the book is not usable across trees, or warm needs the title images a first run writes into `cache\images`; if so, a message saying why would help. 5. **Zaka's fork** (2x FG, mip drop 1, card buffers 1536): GPU-bound at 99 %, 5-10 fps rendered after its pipelines were made, CPU 42-82 %. One visual issue: a cellmate's hair strands and glasses floating beside the head (not seen on trustno1/Kemerd in the same spot). ### Not tried yet - `VICTORY_HEAP_RECHECK=0` (from the report above) on Kemerd: added to our launcher, not measured yet. - `VICTORY_MEMORY_CARD_MB`: Kemerd's default is already max(4 GiB, budget/4), so the 1024 -> 2048 finding above does not apply as is; unclear whether 4 GiB is too much on an 8 GB card with FG. - DLSS Performance instead of Quality, and a 10 fps cap (40 shown) for even pacing, for the GPU-bound heavy scenes. _Measured on my laptop and written up with help from Claude._
Author
Owner

@⁠vi-tester-8gb on GitHub · 2026-11-27 14:19 UTC · original

@⁠KainanP here is the AnyXboxX run you asked for, on an 8 GB laptop, plus what we learned on the same machine tonight that may help the 8 GB side.

Setup: LooperSalty/AnyXboxX main as of 27 Nov ~14:10 UTC, its own third_party/victory (Vice-Tay base) built from source. RTX 5060 Laptop 8 GB, i7-13620H (16 threads), 32 GB, driver 621.24, on AC (same machine as my comment above). Series S (--console series-s), VICTORY_DISPLAY_MODE and VICTORY_OUTPUT = 1920x1080, windowed. Environment = TUNED + the 16-thread pools (12/8/6) + the launcher's "8 GB card" preset (CARD_WINDOWS_MB=512, CARD_BUFFERS_MB=512, TEXTURE_ROOM_PERCENT=85, TEXTURE_MAX_SIZE=1024), copied from crates/anyxboxx/src/run/settings.rs and crates/anyxboxx-launcher/src/options.rs. Same prison prologue scene as before, shaders pre-translated with victory shaders (25,690 / 199 do not).

(The launcher itself did not build from the GitHub zip: third_party/tombox is a submodule, so anyxboxx-audio's xma dependency is missing outside a recursive clone. Worth a line in the README.)

Result

Phase Frame time Notes
First launch, pipelines being made 2-3 fps (370-540 ms) for ~9 min overlay: Pipelines 3 wk, 1,153 making at the start, 452 after ~6 min
After 0 making, ~6,300 draws median 264 ms (~3.8 fps), 257-279 ms steady overlay: Submit 1 thr 99%, Lists x1.3, Landing x4.1; nvidia-smi SM 75-100 % at only ~36 W; VRAM 5.6 / 6.7 GB (overlay), CPU turbo held

For comparison, same laptop and scene: Kemerd/VIctory-NVIDIA-RT with its "fast" set does ~93 ms at >= 3,500 draws (~100 ms at 6-9k), trustno1 ~115 ms. So on this 8 GB laptop the Vice-Tay base with the 8 GB preset is about 2.5-3x slower, and the limit looks like the single submitting thread rather than VRAM: the overlay showed 5.6 of 6.7 GB at Series S 1080p (I did not capture the texture-queue log line in this run).

VICTORY_TEXTURE_MAX_SIZE is not read

Confirming what you said: no file under third_party/victory/crates or apps names VICTORY_TEXTURE_MAX_SIZE (the other three preset variables are read). So in this run the texture cap did nothing; the smaller reserves alone kept VRAM in budget.

What helped on this laptop (in case it ports to the 8 GB preset)

All measured on the same RTX 5060 Laptop, same scene:

  1. The submitting thread. Kemerd (trustno1's tree plus its own commits and "fast" set) did ~93 ms in heavy scenes where trustno1 did ~115, and 64 ms vs 71 in light ones. Its fast set: VICTORY_SEND_THREAD=1 (ExecuteCommandLists on its own thread), VICTORY_REFRESH_SET=1, VICTORY_REFRESH_SPLIT=1, VICTORY_WAIT_SPLIT=1, VICTORY_TITLE_WRITE_RANGE=1, VICTORY_UNDER_PARTS=1, VICTORY_DECLARE_ACROSS_LISTS=1, plus its VICTORY_MEMORY_* set. Several of these may not exist on the Vice-Tay base; the "one refresh step per list instead of ~52,000" change in Kemerd's README is the one that looks most relevant to Submit 99%.
  2. First launch. Kemerd keeps rendering while pipelines are made (~11 fps with ~510 being made) and keeps pipelines with static samplers in the library (VICTORY_PIPELINE_SAMPLER_TABLE=1), so later launches do not rebuild ~1,100 of them. Here, 3 pipeline workers on a 16-thread laptop meant ~9 minutes at 2-3 fps.
  3. Frame generation on 8 GB costs ~1.7 GB (render targets + FG). With it on, textures went 1-1.5 GB over the texture line (no room, new textures wait) and heavy scenes became GPU-bound at ~50 W. If AnyXboxX adds FG, the 8 GB preset would need to leave that room.
  4. VICTORY_HEAP_RECHECK=0 from @⁠YUYING234's report is in our Kemerd launcher now; not measured separately yet.

If one specific switch set on this laptop would answer a question for the 8 GB work, say which and I can try to run it.

Measured on my laptop and written up with help from Claude.

**@⁠vi-tester-8gb** on GitHub · 2026-11-27 14:19 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7220630525) @⁠KainanP here is the AnyXboxX run you asked for, on an 8 GB laptop, plus what we learned on the same machine tonight that may help the 8 GB side. **Setup:** LooperSalty/AnyXboxX `main` as of 27 Nov ~14:10 UTC, its own `third_party/victory` (Vice-Tay base) built from source. RTX 5060 Laptop 8 GB, i7-13620H (16 threads), 32 GB, driver 621.24, on AC (same machine as my comment above). Series S (`--console series-s`), `VICTORY_DISPLAY_MODE` and `VICTORY_OUTPUT` = 1920x1080, windowed. Environment = `TUNED` + the 16-thread pools (12/8/6) + the launcher's "8 GB card" preset (`CARD_WINDOWS_MB=512`, `CARD_BUFFERS_MB=512`, `TEXTURE_ROOM_PERCENT=85`, `TEXTURE_MAX_SIZE=1024`), copied from `crates/anyxboxx/src/run/settings.rs` and `crates/anyxboxx-launcher/src/options.rs`. Same prison prologue scene as before, shaders pre-translated with `victory shaders` (25,690 / 199 do not). (The launcher itself did not build from the GitHub zip: `third_party/tombox` is a submodule, so `anyxboxx-audio`'s `xma` dependency is missing outside a recursive clone. Worth a line in the README.) ### Result | Phase | Frame time | Notes | |---|---|---| | First launch, pipelines being made | 2-3 fps (370-540 ms) for ~9 min | overlay: `Pipelines 3 wk`, 1,153 making at the start, 452 after ~6 min | | After `0 making`, ~6,300 draws | **median 264 ms (~3.8 fps)**, 257-279 ms steady | overlay: **`Submit 1 thr 99%`**, Lists x1.3, Landing x4.1; nvidia-smi SM 75-100 % at only ~36 W; VRAM 5.6 / 6.7 GB (overlay), CPU turbo held | For comparison, same laptop and scene: Kemerd/VIctory-NVIDIA-RT with its "fast" set does **~93 ms at >= 3,500 draws** (~100 ms at 6-9k), trustno1 ~115 ms. So on this 8 GB laptop the Vice-Tay base with the 8 GB preset is about 2.5-3x slower, and the limit looks like the single submitting thread rather than VRAM: the overlay showed 5.6 of 6.7 GB at Series S 1080p (I did not capture the texture-queue log line in this run). ### `VICTORY_TEXTURE_MAX_SIZE` is not read Confirming what you said: no file under `third_party/victory/crates` or `apps` names `VICTORY_TEXTURE_MAX_SIZE` (the other three preset variables are read). So in this run the texture cap did nothing; the smaller reserves alone kept VRAM in budget. ### What helped on this laptop (in case it ports to the 8 GB preset) All measured on the same RTX 5060 Laptop, same scene: 1. **The submitting thread.** Kemerd (trustno1's tree plus its own commits and "fast" set) did ~93 ms in heavy scenes where trustno1 did ~115, and 64 ms vs 71 in light ones. Its fast set: `VICTORY_SEND_THREAD=1` (ExecuteCommandLists on its own thread), `VICTORY_REFRESH_SET=1`, `VICTORY_REFRESH_SPLIT=1`, `VICTORY_WAIT_SPLIT=1`, `VICTORY_TITLE_WRITE_RANGE=1`, `VICTORY_UNDER_PARTS=1`, `VICTORY_DECLARE_ACROSS_LISTS=1`, plus its `VICTORY_MEMORY_*` set. Several of these may not exist on the Vice-Tay base; the "one refresh step per list instead of ~52,000" change in Kemerd's README is the one that looks most relevant to `Submit 99%`. 2. **First launch.** Kemerd keeps rendering while pipelines are made (~11 fps with ~510 being made) and keeps pipelines with static samplers in the library (`VICTORY_PIPELINE_SAMPLER_TABLE=1`), so later launches do not rebuild ~1,100 of them. Here, 3 pipeline workers on a 16-thread laptop meant ~9 minutes at 2-3 fps. 3. **Frame generation on 8 GB costs ~1.7 GB** (render targets + FG). With it on, textures went 1-1.5 GB over the texture line (`no room, new textures wait`) and heavy scenes became GPU-bound at ~50 W. If AnyXboxX adds FG, the 8 GB preset would need to leave that room. 4. `VICTORY_HEAP_RECHECK=0` from @⁠YUYING234's report is in our Kemerd launcher now; not measured separately yet. If one specific switch set on this laptop would answer a question for the 8 GB work, say which and I can try to run it. _Measured on my laptop and written up with help from Claude._
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 14:30 UTC · original

@⁠KainanP ran it. Same card as yours: RTX 4060 Laptop 8 GB, i9-14900HX, 32 GB DDR5-5600, driver 621.01, Windows 11 26300. AnyXboxX 14f488b built from source (cargo build --release -p anyxboxx, 1 m 22 s), Neptune/Vice-Tay base built on first run.

Command (the four values of LOW_VRAM, plus the 1080p override from the docs):

anyxboxx run --game-dir <own copy> --frametime-dump --auto-a \
  --override VICTORY_CARD_WINDOWS_MB=512 --override VICTORY_CARD_BUFFERS_MB=512 \
  --override VICTORY_TEXTURE_ROOM_PERCENT=85 --override VICTORY_TEXTURE_MAX_SIZE=1024 \
  --override VICTORY_OUTPUT=1920x1080

Two things you will want to know before reading the numbers:

  • There is no Series S path in the CLI. The log says console Xbox Series X, and RunArgs has no console option, so this run is Series X — it is not the Series S comparison you asked for, and I would need a flag (or the same run on a build that has one) to give you that.
  • VICTORY_OUTPUT=1920x1080 did not take: the log still reports display mode reported to the title width=3840 height=2160. Either the tuned profile sets the display size after --override, or the key is not the one Vice-Tay reads. Worth a look — the docs say that override is how you get 1080p.

Frame and GPU time (97 samples of the runtime's own line, about 9 minutes with the cache cold)

5.2 fps  191.6 ms/frame (41.9 preparing: copies 9.0 ms 53.0 MB, textures 0.8 ms 22.6 MB; 128.2 on the GPU; 29.7 copying back 21.4 MB), 4366 draws/frame, dropped 234
4.7 fps  214.8 ms/frame (44.7 preparing: copies 9.8 ms 66.5 MB, textures 1.2 ms 24.1 MB; 116.3 on the GPU; 30.1 copying back 21.0 MB), 5649 draws/frame, dropped 268
5.7 fps  175.0 ms/frame (32.9 preparing: copies 8.1 ms 51.2 MB, textures 0.9 ms 19.4 MB; 119.1 on the GPU; 24.8 copying back 18.2 MB), 3651 draws/frame, dropped 282
4.6 fps  215.6 ms/frame (38.8 preparing: copies 10.1 ms 70.3 MB, textures 1.4 ms 26.6 MB; 163.3 on the GPU; 27.1 copying back 22.0 MB), 6979 draws/frame, dropped 396

Whole session: median 4.2 fps (mean 7.7, best 30 in menus, worst 0.4 while the pipelines were still being made), median frame 237 ms. The runtime's overlay after the world loaded gives 30-second averages of 2.5 fps while cold → 11.2 fps in the kitchen interior (1,574 draws) → 5.9 fps in the cell block (2,222 draws).

The answer to your question

In the world, yes: this base is GPU-bound on this card — but with a heavy CPU tail. In the last four samples the GPU holds 110 to 163 ms of a 175 to 230 ms frame (55-75 %), with 33-45 ms preparing (12-17 ms of that copies) and 23-30 ms copying back 21-29 MB. In the lighter interior (1,574 draws) the picture flips: GPU 28-47 % busy and one submit thread at 41-57 % becomes the limit, which is the same shape as VI-BR-PORT on this card.

Two further numbers that may matter more than the fps: 234 to 396 draws a frame are dropped without a host pipeline once the world is up, and RAM reaches 19.2-22.9 GB in the process, 30.2 of 32 GB for the system — this laptop has no headroom left at that point. VRAM stayed honest: 5.7-5.8 GB of the 6.4 GB budget, so the LowVram reserves (512 / 512) do keep the card under budget even if the 1024 texture cap is not read by Vice-Tay as you said.

--frametime-dump did write %LOCALAPPDATA%\victory\cache\frametime.csv (119 KB) if you want the raw rows; the header says game: unknown because the title hash is not in that build's table.

**@⁠YUYING234** on GitHub · 2026-11-27 14:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7220869986) @⁠KainanP ran it. Same card as yours: RTX 4060 **Laptop** 8 GB, i9-14900HX, 32 GB DDR5-5600, driver 621.01, Windows 11 26300. AnyXboxX `14f488b` built from source (`cargo build --release -p anyxboxx`, 1 m 22 s), Neptune/Vice-Tay base built on first run. **Command** (the four values of `LOW_VRAM`, plus the 1080p override from the docs): ``` anyxboxx run --game-dir <own copy> --frametime-dump --auto-a \ --override VICTORY_CARD_WINDOWS_MB=512 --override VICTORY_CARD_BUFFERS_MB=512 \ --override VICTORY_TEXTURE_ROOM_PERCENT=85 --override VICTORY_TEXTURE_MAX_SIZE=1024 \ --override VICTORY_OUTPUT=1920x1080 ``` Two things you will want to know before reading the numbers: - **There is no Series S path in the CLI.** The log says `console Xbox Series X`, and `RunArgs` has no console option, so this run is Series X — it is not the Series S comparison you asked for, and I would need a flag (or the same run on a build that has one) to give you that. - **`VICTORY_OUTPUT=1920x1080` did not take**: the log still reports `display mode reported to the title width=3840 height=2160`. Either the tuned profile sets the display size after `--override`, or the key is not the one Vice-Tay reads. Worth a look — the docs say that override is how you get 1080p. ## Frame and GPU time (97 samples of the runtime's own line, about 9 minutes with the cache cold) ``` 5.2 fps 191.6 ms/frame (41.9 preparing: copies 9.0 ms 53.0 MB, textures 0.8 ms 22.6 MB; 128.2 on the GPU; 29.7 copying back 21.4 MB), 4366 draws/frame, dropped 234 4.7 fps 214.8 ms/frame (44.7 preparing: copies 9.8 ms 66.5 MB, textures 1.2 ms 24.1 MB; 116.3 on the GPU; 30.1 copying back 21.0 MB), 5649 draws/frame, dropped 268 5.7 fps 175.0 ms/frame (32.9 preparing: copies 8.1 ms 51.2 MB, textures 0.9 ms 19.4 MB; 119.1 on the GPU; 24.8 copying back 18.2 MB), 3651 draws/frame, dropped 282 4.6 fps 215.6 ms/frame (38.8 preparing: copies 10.1 ms 70.3 MB, textures 1.4 ms 26.6 MB; 163.3 on the GPU; 27.1 copying back 22.0 MB), 6979 draws/frame, dropped 396 ``` Whole session: median **4.2 fps** (mean 7.7, best 30 in menus, worst 0.4 while the pipelines were still being made), median frame 237 ms. The runtime's overlay after the world loaded gives 30-second averages of **2.5 fps while cold → 11.2 fps in the kitchen interior (1,574 draws) → 5.9 fps in the cell block (2,222 draws)**. ## The answer to your question **In the world, yes: this base is GPU-bound on this card — but with a heavy CPU tail.** In the last four samples the GPU holds **110 to 163 ms of a 175 to 230 ms frame (55-75 %)**, with 33-45 ms preparing (12-17 ms of that copies) and 23-30 ms copying back 21-29 MB. In the lighter interior (1,574 draws) the picture flips: GPU 28-47 % busy and one **submit thread at 41-57 %** becomes the limit, which is the same shape as VI-BR-PORT on this card. Two further numbers that may matter more than the fps: **234 to 396 draws a frame are dropped without a host pipeline** once the world is up, and RAM reaches **19.2-22.9 GB in the process, 30.2 of 32 GB for the system** — this laptop has no headroom left at that point. VRAM stayed honest: **5.7-5.8 GB of the 6.4 GB budget**, so the LowVram reserves (512 / 512) do keep the card under budget even if the 1024 texture cap is not read by Vice-Tay as you said. `--frametime-dump` did write `%LOCALAPPDATA%\victory\cache\frametime.csv` (119 KB) if you want the raw rows; the header says `game: unknown` because the title hash is not in that build's table.
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 14:31 UTC · original

Correction to my own message above, before anyone acts on the second point: VICTORY_OUTPUT=1920x1080 did work. The log has it:

resolution: patched site=0x224352b what="settings' output size applied" value="1920x1080" ... Done
resolution: back buffer pool's left-over check (1920x1080) at title+0x247af25 ... Done

What I read as a failure, display mode reported to the title width=3840 height=2160 (dxgi.rs:246), is the reported display mode of the Series X profile, which VICTORY_OUTPUT does not change - it patches the title's output size and the back buffer pool check instead. So the run really was 1080p output with a 4K mode reported, and the GPU figures I quoted (-128 to 163 ms in the world) are 1080p output figures, which is what you asked for.

The Series S point stands: the CLI has no console option and the log says console Xbox Series X.

**@⁠YUYING234** on GitHub · 2026-11-27 14:31 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7220897272) Correction to my own message above, before anyone acts on the second point: **`VICTORY_OUTPUT=1920x1080` did work.** The log has it: ``` resolution: patched site=0x224352b what="settings' output size applied" value="1920x1080" ... Done resolution: back buffer pool's left-over check (1920x1080) at title+0x247af25 ... Done ``` What I read as a failure, `display mode reported to the title width=3840 height=2160` (`dxgi.rs:246`), is the *reported* display mode of the Series X profile, which `VICTORY_OUTPUT` does not change - it patches the title's output size and the back buffer pool check instead. So the run really was 1080p output with a 4K mode reported, and the GPU figures I quoted (-128 to 163 ms in the world) are 1080p output figures, which is what you asked for. The Series S point stands: the CLI has no console option and the log says `console Xbox Series X`.
Author
Owner

@⁠KainanP on GitHub · 2026-11-27 14:38 UTC · original

@⁠YUYING234 thanks for the 8 GB numbers here. They pointed at something on the AnyXboxX side.

AnyXboxX's "8 GB card" preset caps the game's textures at 1024 texels, but its current (Vice-Tay) base didn't read the cap. LooperSalty/AnyXboxX#506 makes it work again. In a synthetic texture-churn bench on an RTX 4060 Laptop with the 8 GB preset settings:

  • uncapped: the textures in use reached 101–108 % of the D3D12 budget (23 of 50 cycles over);
  • capped: they stayed at 52 % (2.8 GB of host textures instead of 6.7 GB).

The bench found no VRAM creep in the texture path. If the 7.3 → 7.9 GB creep you saw is real, it's probably elsewhere.

None of this is measured in game. If you can run AnyXboxX with the 8 GB preset on main and on that branch (same spot, ~6 min, VICTORY_FRAMETIME_DUMP=1, plus the log's memory lines), that A/B would settle it. Details are in the PR.

AI use: drafted with Claude Code; numbers from my own runs.

**@⁠KainanP** on GitHub · 2026-11-27 14:38 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7221036540) @⁠YUYING234 thanks for the 8 GB numbers here. They pointed at something on the AnyXboxX side. AnyXboxX's "8 GB card" preset caps the game's textures at 1024 texels, but its current (Vice-Tay) base didn't read the cap. LooperSalty/AnyXboxX#506 makes it work again. In a synthetic texture-churn bench on an RTX 4060 Laptop with the 8 GB preset settings: - uncapped: the textures in use reached 101–108 % of the D3D12 budget (23 of 50 cycles over); - capped: they stayed at 52 % (2.8 GB of host textures instead of 6.7 GB). The bench found no VRAM creep in the texture path. If the 7.3 → 7.9 GB creep you saw is real, it's probably elsewhere. None of this is measured in game. If you can run AnyXboxX with the 8 GB preset on `main` and on that branch (same spot, ~6 min, `VICTORY_FRAMETIME_DUMP=1`, plus the log's memory lines), that A/B would settle it. Details are in the PR. _AI use: drafted with Claude Code; numbers from my own runs._
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 15:36 UTC · original

@⁠KainanP ran the A/B you asked for: main (14f488b) against perf/texture-max-size (b8dbb61, #506), same machine, same save, the four LOW_VRAM values, VICTORY_OUTPUT=1920x1080 (patched, confirmed in the log), --frametime-dump, six minutes each, both with warm caches so the comparison is not polluted by pipeline building.

main #506
Frame lines (world, >=3000 draws) 48 47
Median fps 4.7 4.8
Frame time 213 ms 210 ms
of which preparing 46 48
of which GPU 110 108
of which copying back 26 28
of which the rest 30 27
Draws dropped per frame 452 450
VRAM, first reading -> last 6559 -> 7145 MiB 6209 -> 6775 MiB
RAM, first -> last 19.23 -> 21.88 GB 19.49 -> 21.43 GB

What it says

  1. The cap is real and it shows in game: about 370 MiB less VRAM at every point (6209 against 6559 at the start, 6775 against 7145 at the end).
  2. No frame rate from it here (4.7 against 4.8, inside the run-to-run spread): this scene is GPU-bound at 108-110 ms of a 210 ms frame, so recovered texture memory has nothing to buy.
  3. Both still end over the budget. The D3D12 budget this card reports is about 6.4 GB; main peaks at 7145 MiB (745 over) and #506 at 6775 MiB (375 over). The cap halves the overshoot, it does not remove it - on an 8 GB laptop card the reserves plus that texture floor still do not fit.
  4. The creep is not in the capped path: both runs climb about 566 MiB in six minutes (6209 -> 6775 and 6559 -> 7145), almost the same slope. That matches your "probably elsewhere".

Raw artefacts if you want them: %LOCALAPPDATA%\victory\cache\frametime.csv (one row a second, overwritten by the second run), and the two tracing logs of 4.2 MB each, which I can attach or grep for whatever line you name. Neither repository is involved and no game files are included.

Method note for anyone repeating this: --auto-a is what gets both runs to the same place, and the first run of any build spends about 700 pipelines in making for the first two minutes, so a cold run measures the cache, not the base.

**@⁠YUYING234** on GitHub · 2026-11-27 15:36 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7222271132) @⁠KainanP ran the A/B you asked for: `main` (`14f488b`) against `perf/texture-max-size` (`b8dbb61`, #506), same machine, same save, the four `LOW_VRAM` values, `VICTORY_OUTPUT=1920x1080` (patched, confirmed in the log), `--frametime-dump`, six minutes each, **both with warm caches** so the comparison is not polluted by pipeline building. | | main | #506 | |---|---|---| | Frame lines (world, >=3000 draws) | 48 | 47 | | Median fps | 4.7 | **4.8** | | Frame time | 213 ms | **210 ms** | | of which preparing | 46 | 48 | | of which **GPU** | 110 | 108 | | of which copying back | 26 | 28 | | of which the rest | 30 | 27 | | Draws dropped per frame | 452 | 450 | | **VRAM, first reading -> last** | 6559 -> **7145 MiB** | 6209 -> **6775 MiB** | | RAM, first -> last | 19.23 -> 21.88 GB | 19.49 -> 21.43 GB | ## What it says 1. **The cap is real and it shows in game**: about **370 MiB less VRAM at every point** (6209 against 6559 at the start, 6775 against 7145 at the end). 2. **No frame rate from it here** (4.7 against 4.8, inside the run-to-run spread): this scene is GPU-bound at 108-110 ms of a 210 ms frame, so recovered texture memory has nothing to buy. 3. **Both still end over the budget.** The D3D12 budget this card reports is about 6.4 GB; `main` peaks at **7145 MiB** (745 over) and #506 at **6775 MiB** (375 over). The cap halves the overshoot, it does not remove it - on an 8 GB laptop card the reserves plus that texture floor still do not fit. 4. **The creep is not in the capped path**: both runs climb about **566 MiB in six minutes** (6209 -> 6775 and 6559 -> 7145), almost the same slope. That matches your "probably elsewhere". Raw artefacts if you want them: `%LOCALAPPDATA%\victory\cache\frametime.csv` (one row a second, overwritten by the second run), and the two tracing logs of 4.2 MB each, which I can attach or grep for whatever line you name. Neither repository is involved and no game files are included. Method note for anyone repeating this: `--auto-a` is what gets both runs to the same place, and the first run of any build spends about 700 pipelines in `making` for the first two minutes, so a cold run measures the cache, not the base.
Author
Owner

@⁠KainanP on GitHub · 2026-11-27 20:23 UTC · original

@⁠YUYING234 thanks for both runs. They're the only AnyXboxX numbers on an 8 GB laptop so far. One more would settle what we work on next: the GPU's ~110 ms per frame hasn't been split yet into the game's own commands versus our passes (prelude refreshes, steps, card compares).

Could you run the same setup once with the timing switch?

anyxboxx run --game-dir <own copy> --frametime-dump --auto-a \
  --override VICTORY_CARD_WINDOWS_MB=512 --override VICTORY_CARD_BUFFERS_MB=512 \
  --override VICTORY_TEXTURE_ROOM_PERCENT=85 --override VICTORY_TEXTURE_MAX_SIZE=1024 \
  --override VICTORY_OUTPUT=1920x1080 --override VICTORY_GPU_TIMING=1
  • Use AnyXboxX main, a warm cache, and 150 s standing at one fixed spot in the world (the cell block is fine).
  • Please attach the tracing log. The lines we need start with the card's time by list (timing run) and the card's time by command (timing run).
  • The fps of this run won't count: the timing switch turns off submitting ahead. We only need the split.

AI use: drafted with Claude Code.

**@⁠KainanP** on GitHub · 2026-11-27 20:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7227450355) @⁠YUYING234 thanks for both runs. They're the only AnyXboxX numbers on an 8 GB laptop so far. One more would settle what we work on next: the GPU's ~110 ms per frame hasn't been split yet into the game's own commands versus our passes (prelude refreshes, steps, card compares). Could you run the same setup once with the timing switch? ``` anyxboxx run --game-dir <own copy> --frametime-dump --auto-a \ --override VICTORY_CARD_WINDOWS_MB=512 --override VICTORY_CARD_BUFFERS_MB=512 \ --override VICTORY_TEXTURE_ROOM_PERCENT=85 --override VICTORY_TEXTURE_MAX_SIZE=1024 \ --override VICTORY_OUTPUT=1920x1080 --override VICTORY_GPU_TIMING=1 ``` - Use AnyXboxX `main`, a warm cache, and 150 s standing at one fixed spot in the world (the cell block is fine). - Please attach the tracing log. The lines we need start with `the card's time by list (timing run)` and `the card's time by command (timing run)`. - The fps of this run won't count: the timing switch turns off submitting ahead. We only need the split. _AI use: drafted with Claude Code._
Author
Owner

@⁠YUYING234 on GitHub · 2026-11-27 22:42 UTC · original

Ran it. One thing first, because it cost me two runs: the by command line does not print with the tuned set. TUNED has VICTORY_D3D12_DRED=light, and HostList::note() returns straight away in light mode, so slowest() comes back empty: the list line says their noted commands 0.0 and no per-command block follows. Adding --dred (VICTORY_D3D12_DRED=1, full) makes every command write a timestamp and a marker, and both lines appear. Might be worth a line in the README next to --override VICTORY_GPU_TIMING=1, since your instructions there are the only place anyone would look.

What I ran

anyxboxx run --game-dir <copy> --frametime-dump --auto-a \
  --override VICTORY_CARD_WINDOWS_MB=512 --override VICTORY_CARD_BUFFERS_MB=512 \
  --override VICTORY_TEXTURE_ROOM_PERCENT=85 --override VICTORY_TEXTURE_MAX_SIZE=1024 \
  --override VICTORY_OUTPUT=1920x1080 --override VICTORY_GPU_TIMING=1 --dred

bebcfb1, warm cache, saves cleared so the title starts at the cell block. Stood there for 200 s once the scene settled (~6,900 draws, 3 fps / 386 ms with DRED full on). 4060 Laptop 8 GB, Windows 11 26300, driver 621.01. 60 copystat windows, 3,371 slow-command lines.

The split you asked for (GPU timestamps, ms a frame)

ms/frame share
card total 202.6 (last window 222.7) 100 %
the title's own (~330 lists a frame) 186.9 92.2 %
- of which its noted commands 159.1 78.5 %
- the rest (barriers, the sending, ours recorded among them) 30.2 14.9 %
our preludes (73 lists a frame) 11.2 5.5 %
our compares of copies (28 a frame) 5.5 2.7 %
the layer together 16.8 8.3 %

So on this card the layer is not the 110 ms: the title's own commands are 92 % of the card's time and our own 8 %.

Where the time goes inside the title's commands

Every slow-command warning in the 200 s (all of them compute dispatches) by shader:

stage hash instances total ms mean longest
compute 3cf39f4495b908d0 2,053 13,032 6.3 12.6
compute 82a2ad6d07417d36 900 6,221 6.9 15.0
compute 4518151afe8c6c09 321 2,230 6.9 11.4
compute dd24ff46af3ae6ee 69 485 7.0 10.7
compute 7b2c3c1db2298f44 2 101 50.6 51.0

Caveats I would rather state than have you find:

  • The warning only fires above about 6 ms, so these are the instances over the line, not every instance. Treated as a lower bound they are still ~21 ms a frame for 3cf39f44 (about 3.4 a frame) and ~10 ms for 82a2ad6d (about 1.5 a frame).
  • The first two also turned up in an opening/lobby-phase run earlier tonight: 82a2ad6d at 24.60 ms a frame and 7b2c3c1d at 14.45 with a 23.37 longest. Same three shaders, so they are not scene-specific.
  • 7b2c3c1d is rare but brutal: two instances of 50 seconds-per-thousand each (50 ms), 1260x1x1 workgroups. If anything on this list is worth a look, it is that one - it is a single command that eats a quarter of a frame.

Host lists, for the CPU side

589 slow-host-list warnings in the 200 s: median 97 ms for 341 commands, worst 201 ms for 55,894 commands. Those are ours, and they are big - if the submitting thread is ever the limit on a slower card, this is where it would show.

Memory at the time

the card's own:   budget 6420 MB, in use 5894 MB (92 %)
shared with the card: budget 15445 MB, in use 6193 MB

That is with the 8 GB overrides you gave. Worth knowing that the card the D3D12 budget reports here is not a constant - as the shared side fills, Windows cuts the budget (I have seen it at 5.2 GB in the same scene), so a trim to "the budget" is chasing a moving number on this machine.

Happy to repeat the 200 s with different overrides or a different spot, or to dump the raw log lines - it is 6.5 MB of text and I did not want to paste it.

**@⁠YUYING234** on GitHub · 2026-11-27 22:42 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7229547670) Ran it. One thing first, because it cost me two runs: **the `by command` line does not print with the tuned set.** `TUNED` has `VICTORY_D3D12_DRED=light`, and `HostList::note()` returns straight away in light mode, so `slowest()` comes back empty: the list line says `their noted commands 0.0` and no per-command block follows. Adding **`--dred`** (`VICTORY_D3D12_DRED=1`, full) makes every command write a timestamp and a marker, and both lines appear. Might be worth a line in the README next to `--override VICTORY_GPU_TIMING=1`, since your instructions there are the only place anyone would look. ## What I ran ``` anyxboxx run --game-dir <copy> --frametime-dump --auto-a \ --override VICTORY_CARD_WINDOWS_MB=512 --override VICTORY_CARD_BUFFERS_MB=512 \ --override VICTORY_TEXTURE_ROOM_PERCENT=85 --override VICTORY_TEXTURE_MAX_SIZE=1024 \ --override VICTORY_OUTPUT=1920x1080 --override VICTORY_GPU_TIMING=1 --dred ``` `bebcfb1`, warm cache, saves cleared so the title starts at the cell block. Stood there for **200 s** once the scene settled (~6,900 draws, 3 fps / 386 ms with DRED full on). 4060 Laptop 8 GB, Windows 11 26300, driver 621.01. 60 copystat windows, 3,371 slow-command lines. ## The split you asked for (GPU timestamps, ms a frame) | | ms/frame | share | |---|---|---| | card total | **202.6** (last window 222.7) | 100 % | | the title's own (~330 lists a frame) | **186.9** | **92.2 %** | | - of which its noted commands | 159.1 | 78.5 % | | - the rest (barriers, the sending, ours recorded among them) | 30.2 | 14.9 % | | **our preludes** (73 lists a frame) | **11.2** | 5.5 % | | **our compares of copies** (28 a frame) | **5.5** | 2.7 % | | **the layer together** | **16.8** | **8.3 %** | So on this card the layer is not the 110 ms: the title's own commands are 92 % of the card's time and our own 8 %. ## Where the time goes inside the title's commands Every slow-command warning in the 200 s (all of them compute dispatches) by shader: | stage | hash | instances | total ms | mean | longest | |---|---|---|---|---|---| | compute | `3cf39f4495b908d0` | 2,053 | 13,032 | 6.3 | 12.6 | | compute | `82a2ad6d07417d36` | 900 | 6,221 | 6.9 | 15.0 | | compute | `4518151afe8c6c09` | 321 | 2,230 | 6.9 | 11.4 | | compute | `dd24ff46af3ae6ee` | 69 | 485 | 7.0 | 10.7 | | compute | `7b2c3c1db2298f44` | 2 | 101 | **50.6** | **51.0** | Caveats I would rather state than have you find: - The warning only fires above about 6 ms, so these are the instances over the line, not every instance. Treated as a lower bound they are still ~21 ms a frame for `3cf39f44` (about 3.4 a frame) and ~10 ms for `82a2ad6d` (about 1.5 a frame). - The first two also turned up in an opening/lobby-phase run earlier tonight: `82a2ad6d` at 24.60 ms a frame and `7b2c3c1d` at 14.45 with a 23.37 longest. Same three shaders, so they are not scene-specific. - `7b2c3c1d` is rare but brutal: two instances of 50 seconds-per-thousand each (50 ms), 1260x1x1 workgroups. If anything on this list is worth a look, it is that one - it is a single command that eats a quarter of a frame. ## Host lists, for the CPU side 589 slow-host-list warnings in the 200 s: median **97 ms for 341 commands**, worst **201 ms for 55,894 commands**. Those are ours, and they are big - if the submitting thread is ever the limit on a slower card, this is where it would show. ## Memory at the time ``` the card's own: budget 6420 MB, in use 5894 MB (92 %) shared with the card: budget 15445 MB, in use 6193 MB ``` That is with the 8 GB overrides you gave. Worth knowing that the card the D3D12 budget reports here is not a constant - as the shared side fills, Windows cuts the budget (I have seen it at 5.2 GB in the same scene), so a trim to "the budget" is chasing a moving number on this machine. Happy to repeat the 200 s with different overrides or a different spot, or to dump the raw log lines - it is 6.5 MB of text and I did not want to paste it.
Author
Owner

@⁠KainanP on GitHub · 2026-11-27 23:46 UTC · original

@⁠YUYING234 thank you, this is exactly the split we were missing. It moves the work: on the 4060 Laptop the layer is ~8 % of the card's time (preludes 5.5 %, copy compares 2.7 %), and the title's commands are ~92 %. Nearly all of that 92 % is in five compute shaders. Thanks also for spelling out the caveats (≥ 6 ms threshold, full DRED inflating the figures).

The by command line under light DRED is fixed in LooperSalty/AnyXboxX#568. With VICTORY_GPU_TIMING=1, every command is named and timed under VICTORY_D3D12_DRED=light (the tuned set) or with no DRED at all, without a marker each. --dred is no longer needed, so the timing run should be far less inflated than at 386 ms a frame.

Next ask, if you have time. LooperSalty/AnyXboxX#570 extends VICTORY_SHADER_CENSUS so that victory translate writes one line per shader with translator-side counts only, no code: instruction kinds, group barriers we add when a wave64 program runs as two waves of 32 on NVIDIA, the select chains we emit for M0-indexed register moves, 64-bit results, loops and our loop counters, guard/clamp selects, LDS bytes, thread group, required wave size, which wave64 fallback form was used, and the number of bindings. With a build that has #570 (merged, or that branch):

set VICTORY_SHADER_CENSUS=%TEMP%\census.tsv
set VICTORY_TRANSLATE_ONLY=3cf39f4495b908d0,82a2ad6d07417d36,4518151afe8c6c09,dd24ff46af3ae6ee,7b2c3c1db2298f44
victory.exe translate <game>\shaders.rpf <game>\game_scarlett_master.exe <game>\XboxBvhBuilder.dll <game>\amd_fidelityfx_upscaler_xbox.dll

Run it on the 4060, so the host wave size is the one the game runs with. Then paste the five lines of census.tsv here. They are tab-separated name=count pairs, plus the label with the #hash. Please post only those lines: no shader bytes, no DXIL, no dumps.

If 7b2c3c1d or 82a2ad6d show a large added_barrier or indexed_select, or a form= other than as is, that is where we will spend time next.

**@⁠KainanP** on GitHub · 2026-11-27 23:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/3505#issuecomment-7230397648) @⁠YUYING234 thank you, this is exactly the split we were missing. It moves the work: on the 4060 Laptop the layer is ~8 % of the card's time (preludes 5.5 %, copy compares 2.7 %), and the title's commands are ~92 %. Nearly all of that 92 % is in five compute shaders. Thanks also for spelling out the caveats (≥ 6 ms threshold, full DRED inflating the figures). **The `by command` line under light DRED** is fixed in LooperSalty/AnyXboxX#568. With `VICTORY_GPU_TIMING=1`, every command is named and timed under `VICTORY_D3D12_DRED=light` (the tuned set) or with no DRED at all, without a marker each. `--dred` is no longer needed, so the timing run should be far less inflated than at 386 ms a frame. **Next ask, if you have time.** LooperSalty/AnyXboxX#570 extends `VICTORY_SHADER_CENSUS` so that `victory translate` writes one line per shader with translator-side counts only, no code: instruction kinds, group barriers we add when a wave64 program runs as two waves of 32 on NVIDIA, the select chains we emit for M0-indexed register moves, 64-bit results, loops and our loop counters, guard/clamp selects, LDS bytes, thread group, required wave size, which wave64 fallback form was used, and the number of bindings. With a build that has #570 (merged, or that branch): ``` set VICTORY_SHADER_CENSUS=%TEMP%\census.tsv set VICTORY_TRANSLATE_ONLY=3cf39f4495b908d0,82a2ad6d07417d36,4518151afe8c6c09,dd24ff46af3ae6ee,7b2c3c1db2298f44 victory.exe translate <game>\shaders.rpf <game>\game_scarlett_master.exe <game>\XboxBvhBuilder.dll <game>\amd_fidelityfx_upscaler_xbox.dll ``` Run it on the 4060, so the host wave size is the one the game runs with. Then paste the five lines of `census.tsv` here. They are tab-separated `name=count` pairs, plus the label with the `#hash`. Please post only those lines: no shader bytes, no DXIL, no dumps. If `7b2c3c1d` or `82a2ad6d` show a large `added_barrier` or `indexed_select`, or a `form=` other than `as is`, that is where we will spend time next.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#3505
No description provided.