Add some more details to the fsync instructions

It's worth mentioning that you should build wine-tkg yourself because
some people seem to install the binary releases instead, and even though
I haven't heard it cause any problems for anyone it's also good to be
aware that you need the `-dkms` versions of any extramodule packages if
you're using `linux-zen` (or any other custom kernel).
This commit is contained in:
Robbert van der Helm
2021-11-16 16:08:14 +01:00
parent aa35be3cc0
commit 6d110eaa92
+16 -10
View File
@@ -695,17 +695,23 @@ negative side effects:
spikes.
- The last but perhaps the most important thing you can do is to use a build of
Wine compiled with Proton's fsync patches. This can improve performance
significantly when using certain plugins. If you're running Arch or Manjaro,
then you can use [Tk-Glitch's Wine
Wine compiled with Proton's fsync or FUTEX2 patches. This can improve
performance significantly when using certain multithreaded plugins. If you are
running Arch or Manjaro, then you can use [Tk-Glitch's Wine
fork](https://github.com/Frogging-Family/wine-tkg-git) for a customizable
version of Wine with the fsync patches included. Aside from a patched copy of
Wine you'll also need a supported kernel for this to work. Manjaro's kernel
supports fsync out of the box, and on Arch you can use the `linux-zen` kernel.
Finally, you'll have to set the `WINEFSYNC` environment variable to `1` to
enable fsync. See the [environment configuration](#environment-configuration)
section below for more information on where to set this environment variable
so that it gets picked up when you start your DAW.
version of Wine with the fsync patches included. Make sure to follow the
instructions in the readme and don't try to use the prebuilt releases as they
will have fshack enabled which tends to break many plugins that use Direct3D
for their rendering. Aside from a patched copy of Wine you'll also need a
supported kernel for this to work. Manjaro's kernel supports fsync out of the
box. On Arch you can use the `linux-zen` kernel. If you're installing
`linux-zen` and you also use extramodules like NVIDIA drivers or VirtualBox
host modules, then you'll need to also install `linux-zen-headers` and the
`-dkms` versions of those extramodule packages. Finally, you'll have to set
the `WINEFSYNC` environment variable to `1` to enable fsync. See the
[environment configuration](#environment-configuration) section below for more
information on where to set this environment variable so that it gets picked
up when you start your DAW.
You can find a guide to setting these things up on Ubuntu
[here](https://zezic.github.io/yabridge-benchmark/).