Inconsistent ALSA sink names
- PipeWire version (
pipewire --version
): 0.3.78 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: KDE Plasma 5.27.7
- Kernel version (
uname -r
): 6.1.47-1-lts
Description of Problem:
I have analog stereo ALSA sink which might have one of 2 different names in pipewire:
- alsa_output.pci-0000_00_1f.3.3.analog-stereo
- alsa_output.pci-0000_00_1f.3.analog-stereo
I don't know why it has one name over another and it makes automated control though scripts very annoying and unreliable.
Before I switched to PW, PA didn't have this issue (although it had completely different name from either of this).
This audio controller has different sinks:
- Line Out
- Headphones (combined with mic)
- SPDIF output
I use headphones output exclusively and those are always connected.
How Reproducible:
It is basically random in a sense that I cannot predict what the name will be on the next system startup.
So far I think that it's about 50/50 chance.
Steps to Reproduce:
- Start the system
Actual Results:
Sink name might be either 1 or 2.
Expected Results:
Having consistent sink name.
Additional Info (as attachments):
- Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
-
pw-dump > pw-dump.log
(for alsa_output.pci-0000_00_1f.3.3.analog-stereo): pw-dump.3.3.log -
pw-dump > pw-dump.log
(for alsa_output.pci-0000_00_1f.3.analog-stereo): pw-dump.3.log