run: VICTORY_WARM=0 opens the game without preparing pipelines first #88

Closed
github-bot wants to merge 1 commit from github-bot/gh-88 into main AGit
Owner

@⁠luniiya on GitHub · 2026-12-01 18:00 UTC · original
warm-opt-out → main · +6 −2 · 2 files · 1 commits · closed without merging

What

VICTORY_WARM=0 makes play open the game at once, without preparing every known pipeline first. Each pipeline is then made the first time it is drawn and cached as usual. The default is unchanged. The README run section and settings table mention it.

Why

On this machine the warm-up before the game opens had about 90,000 pipelines to prepare and was on course to take around 3 hours. That's too long to wait to play. With VICTORY_WARM=0 the game window came up right away. The cost is missing geometry and stutter at first while pipelines are made, less each run as the cache fills.

Results

  • With VICTORY_WARM=0: the game opens right away; pipelines are made at first use and saved (the library log shows made= growing, and loaded= on the next run).
  • Without it: same behaviour as main.

Platform

Not Linux-specific: an opt-in environment variable read in run.rs, so Windows and the default path are untouched.

How this was tested

Tested on Linux only, on a local branch: main (37bb30f) plus these open PRs merged in (all merged cleanly):

  • #35 setup.sh: a rebuilt vkd3d reaches the prefix
  • #48 env.sh: patched() compares full blob hashes
  • #34 run.sh: MUTE=1 as an argument mutes
  • #45 Fix black sand and terrain in indirect mesh dispatches
  • #47 texture: keep what a GPU copy wrote from uploads asked for before it
  • #67 formats, texture: BC7 dictionary indices as BCPack.dll reads them; GPU copies reach views placed before them
  • #44 gpu: page mover off the title's path, honest VRAM budget, tighter texture pool
  • #31 texture pool: VICTORY_POOL_MOVE moves textures in use out of blocks being emptied (#21)
  • #43 gpu, mesa: HW RT UAV barrier/memory_ready and NIR image_heap coherency
  • #75 ambient: keep VICTORY_AMBIENT_RT opt-in with ray tracing (#61)
  • #63 resolution: 4K interface plane at 2560x1440 (VICTORY_UI_PLANE)

run.conf: VICTORY_OUTPUT=2560x1440, VICTORY_BVH_HARDWARE=0 (RDNA3 draws black geometry with it on, #33), VICTORY_POOL_MOVE=1, VICTORY_PLACED_COPIED=1, VICTORY_WARM=0.

Machine: Ryzen 7 5800X, RX 7800 XT 16 GB with Resizable BAR on, 125 GB RAM, CachyOS (kernel 7.3), GE-Proton11-14. The game dump and local/ (caches, prefix, log) are on a 2 TB rotating SMR hard drive (ST2000DM008, BFQ), 99% full.

Turning on Resizable BAR in the BIOS (Above 4G decoding on, CSM off, Re-Size BAR on) was the biggest single change on this machine: about 3–14 FPS before, 30–46 FPS after, with the 4 GB title pool on the card.

**@⁠luniiya** on GitHub · 2026-12-01 18:00 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/88) `warm-opt-out` → `main` · +6 −2 · 2 files · 1 commits · closed without merging ## What `VICTORY_WARM=0` makes `play` open the game at once, without preparing every known pipeline first. Each pipeline is then made the first time it is drawn and cached as usual. The default is unchanged. The README run section and settings table mention it. ## Why On this machine the warm-up before the game opens had about 90,000 pipelines to prepare and was on course to take around 3 hours. That's too long to wait to play. With `VICTORY_WARM=0` the game window came up right away. The cost is missing geometry and stutter at first while pipelines are made, less each run as the cache fills. ## Results - With `VICTORY_WARM=0`: the game opens right away; pipelines are made at first use and saved (the library log shows `made=` growing, and `loaded=` on the next run). - Without it: same behaviour as `main`. ## Platform Not Linux-specific: an opt-in environment variable read in `run.rs`, so Windows and the default path are untouched. ## How this was tested Tested on Linux only, on a local branch: `main` (37bb30f) plus these open PRs merged in (all merged cleanly): - #35 setup.sh: a rebuilt vkd3d reaches the prefix - #48 env.sh: patched() compares full blob hashes - #34 run.sh: MUTE=1 as an argument mutes - #45 Fix black sand and terrain in indirect mesh dispatches - #47 texture: keep what a GPU copy wrote from uploads asked for before it - #67 formats, texture: BC7 dictionary indices as BCPack.dll reads them; GPU copies reach views placed before them - #44 gpu: page mover off the title's path, honest VRAM budget, tighter texture pool - #31 texture pool: VICTORY_POOL_MOVE moves textures in use out of blocks being emptied (#21) - #43 gpu, mesa: HW RT UAV barrier/memory_ready and NIR image_heap coherency - #75 ambient: keep VICTORY_AMBIENT_RT opt-in with ray tracing (#61) - #63 resolution: 4K interface plane at 2560x1440 (VICTORY_UI_PLANE) `run.conf`: `VICTORY_OUTPUT=2560x1440`, `VICTORY_BVH_HARDWARE=0` (RDNA3 draws black geometry with it on, #33), `VICTORY_POOL_MOVE=1`, `VICTORY_PLACED_COPIED=1`, `VICTORY_WARM=0`. Machine: Ryzen 7 5800X, RX 7800 XT 16 GB with Resizable BAR on, 125 GB RAM, CachyOS (kernel 7.3), GE-Proton11-14. The game dump and `local/` (caches, prefix, log) are on a 2 TB rotating SMR hard drive (ST2000DM008, BFQ), 99% full. Turning on Resizable BAR in the BIOS (Above 4G decoding on, CSM off, Re-Size BAR on) was the biggest single change on this machine: about 3–14 FPS before, 30–46 FPS after, with the 4 GB title pool on the card.
`play` prepares every known pipeline before the game opens. On a slow
machine or disk that can take hours; with VICTORY_WARM=0 the game opens
at once and each pipeline is made at its first use (and cached as usual).
Default unchanged.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 18:04:09 +00:00
github-bot closed this pull request 2026-12-01 19:02:09 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.