gpu: bootstrap native pipeline libraries with a null empty blob on Wine #66
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!66
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/66/head"
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?
@pickles976 on GitHub · 2026-11-30 00:44 UTC · original
pickles976:wine-pipeline-library→main· +42 −8 · 1 files · 1 commits · closed without mergingProblem
On Linux/Proton with native vkd3d-proton, the empty
&[]passed through the windows-rsCreatePipelineLibrarywrapper is non-null even though its length is zero. Both unmodified v0.8.1 title runs loggedno host pipeline library: pipelines are not kept; every launch loses the native-library bootstrap/reuse path.Current upstream main
39e33eb0421d3f905d2821ecda56fd200f86431bstill contains the samemake(&[])bootstrap.Change and credit
Port the null-pointer/zero-length bootstrap from canonical VIctory #1722, commit
ee84a44859d4384ea5b945fa59e09ad9f9ac8d61. Keep nonempty/mapped-blob ownership and static-sampler exclusions unchanged. Report the HRESULT if cold creation fails.Strengthen the existing regression: require a real host, create from both absent and rejected blobs, serialize, and reopen the resulting valid blob without falling back to an empty library.
Verification
Base: Foxhound v0.8.1
6c67166d447ca6c8b3f61cbf4c5da0c75dcf75f3; one production-file change.experimental-11.0-20261112-x86_64, stock vkd3d-proton 3.2.02576c0b4adfae4a; NVIDIA ICD, native d3d12/dxgi/compiler DLLs. Private Wine server additionally carries upstream memory-view rbtree commit3217449b; not pristine Proton certification.pipeline::library::tests::7 passed, 0 failed, 0 ignored, 1.37 s. Native library operations, not shader-dispatch coverage.pipelines are not keptmessage.The title observation also disabled optional first-picture holding and used a different build profile from the published fat-LTO executable. It showed badly lit cutscene imagery at roughly 1 FPS, then reached the unchanged global-VRAM guard. This is not a matched performance comparison, a black-screen cure, stable gameplay or a 30-FPS claim.
Local evidence retained:
foxhound-library-tests/desktop-guard-20261130T002433Z-49527-3f08766b45f54701949714a9cf5eb723/and title trialdesktop-guard-20261130T002645Z-51755-780a970a6f8b48f5a24b8cc6e0ffbec2. No title assets, saves, images, raw memory or credentials included.@readmet3xt-lab on GitHub · 2026-11-30 02:14 UTC · original
Ported with credit in
113ac68. One change: the test returns early on a PC without a GPU (CI's runner has none) instead of failing; on a GPU it runs both cases, serializes and reopens the library as you wrote it. Checked on Windows 11 with an RTX 4070 SUPER: the test runs on the card and passes. Thanks.Pull request closed