Pipeline library: shared folder (VICTORY_LIBRARY_DIR) with a writer lock #1583
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1583
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1583"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@101Leafy on GitHub · 2026-11-28 21:57 UTC · original
101Leafy:nv/library-shared→main· +13 −5 · 1 files · 2 commits · openRuns with different cache folders each built their own host pipeline library, so each folder paid for the same driver compiles again (about 1,300 slow pipelines, around 14 minutes here).
VICTORY_LIBRARY_DIRputs the library file itself in one shared folder. The early and slow pipeline lists stay per cache folder. Unset, nothing changes.A run takes a lock (
host-pipelines.lock) while it writes the shared library, so two runs never write the same temporary file. A save that finds the lock taken skips that save and keeps its pipelines counted as added for the next one. The save at exit waits up to 30 s for the lock. Two runs that both save keep the last one's library, since the host cannot list or merge another library's pipelines.0b3b7d3cd3to6f5554d2a4@trustno1-coder on GitHub · 2026-11-29 08:28 UTC · original
Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
6f5554d2a4to5cf20a6d5aView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.