docs/boot.md: what a Wine prefix has to supply, and the quiet failure without it #1033

Closed
github-bot wants to merge 1 commit from gh-pr/1033/head into gh-pr/1033/base
Owner

@⁠YaBulochka on GitHub · 2026-11-24 17:05 UTC · original
YaBulochka:docs/wine-prefix-requirements → main · +29 −0 · 1 files · 1 commits · closed without merging

Claimed in the coordination issue as: carried over from old PR 10005 (closed original repository); no new claim

Depends on: none. Supersedes #273, which holds the same content as a carried-over draft.

What and why

The prefix has to supply a d3d12.dll that exports D3D12SerializeVersionedRootSignature, because the executable imports it. Wine's own d3d12.dll does not answer that export for the runtime's shim, and the failure is quiet: the D3D12 trace stops at about 1,658 calls and the startup trace ends in an access violation, with one [rt] line naming the cause.

docs/boot.md now records what the prefix must supply (vkd3d-proton's d3d12.dll and d3d12core.dll, DXVK's dxgi.dll), the WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n,b" line, and the measured difference: about 1.4 million D3D12 calls with no exception and PresentX ready, against 1,658 calls and a fault, on Wine 11.13 (GE-Proton 11-13) with an RDNA2 iGPU.

Tested

Docs only. The numbers are from that Wine 11.13 run; no code or GPU test is part of this PR.

AI-assisted: yes (text drafted with a coding agent; the measurements are the author's own).

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (Not applicable: no translator change.)
**@⁠YaBulochka** on GitHub · 2026-11-24 17:05 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1033) `YaBulochka:docs/wine-prefix-requirements` → `main` · +29 −0 · 1 files · 1 commits · closed without merging Claimed in the coordination issue as: carried over from old PR 10005 (closed original repository); no new claim Depends on: none. Supersedes #273, which holds the same content as a carried-over draft. ### What and why The prefix has to supply a `d3d12.dll` that exports `D3D12SerializeVersionedRootSignature`, because the executable imports it. Wine's own `d3d12.dll` does not answer that export for the runtime's shim, and the failure is quiet: the D3D12 trace stops at about 1,658 calls and the startup trace ends in an access violation, with one `[rt]` line naming the cause. `docs/boot.md` now records what the prefix must supply (vkd3d-proton's `d3d12.dll` and `d3d12core.dll`, DXVK's `dxgi.dll`), the `WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n,b"` line, and the measured difference: about 1.4 million D3D12 calls with no exception and `PresentX ready`, against 1,658 calls and a fault, on Wine 11.13 (GE-Proton 11-13) with an RDNA2 iGPU. ### Tested Docs only. The numbers are from that Wine 11.13 run; no code or GPU test is part of this PR. AI-assisted: yes (text drafted with a coding agent; the measurements are the author's own). ### Checklist - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (Not applicable: no translator change.)
The retail executable imports D3D12SerializeVersionedRootSignature, and Wine's own d3d12.dll
does not answer that export for the runtime's shim. The result is hard to place: the D3D12 trace
stops at about 1,658 calls, the startup trace ends in an access violation inside the executable,
and nothing in the log but one [rt] line names the cause. Two of us read that as a boot-chain stop
before finding it.

Document the prefix requirement, the three DLLs and the override that make Wine use them, and the
measured difference: 1.4 million calls with no exception against 1,658 calls and a fault.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:34:29 +00:00
github-bot closed this pull request 2026-11-26 09:34:29 +00:00
Author
Owner

@⁠YaBulochka on GitHub · 2026-11-24 17:14 UTC · original

Closing this in favour of #273, which carries the same change: it is the coordinator's carry-over of the original work from the closed project, and the content is identical (docs/boot.md, +29 lines).

Keeping a single PR for the same text keeps the review in one place. The branch stays on my fork if anything here is preferred.

**@⁠YaBulochka** on GitHub · 2026-11-24 17:14 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1033#issuecomment-7138897057) Closing this in favour of #273, which carries the same change: it is the coordinator's carry-over of the original work from the closed project, and the content is identical (`docs/boot.md`, +29 lines). Keeping a single PR for the same text keeps the review in one place. The branch stays on my fork if anything here is preferred.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.