Sound broken after updates to alsa packages

Hi,

After the recent updates for linux and linux-zen kernels, I have no longer sound on this laptop. I would really appreciate your help to solve this issue. Here follows some system info. Please let me know what other commands I should run to provide more info for troubleshooting.

journalctl -b -0

inxi -Fxxxaz
System:    Kernel: 5.9.1-zen2-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=1a1b20eb-6fb5-46fc-9666-3b0e6f4c4300 rw 
           rootflags=subvol=@ resume=UUID=e117e9e4-db5f-450f-ae83-4fa0be5afec1 apparmor=1 lsm=lockdown,yama,apparmor 
           loglevel=3 nowatchdog 
           Desktop: Cinnamon 4.6.7 tk: GTK 3.24.23 info: plank wm: muffin dm: LightDM 1.30.0 Distro: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 82A2 v: Yoga Slim 7 14ARE05 serial: <filter> Chassis: type: 10 
           v: Yoga Slim 7 14ARE05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: DMCN32WW date: 07/14/2020 
Battery:   ID-1: BAT1 charge: 42.0 Wh condition: 61.2/60.7 Wh (101%) volts: 16.7/15.4 model: Sunwoda L19D4PF4 type: Li-poly 
           serial: <filter> status: Charging cycles: 26 
CPU:       Info: 8-Core model: AMD Ryzen 7 4800U with Radeon Graphics bits: 64 type: MT MCP arch: Zen family: 17 (23) 
           model-id: 60 (96) stepping: 1 microcode: 8600104 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57487 
           Speed: 1397 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1396 5: 1397 
           6: 1396 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397 12: 1396 13: 1397 14: 1397 15: 1397 16: 1396 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Lenovo driver: amdgpu v: kernel bus ID: 03:00.0 
           chip ID: 1002:1636 
           Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-4:3 chip ID: 04f2:b6cb serial: <filter> 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9") diag: 355mm (14") 
           OpenGL: renderer: AMD RENOIR (DRM 3.39.0 5.9.1-zen2-1-zen LLVM 10.0.1) v: 4.6 Mesa 20.2.0 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 03:00.1 
           chip ID: 1002:1637 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo 
           driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x bus ID: 03:00.5 chip ID: 1022:15e2 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 03:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.9.1-zen2-1-zen 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0 chip ID: 8086:2723 
           IF: wlan0 state: down mac: <filter> 
           Device-2: Samsung GT-I9070 (network tethering USB debugging enabled) type: USB driver: rndis_host bus ID: 3-2:4 
           chip ID: 04e8:6864 serial: <filter> 
           IF: enp3s0f4u2 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 983.68 GiB used: 52.18 GiB (5.3%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TD9TNG-L3A0B size: 953.87 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 80050C10 scheme: GPT 
           ID-2: /dev/sda type: USB vendor: Generic model: MassStorageClass size: 29.81 GiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 2402 scheme: GPT 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: 50.00 GiB size: 50.00 GiB (100.00%) used: 12.65 GiB (25.3%) fs: btrfs dev: /dev/nvme0n1p4 
           ID-2: /home raw size: 50.00 GiB size: 50.00 GiB (100.00%) used: 12.65 GiB (25.3%) fs: btrfs dev: /dev/nvme0n1p4 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 70 (default 100) 
           ID-1: swap-1 type: partition size: 10.00 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p10 
           ID-2: swap-2 type: zram size: 512.0 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 52.2 C mobo: N/A gpu: amdgpu temp: 34.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 405 Uptime: 1m Memory: 15.06 GiB used: 963.3 MiB (6.2%) Init: systemd v: 246 Compilers: gcc: 10.2.0 
           Packages: pacman: 993 lib: 231 Shell: Bash v: 5.0.18 running in: gnome-terminal inxi: 3.1.08

pavucontrol

lsmod | grep snd
snd_soc_dmic           16384  1
snd_acp3x_pdm_dma      16384  1
snd_acp3x_rn           16384  3
snd_soc_core          348160  3 snd_acp3x_rn,snd_soc_dmic,snd_acp3x_pdm_dma
snd_compress           28672  1 snd_soc_core
snd_hda_codec_realtek   155648  1
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     81920  1
snd_hda_intel          53248  5
snd_intel_dspcfg       24576  1 snd_hda_intel
snd_hda_codec         180224  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          114688  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               163840  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_acp3x_pdm_dma,snd_pcm_dmaengine
snd_timer              45056  1 snd_pcm
snd                   118784  23 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
snd_rn_pci_acp3x       20480  0
soundcore              16384  1 snd
snd_pci_acp3x          20480  0
journalctl -b -0 | grep snd
Oct 18 12:16:15 eos-cinnamon kernel: snd_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
Oct 18 12:16:15 eos-cinnamon kernel: snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 1
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_intel 0000:03:00.6: enabling device (0000 -> 0002)
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_codec_realtek hdaudioC1D0:    inputs:
Oct 18 12:16:16 eos-cinnamon kernel: snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
Oct 18 12:16:16 eos-cinnamon kernel: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
Oct 18 12:16:17 eos-cinnamon kernel: snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

https://endeavouros.com/docs/hardware-and-network/audio/getting-information-on-soundproblems/

1 Like

seems some hickup on kernel update…
lets see if we get more users with this issue and try to find out the reason…
first thing to try is to reset pulseaudio by removing the config folders:
rm -R ~/.config/pulse
then best to reboot

1 Like

Thanks @anon83136962 and @anon83136962 for your replies!

I just updated another EnOS installation (Gnome) on the same machine including the kernels but left out the following packages:

alsa-firmware-1.2.4-1
alsa-lib-1.2.4-1
alsa-topology-conf-1.2.4-1
alsa-ucm-conf-1.2.4-1
alsa-utils-1.2.4-1

After reboot, The sound is working as it should. So could one of the above packages be the culprit?

i see also updates today yes:

[2020-10-18T11:54:00+0200] [ALPM] upgraded alsa-firmware (1.2.1-2 -> 1.2.4-1)
[2020-10-18T11:54:00+0200] [ALPM] upgraded alsa-topology-conf (1.2.3-1 -> 1.2.4-1)
[2020-10-18T11:54:01+0200] [ALPM] upgraded alsa-ucm-conf (1.2.3-2 -> 1.2.4-1)
[2020-10-18T11:54:01+0200] [ALPM] upgraded alsa-lib (1.2.3.2-1 -> 1.2.4-1)
[2020-10-18T11:54:01+0200] [ALPM] upgraded alsa-utils (1.2.3-2 -> 1.2.4-1)

I was about to ask if it might be that instead. My sound went, but a reboot brought it back after those updates…

I have rebooted already several times but unfortunately no luck here.

I downgraded all the above mentioned packages on the “troubled” installation from the OP. After the reboot, the sound is back. So it seems to be unrelated to the kernel updates but one, some or all the packages above are the cause.

Perhaps I should change the title of the thread?

Sounds like the same issue I’m facing. A few days ago I created a thread about my sound dropping down to 40% after reboots. After some updates for the sound components it started behaving again, Then a couple of days ago there were more updates for the sound components and the issue is back. Just got some more updates but haven’t done a reboot yet to see what I get.

Same here on Arch. After upgrading alsa-ucm-conf to version 1.2.4, no sound card detected and downgrading to version 1.2.3 solved the problem.

1 Like

I got those updates on KDE and didn’t have any sound problems on 5.9 kernel. On my other xfce system which has nvidia i put the kernel on hold but everything else is updated. No sound problems.

I’m having the same problem with my HP 8460p lappy. It’s been happening since the original alsa updates a week or so ago. I’m able to get sound back, not 100% of the time though, by

rm -R ~/.config/pulse

and rebooting, as @joekamprad suggested.

Interestingly, I have a second identical machine, configured nearly the same (as far as I know) as the problematic machine. That second machine seems to be working fine through all of these alsa updates!

3 Likes

Unfortunately, this didn’t work for me. So at the moment I am ignoring those packages. However, @mskmsk mentions only one of those packages as being “problematic”.

yes, I tried each one and found only this ucm-conf package failed to load sound card profile.

3 Likes

Sorry i no hijack your thread… @joekamprad You super star :pray: you post help me fix my sound on pinebook pro :pray:

real like this forum :pray: to all

6 Likes

So presumably the recently released alsa-lib-1.2.4-2 fixes it, but I can’t update w/

yay -Syu

I get a bunch of errors like:

error: failed to commit transaction (conflicting files)
alsa-lib: /usr/bin/aserver exists in filesystem
alsa-lib: /usr/include/alsa/asoundef.h exists in filesystem
alsa-lib: /usr/include/alsa/asoundlib.h exists in filesystem
alsa-lib: /usr/include/alsa/conf.h exists in filesystem
alsa-lib: /usr/include/alsa/control.h exists in filesystem
alsa-lib: /usr/include/alsa/control_external.h exists in filesystem
alsa-lib: /usr/include/alsa/error.h exists in filesystem
alsa-lib: /usr/include/alsa/global.h exists in filesystem
alsa-lib: /usr/include/alsa/hwdep.h exists in filesystem
alsa-lib: /usr/include/alsa/input.h exists in filesystem
[...]

Having similar issues with updating libvirt 6.8.0-3 → 1:6.5.0-2

Not sure if there’s a recommendation to fix for one package or the other?

Just updated that alsa - no problem with

sudo pacman -Syu

Try a sudo pacman -Syy first…

Running both didn’t quite fix. I’m guessing per the Arch wiki I should run the following given the ‘conflicting files’ symptom?

pacman -S --overwrite alsa-lib package

I guess so - but I’m not too sure how it got that way. Have the emergency measures handy :grin:

My sound troubles went away once I had everything updated in sync…

So I ended up using a FAQ on these forums, namely the “The “I don’t care” way” as I misunderstood the params for overwrite in the Arch wiki, still need to reboot to see if it fixed it, but this is what I ran to fix the file conflict issue:


sudo pacman -Syu --overwrite /usr/bin/aserver,usr/include/*,usr/lib/*,usr/share/*

And the output FWIW:

(1/1) upgrading alsa-lib                                                                [--------------------------------------------------] 100%
ldconfig: File /usr/lib32/libasound.so is empty, not checked.
ldconfig: File /usr/lib32/libpcap.so.1.9.1 is empty, not checked.
ldconfig: File /usr/lib32/libatopology.so is empty, not checked.
ldconfig: File /usr/lib32/libasound.so.2 is empty, not checked.
ldconfig: File /usr/lib32/libatopology.so.2.0.0 is empty, not checked.
ldconfig: File /usr/lib32/libasound.so.2.0.0 is empty, not checked.
ldconfig: File /usr/lib32/libpcap.so.1 is empty, not checked.
ldconfig: File /usr/lib32/libpcap.so is empty, not checked.
ldconfig: File /usr/lib32/libatopology.so.2 is empty, not checked.
ldconfig: File /usr/lib/libslirp.so is empty, not checked.
ldconfig: File /usr/lib/libvirt-lxc.so.0.6008.0 is empty, not checked.
ldconfig: File /usr/lib/libvirt-admin.so.0 is empty, not checked.
ldconfig: File /usr/lib/libvirt-qemu.so.0.6008.0 is empty, not checked.
ldconfig: File /usr/lib/libvirt.so.0 is empty, not checked.
ldconfig: File /usr/lib/libvirt-qemu.so.0 is empty, not checked.
ldconfig: File /usr/lib/libnss_libvirt_guest.so.2 is empty, not checked.
ldconfig: File /usr/lib/libnss_libvirt.so.2 is empty, not checked.
ldconfig: File /usr/lib/libvirt.so.0.6008.0 is empty, not checked.
ldconfig: File /usr/lib/libvirt.so is empty, not checked.
ldconfig: File /usr/lib/libvirt-qemu.so is empty, not checked.
ldconfig: File /usr/lib/libvirt-admin.so is empty, not checked.
ldconfig: File /usr/lib/libsane.so is empty, not checked.
ldconfig: File /usr/lib/libslirp.so.0.2.2 is empty, not checked.
ldconfig: File /usr/lib/libsane.so.1.0.31 is empty, not checked.
ldconfig: File /usr/lib/libvirt-admin.so.0.6008.0 is empty, not checked.
ldconfig: File /usr/lib/libsane.so.1 is empty, not checked.
ldconfig: File /usr/lib/libvirt-lxc.so.0 is empty, not checked.
ldconfig: File /usr/lib/libslirp.so.0 is empty, not checked.
ldconfig: File /usr/lib/libvirt-lxc.so is empty, not checked.

Edit: Can confirm sound works now after reboot

1 Like