FS#60958 - [alsa-lib] UCM configuration file changes broke sound

Attached to Project: Arch Linux
Opened by Bit (bit) - Monday, 03 December 2018, 11:26 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 11:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Anatol Pomozov (anatolik)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In the last two important upgrades, ArchLinux has broken the configurations of the chtrt5645 alsa files in /usr/share/alsa/ucm/chtrt5645.

Also, the solution is override the configuration with old files (and that will return to work fine the audio).

The old files are in:

https://raw.githubusercontent.com/plbossart/UCM/master/chtrt5645/HiFi.conf
https://raw.githubusercontent.com/plbossart/UCM/master/chtrt5645/chtrt5645.conf

In console there is a sound card (so the problem is not the drivers)

Additional info:
* last
* Attached the two current bad configurations

Steps to reproduce:

#pacman -Syu
(kernel is upgraded also)
#reboot

After that you will have a dummy device in gnome
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 10 December 2019, 11:48 GMT
Reason for closing:  Fixed
Comment by Eli Schwartz (eschwartz) - Monday, 03 December 2018, 15:05 GMT
  • Field changed: Summary (pacman -Syu destroy the audio (alsa UCM) with bad configuration files → [alsa-lib] UCM configuration file changes broke sound)
Which changes from http://git.alsa-project.org/?p=alsa-lib.git;a=history;f=src/conf/ucm/chtrt5645 do you suspect of breaking this? Have you reported it upstream?
Comment by Bit (bit) - Monday, 03 December 2018, 15:41 GMT
Hi, thanks for the answer.

I don't know exactly what changes breaked it, but with the last configuration (and it happens not since four days ago, more than 2 weeks, at least I known)

If I use the last configuration, the dmesg output is:

...
[ 16.620635] Audio Port: ASoC: no backend DAIs enabled for Audio Port
[ 16.621080] Audio Port: ASoC: no backend DAIs enabled for Audio Port
[ 16.621465] Audio Port: ASoC: no backend DAIs enabled for Audio Port
[ 16.622613] Audio Port: ASoC: no backend DAIs enabled for Audio Port
[ 16.622991] Audio Port: ASoC: no backend DAIs enabled for Audio Port
[ 16.623173] Audio Port: ASoC: no backend DAIs enabled for Audio Port
...

And with the github files appended in the thread all work fine.

I hope it give you enough information.
Comment by Jimmie Högklint (jhogklin) - Monday, 10 December 2018, 12:32 GMT
I also have problems with alsa-lib. I've been downgrading to 1.1.6-1 for a while now. Not sure if if it's the same problem highlighted by Bit. I don't find the same error messages. I find this at boot instead:

Dec 10 11:21:15 dawn pulseaudio[769]: E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
Dec 10 11:21:15 dawn pulseaudio[769]: E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="2" name="usb-Generic_USB_Audio_200901010001-00" card_name="alsa_card.usb-Generic_USB_Audio_200901010001-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.

This is when using my laptop in a thunderbolt-dock via USB (3.5mm headphone jack in the dock). If I remember correct the laptop speakers still work with alsa-lib > 1.1.6-1 but I can test it again if needed.
Comment by Jimmie Högklint (jhogklin) - Monday, 14 January 2019, 07:32 GMT
The sound works for me again with extra/alsa-lib 1.1.8-1. The error messages are gone.

Loading...