mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Clean up the performance tuning section
This commit is contained in:
@@ -334,38 +334,40 @@ group = "This will be ignored!"
|
|||||||
## Performance tuning
|
## Performance tuning
|
||||||
|
|
||||||
Running Windows VST plugins under Wine should have minimal performance impact,
|
Running Windows VST plugins under Wine should have minimal performance impact,
|
||||||
but you may still notice an increase in latency and audio spikes. There are a
|
but you may still notice an increase in audio spikes and overall processing
|
||||||
few things you can do to get rid of most or all of these negative side effects:
|
latency. Luckily there are a few things you can do to get rid of most or all of
|
||||||
|
these negative side effects:
|
||||||
|
|
||||||
- First of all, you'll want to make sure that your user is able to run programs
|
- First of all, you'll want to make sure that you can run programs with realtime
|
||||||
with realtime privileges. Note that on Arch and Manjaro this does not
|
priorities. Note that on Arch and Manjaro this does not necessarily require a
|
||||||
necessarily require a realtime kernel as the `PREMPT` patch set is enabled on
|
realtime kernel as they include the `PREMPT` patch set in their regular
|
||||||
their regular kernels. You can verify that this is set up correctly by running
|
kernels. You can verify that this is workign correctly by running
|
||||||
`chrt -f 10 whoami`, which should print your username.
|
`chrt -f 10 whoami`, which should print your username.
|
||||||
|
|
||||||
- The second, possibly even more important thing is to use a build of Wine with
|
- The other even more important thing you can do is to use a build of Wine with
|
||||||
Proton's fsync patches. This can improve performance significantly when using
|
Proton's fsync patches. This can improve performance significantly, especially
|
||||||
a lot of plugins at once. If you're running Arch or Manjaro, then you can use
|
when using a lot of plugins at the same time. If you're running Arch or
|
||||||
|
Manjaro, then you can use
|
||||||
[this](https://github.com/nine7nine/pkgbuilds_nspa/tree/master/wine-nspa)
|
[this](https://github.com/nine7nine/pkgbuilds_nspa/tree/master/wine-nspa)
|
||||||
audio production optimized Wine PKGBUILD. Aside from a patched version of Wine
|
PKGBUILD to build an audio production optimized version of Wine. Aside from a
|
||||||
you'll also need a supported kernel for this to work. Manjaro's kernel
|
patched copy of Wine you'll also need a supported kernel for this to work.
|
||||||
supports fsync out of the box, and on Arch you can use the `linux-zen` kernel.
|
Manjaro's kernel supports fsync out of the box, and on Arch you can use the
|
||||||
Finally you'll have to set the `WINEFSYNC` environment variable to `1` to
|
`linux-zen` kernel. Finally you'll have to set the `WINEFSYNC` environment
|
||||||
enable fsync. See the [search path setup](#search-path-setup) section for more
|
variable to `1` to enable fsync. See the [search path
|
||||||
information on where to do this. You can use the following command to check if
|
setup](#search-path-setup) section for more information on where to do this.
|
||||||
this is set correctly:
|
You can use the following command to check if this is set correctly:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
env -i HOME="$HOME" $SHELL -l -c 'echo $WINEFSYNC'
|
env -i HOME="$HOME" $SHELL -l -c 'echo $WINEFSYNC'
|
||||||
```
|
```
|
||||||
|
|
||||||
If this prints `1` then everything is set up correctly. You'll have to log out
|
If this prints `1` then everything is set up correctly. Running `wineboot`
|
||||||
and back in again for this to take effect on applications launched from the
|
from a terminal should now also print `fsync: up and running.`. You'll have to
|
||||||
GUI.
|
log out and back in again for this to take effect on applications launched
|
||||||
|
from the GUI.
|
||||||
|
|
||||||
I don't know the what the best way to install an fsync patched version of Wine
|
If anyone knows a good way to install an fsync patched version of Wine on
|
||||||
on other distros is, so if anyone knows more about this then please let me
|
other distros, then please let me know!
|
||||||
know and I'll add it to this section.
|
|
||||||
|
|
||||||
## Runtime dependencies and known issues
|
## Runtime dependencies and known issues
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user