thesofproject / linux

Linux kernel source tree
Other
91 stars 134 forks source link

[Bug] Unsupported DMIC blobs on Huawei Matebook X Pro 2024 (Intel Core Ultra 9 185H) #4973

Closed PLTorrent closed 6 months ago

PLTorrent commented 6 months ago

On Ubuntu 24.04 LTS there is no sound at all. The only device shown in Settings -> Sound -> Output Device is "Dummy Device"

alsa-info output: https://alsa-project.org/db/?f=691c0e832f4c1bddfd1da30b63705d4fcb0213f2

In case any additional logs are needed please let me know.

plbossart commented 6 months ago

Humm, surprising.

[    6.661640] sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4

This was a known error in earlier versions of the kernel, reported in https://github.com/thesofproject/linux/issues/4689 you need the patch "ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format" this is commit 7b4c93a50a2ebbbaf656cc4fa6aca74a6166d85b

Your version is 6.8.0-31, in theory this patch is present in your kernel?

Can you extract the NHLT table and share it?

sudo cat /sys/firmware/acpi/tables/NHLT > nhtl.dat; gzip nhlt.dat
plbossart commented 6 months ago

@ujfalusi @kv2019i @ranj063 @jsarha possible bad NHLT blob?

PLTorrent commented 6 months ago

Can you extract the NHLT table and share it?

sudo cat /sys/firmware/acpi/tables/NHLT > nhtl.dat; gzip nhlt.dat

Sure, here it comes. ;) nhlt.dat.gz

ujfalusi commented 6 months ago

Or incorrect number of DMICs?

@plbossart, but audio playback should still work, I guess?

@PLTorrent, can you try this and reboot?

sudo echo "options snd_sof_intel_hda_generic dmic_num=2" > /etc/modprobe.d/sof-dmic.conf
PLTorrent commented 6 months ago

@PLTorrent, can you try this and reboot?

sudo echo "options snd_sof_intel_hda_generic dmic_num=2" > /etc/modprobe.d/sof-dmic.conf

No joy, nothing changed, still only Dummy output. Any specific log you want me to make after this change?

Output of journalctl -k --this-boot | grep sof

Details

May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002) May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:27 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:28 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:28 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:28 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:28 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:28 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:28 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 4 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1: May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware file: intel/sof-ipc4/mtl/sof-mtl.ri May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/mtl May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology file: intel/sof-ace-tplg/sof-hda-generic-4ch.tplg May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.8.1.1 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.8.1.1 May 06 16:02:29 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0 May 06 16:02:30 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13 May 06 16:02:30 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14 May 06 16:02:30 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:31 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1 May 06 16:02:37 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22

plbossart commented 6 months ago

Looks like they're using 16-bit samples in the format

    /* Wave_Format_Extensible table #1 */
[099h 0153   2]                   Format Tag : FFFE
[09Bh 0155   2]                Channel Count : 0004
[09Dh 0157   4]           Samples Per Second : 0000BB80
[0A1h 0161   4]     Average Bytes Per Second : 0005DC00
[0A5h 0165   2]              Block Alignment : 0008
[0A7h 0167   2]              Bits Per Sample : 0010
[0A9h 0169   2]            Extra Format Size : 0016
[0ABh 0171   2]        Valid Bits Per Sample : 0010
[0ADh 0173   4]                 Channel Mask : 00000033
[0B1h 0177  16]               SubFormat GUID : 00000001-0000-0010-8000-00AA00389B71
[0C1h 0193   4]          Capabilities Length : 00000BE8

nhlt.dsl.txt

plbossart commented 6 months ago

