[pr-docs][linux-proton] Docs: the changes Wine needs for Darner under Proton, with their patches and where each is fixed #390
Loading…
Reference in a new issue
No description provided.
Delete branch "ntsthay/linux-wine-patches"
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?
Docs only. Nothing here runs in the game.
Contributor role (optional)
What it changes
docs/linux-proton.mdgets a section, "Changes to Wine", on the three places where Wine had to change for Darner. A table says what each one is needed for and which Wine and Proton versions have it.xmem::tests::a_title_thread_goes_on_using_the_rest_of_a_viewfails under load on Proton. A test with plain Win32 calls shows the same loss, and a 4-linentdllpatch removes it. The section includes the patch.MemoryRegionInformationEx(class 7 ofNtQueryVirtualMemory, not fixed anywhere). Darner already falls back when Wine does not know the class, so the patch is optional. The section includes it.3217449b), Proton-CachyOS from nightlycachyos-11.0-20261201, and not Proton Experimental as of Valve'sexperimental_11.0at4c5e47d."Restart after warm-up" said that Wine's
powershell.exewas likely the reason the restart never happened, but nobody had checked. It is now checked: Wine'spowershell.exeis a stub that logs its arguments and exits without running anything (programs/powershell/main.c).How it was tested
f3840d7.patch -p1 --dry-runtodlls/ntdll/unix/virtual.cof wine-cachyos27c65a79and of Valve'sexperimental_11.0at4c5e47d.ntdll.sofrom wine-cachyos27c65a79and run under Proton on an RTX 4080.cargo nextest run -p darner-hle -p darner-loader --stress-count 3had 0 failures of the xmem test with it, against 2 to 6 without it.cargo xtask policy: 555 files ok.ntdll.sohas not been played with yet, only run under the tests.Checklist
main.docs/asset-policy.md.Checked for overlap
powershell.exereason.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.