Pipewire configuration for low latency
Moderators: MattKingUSA, khz
-
- Posts: 1
- Joined: Thu Feb 25, 2021 11:13 pm
- Has thanked: 1 time
Re: Pipewire configuration for low latency
- ycollette
- Established Member
- Posts: 96
- Joined: Sun Jul 03, 2016 8:53 pm
- Has thanked: 15 times
- Been thanked: 20 times
- Contact:
Re: Pipewire configuration for low latency
I reinstalled a new PC with Fedora 37 and decided to give it another try to pipewire Jack.
https://www.youtube.com/watch?v=DEuqUlMmbho
Video made on Fedora 37 with OBS Studio.
Guitarix / TuxGuitar / Non Mixer / Ray Session and pipewire jack configured to use 256 samples buffer and 48 kHz sample rate.
There are still some Xruns from time to time but the situation has greatly improved when I compare the last try I made.
I used a 5.10 RT kernel. I will try with a recent one, maybe pipewire will be more confortable with a recent RT kernel.
The pipewire configuration is the standard one.
Audinux Fedora repository: https://audinux.github.io/
Github: https://github.com/ycollet
LMMS Music: https://www.jamendo.com/artist/471813/j ... wen/albums
Modular Music: https://www.jamendo.com/artist/537917/u ... ing/albums
-
- Established Member
- Posts: 897
- Joined: Thu Sep 11, 2014 3:04 pm
- Has thanked: 71 times
- Been thanked: 64 times
Re: Pipewire configuration for low latency
sysrqer wrote: ↑Sat Jan 08, 2022 12:03 pmycollette wrote: ↑Mon Jan 03, 2022 10:54 amI found some interesting links about tuning for low latency. I will try this on Friday.
The tuning you must make for low latency:
https://gitlab.freedesktop.org/pipewire ... nce-tuningI just tried this and I'm a bit confused about the RLIMITs section. I've added the suggested file but I do not have a pipewire group. Is this necessary, or rather is this different than the settings in the pipewire config?
Yes you'll need to create the pipewire group manually on Ubuntu / Mint etc. For some unknown reason the installer doesn't take care of this.
groupadd -g 200 pipewire
usermod -a -G pipewire <your user>
Then add the pipewire values in /etc/security/limits.conf
Code: Select all
@pipewire - rtprio 95
@pipewire - memlock 4194304
@pipewire - priority -19