Audio dropout when stopping streams on FFADO device
- PipeWire version: 1.0.6
- Distribution and distribution version: Arch Linux
- Desktop Environment: GNOME 44.0
- Kernel version: 6.9.1-arch1-1
Description of Problem:
Each time an audio stream is stopped, the sound card drops out for a small amount of time, then usually resumes audio. When this happens, a buffer underrun is recorded in the logs, where FFADO and PipeWire increases by one:
pipewire[306582]: mod.ffado-driver: Xrun FFADO:12 PipeWire:10 source:1 sink:1
Sometimes, while playing audio, seemingly unrelated to the problem, the following can also be seen spamming the logs:
spa.audioconvert: 0x580988e81590: (93 suppressed) out of buffers on port 0 2
The sound interface is a FireWire mixer, PreSonus StudioLive 16.0.2. PipeWire is configured to load this mixer with the FFADO driver. The ALSA DICE driver does not work reliably with this particular hardware.
Other than this bug PipeWire works quite reliably, and I can use it with DAW software where there is no problem starting and stopping playback. I can only guess that they keep the stream open all the time and that closing a stream itself is the source of the bug.
How Reproducible:
I can reliably reproduce this glitch every time.
Steps to Reproduce:
- Start playing an audio stream
- Start another audio stream
- Stop playback on one of the streams
Actual Results:
Sound of all playing streams drops out for a second or two.
Expected Results:
Sound should continue playing.