Realtek ALC4080 (UCM): working profile not available
- PipeWire version (
pipewire --version
): 0.3.59 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Debian GNU/Linux bookworm/sid (up-to-date testing) - Desktop Environment: KDE Plasma v5.25.5
- Kernel version (
uname -r
): 6.0.0-x64v2+amdnative-xanmod1
Description of Problem:
While within Gnome I can make the audio subsystem work by manually selecting the "Play HiFi quality Music" profile (defined since ALSA UCM2 v1.2.7 for my mainboard) of my onboard Realtek ALC4080 USB audio card, in KDE Plasma its only available profile is "off", which means no sound output is possible.
For the HDMI audio device, which I don't use and I keep on its default "off" profile, a working profile can instead be selected in both Gnome and KDE Plasma: this makes me suspect I'm facing an issue that is specific to my sound card, possibly having something to do with its UCM configuration.
Disabling and masking the pipewire user units and enabling back pulseaudio solves the issue; the pipewire-pulse daemon aims to be a drop-in replacement for pulseaudio.
Interesting enough, there is a difference between Pulseaudio and Pipewire in the output of
pactl list cards | grep -E '(Profile|available:)'
With Pulseaudio:
Profiles:
HiFi: Play HiFi quality Music (sinks: 3, sources: 2, priority: 8000, available: yes)
off: Spento (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: HiFi
With Pipewire:
Profiles:
off: Spento (sinks: 0, sources: 0, priority: 0, available: yes)
HiFi: Play HiFi quality Music (sinks: 3, sources: 2, priority: 8000, available: no)
Active Profile: off
The "HiFi" profile is not available with Pipewire; the profile can still be selected manually with the command
pacmd set-card-profile alsa_card.usb-Generic_USB_Audio-00 HiFi
which makes sound output through the the card work perfectly.
As I described above, in Gnome the working profile is not automatically selected (but can be selected manually), while in KDE Plasma it appears only available profiles can be selected.
The involved hardware is a MSI MAG X570S TORPEDO MAX mainboard with a Realtek ALC4080 USB audio card onboard.
How Reproducible:
Always reproducible with such hardware and KDE Plasma.
Steps to Reproduce:
- install the package pipewire-pulse
- disable and mask pulseaudio user sockets and services
- enable and start pipewire/wireplumber/pipewire-pulse sockets and services
Actual Results:
No sound from the onboard ALC4080 card and the "Play HiFi quality Music" can't be selected (KDE Plasma) or must be enabled manually (Gnome)
Expected Results:
Sound can be played through the onboard card and the "Play HiFi quality Music" profile is automatically selected.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log - ~/.config/pipewire/pipewire-pulse.conf (to enable network transparency): pipewire-pulse.conf
- KDE Plasma audio management panel screenshot: