Lenovo Yoga Slim 7: Sound output device is not detected after upgrade from Ubuntu 20.04 to 20.10

Bug #1901901 reported by Jaromir Obr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-lib (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

My output sound device "Lenovo Family 17h" worked well in Ubuntu 20.04.
But when I upgraded to Ubuntu 20.10, I cannot hear any sound. The sound card is not detected, "System => Sound => Output Device" shows only "Dummy Output".
I'm able to reproduce it even with live Ubuntu 20.10 from USB key.

I checked that the issue happens in Ubuntu 20.10 with official kernel 5.8.0 and even with 5.9.1. Note that in Ubuntu 20.04 it worked well with 5.4 and 5.8.x
So it doesn't seem to be depend on used kernel.

-------------------------------------------------------------------------------------------

$ systemctl --user status pulseaudio.service
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2020-10-28 14:25:34 CET; 25min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 3002 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
             └─3002 /usr/bin/pulseaudio --daemonize=no --log-target=journal

Oct 28 14:25:34 yoga pulseaudio[3002]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6>
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to find a working profile.
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6>
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to find a working profile.
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6>
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to find a working profile.
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6>
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to find a working profile.
Oct 28 14:25:35 yoga pulseaudio[3002]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6>
Oct 28 14:25:35 yoga pulseaudio[3002]: Tried to configure /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1 (alsa_card.pci-0000_03_00.6) more often than 5 time>

-------------------------------------------------------------------------------------------

When pulseaudio starts in verbose mode:

$ pulseaudio -vvvvv
...
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC2D0c' failed (-16)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:acp: Device or resource busy
D: [pulseaudio] alsa-mixer.c: Profile set 0x558aa38b6670, auto_profiles=no, probed=yes, n_mappings=0, n_profiles=0, n_decibel_fixes=0
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1 (alsa_card.pci-0000_03_00.6) failed to load module.

-------------------------------------------------------------------------------------------

$ lspci -nnk | grep -A2 Audio
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1637]
 Subsystem: Lenovo Device [17aa:380d]
 Kernel driver in use: snd_hda_intel
--
03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2] (rev 01)
 Subsystem: Lenovo Raven/Raven2/FireFlight/Renoir Audio Processor [17aa:380d]
 Kernel driver in use: snd_rn_pci_acp3x
 Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x
03:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]
 Subsystem: Lenovo Family 17h (Models 10h-1fh) HD Audio Controller [17aa:380d]
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel

-------------------------------------------------------------------------------------------

$ cat /proc/asound/cards
 0 [Generic ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x805c8000 irq 100
 1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x805c0000 irq 101
 2 [acp ]: acp - acp
                      LENOVO-82A2-YogaSlim714ARE05-LNVNB161216
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: mirao 9326 F.... pulseaudio
 /dev/snd/pcmC2D0c: mirao 9326 F...m pulseaudio
 /dev/snd/controlC0: mirao 9326 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-15 (74 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Package: pulseaudio 1:13.99.2-1ubuntu2 [origin: unknown]
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.8.0-26.27-generic 5.8.14
Tags: groovy third-party-packages
Uname: Linux 5.8.0-26-generic x86_64
UnreportableReason: This does not seem to be an official Ubuntu package. Please retry after updating the indexes of available packages, if that does not work then remove related third party packages and try again.
UpgradeStatus: Upgraded to groovy on 2020-10-24 (3 days ago)
UserGroups: adm audio cdrom dip docker libvirt lpadmin lxd plugdev pulse pulse-access sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 07/14/2020
dmi.bios.release: 1.32
dmi.bios.vendor: LENOVO
dmi.bios.version: DMCN32WW
dmi.board.asset.tag: ���������������
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: ���������������
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Yoga Slim 7 14ARE05
dmi.ec.firmware.release: 1.27
dmi.modalias: dmi:bvnLENOVO:bvrDMCN32WW:bd07/14/2020:br1.32:efr1.27:svnLENOVO:pn82A2:pvrYogaSlim714ARE05:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrYogaSlim714ARE05:
dmi.product.family: Yoga Slim 7 14ARE05
dmi.product.name: 82A2
dmi.product.sku: LENOVO_MT_82A2_BU_idea_FM_Yoga Slim 7 14ARE05
dmi.product.version: Yoga Slim 7 14ARE05
dmi.sys.vendor: LENOVO

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected groovy third-party-packages
description: updated
Revision history for this message
Jaromir Obr (jaromir-obr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : Dependencies.txt

apport information

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : PaInfo.txt

apport information

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : PulseList.txt

apport information

Revision history for this message
Jaromir Obr (jaromir-obr) wrote : Re: Yoga Slim 7: Sound output device is not detected after upgrade from Ubuntu 20.04 to 20.10

A workaround exists:
--------------------
* Add "options snd-hda-intel index=1" into /etc/modprobe.d/alsa-base.conf
* Restart OS
* When login screen appears, sound works ✔️. Actually the device "Speaker - HD-Audio Generic" is used instead of "Speaker - Family 17h HD Audio Controller", but sound works well.
* When I login, sometimes sound stops working ("Dummy Output" again), but then it's enough to run "pulseaudio -k" (pulseaudio is restarted) and I can hear sound

summary: - Yoga Slim 7: Sound output device is not detected after upgrade from
- Ubuntu 20.04 to 20.10
+ Lenovo Yoga Slim 7: Sound output device is not detected after upgrade
+ from Ubuntu 20.04 to 20.10
Revision history for this message
Huenils (huenils) wrote :

We figured it was not a pulse problem but with alsa since upgrade of libasound.

solution: switch back to older versions.

sudo apt install libasound2=1.2.2-2.1 libasound2-data=1.2.2-2.1 libasound2:i386=1.2.2-2.1 libatopology2=1.2.2-2.1

view the report here: https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1905132

Revision history for this message
Jaromir Obr (jaromir-obr) wrote :

Finally I upgraded my Ubuntu 20.10 to "groovy-proposed" and the issue seems to be fixed.
More likely this bug is a duplicate of https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1901922 .

Changed in pulseaudio (Ubuntu):
status: New → Fix Released
status: Fix Released → Fix Committed
affects: pulseaudio (Ubuntu) → alsa-lib (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.