Repository navigation
[BUG] no matching blob for sample rate: 48000 sample width: 32 channels: 4 when capture with DMIC on ADLP_RVP_SDW + IPC4 #6955
Copy link
Copy link
Closed
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformIPC4Issues observed with IPC4 (same IPC as Windows)Issues observed with IPC4 (same IPC as Windows)P1Blocker bugs or important featuresBlocker bugs or important featuresbugSomething isn't working as expectedSomething isn't working as expectedtopologyTopology issuesTopology issues
Description
Describe the bug
When capture with DMIC on ADLP_RVP_SDW, it will fail with Unable to install hw params.
Before our CI didn't use the correct topology for ADLP_RVP_SDW + IPC4, so it failed to load topology after f963fa0, but after we correct the topology in CI, we meet this issue.
To Reproduce
arecord -Dhw:0,10 -r 48000 -c 4 -f S32_LE -d 3 /dev/null -v -q
Reproduction Rate
100%
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: thesofproject/linux@078b1e35beb7
- SOF: 82220c823c1a
- Name of the topology file
- Topology: avs-tplg/sof-adl-rt711-4ch.tplg
- Name of the platform(s) on which the bug is observed.
- Platform: ADLP_RVP_SDW
Screenshots or console output
dmesg
[ 175.505007] kernel: snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-tgl 0000:00:1f.3: copier copier.DMIC.101.1, type 28
[ 175.505013] kernel: snd_sof:snd_sof_get_nhlt_endpoint_data: sof-audio-pci-intel-tgl 0000:00:1f.3: dai index 0 nhlt type 2 direction 1
[ 175.505020] kernel: snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-tgl 0000:00:1f.3: Looking for configuration:
[ 175.505024] kernel: snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-tgl 0000:00:1f.3: vbus_id=0 link_type=2 dir=1, dev_type=0
[ 175.505029] kernel: snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-tgl 0000:00:1f.3: ch=4 fmt=32/32 rate=48000
[ 175.505035] kernel: snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-tgl 0000:00:1f.3: Endpoint count=2
[ 175.505040] kernel: snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-tgl 0000:00:1f.3: Endpoint: vbus_id=2 link_type=3 dir=0 dev_type = 0
[ 175.505045] kernel: snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-tgl 0000:00:1f.3: Endpoint: vbus_id=2 link_type=3 dir=1 dev_type = 0
[ 175.505050] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: no matching blob for sample rate: 48000 sample width: 32 channels: 4
[ 175.505217] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to prepare widget copier.DMIC.101.1
[ 175.505224] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to prepare connected widgets
[ 175.505231] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed widget list set up for pcm 10 dir 1
[ 175.505237] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[ 175.505263] kernel: DMIC: ASoC: error at __soc_pcm_hw_params on DMIC: -22
[ 175.505280] kernel: DMIC: ASoC: error at dpcm_fe_dai_hw_params on DMIC: -22
console log
arecord: set_params:1416: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S32_LE
SUBFORMAT: STD
SAMPLE_BITS: 32
FRAME_BITS: 128
CHANNELS: 4
RATE: 48000
PERIOD_TIME: (21333 21334)
PERIOD_SIZE: 1024
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (85333 85334)
BUFFER_SIZE: 4096
BUFFER_BYTES: 65536
TICK_TIME: 0
Metadata
Metadata
Assignees
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformIPC4Issues observed with IPC4 (same IPC as Windows)Issues observed with IPC4 (same IPC as Windows)P1Blocker bugs or important featuresBlocker bugs or important featuresbugSomething isn't working as expectedSomething isn't working as expectedtopologyTopology issuesTopology issues
Activity
miRoox commentedon Jan 18, 2023
I confirmed this issue has been fixed by #6957.