alsa-project/alsa-ucm-conf

ALC4080 broken on MSI MPG X570S Carbon Max Wifi

lordhoto opened this issue · 3 comments

With the current ALC4080 UCM2 configuration, sound is completely broken on my MSI MPG X570S Carbon Max Wifi Mainboard with an ALC4080. Regardless of whether I use the "HiFi 2.0 channels", "HiFi 5.1 channels" or "HiFi 7.1 channels" configuration on the front headphone output, the audio is sometimes "stuck" and not playing at all.

This causes all sorts of issues: when you play a YouTube video it might not even start, after a while sound might play for a bit and then suddenly stop again. Even in Gnome's audio settings dialog when testing left/right the sound sometimes just does not play at all.

I'm using pulseaudio 16.1. When I insert my old ALSA UCM2 configuration, the sound works flawlessly. I suppose there is something wrong with the current configuration, but I can't figure out what. Are there any logs or similar I might look into?

I looked a bit into journalctrl: when I try to use the Gnome dialog to play a sound on the left/right channel it shows the following:
Dez 21 21:49:06 *** gnome-control-c[1823]: Failed to play sound: Invalid state
Dez 21 21:49:06 *** pulseaudio[1410]: Failed to create sink input: sink is suspended.
Dez 21 21:49:06 *** pulseaudio[1410]: Failed to create sink input: sink is suspended.
Dez 21 21:49:06 *** pulseaudio[1410]: Failed to create sink input: sink is suspended.

These entries are added each time I try to play the left or right channel's test sound.

I did further analysis. It looks like my old profile also doesn't reliably work. I actually don't understand why it worked at all when I tried it initially. It looks like I need to manually set the Front Headphone Speaker Count to 2 to make the audio work on the front speakers with my current software stack:
Linux 6.0.12-arch1-1
alsa-lib 1.2.8-1
pulseaudio 16.1-3
pipewire-alsa 1:0.3.63-1
(Arch Linux Packages)

I will create pull request for that.

Ah, I noticed this is actually a software stack issue. Due to some updates PipeWire got also installed. This resulted in, both, PipeWire and PulseAudio being active on my system. This messed up the control over the audio card.

Sorry for the noise.