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

Merged
zocram4cc merged 1 commit from upstream-pr/35 into beta 2026-11-25 19:53:04 +00:00
zocram4cc commented 2026-11-25 19:02:21 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by zocram4cc on 2026-11-25T19:02:21Z.


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.

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:6611621967 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/35). Originally posted by [zocram4cc](https://github.com/zocram4cc) on 2026-11-25T19:02:21Z. --- 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.
PastiiJay commented 2026-11-25 19:07:15 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-25T19:07:15Z.


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

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7171846339 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/35#issuecomment-7171846339). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-25T19:07:15Z. --- Thanks @zocram4cc, very clear write-up, really useful for Linux users. I'll review it with #34.
PastiiJay commented 2026-11-25 19:53:06 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-25T19:53:06Z.


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

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7172895686 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/35#issuecomment-7172895686). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-25T19:53:06Z. --- Merged into beta, thanks @zocram4cc! I'm also adding it to the guide on main.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
PastiiJay/klbf-lab!35
No description provided.