Where to set Compensation latency (Pipewire)

Hi there I have a problem with Pipewire, latency and compensation.

I have seen several threads about this but some of them are too old. In my case, I dont want to minimize latency… I use 48000 Hz and a 1024 buffersize to prevent xruns.

imagen

In ardour seems to be configurated fine:

Captura desde 2025-03-01 10-41-04

Captura desde 2025-03-01 10-41-55

If I launch the Rober Gareus Script (Trouble with latency (compensation) and pipewire - #4 by x42) I see this:

Everything works fine, but when I record a track, there is excessive audio latency compensation (I did this test by physically connecting the output audio interface to an input audio interface with a cable):

With the same cable connection I launched jack_iodelay and get this params:

Captura desde 2025-03-01 10-47-39

My question is… where must I set the latency compensation value (148) in order to have a better latency compensation in ardour? In the Ardour audio config window I havent any fields for I/O Latency compensations (It only appears when I set Alsa as Backend… but not appears with Jack as backend).

I was checking the qjackctl config interface, but the latency compesation options are disabled:

Any Idea?

Thanks!

70ms round-trip is insanely long. With 512/48kHz realistic round-trip incl systemic latency should be around 21 - 25ms.

It’s been a while since I used pipewire but last I checked it was still rather involved to set systemic latency: How does PipeWire perform with Ardour? - #12 by x42

In your case however it seems latency is overcompensated already.

An what do you recommend to use? Its better uninstall pipewire and go back to jack2?

I use Ardour/ALSA almost exclusively (with a dedicated soundcard).

1 Like

PipeWire ALSA extra latency properties