Docs: seconds per frame under Wine come from wineserver's view list (view-tree wineserver) #35

Manually merged
github merged 1 commit from gh-pr/35/head into gh-pr/35/base 2026-11-26 05:53:10 +00:00
Owner

@⁠zocram4cc on GitHub · 2026-11-25 19:02 UTC · original
zocram4cc:up/wine-wineserver-docs → beta · +6 −0 · 1 files · 1 commits · merged 2026-11-25 19:53 UTC

Adds a short "Seconds per frame under Wine" section next to the existing "Black screen under Wine" one.

Under Wine/Proton the world runs at seconds a frame with the GPU idle and wineserver busy. The cause is Wine's server: it keeps each process's mapped views in a list and walks it on every map/unmap (Wine bug 60868), and the title remaps pages by the thousand per frame. A view-tree wineserver (CachyOS/wine-cachyos#50, by ajsem1337 from neonbyte1's version; also reported in fxceless/victory-fork#184) removes it. Nothing in this branch has to change, so this is documentation only; the section says how to recognise it and how to use the fixed server with a given Proton.

Measured here (RX 6900 XT, RADV / Mesa 26.3.1, Proton Experimental 11.0-20261112, same build and settings, scripted input, first ~5 min in the world, medians of a per-second frame-time log):

wineserver ms/frame textures ms copies ms wineserver CPU
stock 2,068 482 417 ~70 %
view tree 509 73 99 ~6 %

Server microbenchmark (map+unmap pair with N other views mapped, N = 0 / 5,000 / 20,000): stock 42 / 79 / 176 µs, view tree 44 / 46 / 44 µs.

Docs only. AI-assisted (Claude Code); runs and measurements on my machine.

**@⁠zocram4cc** on GitHub · 2026-11-25 19:02 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/35) `zocram4cc:up/wine-wineserver-docs` → `beta` · +6 −0 · 1 files · 1 commits · merged 2026-11-25 19:53 UTC Adds a short "Seconds per frame under Wine" section next to the existing "Black screen under Wine" one. Under Wine/Proton the world runs at seconds a frame with the GPU idle and wineserver busy. The cause is Wine's server: it keeps each process's mapped views in a list and walks it on every map/unmap (Wine bug 60868), and the title remaps pages by the thousand per frame. A view-tree wineserver (CachyOS/wine-cachyos#50, by ajsem1337 from neonbyte1's version; also reported in fxceless/victory-fork#184) removes it. Nothing in this branch has to change, so this is documentation only; the section says how to recognise it and how to use the fixed server with a given Proton. Measured here (RX 6900 XT, RADV / Mesa 26.3.1, Proton Experimental 11.0-20261112, same build and settings, scripted input, first ~5 min in the world, medians of a per-second frame-time log): | wineserver | ms/frame | textures ms | copies ms | wineserver CPU | |---|---:|---:|---:|---:| | stock | 2,068 | 482 | 417 | ~70 % | | view tree | 509 | 73 | 99 | ~6 % | Server microbenchmark (map+unmap pair with N other views mapped, N = 0 / 5,000 / 20,000): stock 42 / 79 / 176 µs, view tree 44 / 46 / 44 µs. Docs only. AI-assisted (Claude Code); runs and measurements on my machine.
wineserver walks a list of every mapped view on each map and unmap; the
title remaps pages by the thousand each frame. Points to the view-tree
wineserver (CachyOS/wine-cachyos#50) with a measurement on an RX 6900 XT.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:53:07 +00:00
github manually merged commit b8aeaaa8b2 into gh-pr/35/base 2026-11-26 05:53:10 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 19:07 UTC · original

Thanks @⁠zocram4cc, very clear write-up, really useful for Linux users. I'll review it with #34.

**@⁠PastiiJay** on GitHub · 2026-11-25 19:07 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/35#issuecomment-7171846339) Thanks @⁠zocram4cc, very clear write-up, really useful for Linux users. I'll review it with #34.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 19:53 UTC · original

Merged into beta, thanks @⁠zocram4cc! I'm also adding it to the guide on main.

**@⁠PastiiJay** on GitHub · 2026-11-25 19:53 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/35#issuecomment-7172895686) Merged into beta, thanks @⁠zocram4cc! I'm also adding it to the guide on main.
This discussion has been locked. Commenting is limited to contributors.
No description provided.