Comment 0 for bug 1901901

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

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