Warm: print the total up front and a progress line with made/bad counts and an ETA #1990

Closed
opened 2026-11-29 06:12:51 +00:00 by github-bot · 4 comments
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-29 06:08 UTC · original

What you would like

victory warm can run for many minutes, and the console gives little sense of how far along it is. I would like it to print the total to make before it starts, and a regular progress line against that total with made / bad counts and an ETA, so people know how long the warm will take.

Hardware / build: RTX 2070 SUPER 8 GB, Windows 11, Series S profile + DLSS Performance. Numbers are from one warm on a fork build (changes off by default). As far as I checked, warm.rs on main has the same output code.

What exists now

Summary lines from one warm on the setup above (counts only):

88765 pipelines known, 2087 made before (<fingerprint>, on NVIDIA GeForce RTX 2070 SUPER), 0 bad; 2431 to make, 14 processes
1000 of 2431, 186 s
2000 of 2431, 372 s
2431 made in 457 s (1 have no host pipeline, 0 ended their process); ms each: median 943.0, p90 8032.8, p99 12970.2, most 17458, sum 5806 s

So a total is already printed, but:

  • it is buried in a line whose "known" number (88,765) is much larger than the work ahead (2,431), and it is not repeated later;
  • progress prints only every 1000 pipelines. With a smaller list (say 800 to make) nothing prints until the end; with this one it is a line every ~3 minutes;
  • there is no ETA, no running bad count, and a failed pipeline prints its own line in between with no sign of how many are left;
  • nothing shows in the window title. If warm printed a total, the launcher's preload window (PR #869) could perhaps show it too (a guess; I have not checked how it reads warm output).

The later host-library step ("host pipeline library: making N pipelines") prints progress every 500. Whether to leave it as is or treat it the same way is the maintainer's choice.

Related but not the same: #1423 asks for a real total from the shader step of -Preload; PR #869 is the preload window. This issue is the pipeline (warm) step only. I found no open issue or PR for warm progress (searched "warm progress", "warm total", "shader count", "pipelines made", "ETA"). PRs #1923, #1931 and #1618 also edit apps/victory/src/warm.rs (#1923 adds lines for pipelines without a host pipeline). This change is small and can land after them to avoid conflicts.

Proposal

  1. Total first, in plain words: one line before work starts, e.g. warm: 2431 pipelines to make (2087 already made, 88765 known), 14 processes.
  2. Periodic progress line by time (every ~10 s, and on the last one) instead of every 1000: pipelines: 1234 of 2431 made, 2 bad, 186 s, about 3 min left. The ETA uses the work done so far: remaining x (elapsed / made), shown only after a minimum number made so the first lines do not swing. The pipelines vary a lot in time (median 0.9 s, p99 13 s), so the ETA is rough; say "about".
  3. Optional: the same percentage in the console window title (warm 51 %), and, when the output is not a terminal, plain lines only (no carriage-return redraw), so the launcher and log files stay readable.
  4. Keep the final summary line as it is.

No change to what is made, the order, or the done/bad files; output only.

Spec dependence: general (output only; it helps on any card, and the same numbers exist on any machine). The ETA's accuracy depends on the pipeline mix.

Not measured: the cost of the periodic line (it should be negligible: one counter and one print every ~10 s).

Are you working on a fix?

Yes. I have commented /claim on this issue. It is a small change in apps/victory/src/warm.rs, and a draft PR will follow after the in-game check. If someone else is already on it, say so here and we will review theirs instead.

This change was drafted with AI assistance (Claude Code); the numbers above are from a real run on our PC.

