Can not set `api.alsa.period-size` of a firewire rme fireface 802 interface
Hello, I try to use the fireface 802 on Fedora 37 (Linux 6.1.18) with pipewire (0.3.67).
Pipewire config .config/pipewire/pipewire.conf.d/10-clock-quantum.conf
:
context.properties = {
default.clock.quantum = 256
}
The roundtrip latency measured with jack_iodelay:
new playback latency: [256, 256]
4753.261 frames 99.026 ms total roundtrip latency
extra loopback latency: 4241 frames
This 99,026ms latency makes it unsuable to play instruments.
(for comparaison : in usb the roundtrip latency is 26.123 ms)
I tried to follow the instructions here
and created a file /etc/wireplumber/main.lua.d/51-alsa-firewire-config.lua
:
rule = {
matches = {
{
-- Matches the rme fireface
{ "device.name", "matches", "alsa_card.firewire-*"},
},
},
apply_properties = {
["api.alsa.period-size"] = 256,
["api.alsa.period-num"] = 3,
},
}
table.insert(alsa_monitor.rules, rule)
$ pw-cli ls Device
id 64, type PipeWire:Interface:Device/3
object.serial = "64"
factory.id = "14"
client.id = "36"
device.api = "alsa"
device.description = "Fireface 802"
device.name = "alsa_card.firewire-0x000a350462128223"
device.nick = "Fireface802"
media.class = "Audio/Device"
But it does not change anything to the latency.
cat /proc/asound/Fireface802/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 30
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 4096
How is it possible to fix the latency?
Thank you
Edited by François Romain