Compiling pipelines every start. Starting at around 51k #341

Open
opened 2026-12-05 23:23:44 +00:00 by github-bot · 2 comments
Owner

@⁠lozsta on GitHub · 2026-12-05 23:22 UTC · original

When you boot with series x and series s both after starting the game before and sitting through it, they say "compiling pipelines" again and takes a while.

It looks amazing though, I'm happy with the inconvenience for the visuals but maybe i am doing something wrong.

**@⁠lozsta** on GitHub · 2026-12-05 23:22 UTC · [original](https://github.com/gamingwithhomie/larp/issues/341) When you boot with series x and series s both after starting the game before and sitting through it, they say "compiling pipelines" again and takes a while. It looks amazing though, I'm happy with the inconvenience for the visuals but maybe i am doing something wrong.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 23:23:44 +00:00
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 23:51 UTC · original

First check what its actually doing: since v1.1.4 the top overlay distinguishes Loading cached pipelines from Compiling pipelines (#264). If it says Loading, your cache is fine and its just reading blobs back (the ~51k number is the catalog size). If it truly says Compiling every start, something is wiping/invalidating cache\\: same folder every launch? Antivirus cleanup? Please attach logs\\play.log - the pipelines: lines at startup say how many were loaded vs created without a blob.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 23:51 UTC · [original](https://github.com/gamingwithhomie/larp/issues/341#issuecomment-7447898136) First check what its actually doing: since v1.1.4 the top overlay distinguishes **Loading cached pipelines** from **Compiling pipelines** (#264). If it says Loading, your cache is fine and its just reading blobs back (the ~51k number is the catalog size). If it truly says Compiling every start, something is wiping/invalidating `cache\\`: same folder every launch? Antivirus cleanup? Please attach `logs\\play.log` - the `pipelines:` lines at startup say how many were loaded vs created without a blob.
Author
Owner

@⁠christopear on GitHub · 2026-12-06 02:45 UTC · original

There is a third case worth checking in the log. In a repeat start on a custom stock-based build under Proton, the initial batch took about 14 min 28 s from the earlier-runs queue message to input release, despite this completion line (fields only):

made=83697 loaded_with_blob=2687 skipped_with_blob=81010 created_without_blob=0

Here 81,010 entries already existed and the warm-up skipped creating their graphics pipeline objects. Another 2,687 loaded with a blob. The final zero applies to that batch only. A skipped pipeline can still take work on first use.

For comparison, the earlier session reported 58,669 creations without a blob. The compiler setup changed between sessions, so these are examples of how to interpret the counters, not a timing comparison between builds.

Look for “the title gets its input” in each launch log and compare those three counters. If most entries are skipped or loaded, a large progress total alone is a poor reason to delete the cache. If many are created without a blob again, checking whether the same cache and driver scope are in use makes sense. The later render-phase wait has its own log line. In the repeat session that hold lasted another 53.5 seconds.

#547 proposes showing the three counts during startup. It leaves the actual waiting behavior unchanged.

**@⁠christopear** on GitHub · 2026-12-06 02:45 UTC · [original](https://github.com/gamingwithhomie/larp/issues/341#issuecomment-7450185485) There is a third case worth checking in the log. In a repeat start on a custom stock-based build under Proton, the initial batch took about 14 min 28 s from the earlier-runs queue message to input release, despite this completion line (fields only): ```text made=83697 loaded_with_blob=2687 skipped_with_blob=81010 created_without_blob=0 ``` Here 81,010 entries already existed and the warm-up skipped creating their graphics pipeline objects. Another 2,687 loaded with a blob. The final zero applies to that batch only. A skipped pipeline can still take work on first use. For comparison, the earlier session reported 58,669 creations without a blob. The compiler setup changed between sessions, so these are examples of how to interpret the counters, not a timing comparison between builds. Look for “the title gets its input” in each launch log and compare those three counters. If most entries are skipped or loaded, a large progress total alone is a poor reason to delete the cache. If many are created without a blob again, checking whether the same cache and driver scope are in use makes sense. The later render-phase wait has its own log line. In the repeat session that hold lasted another 53.5 seconds. #547 proposes showing the three counts during startup. It leaves the actual waiting behavior unchanged.
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/gamingwithhomie--larp#341
No description provided.