**@⁠Jesper-Andersson** on GitHub · 2026-11-29 06:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1990) ## What you would like `victory warm` can run for many minutes, and the console gives little sense of how far along it is. I would like it to print the total to make before it starts, and a regular progress line against that total with made / bad counts and an ETA, so people know how long the warm will take. **Hardware / build:** RTX 2070 SUPER 8 GB, Windows 11, Series S profile + DLSS Performance. Numbers are from one warm on a fork build (changes off by default). As far as I checked, `warm.rs` on `main` has the same output code. ### What exists now Summary lines from one warm on the setup above (counts only): ``` 88765 pipelines known, 2087 made before (<fingerprint>, on NVIDIA GeForce RTX 2070 SUPER), 0 bad; 2431 to make, 14 processes 1000 of 2431, 186 s 2000 of 2431, 372 s 2431 made in 457 s (1 have no host pipeline, 0 ended their process); ms each: median 943.0, p90 8032.8, p99 12970.2, most 17458, sum 5806 s ``` So a total is already printed, but: - it is buried in a line whose "known" number (88,765) is much larger than the work ahead (2,431), and it is not repeated later; - progress prints only every 1000 pipelines. With a smaller list (say 800 to make) nothing prints until the end; with this one it is a line every ~3 minutes; - there is no ETA, no running bad count, and a failed pipeline prints its own line in between with no sign of how many are left; - nothing shows in the window title. If warm printed a total, the launcher's preload window (PR #869) could perhaps show it too (a guess; I have not checked how it reads warm output). The later host-library step ("host pipeline library: making N pipelines") prints progress every 500. Whether to leave it as is or treat it the same way is the maintainer's choice. Related but not the same: #1423 asks for a real total from the shader step of `-Preload`; PR #869 is the preload window. This issue is the pipeline (warm) step only. I found no open issue or PR for warm progress (searched "warm progress", "warm total", "shader count", "pipelines made", "ETA"). PRs #1923, #1931 and #1618 also edit `apps/victory/src/warm.rs` (#1923 adds lines for pipelines without a host pipeline). This change is small and can land after them to avoid conflicts. ### Proposal 1. **Total first, in plain words:** one line before work starts, e.g. `warm: 2431 pipelines to make (2087 already made, 88765 known), 14 processes`. 2. **Periodic progress line** by time (every ~10 s, and on the last one) instead of every 1000: `pipelines: 1234 of 2431 made, 2 bad, 186 s, about 3 min left`. The ETA uses the work done so far: remaining x (elapsed / made), shown only after a minimum number made so the first lines do not swing. The pipelines vary a lot in time (median 0.9 s, p99 13 s), so the ETA is rough; say "about". 3. **Optional:** the same percentage in the console window title (`warm 51 %`), and, when the output is not a terminal, plain lines only (no carriage-return redraw), so the launcher and log files stay readable. 4. Keep the final summary line as it is. No change to what is made, the order, or the done/bad files; output only. **Spec dependence:** general (output only; it helps on any card, and the same numbers exist on any machine). The ETA's accuracy depends on the pipeline mix. **Not measured:** the cost of the periodic line (it should be negligible: one counter and one print every ~10 s). ### Are you working on a fix? Yes. I have commented `/claim` on this issue. It is a small change in `apps/victory/src/warm.rs`, and a draft PR will follow after the in-game check. If someone else is already on it, say so here and we will review theirs instead. This change was drafted with AI assistance (Claude Code); the numbers above are from a real run on our PC.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 06:12:51 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-29 06:08 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-29 06:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1990#issuecomment-7251669472) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-29 06:10 UTC · original

/claim

**@⁠Jesper-Andersson** on GitHub · 2026-11-29 06:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1990#issuecomment-7251692892) /claim
Author
Owner

@⁠ArturoWolff on GitHub · 2026-11-29 06:27 UTC · original

Independent Linux/Proton data point in support of the progress reporting proposal. On RTX 4060 desktop 8 GB, NVIDIA 620.73.04, 16 GB RAM, GE-Proton11-14, clean locked MSVC release at 568c5e5, the known-pipeline warm step was long enough that the user asked whether any caching was happening. We captured the Windows console to a private log and resumed from the previous stopped run, preserving the renderer and driver caches.

  • First arm retired at the external 60-minute limit with 31,905 successful entries and 13 timed-out entries.
  • The resumed arm reported 83,552 known, 31,905 already made, 13 bad, 51,634 to make, 2 processes. Its final summary was 51,603 processed in 6,666 s, of which 21 had no host pipeline; 31 additional child timeouts. Final records reconciled to 83,487 successful, 44 timed out, 21 no host pipeline.
  • The separate startup-library step then took another 1,679 s (1,972 of 1,974 selected pipelines). Overall resumed preload took 139.4 min, and the game launched afterward. This is not a gameplay benchmark.

A time-based progress line would help a lot here. In particular, please distinguish successful entries, no-host-pipeline returns and child failures: the existing every-1000 counter advances even when there is no host pipeline, while the child timeout count is separate. A resumed run also needs to distinguish progress against its remaining work from progress against the whole known set. The library stage deserves its own estimate since the end of warming was not close to the end of preloading in this case. No changes to warming behavior needed for this request.

AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).

**@⁠ArturoWolff** on GitHub · 2026-11-29 06:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1990#issuecomment-7251869066) Independent Linux/Proton data point in support of the progress reporting proposal. On RTX 4060 desktop 8 GB, NVIDIA 620.73.04, 16 GB RAM, GE-Proton11-14, clean locked MSVC release at 568c5e5, the known-pipeline warm step was long enough that the user asked whether any caching was happening. We captured the Windows console to a private log and resumed from the previous stopped run, preserving the renderer and driver caches. - First arm retired at the external 60-minute limit with 31,905 successful entries and 13 timed-out entries. - The resumed arm reported 83,552 known, 31,905 already made, 13 bad, 51,634 to make, 2 processes. Its final summary was 51,603 processed in 6,666 s, of which 21 had no host pipeline; 31 additional child timeouts. Final records reconciled to 83,487 successful, 44 timed out, 21 no host pipeline. - The separate startup-library step then took another 1,679 s (1,972 of 1,974 selected pipelines). Overall resumed preload took 139.4 min, and the game launched afterward. This is not a gameplay benchmark. A time-based progress line would help a lot here. In particular, please distinguish successful entries, no-host-pipeline returns and child failures: the existing every-1000 counter advances even when there is no host pipeline, while the child timeout count is separate. A resumed run also needs to distinguish progress against its remaining work from progress against the whole known set. The library stage deserves its own estimate since the end of warming was not close to the end of preloading in this case. No changes to warming behavior needed for this request. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:38 UTC · original

Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.

If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1990#issuecomment-7283318600) Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
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/trustno1-coder--VIctory-NVIDIA#1990
No description provided.