Skip to content

Various wine patches mostly aimed at improving performance. May require CSMT patches.

Notifications You must be signed in to change notification settings

laino/wine-patches

Repository files navigation

wine-patches

Various wine patches mostly aimed at improving performance that aren't in wine or wine-staging (yet?). May require CSMT patches (wine-staging).

0001-ntdll-improve-heap-allocation-performance.patch

Improves heap allocation performance by balancing free lists and improving common bottlenecks. Fixes Guild Wars 2 FPS decrease when it is running for a longer period of time and can almost double the FPS in big fights (World Bosses, WvW, etc...) by reducing the overhead of the memory allocator from ~30% CPU time to ~2%.

Don't use the "ntdll-Heap_FreeLists" patch from wine-staging when using this one (they have conflicting changes).

0002-ntdll-heap.c-align-everything-to-64-byte-to-reduce-f.patch

Align allocated memory to 64 byte boundaries to lessen false-sharing issues. May increase RAM usage.

0003-wine-list.h-linked-list-cache-line-prefetching.patch, 0004-ntdll-heap.c-freelist_balance-prefetch-next-entry-ca.patch, 0005-oleaut32-typelib.c-fix-cursor2-having-the-wrong-type.patch

Potentially doubles the speed at which linked-list can be traversed. Linked lists are used in many places in wine. Patch 0005 is only needed if you are also using the heap allocation patch (0001).

0006-Ensure-16-byte-alignment-of-data.patch

Align data in allocated memory to 16 byte byte boundaries.

0007-wined3d-use-SwitchToThread-waits-in-wined3d_pause.patch

Requires: CSMT patches.

Can reduce CPU usage when using the CSMT patchset by up to 50% or sometimes even more. Whether this translates into an FPS increase or an improvement in responsiveness depends on your OS and hardware (and game).

About

Various wine patches mostly aimed at improving performance. May require CSMT patches.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published