snd_pci_ps: onboard mic broken after resume

Bug #2077341 reported by Dan Watkins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-meta-hwe-6.8 (Ubuntu)
Confirmed
Undecided
Philip Cox

Bug Description

After resuming from suspend, the onboard mic often stops being able to produce any input. It is still present in the system and I can mute/unmute it via pavucontrol, but it doesn't produce any input (nor does the level reported by pavucontrol change at all). The only way I've found to fix this is to reboot. (`modprobe -r snd_pci_ps` hangs apparently indefinitely, so I haven't been able to test module reload.)

I do see that a number of commits relating to suspend/resume have landed in the upstream driver code since 6.8 was released: https://github.com/torvalds/linux/commits/master/sound/soc/amd/ps

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-generic-hwe-22.04 6.8.0-40.40~22.04.3
ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
Uname: Linux 6.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: Regolith:GNOME-Flashback:GNOME
Date: Mon Aug 19 11:17:13 2024
InstallationDate: Installed on 2024-07-04 (45 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
SourcePackage: linux-meta-hwe-6.8
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dwatkins 3357 F.... pulseaudio
 /dev/snd/controlC2: dwatkins 3357 F.... pulseaudio
 /dev/snd/controlC1: dwatkins 3357 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: Regolith:GNOME-Flashback:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2024-07-04 (47 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
MachineType: LENOVO 21MFS00W00
Package: linux-meta (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-40-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-40-generic N/A
 linux-backports-modules-6.8.0-40-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.31
Tags: jammy
Uname: Linux 6.8.0-40-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm docker sudo
_MarkForUpload: True
dmi.bios.date: 04/01/2024
dmi.bios.release: 1.4
dmi.bios.vendor: LENOVO
dmi.bios.version: R2LET23W (1.04 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21MFS00W00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76530 WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.1
dmi.modalias: dmi:bvnLENOVO:bvrR2LET23W(1.04):bd04/01/2024:br1.4:efr1.1:svnLENOVO:pn21MFS00W00:pvrThinkPadP14sGen5AMD:rvnLENOVO:rn21MFS00W00:rvrSDK0T76530WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21MF_BU_Think_FM_ThinkPadP14sGen5AMD:
dmi.product.family: ThinkPad P14s Gen 5 AMD
dmi.product.name: 21MFS00W00
dmi.product.sku: LENOVO_MT_21MF_BU_Think_FM_ThinkPad P14s Gen 5 AMD
dmi.product.version: ThinkPad P14s Gen 5 AMD
dmi.sys.vendor: LENOVO

Revision history for this message
Dan Watkins (oddbloke) wrote :
Revision history for this message
Philip Cox (philcox) wrote :

Hi Dan, thank you for taking the time to open this bug report.

There is not enough information on your failing scenario to assess the patches required. Can you please reproduce the scenario, and then run "apport-collect 2077341" to add the required failing logs, and system information please?

Changed in linux-meta-hwe-6.8 (Ubuntu):
assignee: nobody → Philip Cox (philcox)
status: New → Incomplete
Revision history for this message
Dan Watkins (oddbloke) wrote :

Thanks Philip! apport-collect doesn't seem to know what to do in this case:

$ apport-collect 2077341
Package linux-meta-hwe-6.8 not installed and no hook available, ignoring

(Setting this back to New for now.)

Changed in linux-meta-hwe-6.8 (Ubuntu):
status: Incomplete → New
Revision history for this message
Dan Watkins (oddbloke) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Dan Watkins (oddbloke) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : IwConfig.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : Lspci.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : Lspci-vt.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : Lsusb.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : Lsusb-t.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : Lsusb-v.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : PaInfo.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : ProcModules.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : PulseList.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : RfKill.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : UdevDb.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : WifiSyslog.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote : acpidump.txt

apport information

Revision history for this message
Dan Watkins (oddbloke) wrote :

OK, I poked around at the available package hooks and ran `apport-collect -p linux-meta 2077341`: hopefully this is the info you were looking for!

Revision history for this message
Dan Watkins (oddbloke) wrote :

Hey Philip, did you get a chance to review these attachments? Is there any other info you need from me? Thanks!

Revision history for this message
Dan Watkins (oddbloke) wrote :

Any update on this? Thanks!

Revision history for this message
John Flatness (zerocrates) wrote :

I have the same problem with the internal digital mic input on two different ThinkPad P14s Gen 5 AMD machines, same as the original reporter's. In our cases when not working, the mic reads full-blast max input all the time, whether through the Sound settings panel, pavucontrol, or any program trying to use the mic, but there's no actual sound being captured.

Like the original reporter, in my experience this is just an intermittent issue caused by suspend/resume, resolved by a restart. This is with the standard 6.8 kernel on Noble though; not sure if it should be a different report or not.

Revision history for this message
John Flatness (zerocrates) wrote :

One little extra bit of context: making a recording when the dmic is "broken" like this gets you a waveform that's just a straight line at the very bottom of the scale, -1.0.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-meta-hwe-6.8 (Ubuntu):
status: New → Confirmed
Juerg Haefliger (juergh)
tags: added: kernel-daily-bug
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.