Keep the D3D12 pipeline cache on Proton #151
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by gomeaw on 2026-11-26T07:59:03Z.
Fixes #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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by bordersky on 2026-11-26T10:23:38Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.