[PR #273] [MERGED] docs/boot.md: what a Wine prefix has to supply, and the quiet failure without it #326

Closed
opened 2026-11-26 20:17:31 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/273
Author: @Andretuta
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta

Base: main ← Head: old-pr/10005


📝 Commits (1)

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

📊 Changes

1 file changed (+29 additions, -0 deletions)

View changed files

📝 docs/boot.md (+29 -0)

📄 Description

Carried over from old PR 10005 by YaBulochka in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10005, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
YaBulochka: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Re-created after the reset. docs/boot.md gains a short "Under Wine on Linux" part under "Commands", because the failure it prevents reads like a boot-chain stop and is not one.

The executable imports D3D12SerializeVersionedRootSignature. Wine's own d3d12.dll does not answer that export for the runtime's shim, and nothing says so at the point that matters: the D3D12 trace ends at about 1,658 calls, the startup trace ends in an access violation inside the executable, and the run never reaches CreateRootSignature. The only line that names the cause is [rt] d3d12_xs: host d3d12.dll has no D3D12SerializeVersionedRootSignature.

Copying the DLLs a Proton prefix installs is not enough on its own, because Wine keeps preferring its own copy beside them; the overrides are what make it use them.

Measured on Wine 11.13 (GE-Proton 11-13), RDNA2 iGPU, same binary, shader folder and command line, only the prefix differing:

prefix result
bare wine, Wine's d3d12.dll 1,658 D3D12 calls, then an access violation inside the executable
same, plus vkd3d-proton's d3d12.dll/d3d12core.dll and DXVK's dxgi.dll, no override 1,658 calls, same fault
same, plus WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n,b" 1,400,573 calls in 90 s, no exception, PresentX ready
a prefix Proton created frame loop without any override

Rebased onto main@d083a2cc3. tests/test_docs_links.py and test_docs_list_items.py pass; test_docs_env_vars.py fails only on LEONIDA_RNG_SEED (runtime/shims/bcrypt_rng.cpp:80), which is undocumented on main as well.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/273 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@Andretuta](https://github.com/Andretuta) **Base:** `main` ← **Head:** `old-pr/10005` --- ### 📝 Commits (1) - [`82c5a2e`](https://github.com/ubiquitarianism/leonida/commit/82c5a2ed22db314ab62d84af168afc4ebb693ddb) docs/boot.md: what a Wine prefix has to supply, and the quiet failure without it ### 📊 Changes **1 file changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/boot.md` (+29 -0) </details> ### 📄 Description > Carried over from **old PR 10005** by `YaBulochka` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/10005`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `YaBulochka`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Re-created after the reset. `docs/boot.md` gains a short "Under Wine on Linux" part under "Commands", because the failure it prevents reads like a boot-chain stop and is not one. The executable imports `D3D12SerializeVersionedRootSignature`. Wine's own `d3d12.dll` does not answer that export for the runtime's shim, and nothing says so at the point that matters: the D3D12 trace ends at about 1,658 calls, the startup trace ends in an access violation inside the executable, and the run never reaches `CreateRootSignature`. The only line that names the cause is `[rt] d3d12_xs: host d3d12.dll has no D3D12SerializeVersionedRootSignature`. Copying the DLLs a Proton prefix installs is not enough on its own, because Wine keeps preferring its own copy beside them; the overrides are what make it use them. Measured on Wine 11.13 (GE-Proton 11-13), RDNA2 iGPU, same binary, shader folder and command line, only the prefix differing: | prefix | result | |---|---| | bare `wine`, Wine's `d3d12.dll` | 1,658 D3D12 calls, then an access violation inside the executable | | same, plus vkd3d-proton's `d3d12.dll`/`d3d12core.dll` and DXVK's `dxgi.dll`, no override | 1,658 calls, same fault | | same, plus `WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n,b"` | 1,400,573 calls in 90 s, no exception, `PresentX ready` | | a prefix Proton created | frame loop without any override | Rebased onto `main@d083a2cc3`. `tests/test_docs_links.py` and `test_docs_list_items.py` pass; `test_docs_env_vars.py` fails only on `LEONIDA_RNG_SEED` (`runtime/shims/bcrypt_rng.cpp:80`), which is undocumented on `main` as well. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:17:31 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#326
No description provided.