-
Hi! First of all thanks for an amazing piece of software, that allowed to transport my REW created parametric EQ for my monitor loudspeakers to Linux Mint. :-) I'm currently copying lots of files from one external USB3 hard drive to another external USV3 hard drive, while browing on Firefox. Sometimes I hear small glitches, as if the processing is getting interrupted for a millisecond (or something)... So I opened system monitor to check priorities. I see pipewire, pipewire-pulse and wireplumber with Very High priority but easyeffects has Normal priority. Could this be the reason of glitching? How should I raise it, in case it can help? Sorry but I'm a real newbie when it comes to Linux. I installed pipewire using this guide, if it matters: https://lowtechlinux.com/2022/04/26/go-full-pipewire-on-ubuntu-22-04-and-all-family-derivatives/ And EasyEffects as a flatpak from Software Manager in Mint. Version is 7.0.3. Edit: forgot to provide info on my system (CPU utilization stays around 20-25% for all four threads). Here goes: System: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
PipeWire's filters run in a realtime thread managed by PipeWire. So the audio processing is happening at high priority. I think there are ways to customize this through PipeWire's configuration files. But I have never done it myself. Run |
Beta Was this translation helpful? Give feedback.
-
Ok, I think I got it. I set
in pipewire.conf under ~/.config/pipewire. Then systemctl --user restart pipewire.service pipewire-pulse.socket, ended easyeffects process (is there another way to restart?) Now QUANT is set at 4096 with pw-top. I hope I did it correctly. |
Beta Was this translation helpful? Give feedback.
The estimated latency used by PipeWire in this case is
1024 / 176400 = 0.0058 seconds
. It is very low and there are systems that are not able to properly handle it. It depends on the combination of soundcard hardware, driver, CPU, etc.There are ways to change PipeWire's configuration files in a way that the minimum
quantum
size does not get "too low". But before taking this route I would take a look at this https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-PipeWire#quantum-ranges to set a temporary fixed quantum value that is higher than the one in the image. 1024 is fine with 48000 Hz and 44100 Hz but with 176400 Hz you may have to use higher quantum values like 4096. This…