docs: run the startup experiments under Wine and Proton on Linux #1661
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1668"
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 R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-24T16:44:38Z.
Change
Adds
docs/wine.md, a page for contributors who run the startup stand-ins and debugger under Proton's Wine on aLinux desktop. It builds on the one-time setup in
docs/non-windows-hosts.md#startup-debugger-under-wineand doesnot repeat it. The page adds:
dxgi, clang-cl/xwin stand-ins, one X11 host. Also covers display handling, one run per prefix, and the shader-cache location.run.ps1variable set for Linux shells, whyX2W_XMEM_SHARED_VIEWS=1is needed there, andWINEDEBUGchannels for audio.XDG_RUNTIME_DIRunset, as the section-backing note recommends, libpulse cannot find the server.PULSE_SERVERpointing at the user's pipewire-pulse socket fixes it while the variable stays unset.XMemMapPhysicalPagesbursts get slower as views accumulate: per-map cost about 28 µs at1,000 views and 1.1 ms at 52,000; a source-built caller measured 40 µs per call at the start and 2,140 µs after 50,000 calls.
_NO_DEBUG_HEAPdefault has no effect there, and the debug-heap control ofstartup_debugfails under Wine.tools/startup/triage_run.pyoutput only.Verification
Commit
0647a981on top ofc864f138, Debian 13, Python 3.13.5.Evidence and follow-up
vkd3d-proton, NVIDIA 550.163.01. Raw logs, paths and captures are not attached. Windows was not measured
for any of the Wine-only items.
caller, and the run-extension experiment that showed the non-atomic placeholder replacement. A fixture for the
mapping-cost curve could follow as its own PR.
startup_debugfails its debug-heap control. A capability skip when the flags never appearwould make that check usable there. That is left for a separate change.
Checklist
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T16:51:46Z.
Review: COMMENTED
Reviewed head
0647a98157(new docs/wine.md, docs only).Commands executed locally in a checkout of the head:
git diff --check origin/main...HEAD -> clean
python3 tests/docs_links_check.py -> self-test passed, 17 files, 362 links
python3 tests/bidi_controls_check.py -> passed, 1277 files, no bidi controls
CI: all required checks successful, mergeable CLEAN.
AI-assisted; commands listed were executed locally.