Pipeline library: the first game run after victory preload --all rebuilds the library down to that run's pipelines (1158 MB to 164 MB) #3883

Open
opened 2026-11-30 10:12:27 +00:00 by JSa25 · 3 comments
JSa25 commented 2026-11-30 10:12:27 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by JSa25 on 2026-11-30T10:12:27Z.


What happens.

  1. victory preload --all filled the pipeline library to about 1.16 GB (5,658 pipelines).
  2. The next game run, one short walk in the opening cell, ended with:
host pipeline library rebuilt with the pipelines this run used (VICTORY_LIBRARY_KEEP_MB=0: never) before=1158573366 after=163642054 kept=2225 again=290 refused=0

Why. pipeline::library::finish calls compact once the library is over VICTORY_LIBRARY_KEEP_MB (1024 MB by default), at the end of any run that used at least COMPACT_LEAST (1000) pipelines. It keeps only the pipelines this run used.

What it costs. A full preload survives exactly one run. Places that run didn't visit compile again on first use. On this PC each pipeline made in a run took 566-1023 ms on average (make_ms_each in the library line). Made during play, that is a hitch.

The trade-off. The limit is there for libraries full of stale names, such as the RTX run in the comment above keep_bytes: 80,703 pipelines in 4.78 GB, of which that run loaded 986. A preloaded library is the opposite case: everything in it is current.

Possible directions (your call):

  • Leave the library alone when it was written by a preload since the translator last changed.
  • Drop only names the current translator can no longer make, and keep every current one.
  • Raise the default.

Workaround: VICTORY_LIBRARY_KEEP_MB=4096 (or 0).

Setup: RTX 5090, Ryzen 9 9950X3D, Windows 11, main of Nov 29 (7995b81b) plus local changes; the code is unchanged on 41adb551.

AI use: Claude Code (Claude Opus 5.5) found this in the logs and wrote this text. Posted with the account owner's approval.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6693869503 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3883). Originally posted by [JSa25](https://github.com/JSa25) on 2026-11-30T10:12:27Z. --- **What happens.** 1. `victory preload --all` filled the pipeline library to about 1.16 GB (5,658 pipelines). 2. The next game run, one short walk in the opening cell, ended with: ``` host pipeline library rebuilt with the pipelines this run used (VICTORY_LIBRARY_KEEP_MB=0: never) before=1158573366 after=163642054 kept=2225 again=290 refused=0 ``` **Why.** `pipeline::library::finish` calls `compact` once the library is over `VICTORY_LIBRARY_KEEP_MB` (1024 MB by default), at the end of any run that used at least `COMPACT_LEAST` (1000) pipelines. It keeps only the pipelines this run used. **What it costs.** A full preload survives exactly one run. Places that run didn't visit compile again on first use. On this PC each pipeline made in a run took 566-1023 ms on average (`make_ms_each` in the library line). Made during play, that is a hitch. **The trade-off.** The limit is there for libraries full of stale names, such as the RTX run in the comment above `keep_bytes`: 80,703 pipelines in 4.78 GB, of which that run loaded 986. A preloaded library is the opposite case: everything in it is current. **Possible directions (your call):** - Leave the library alone when it was written by a preload since the translator last changed. - Drop only names the current translator can no longer make, and keep every current one. - Raise the default. **Workaround:** `VICTORY_LIBRARY_KEEP_MB=4096` (or `0`). **Setup:** RTX 5090, Ryzen 9 9950X3D, Windows 11, main of Nov 29 (7995b81b) plus local changes; the code is unchanged on 41adb551. AI use: Claude Code (Claude Opus 5.5) found this in the logs and wrote this text. Posted with the account owner's approval.
github-actions[bot] commented 2026-11-30 10:12:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-30T10:12:35Z.


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)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7275277889 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3883#issuecomment-7275277889). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T10:12:35Z. --- 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)
JSa25 commented 2026-11-30 15:17:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by JSa25 on 2026-11-30T15:17:10Z.


Not a crash, so there is no crashes.log. RTX 5090, Windows 11. These are the library's own lines from the run (the full log is not attached because it holds local paths). The library was filled by victory preload --all before this run:

2026-11-30T05:00:19.334541Z  INFO victory_gpu::pipeline::library: host pipeline library loaded bytes=1157949046 mapped=true
2026-11-30T05:01:48.866886Z  INFO victory_gpu::pipeline::library: host pipeline library saved bytes=1158025060 early=2562 made=2 loaded=2507 started_early=4741 load_ms_each=11 make_ms_each=56
2026-11-30T05:01:58.416000Z  INFO victory_gpu::pipeline::library: host pipeline library rebuilt with the pipelines this run used (VICTORY_LIBRARY_KEEP_MB=0: never) before=1158573366 after=163642054 kept=2225 again=290 refused=0
2026-11-30T05:01:58.418500Z  INFO victory_gpu::pipeline::library: host pipeline library saved bytes=0 early=2563 made=6 loaded=2509 started_early=4741 load_ms_each=11 make_ms_each=290
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7282743090 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3883#issuecomment-7282743090). Originally posted by [JSa25](https://github.com/JSa25) on 2026-11-30T15:17:10Z. --- Not a crash, so there is no crashes.log. RTX 5090, Windows 11. These are the library's own lines from the run (the full log is not attached because it holds local paths). The library was filled by `victory preload --all` before this run: ``` 2026-11-30T05:00:19.334541Z INFO victory_gpu::pipeline::library: host pipeline library loaded bytes=1157949046 mapped=true 2026-11-30T05:01:48.866886Z INFO victory_gpu::pipeline::library: host pipeline library saved bytes=1158025060 early=2562 made=2 loaded=2507 started_early=4741 load_ms_each=11 make_ms_each=56 2026-11-30T05:01:58.416000Z INFO victory_gpu::pipeline::library: host pipeline library rebuilt with the pipelines this run used (VICTORY_LIBRARY_KEEP_MB=0: never) before=1158573366 after=163642054 kept=2225 again=290 refused=0 2026-11-30T05:01:58.418500Z INFO victory_gpu::pipeline::library: host pipeline library saved bytes=0 early=2563 made=6 loaded=2509 started_early=4741 load_ms_each=11 make_ms_each=290 ```
andrewpozdnakov7-jpg commented 2026-11-30 15:45:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T15:45:38Z.


@JSa25, thanks for the library lines. The load and rebuild timestamps are about 99 seconds apart, within the short-session case #3459 handles.

I reproduced the loss on v2026.11.30.01 in the active adapter library. The same WARP fixture kept 1,000 of 5,000 generated entries on release main and all 5,000 with #3459. The tested current-release branch is ready for the matched check you discussed with OGShotz.

If you can repeat that same short walk after preload --all with the default size limit, the active library size immediately before and after and the final library message are enough. Please omit local paths. Test details in #3459

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7283537026 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3883#issuecomment-7283537026). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-30T15:45:38Z. --- @JSa25, thanks for the library lines. The load and rebuild timestamps are about 99 seconds apart, within the short-session case #3459 handles. I reproduced the loss on `v2026.11.30.01` in the active adapter library. The same WARP fixture kept 1,000 of 5,000 generated entries on release main and all 5,000 with #3459. The [tested current-release branch](https://github.com/andrewpozdnakov7-jpg/VIctory-NVIDIA/tree/review/3459-preload-retention-301) is ready for the matched check you discussed with OGShotz. If you can repeat that same short walk after `preload --all` with the default size limit, the active library size immediately before and after and the final library message are enough. Please omit local paths. [Test details in #3459](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3459#issuecomment-7283527142)
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#3883
No description provided.