Linux/Proton: from 10 s to 90 ms a frame, without changing Windows #71
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/DoubleGhosty--cool_fox!71
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-71"
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?
@Hasusmogus on GitHub · 2026-11-27 07:25 UTC · original
Hasusmogus:wine-perf-upstream→main· +1287 −118 · 39 files · 35 commits · closed without mergingRuns the pareto-residency build under Proton on Linux, and fixes from getting it there. Tested on an RTX 5060 (8 GB) with GE-Proton11-14, Series S profile, 1080p: from about 10 s a frame at first to 90 ms at best. Merged with current upstream
main(583108b).Linux / Proton (no effect on Windows)
scripts/play-proton.shanddocs/linux.md: build on Fedora with cargo-xwin and start under umu-run / Proton with the pareto-residency settings.patches/wineserver-view-tree.patch: a wineserver that keeps a process's views in a tree (the list walk at every map and unmap was the largest single cost).under_wine()), or where the system cannot answer.VICTORY_CARD_BUDGET_MB): Linux moves nothing to system memory.memcmpof our own (SSE2) under Wine, whose CRT compares 8 bytes a step; on Windows calls go to vcruntime140's own, as before.Also on Windows
refused-pipelines.txt,VICTORY_REFUSED_RETRY=1). Only checked after a wait has run out.VICTORY_PIPELINE_WAIT_LONG=1: as before). Passes over the screen keep their budget; dispatches still wait in full throughVICTORY_PIPELINE_COMPUTE_WAIT. A 91 s pipeline had held 500 ms of each 684 ms frame.retire()'s margin), not only after 2.5 s (VICTORY_POOL_FENCED=0: as before). Cards under 12 GiB keep a tenth of their budget in empty blocks instead of 4 GiB. Cards of 12 GiB and up keep the same spare blocks.VICTORY_LOG_FILE: logs (and crash reports) to a file.VICTORY_LIST_POOL_AGE=0: kept), list threads a third of the logical processors (VICTORY_THIN_THREADS),docs/profiling.md, a Linux CI job for the portable crates, and the indirect-clamp tests asserting the exact charge for eitherVICTORY_INDIRECT_RESTsetting (upstream's WARP skip kept).Merge notes
RwLock(a read lock for the hot query), one place forgetting freed ones.worker_countandVICTORY_DSTORAGE_PRIORITY.make: both the refused pipelines and upstream'scatch_unwindinmake_with.placed_filler_twins()returns 0 outside the diagnostics build.Checked
cargo xwin clippy --workspace --all-targets [--all-features] -- -D warnings: clean.main, on wine-perf before the merge, and after it (watch and D3D12 tests that need Windows); Windows CI runs them for real.🤖 Generated with Claude Code
Run port1-1: the title maps the five pieces of its 185 MB heap in another order than their addresses, so the heap was views of one section in a scattered order ("not one stretch of a section: Scattered") and nothing was placed. With VICTORY_PORT_CONSTANTS=1 xmem now gives the page numbers mapped into a 32-bit graphics reservation the slices at their offset in it, when the reservation is all one section and both slices are fresh (never mapped or written: no commit bit), which the title cannot observe. Co-Authored-By: Claude Opus 5.5 <[email protected]>@DoubleGhosty on GitHub · 2026-11-27 09:01 UTC · original
Cherry-picked the clean, non-conflicting Linux/Proton improvements into main (policy .patch/.diff support
4f569b6eand Wine-only 16-byte SSE2 memcmp), while keeping cool_fox's existing launchers/README intact.Pull request closed