Keep the D3D12 pipeline cache on Proton #151
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!151
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-151"
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?
@gomeaw on GitHub · 2026-11-26 07:59 UTC · original
gomeaw:fix/proton-empty-pipeline-library→main· +38 −3 · 1 files · 2 commits · openFixes #136.
vkd3d-proton rejects a non-null blob pointer with length zero. The Windows slice wrapper passes such a pointer for
&[], so an absent or rejected cache file can leave the process without a native pipeline library for the entire run.Port AugustoZFJ's null-blob call and Filip722's adaptation to this fork's library. Nonempty blobs still use the Windows wrapper. The empty-library path logs the HRESULT if it fails.
The Windows WARP regression rejects a synthetic invalid blob, creates a fresh library, serializes it, and reopens the resulting nonempty blob. The donor reports native cache hits across processes on a Proton RTX 5060 Laptop GPU. Five Windows library tests passed. A repeat on this branch will verify persistence in this fork.
@bordersky on GitHub · 2026-11-26 10:23 UTC · original
Confirming on Linux: RX 7900 XT, GE-Proton10-34's Wine, vkd3d-proton master, on main
9576c45.Before this PR, every session logged
no host pipeline library: pipelines are not kept. With it:no host pipeline library yet; starting an empty one, thenhost pipeline library saved bytes=322232 early=1783.host pipeline library loaded bytes=349688 mapped=true, growing to 422456 over five starts. The latest one loggedhost pipelines all made made=0 loaded=1576 started_early=1576.Loading from a checkpoint is visibly quicker since. No problem seen over six starts.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.