Notes
- These steps worked for me using pipewire and pipewire-pulse as originally installed by the archinstall script and
using the Focusrite Scarlett 2i2 via a usb3.0 slot
Changes
- Install
realtime-privileges
and add your user to the realtime
group (see the wiki)
- Create
/etc/security/limits.d/99-realtime-privileges.conf
@realtime - rtprio 98
@realtime - memlock 256
@realtime - nice -11
- Create
~/.config/pipewire/pipewire.conf.d/00-focusrite-scarlett-2i2
(see man pipewire)
context.properties = {
default.clock.rate = 192000
default.clock.allowed-rates = [ 44100 48000 88200 96000 176400 192000 ]
default.clock.min-quantum = 128
default.clock.max-quantum = 32768
default.clock.quantum = 4096
default.clock.quantum-limit = 32768
default.clock.quantum-floor = 16
}
systemctl --user restart pipewire pipewire-pulse
- Confirm the new sample rates are being used with
pw-top