Crackeling and/or Audio Dropouts at Low Latency
- PipeWire version (
pipewire --version
): 0.3.85 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): CachyOS - Desktop Environment: KDE Plasma
- Kernel version (
uname -r
): 6.6.2-3.cachyos-lto
Description of Problem:
I'm getting a TON of audio crackling in Reaper on my Laptop. I use Reaper together with FL Studio via the FL VSTi version running through yabridge for realtime Audio Processing. FL Studio is running one of it's demo Projects while i'm testing. Reaper has three modes: PulseAudio, ALSA and JACK. ALSA only works for like 5 minutes until it stutters endlessly and becomes unusable. PulseAudio always has a Latency of 2048 even if I specify PIPEWIRE_LATENCY=128/48000 and even if i specify the latency in ~/.config/pipewire/pipewire-pulse.conf. and JACK has crackling all the time. I need to somehow get a buffer size of 128 for realtime audio processing. If I run reaper in it's ALSA mode, I can go as low as a buffer size of 64, until the audio stutters endlessly and becomes unusable, like i already mentioned. That should mean the CPU isn't the problem, isn't it? JACK stutters, and sometimes the Latency jumpes up to something like 1 second... The stuttering only stops at a buffer size of something like 1024 in the JACK mode...
I've tried everything.
- I've turned off sink suspending.
- I've tried setting the Latency manually in jack.conf and pipewire.conf, and both.
- I've tried turning off Desktop scaling (somehow made it a tad bit better)
- I've tried allowing only a sample rate of 48000
- I've tried using ALSA in reaper with the sound card directly, but that interferes with PipeWire that's running in the background. I can't stop that because I need the MIDI loopback routing
- I've tried giving PipeWire a nice level of -19 and a realtime priority of 98!
- I've tried three different Sound Cards
I need Reaper in JACK mode so it has the lowest latency possible
How Reproducible:
I'm running PipeWire fine without problems on my PC with the same version number and the same Reaper Configuration and project...
Steps to Reproduce:
- Install Reaper, yabridge
- Install FL Studio in WINE
- Use yabridgectl to create a WINE version of the FL Studio VSTi version
- Open FL Studio VSTi
- Open a Demo project on the left side and hope that you can see the same problems as me
Expected Results:
Reaper Audio works without any problems in all three modes, or at least in JACK mode for low latency Audio Processing
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log