FS#67058 - [alsa-ucm-conf] Upgrade from 1.2.3-1 to 1.2.3-2 breaks pulseaudio
Attached to Project:
Arch Linux
Opened by fokxs (fokxs) - Saturday, 20 June 2020, 20:00 GMT
Last edited by David Runge (dvzrv) - Friday, 10 December 2021, 20:51 GMT
Opened by fokxs (fokxs) - Saturday, 20 June 2020, 20:00 GMT
Last edited by David Runge (dvzrv) - Friday, 10 December 2021, 20:51 GMT
|
Details
Description:
After upgrading the alsa-ucm-conf package from 1.2.3-1 to 1.2.3-2, pulseaudio does not recognize my onboard sound chip (Realtek ACL1220) anymore and falls back to dummy output device. Downgrading to 1.2.3-1 immediately solves the problem. pulseaudio recognizes the chip and sound works again. Additional info: * package version(s) alsa-ucm-conf 1.2.3-2 * config and/or log files etc. journalctl output seems normal except these: pulseaudio[2356]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic2, assuming stereo duplex. pulseaudio[2356]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic1, assuming stereo duplex. pulseaudio[2356]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line, assuming stereo duplex. pulseaudio[2356]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device SPDIF, assuming stereo duplex. pulseaudio[2356]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Headphones, assuming stereo duplex. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
I can not reproduce your issue unfortunately. The only thing that has changed between those two pkgrels is that now /usr/share/alsa/ucm2/ucm.conf is packaged again (it was missing before).
Is this still an issue with alsa-lib 1.2.3.1-1?
Deleting the ucm.conf also resolves the issue, because as you said, that's the only difference between the 1 and 2 revision.
This file seems to define on how to resolve a specific card / audio profile configuration for a system.
I've attached the audio configuration from my DE, (1) with ucm.conf present and (2) without it.
I suspect that the default configuration might not work with my board/chip.
without_ucm.png (108.2 KiB)
Now, I stop pulseaudio every time after upgrading/deleting/restoring the ucm.conf file and then run pulseaudio with --start --daemonize=no to check the output, but there was no obvious errors other than in the journals logs I already posted.
I fixed my initial problem after searching through the alsa-ucm-conf repository. Adjusting the configuration for my chipset according to this commit https://github.com/alsa-project/alsa-ucm-conf/commit/48b11a4c33f267c8ffd9a6c584c3e651eda7e5ec and it solved my issue. This will break with the next upgrade though.
This was at my office today. I didn't see this bug till I got home, and can test if the downgrade fixes the issue until the next time I'm in the office again.
Have you tried upstreaming the fixes you apply? As this is hardware specific, please file a bug report upstream, if you haven't already.
As this seems to be intended behavior, I have to apply the fix whenever my configuration is overwritten by an update.
I guess I have to live with it until I can convince the maintainers otherwise. Guess this issue can be closed then.
Removing of /usr/share/alsa/ucm2/ucm.conf fixes the issue.
Big thank you.
I also have ALC1220.
It was very hard to understand what;s going on because from HW viewpoint the device is detected.