@PLTorrent Can you try adding this option in one of of the /etc/modprobe.d/*.conf files?

options snd_sof_intel_hda_common sof_use_tplg_nhlt=1

Also remove the option with dmic_num.

ujfalusi commented 6 months ago

@plbossart, we need the tplg file w/ the NHLT embedded:

options snd_sof_intel_hda_common sof_use_tplg_nhlt=1
options snd_sof_pci tplg_filename=sof-hda-generic-ace1-4ch.tplg
plbossart commented 6 months ago

Yes correct, without the last option we would take the 'wrong' topology file without the NHLT blobs. Thanks @ujfalusi for helping.

[    6.038572] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    6.038582] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
[    6.038585] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
[    6.038588] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-4ch.tplg
PLTorrent commented 6 months ago

I removed the sof-dmic.conf file and created a sof-audio-pci-intel-mtl.conf file with the suggested content: options snd_sof_intel_hda_common sof_use_tplg_nhlt=1 options snd_sof_pci tplg_filename=sof-hda-generic-ace1-4ch.tplg

Finally the audio devices showed up in the ubuntu settings and speakers work. However there are still some issues visible in the journalctl:

May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:15 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:16 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:16 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:16 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:16 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:16 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:16 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 4
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-ace1-4ch.tplg
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.8.1.1
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.8.1.1
May 06 17:56:17 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
May 06 17:56:17 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
May 06 17:56:17 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
May 06 17:56:17 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: FW reported error: 9 - Specified resource not found
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc error for msg 0x44000006|0x30000000
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: sof_ipc4_set_get_data: large config set failed at offset 0: -22
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to set volume update for Pre Mixer Analog Playback Volume

Any further suggestions?

plbossart commented 6 months ago

Good progress @PLTorrent

mtrace-reader.py.gz

can you add this script on the device and try to run mtrace-reader.py | tee log.txt and share the result? I suspect the topology defines a volume element that doesn't exist.

plbossart commented 6 months ago

also the key point is to check if the mics work?

PLTorrent commented 6 months ago

the script fails:

Traceback (most recent call last):
  File "/home/mbxp/Downloads/mtrace-reader.py", line 20, in <module>
    fd = os.open(MTRACE_FILE, os.O_RDONLY)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/sof/mtrace/core0'
plbossart commented 6 months ago

try with sudo?

PLTorrent commented 6 months ago

c'mon :)

of course I did:

root@MBXP-VGHH-XX:/home/mbxp/Downloads# python3 mtrace-reader.py | tee log.txt
Traceback (most recent call last):
  File "/home/mbxp/Downloads/mtrace-reader.py", line 20, in <module>
    fd = os.open(MTRACE_FILE, os.O_RDONLY)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/sof/mtrace/core0'
plbossart commented 6 months ago

@kv2019i this one's for you!

PLTorrent commented 6 months ago

also the key point is to check if the mics work?

@plbossart Any suggested/proper way to do this? I guess this device has more than one mic so how to test them all? Please advise.

ranj063 commented 6 months ago

Any further suggestions?

@PLTorrent do these errors show up right after boot? Or after playback?

plbossart commented 6 months ago

@plbossart Any suggested/proper way to do this? I guess this device has more than one mic so how to test them all? Please advise.

All the mics are grouped in a single stream.

this will record from the mics for 10s

arecord -Dhw:0 -c4 -r48000 -fS16_LE -d10 test.wav

(could also be -fS32_LE).

PLTorrent commented 6 months ago

@ranj063 looking at timestamps in logs those errors must have been right after reboot. However now they are not present after another reboot or some playback trials. Will try some more reboots but for now I will treat those as one-time glitch.

Current log below:

May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:23 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:24 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:24 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:24 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:24 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:24 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:24 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 4
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-ace1-4ch.tplg
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.8.1.1
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.8.1.1
May 06 19:43:25 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
May 06 19:43:25 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
May 06 19:43:25 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
May 06 19:43:25 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15

@plbossart thanks for the tip about mics will test and provide feedback.

Also one more question I have is I have found this info on this website: https://thesofproject.github.io/latest/getting_started/intel_debug/introduction.html

For compatibility reasons with respect to Meteor Lake /lib/firmware/intel/sof-ace-tplg must be symlinked to /lib/firmware/intel/sof-ipc4-tplg

I have created this symlink. Do I need it? Should I remove it?

PLTorrent commented 6 months ago

@plbossart I got the following when trying to record:

arecord -Dhw:0 -c4 -r48000 -fS16_LE -d10 test.wav
arecord: set_params:1377: Channels count non available

However mics seem to be working as I was able to record sound using Gnome Sound Recorder without problems.

plbossart commented 6 months ago

arecord -Dhw:0,6 -c4 -r48000 -fS16_LE -d10 test.wav

ranj063 commented 6 months ago

arecord -Dhw:0,6 -c4 -r48000 -fS16_LE -d10 test.wav

@plbossart im not sure we support 16-bit capture in the upstream topologies yet. @PLTorrent could you please try -fS32_LE as well?

PLTorrent commented 6 months ago

@plbossart, @ranj063 had to use -fS32_LE. For 16 I got:

arecord: set_params:1371: Sample format non available
Available formats:
- S32_LE

The recording is ok and checking in audacity there are 4 tracks in: Screenshot from 2024-05-06 20-46-27

The current alsa-info is here (in case it is needed): https://alsa-project.org/db/?f=7fae03fe2ef7c39e0502538c9d76abd7278470a7

Also I noticed that now in Ubuntu settings I have Speaker and Headphones for input and output, however no Headphones are currently connected to the laptop, nor ever were. Is this normal?

Screenshot from 2024-05-06 20-56-49

Screenshot from 2024-05-06 20-57-11

plbossart commented 6 months ago

ok so the mics look good with the quirk. We'll have to ask @ujfalusi @ranj063 and @singalsu why we can't find the relevant blob in original NHLT tables.

For the headphones, all the detection is handled by the HDaudio driver for your Conexant codec. I don't think anyone on this forum can help.

For the IPC problem it needs to be root-caused with additional information. maybe nuke the alsa state first.

blacklist snd-sof-pci-intel-mtl boot stop alsa-state.service, delete the ALSA state file modprobe snd-sof-pci-intel-mtl

PLTorrent commented 6 months ago

Could you point me which file should be deleted please?

ranj063 commented 6 months ago

Looks like they're using 16-bit samples in the format

@plbossart this seems like a new problem for us. If there's a mismatch between the NHLT blob, topology audio formats and the formats advertised in the PCM capabilities, we're always going to run into issues

PLTorrent commented 6 months ago

Is this more or less what I should do? https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture/Troubleshooting#Removing_old_ALSA_state_file_(asound.state)

plbossart commented 6 months ago

yes, remove the asound.state to make sure you are not trying to deal with a non-existent control that might have been enabled. It's a long shot though, but it's not uncommon either to see weird configurations stored in that file.

ujfalusi commented 6 months ago

c'mon :)

of course I did:

root@MBXP-VGHH-XX:/home/mbxp/Downloads# python3 mtrace-reader.py | tee log.txt
Traceback (most recent call last):
  File "/home/mbxp/Downloads/mtrace-reader.py", line 20, in <module>
    fd = os.open(MTRACE_FILE, os.O_RDONLY)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/sof/mtrace/core0'

for mtrace-readet to work you need to enable it in kernel with a module option:

options snd_sof sof_debug=0x001
ujfalusi commented 6 months ago

ok so the mics look good with the quirk. We'll have to ask @ujfalusi @ranj063 and @singalsu why we can't find the relevant blob in original NHLT tables.

I think the issue is that the ACPI NHLT only contains blobs for S16_LE configuration, the tplg for DMIC only contains S32_LE configuration. This will not work, we need to use the NHLT embedded in tplg file which is in turn only contains S32_LE configuration bobs.

For the headphones, all the detection is handled by the HDaudio driver for your Conexant codec. I don't think anyone on this forum can help.

For the IPC problem it needs to be root-caused with additional information. maybe nuke the alsa state first.

I would try to update the SOF firmware, the one you are using is from December (2.8.1.1, unfortunately ubuntu have not updated it, yet). The latest release can be downloaded from https://github.com/thesofproject/sof-bin/releases/tag/v2024.03 You might do a full install or just pick the strictly needed files (sof-mtl.ri and sof-hda-generic-ace1-4ch.tplg) I don't know what this error is about, there were no changes in kernel for Kcontrol handling for a long time but I have seen similar prints from @singalsu just yesterday in unrelated discussion.

blacklist snd-sof-pci-intel-mtl boot stop alsa-state.service, delete the ALSA state file modprobe snd-sof-pci-intel-mtl

PLTorrent commented 6 months ago

blacklist snd-sof-pci-intel-mtl boot stop alsa-state.service, delete the ALSA state file modprobe snd-sof-pci-intel-mtl

Did that, also commented out those 2 lines from conf:

#options snd_sof_intel_hda_common sof_use_tplg_nhlt=1
#options snd_sof_pci tplg_filename=sof-hda-generic-ace1-4ch.tplg

Situation back to sqare one -> only dummy device in sound settings. And the same in journal:

May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-4ch.tplg
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.8.1.1
May 07 11:04:47 MBXP-VGHH-XX kernel: NOHZ tick-stop error: local softirq work is pending, handler #08!!!
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.8.1.1
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
May 07 11:04:47 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
May 07 11:04:47 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21
May 07 11:04:47 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input22
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to prepare connected widgets
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 6 dir 1
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
May 07 11:04:47 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to prepare widget dai-copier.DMIC.dmic01.capture

I would try to update the SOF firmware, the one you are using is from December (2.8.1.1, unfortunately ubuntu have not updated it, yet). The latest release can be downloaded from https://github.com/thesofproject/sof-bin/releases/tag/v2024.03

Will try to do that now.

ujfalusi commented 6 months ago

@PLTorrent, you need to use the nhlt embedded in the tplg, keep these for now:

options snd_sof_intel_hda_common sof_use_tplg_nhlt=1
options snd_sof_pci tplg_filename=sof-hda-generic-ace1-4ch.tplg

The laptop's ACPI only contains 16-bit DMIC configuration blob which is a first in history afaik.

PLTorrent commented 6 months ago

@ujfalusi Ok, re-enabled those, upgraded to 2.9.0.1. Let me know if any further assistance is required from my side :)

May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 4
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-ace1-4ch.tplg
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.9.0.1
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.9.0.1
May 07 11:30:49 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
May 07 11:30:49 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
May 07 11:30:49 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21
May 07 11:30:49 MBXP-VGHH-XX kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input22
ujfalusi commented 6 months ago

@PLTorrent, the "Failed to set ..." prints is gone with the firmware/topology update?

We are going to have a fix for this which includes a kernel change: https://github.com/thesofproject/linux/pull/4979 and then we will need topology change, which is under work. With those, devices like yours with 16-bit DMIC configuration only will work, albeit with slightly lower quality (16 vs 32 bit).

if you know how to compile and use a custom kernel then it would be great help to test them together on a device (it works with a crafted tplg with your NHLT blob)

singalsu commented 6 months ago

The topology patch to add 16 bit DMIC copier input option is in https://github.com/thesofproject/sof/pull/9102 . The topology change alone is not enough, the above kernel update is also needed.

PLTorrent commented 6 months ago

@PLTorrent, the "Failed to set ..." prints is gone with the firmware/topology update?

@singalsu you mean those:

May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: FW reported error: 9 - Specified resource not found
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc error for msg 0x44000006|0x30000000
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: sof_ipc4_set_get_data: large config set failed at offset 0: -22
May 06 17:56:18 MBXP-VGHH-XX kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to set volume update for Pre Mixer Analog Playback Volume

if yes, then this seemed like a one time glitch. I could not reproduce those after next reboots without any changes. Also they never appeared again when I was doing the later changes/experiments.

Never built a kernel but there is a first time to everything!

Currently I can see that on both there are some tests failed. Should I proceed anyway, or wait?

image

image

kv2019i commented 6 months ago

@PLTorrent please proceed. the CI fails on IPC fuzzing are caused by https://github.com/thesofproject/sof/issues/9101

ranj063 commented 6 months ago

The laptop's ACPI only contains 16-bit DMIC configuration blob which is a first in history afaik.

@ujfalusi @plbossart just thinking out loud. You know how we make the BIOS NHLT take priority over the topology NHLT if available. Instead, can we consider extending the BIOS NHLT with the topology NHLT to avoid issues like this?

plbossart commented 6 months ago

what do you mean by "extending the BIOS NHLT" @ranj063?

modify the table?

or use the topology as a fallback if the blob needed is not found?

ranj063 commented 6 months ago

what do you mean by "extending the BIOS NHLT" @ranj063?

modify the table?

or use the topology as a fallback if the blob needed is not found?

no not modify the table but use the topology NHLT as an extension to look for blobs missing in the BIOS NHLT

plbossart commented 6 months ago

I am not clear on the definition of 'blobs missing', this wouldn't apply in this specific case. we have a 16-bit blob in the NHLT, we just didn't handle this case.

How would we know if a blob is missing?

ranj063 commented 6 months ago

what do you mean by "extending the BIOS NHLT" @ranj063? modify the table? or use the topology as a fallback if the blob needed is not found?

no not modify the table but use the topology NHLT as an extension to look for blobs missing in the BIOS NHLT

I am not clear on the definition of 'blobs missing', this wouldn't apply in this specific case. we have a 16-bit blob in the NHLT, we just didn't handle this case.

How would we know if a blob is missing?

But in this case, the problem is that we're advertising only 32-bit capability in the topology only to find out that the 32-bit blob doesnt exist in the BIOS NHLT. So, if we were to look for the 32-bit blob from the topology NHLT, we would find it because the topology blobs are aligned with what we advertise isnt it?

plbossart commented 6 months ago

The problem is that in the HDaudio case we released topology WITHOUT blobs as a default. That's why we have to specify the 'tplg_filename=sof-hda-generic-ace1-4ch.tplg' option, which includes the blobs...

No matter how you look at it we painted ourselves in a corner :-) (edit: with multiple coats of paint even...)

ranj063 commented 6 months ago

default

But even if we removed the option of no topology without blobs, we'd still have the same issue isnt it?

plbossart commented 6 months ago

"removed the option of no topology without blobs" that's 3 negatives...

did you mean "even if we included blobs by default in the topology, we'd still have the same issue isnt it?"

I guess that's true, but I am not sure where you are going with this. Why not ignore the NHLT completely then?

IIRC the idea was to use NHTL because it's the default used by Windows, so that would generate fewer issues with blobs that don't match the hardware (edit: I am specifically referring to the 2ch case with pdm1 which we couldn't handle with topology1).

What we didn't see coming is that there are more variations of the blobs we don't support in the kernel.

ranj063 commented 6 months ago

"removed the option of no topology without blobs" that's 3 negatives...

did you mean "even if we included blobs by default in the topology, we'd still have the same issue isnt it?"

I guess that's true, but I am not sure where you are going with this. Why not ignore the NHLT completely then?

IIRC the idea was to use NHTL because it's the default used by Windows, so that would generate fewer issues with blobs that don't match the hardware.

What we didn't see coming is that there are more variations of the blobs we don't support in the kernel.

yeah if you ask me, I'd definitely vote for prioritizing the topology NHLT over the BIOS NHLT. Otherwise, we'd always be playing whack-a-mole

plbossart commented 6 months ago

prioritizing the topology blobs brings back the 2ch-pdm1 issue back. It's not going away, given two choices without any real explanation half of humanity will select the 'wrong' solution.

PLTorrent commented 6 months ago

The topology patch to add 16 bit DMIC copier input option is in thesofproject/sof#9102 . The topology change alone is not enough, the above kernel update is also needed.

Got the kernel built and booted. Could you please direct me to next steps please.

  1. I guess I should comment out the conf file options I have now?
  2. Got the [thesofproject/sof#9102] zip downloaded. Now I should just: make -C installer/ stage rsync?
  3. In my understanding what we are aiming for is after reboot sound works on this kernel without any *.conf sorcery right?
plbossart commented 6 months ago

@PLTorrent indeed new kernel and new topology should work without any kernel parameters.