[SRU][Lenovo ThinkPad T14 Gen 1] No sound output device on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ALSA Libraries |
Fix Released
|
Undecided
|
Unassigned | ||
alsa-lib (Ubuntu) |
Fix Released
|
High
|
Hui Wang | ||
Focal |
Fix Released
|
High
|
Hui Wang | ||
Groovy |
Fix Released
|
High
|
Hui Wang | ||
Hirsute |
Fix Released
|
High
|
Hui Wang | ||
alsa-ucm-conf (Ubuntu) |
Fix Released
|
High
|
Hui Wang | ||
Focal |
Fix Released
|
High
|
Hui Wang | ||
Groovy |
Fix Released
|
High
|
Hui Wang | ||
Hirsute |
Fix Released
|
High
|
Hui Wang |
Bug Description
[Impact]
On the machines with AMD Ryzen acp audio design, the audio can't work
anymore after upgrading the libasound2 to ubuntu3(
focal), this is a regression on libasound2 for those machines. the AMD
Ryzen acp audio card needs to load ucm to work with pulseaudio, but
this audio card doesn't have an independant ucm for it, it needs to
link to an existing HDA-Intel ucm, the check_empty_
to cover the situation that Linked is true, otherwise it will fail
to load the ucm for the audio card. Even the audio card could load the
ucm, the output is muted and the init output volume is too low if
freshly install the OS on these machines.
[Fix]
Backport 1 alsa-lib patch to fix the failure of loading ucm on AMD
Ryzen acp audio machines. Backport 4 alsa-ucm-conf patches to fix
init mute and init output volume problem.
[Test Case]
Install the updated libasuond2, rm ~/.config/pulse/*; sudo rm -rf
/var/lib/alsa/*; sudo sh -c 'echo b > /proc/sysrq-
list-cards, we could see the pulseaudio load the ucm successfully and we could see
the sound card is generated and all output and input devices are listed
under sound card, but the init output is muted and the volume is very low
if we manually unumte it. Now install the updated alsa-ucm-conf, rm ~/.config/pulse/*; sudo rm -rf
/var/lib/alsa/*; sudo sh -c 'echo b > /proc/sysrq-
not muted anymore and the output volume is OK to most users.
[Regression Risk]
This could make the machines with sof audio driver fail to load ucm
, then all audio function can't work as before, like the speaker can't
output sound or the internal mic can't be found or can't record sound.
But this possibility is very low, I tested this SRU on some machines with or
without sof audio driver, all worked as well as before.
After logging in, only a dummy device is available for audio playback (resulting in no audible playback). When running "pactl load-module module-detect" the sound card shows up, and playback works as expected.
If pulseaudio is restarted with "pulseaudio -k" the playback device disappears again. Running the above command get things working again.
If I change the following section in /etc/pulse/
### Automatically load driver modules depending on the hardware available
.ifexists module-
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
To:
### Automatically load driver modules depending on the hardware available
#.ifexists module-
#load-module module-udev-detect
#.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
#.endif
Things start working as they should after running "pulseaudio -k".
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: pulseaudio 1:13.99.2-1ubuntu1
ProcVersionSign
Uname: Linux 5.8.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Wed Oct 28 17:21:02 2020
InstallationDate: Installed on 2020-10-23 (4 days ago)
InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/07/2020
dmi.bios.release: 1.9
dmi.bios.vendor: LENOVO
dmi.bios.version: R1BET40W(1.09 )
dmi.board.
dmi.board.name: 20UDCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T14 Gen 1
dmi.product.name: 20UDCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
summary: |
- No sound output device on startup + [Lenovo ThinkPad T14 Gen 1] No sound output device on startup |
affects: | pulseaudio (Ubuntu) → alsa-lib (Ubuntu) |
Changed in alsa-lib (Ubuntu): | |
assignee: | nobody → Hui Wang (hui.wang) |
status: | Confirmed → In Progress |
Changed in alsa-ucm-conf (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Hui Wang (hui.wang) |
Changed in alsa-ucm-conf (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in alsa-ucm-conf (Ubuntu Focal): | |
status: | New → In Progress |
Changed in alsa-ucm-conf (Ubuntu Groovy): | |
importance: | Undecided → Low |
Changed in alsa-ucm-conf (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in alsa-ucm-conf (Ubuntu Groovy): | |
importance: | Low → High |
Changed in alsa-ucm-conf (Ubuntu Hirsute): | |
importance: | Low → High |
Changed in alsa-lib (Ubuntu Hirsute): | |
importance: | Low → High |
Changed in alsa-lib (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in alsa-lib (Ubuntu Groovy): | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in alsa-lib (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Hui Wang (hui.wang) |
Changed in alsa-lib (Ubuntu Groovy): | |
assignee: | nobody → Hui Wang (hui.wang) |
Changed in alsa-ucm-conf (Ubuntu Focal): | |
assignee: | nobody → Hui Wang (hui.wang) |
Changed in alsa-ucm-conf (Ubuntu Groovy): | |
assignee: | nobody → Hui Wang (hui.wang) |
summary: |
- [Lenovo ThinkPad T14 Gen 1] No sound output device on startup + [SRU][Lenovo ThinkPad T14 Gen 1] No sound output device on startup |
description: | updated |
Changed in alsa-ucm-conf (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in alsa-ucm-conf (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in alsa-ucm-conf (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in alsa-ucm-conf (Ubuntu Hirsute): | |
status: | Fix Committed → Fix Released |
Changed in alsa-ucm-conf (Ubuntu Hirsute): | |
status: | Fix Released → Fix Committed |
tags: |
added: verification-done-groovy removed: verification-needed-groovy |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: | removed: verification-needed |
affects: | pulseaudio → alsa-lib |
Changed in alsa-lib: | |
importance: | Unknown → Undecided |
status: | Unknown → New |
status: | New → Fix Released |
Changed in alsa-ucm-conf (Ubuntu Focal): | |
status: | Fix Released → Won't Fix |
status: | Won't Fix → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.