Surface failed pipeline library saves during warm-up #4967
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!4967
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4966"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 15:47 UTC · original
andrewpozdnakov7-jpg:codex2/fix/confirm-warm-library-save→main· +30 −14 · 3 files · 1 commits · closed without mergingWhat it changes
Shared warm-up removes pipeline names from its pending list, saves the host library, then appends the names to
warm-done.txt. The save can fail to acquire its writer lock or fail while preparing the output. Previously the caller still recorded those names as finished.Return a failed library save to preload and shared warm-up. A periodic shared-library flush puts its names back in the pending list so a later flush can try again. A failed final save reaches the command's exit status. Periodic saves during normal play retain their existing best-effort behavior.
How it was tested
5fabb46eand07223777dc7af94800e6068eba458f1be261eef8, with a stub D3D12 serializer and real local files. An unavailable writer lock and a serialization failure left the old library in place. Main still wrote all three marks, while the patch retained all three as pending. After the failure was cleared, the patch saved the library and wrote all three marks once.cargo xtask policy --stagedaccepted all three changed files. The change combined cleanly with #4959 and the shared warm lookup follow-up in #4486.Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
@trustno1-coder on GitHub · 2026-12-01 18:27 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed