Pipewire vs. snd-usb-audio lowlatency vs Avantree Leaf
- PipeWire version (
pipewire --version
): compiled with 0.3.71 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Ubuntu Mantic Minotaur (development branch) - Desktop Environment: KDE Plasma
- Kernel version (
uname -r
): 6.3.3-060303-generic
Description of Problem:
Using the Avantree Leaf USB audio device, there are issues with playback when using Pipewire (pipewire-pulse in my testing), unless I set lowlatency=0 in my snd-usb-audio module options. When lowlatency=0 is set, the issues described below go away.
Case 1: Apps hang initializing sound unless any other app is playing sound.
Case 2: Apps hang initializing sound when WINE apps are already running.
How Reproducible:
100%
Steps to Reproduce:
Case 1a:
- Start the VICE Commodore 64 emulator (x64 or x64sc).
- It will immediately hang after initializing sound (no error in terminal).
Case 1b:
- Start playing sound with another app (I used the Plasma Advance Radio widget).
- Start the VICE Commodore 64 emulator (x64 or x64sc).
- App runs as expected - can even produce sound.
Case 2a:
- Start any game via WINE.
- Try to play a YouTube video in Chrome.
- Chrome will never start the video.
Case 2b:
- Close the WINE game.
- Try to play a YouTube video in Chrome.
- Chrome plays video fine.
Actual Results:
Apps hang while initializing sound.
Expected Results:
Apps should not block on sound, nor be blocked by by other apps that have initialized it.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: