Can not set specified USB speaker as default sink since pipewire 1.0.5
- PipeWire version (
pipewire --version
): Compiled with libpipewire 1.2.1 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux/EndeavourOS - Desktop Environment: KDE Plasma 6
- Kernel version (
uname -r
): 6.9.10-arch1-1
Description of Problem:
I can not set my USB speaker (a Redmi 电脑音响, "电脑音响" means "PC Speaker") as default sink.
The pactl set-default-sink
does not work; it does nothing if I select the specified Speaker. But it works fine with other speakers, such as HDMI or 3.5mm speakers.
Additionally, both wpctl set-default
and KDE audio stings also do not work.
However, the rest of pipewire functions as expected, I can move the stream to that device using pactl move-sink-input
and KDE audio settings.
How Reproducible:
I was able to reproduce this issue on my PC with freshly installed system. Downgrading the pipewire-audio package to 1.0.4 resolves the problem.
Steps to Reproduce:
- Boot the system with a live cd comes with pipewire 1.0.4+ installed. I used
EndeavourOS_Endeavour-2024.06.25.iso
in my test. - Switch default audio sink to "Redmi 电脑音响" using KDE audio settings.
- Switch default audio sink to "Redmi 电脑音响" using cli.
Actual Results:
Usually, nothing happened. However, if there are more than two speaker available, Pipewire will occasionally set another speaker as default output sink.
Expected Results:
Default speaker switch to specified.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: a pw-dump without this issue that install pipewire 1.2.1 but with pipewire-audio 1:1.0.4-4 package. pw-dump.log.