thesofproject / avs-topology-xml

Configuration files for Intel AudioVoiceSpeech (AVS) driver
Apache License 2.0
3 stars 1 forks source link

No sound on Acer Swift SF514-52T with Intel i5-8250U and ALC255 audio #20

Closed archerallstars closed 2 months ago

archerallstars commented 1 year ago

I try to enable the AVS driver on my device with options snd-intel-dspcfg dsp_driver=4, with firmware binaries below:

fw-avs.zip

However, all my audio input and output devices are not available. Here's my dmesg with the AVS firmware binaries:

``` [ 10.135334] snd_soc_avs 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 10.207627] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 10.207698] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 10.261805] avs_hdaudio avs_hdaudio.0: ASoC: Parent card not yet available, widget card binding deferred [ 10.262387] input: hdaudioB0D0 Front Headphone as /devices/platform/avs_hdaudio.0/sound/card1/input15 [ 10.271981] avs_hdaudio avs_hdaudio.2: ASoC: Parent card not yet available, widget card binding deferred [ 10.272180] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 1 to PCM 1 (0000000091338d12) [ 10.272189] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 2 to PCM 2 (000000004ccc786d) [ 10.272194] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 3 to PCM 3 (000000009c91d624) [ 10.274400] input: hdaudioB0D2 HDMI/DP,pcm=1 as /devices/platform/avs_hdaudio.2/sound/card2/input16 [ 10.274529] input: hdaudioB0D2 HDMI/DP,pcm=2 as /devices/platform/avs_hdaudio.2/sound/card2/input17 [ 10.274684] input: hdaudioB0D2 HDMI/DP,pcm=3 as /devices/platform/avs_hdaudio.2/sound/card2/input18 [ 10.276122] avs_dmic avs_dmic: ASoC: Parent card not yet available, widget card binding deferred [ 18.853129] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 18.853234] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 18.857052] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.857057] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.857059] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.857094] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.857096] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.857237] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.857239] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.857241] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.857304] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.857305] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.857490] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.857492] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.857493] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.857526] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.857527] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.857660] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.857662] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.857664] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.857700] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.857702] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.858129] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.858131] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.858132] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.858168] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.858169] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.858536] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.858539] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.858540] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.858577] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.858579] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.858701] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.858703] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.858704] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.858756] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.858758] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.858922] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.858925] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.858927] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.858966] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.858968] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.859098] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.859100] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.859102] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.859141] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.859143] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.859569] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.859571] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.859573] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.859611] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.859613] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.860094] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.860097] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.860099] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.860137] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.860139] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.860319] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.860321] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.860323] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.860361] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.860363] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.860566] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.860569] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.860570] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.860611] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.860612] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.860799] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.860804] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.860809] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.860850] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.860853] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.861457] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.861462] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.861465] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.861514] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.861518] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.862336] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.862342] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.862345] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.862386] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.862390] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.862636] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.862639] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.862641] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.862683] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.862686] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.862991] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.862995] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.862996] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.863035] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.863037] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.863252] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.863255] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.863256] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.863294] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.863296] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.863849] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 18.863853] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 18.863856] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 18.863897] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.863899] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 18.920646] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.920657] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.920662] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.920755] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.920759] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.920763] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.920863] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.920866] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.920870] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.920939] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.920943] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.920946] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.921499] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.921505] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.921508] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.921979] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.921985] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.921988] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.922070] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.922075] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.922078] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.922171] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.922176] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.922179] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.922244] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.922249] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.922252] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.922765] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.922771] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.922775] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.923341] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.923347] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.923351] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.923503] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.923509] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.923512] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.923697] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.923702] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.923705] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.923845] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.923849] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.923853] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.924478] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.924484] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.924487] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.925214] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.925220] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.925224] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.925415] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.925420] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.925425] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.925646] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.925651] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.925655] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.925844] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.925849] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.925852] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.926484] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.926490] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.926493] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.926919] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.926925] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.926929] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.927003] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.927008] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.927011] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.927113] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.927117] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.927121] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.927192] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.927196] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.927199] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.928161] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.928167] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.928171] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.928628] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.928635] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.928638] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.928714] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.928720] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.928723] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.928817] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.928822] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.928825] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.928902] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.928907] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.928910] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.929422] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.929428] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.929432] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.929996] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.930001] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.930005] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.930181] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.930187] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.930191] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.930378] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.930383] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.930387] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.930544] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.930549] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.930553] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.931190] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.931196] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.931200] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.931875] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.931882] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.931886] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.932073] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.932078] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.932082] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.932304] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.932310] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.932313] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.932499] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.932505] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.932508] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 18.933133] snd_soc_avs 0000:00:1f.3: no matching variant found [ 18.933138] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 18.933142] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.632989] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 27.633025] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 27.637087] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.637092] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.637094] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.637165] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.637167] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.637304] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.637306] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.637308] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.637342] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.637344] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.637494] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.637496] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.637498] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.637532] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.637533] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.637648] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.637650] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.637651] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.637685] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.637687] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.638242] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.638247] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.638251] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.638296] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.638300] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.638897] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.638902] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.638906] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.638951] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.638955] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.639156] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.639160] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.639163] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.639205] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.639208] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.639434] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.639438] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.639441] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.639483] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.639486] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.639644] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.639648] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.639651] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.639694] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.639698] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.640265] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.640270] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.640274] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.640317] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.640321] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.641022] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.641028] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.641032] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.641097] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.641102] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.641355] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.641360] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.641363] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.641414] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.641418] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.641716] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.641721] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.641725] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.641769] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.641773] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.642016] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.642022] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.642025] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.642070] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.642074] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.642704] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.642708] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.642711] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.642754] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.642757] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.643517] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.643523] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.643527] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.643570] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.643574] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.643826] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.643831] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.643834] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.643877] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.643880] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.644172] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.644177] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.644179] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.644220] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.644223] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.644500] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.644505] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.644508] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.644550] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.644554] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.645256] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found [ 27.645262] snd_soc_avs 0000:00:1f.3: module-type create failed: -2 [ 27.645265] snd_soc_avs 0000:00:1f.3: error creating module -2 [ 27.645311] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.645314] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2 [ 27.704383] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.704411] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.704414] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.704482] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.704485] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.704487] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.704552] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.704554] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.704556] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.704599] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.704601] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.704602] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.705088] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.705091] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.705093] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.705492] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.705497] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.705500] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.705571] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.705575] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.705578] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.705664] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.705667] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.705670] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.705736] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.705740] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.705742] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.706199] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.706202] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.706204] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.706592] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.706595] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.706597] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.706694] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.706697] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.706698] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.706808] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.706810] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.706812] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.706902] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.706904] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.706906] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.707385] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.707388] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.707390] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.707801] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.707806] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.707809] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.707977] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.707980] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.707983] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.708170] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.708174] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.708177] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.708352] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.708357] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.708360] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.708954] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.708960] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.708963] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.709386] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.709392] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.709396] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.709469] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.709473] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.709476] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.709561] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.709565] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.709568] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.709633] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.709637] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.709640] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.710127] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.710132] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.710136] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.710516] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.710521] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.710524] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.710592] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.710596] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.710599] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.710684] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.710688] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.710691] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.710761] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.710765] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.710768] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.711270] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.711276] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.711279] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.711786] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.711792] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.711796] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.711948] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.711952] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.711955] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.712109] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.712114] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.712117] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.712259] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.712263] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.712267] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.712814] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.712819] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.712823] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.713456] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.713462] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.713465] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.713637] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.713641] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.713645] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.713822] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.713826] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.713829] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.713998] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.714001] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.714004] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 [ 27.714624] snd_soc_avs 0000:00:1f.3: no matching variant found [ 27.714631] snd_soc_avs 0000:00:1f.3: create path failed: -2 [ 27.714635] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on hdaudioB0D0-cpu0: -2 ```

I initially reported this issue on SUSE Bugzilla Bug 1213187.

I am on openSUSE Tumbleweed, Linux 6.4.3-1-default.

crojewsk-intel commented 1 year ago

Hello @kreaninw,

Thanks for your report. Let's do this.

First, the topology file (hda-generic-tplg.xml -> hda-generic-1ep-tplg.xml) found in this very repo exposes a single FrontEnd endpoint what matches your configuration. From alsa-info.txt I see an alc255 HDAudio codec exposing a headset i.e.: one playback and one capture endpoint. Unsure about supported formats by those two though. Of course, there are more devices present on your platform: HDMI and DMIC.

The HDAudio topology you received accepts S16/24/32_LE. If an attempt to open a stream by an application ends with -2, it might mean that there's a problem with topology. Perhaps too much is allowed. In case of DMIC, given format may be simply unsupported - missing blob in NHLT table.

Would you mind killing any alive audio service and performing manual streaming? Please repeat the process for two formats: S16_LE and S24_LE.

aplay -Dhw:<card id>,<device id> -c2 -r48000 -fS24_LE -vv /dev/urandom

To be clear, if aplay -l on a platform shows:

test@test-Client-Platform:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: avsrt274 [avs_rt274], device 1: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

then complete command for the above is:

aplay -Dhw:1,1 -c2 -r48000 -fS24_LE -vv /dev/urandom
Peter-Sh commented 1 year ago

Hi, @crojewsk-intel!

First I would like to thank you for your support. Your comments and gists are extremely useful.

It seems that I have the same laptop model as the author of the issue (Acer Swift SF514-52T/Carlsberg_KL)

I've found that sound is not working via regular HDMI port using snd_soc_skl driver. Additionally there is a trace message in dmesg about snd_soc_skl, but despite this audio functions are working normally except HDMI.

snd_soc_skl dmesg for reference (not related to avs)

``` [ 32.990767] memcpy: detected field-spanning write (size 2984) of single field "&cpr_mconfig->gtw_cfg.config_data" at sound/soc/intel/skylake/skl-messages.c:552 (size 4) [ 32.990790] WARNING: CPU: 7 PID: 1510 at sound/soc/intel/skylake/skl-messages.c:552 skl_init_module+0x8a2/0x8c0 [snd_soc_skl] [ 32.990825] Modules linked in: ccm algif_aead des_generic libdes ecb algif_skcipher bnep cmac md4 algif_hash af_alg snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_skl_ssp_clk ledtrig_audio snd_soc_avs snd_soc_dmic snd_soc_hda_codec snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi intel_tcc_cooling x86_pkg_temp_thermal snd_hda_codec intel_powerclamp iwlmvm coretemp snd_hda_core kvm_intel snd_hwdep i915 mac80211 uvcvideo snd_seq btusb libarc4 btrtl videobuf2_vmalloc btbcm kvm snd_seq_device btintel drm_buddy uvc iTCO_wdt snd_pcm videobuf2_memops processor_thermal_device_pci_legacy irqbypass i2c_algo_bit intel_pmc_bxt iTCO_vendor_support iwlwifi btmtk acer_wmi rapl videobuf2_v4l2 intel_cstate mei_pxp mei_hdcp intel_rapl_msr intel_wmi_thunderbolt bluetooth wmi_bmof sparse_keymap [ 32.990912] cfg80211 ttm processor_thermal_device ecdh_generic snd_timer processor_thermal_rfim i2c_i801 intel_uncore videodev processor_thermal_mbox processor_thermal_rapl vfat snd drm_display_helper videobuf2_common fat i2c_smbus mei_me soundcore ucsi_acpi mc cec intel_lpss_pci intel_pch_thermal rfkill intel_lpss i2c_hid_acpi mei intel_xhci_usb_role_switch intel_rapl_common typec_ucsi intel_gtt idma64 typec intel_soc_dts_iosf roles i2c_hid video int3403_thermal int340x_thermal_zone wmi mousedev joydev int3400_thermal acpi_thermal_rel acpi_pad acer_wireless mac_hid essiv authenc pkcs8_key_parser dm_multipath crypto_user fuse loop ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_multitouch usbhid dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic serio_raw gf128mul atkbd ghash_clmulni_intel libps2 sha512_ssse3 vivaldi_fmap aesni_intel xhci_pci crypto_simd xhci_pci_renesas cryptd i8042 serio [ 32.991031] CPU: 7 PID: 1510 Comm: pulseaudio Not tainted 6.4.11-arch2-1 #1 97b2f722c7732577cb713428e1f14bfdbe1faa91 [ 32.991036] Hardware name: Acer Swift SF514-52T/Carlsberg_KL, BIOS V1.11 11/26/2018 [ 32.991038] RIP: 0010:skl_init_module+0x8a2/0x8c0 [snd_soc_skl] [ 32.991069] Code: 01 00 00 0f 85 b5 fe ff ff 48 c7 c2 18 88 b6 c1 4c 89 fe 48 89 04 24 48 c7 c7 00 87 b6 c1 c6 05 44 41 01 00 01 e8 7e 5e 57 c0 <0f> 0b 48 8b 04 24 e9 89 fe ff ff e8 0e dd 22 c1 48 c7 c7 7b 69 b6 ```

So I have decided to use avs driver on Arch with 6.4.11 kernel. But no luck - no sound cards working at all. Errors which I observe are different from that in authors logs above.

What I have done:

  1. Used options snd-intel-dspcfg dsp_driver=4 in /etc/modprobe.d/swift5.conf
  2. Compiled all xml files in this repository into bin files (xml -> (avstplg) -> ucm -> (alsatplg) -> /lib/firware/intel/avs/*.bin), I've used avstpl in docker container if it does matter.
dmesg output related to avs

``` [ 0.000000] microcode: updated early: 0x9a -> 0xf4, date = 2023-02-23 [ 0.000000] Linux version 6.4.11-arch2-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Sat, 19 Aug 2023 15:38:34 +0000 [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/root rw root=UUID= rw loglevel=3 root=/dev/mapper/root acpi_backlight=video acpi_osi=Linux pci=nocrs i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 usbcore.quirks=2386:433b:bk rd.luks.uuid= rd.luks.uuid= rd.luks.name= rd.luks.name= rd.luks.uuid= rd.luks.name= resume=/dev/mapper/swap2 [ 0.000000] efi: EFI v2.5 by INSYDE Corp. [ 0.000000] efi: TPMFinalLog=0x8a885000 ACPI 2.0=0x8affd014 SMBIOS=0x8a094000 SMBIOS 3.0=0x8a092000 ESRT=0x8a090698 INITRD=0x73ad7f58 RNG=0x8af99018 TPMEventLog=0x73ad0018 [ 0.000000] random: crng init done [ 0.000000] SMBIOS 3.0.0 present. [ 0.000000] DMI: Acer Swift SF514-52T/Carlsberg_KL, BIOS V1.11 11/26/2018 [ 0.000000] tsc: Detected 1800.000 MHz processor [ 17.655618] snd_soc_avs 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 17.706239] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 17.706278] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 17.717987] avs_dmic avs_dmic: ASoC: Parent card not yet available, widget card binding deferred [ 17.719607] Bluetooth: hci0: Intel BT fw patch 0x32 completed & activated [ 17.725374] snd_hda_codec_realtek hdaudioB0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 17.725381] snd_hda_codec_realtek hdaudioB0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 17.725384] snd_hda_codec_realtek hdaudioB0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 17.725387] snd_hda_codec_realtek hdaudioB0D0: mono: mono_out=0x0 [ 17.725388] snd_hda_codec_realtek hdaudioB0D0: inputs: [ 17.728144] snd_hda_codec_realtek hdaudioB0D0: creating for ALC255 Analog 0 [ 17.728150] snd_hda_codec_realtek hdaudioB0D0: creating for ALC255 Alt Analog 1 [ 17.728152] snd_hda_codec_realtek hdaudioB0D0: skipping playback dai for ALC255 Alt Analog [ 17.769763] snd_soc_avs 0000:00:1f.3: Direct firmware load for intel/avs/hda-10ec0255-tplg.bin failed with error -2 [ 17.769770] snd_soc_avs 0000:00:1f.3: request topology "intel/avs/hda-10ec0255-tplg.bin" failed: -2 [ 17.769775] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_component_probe on hdaudioB0D0-platform: -2 [ 17.769788] avs_hdaudio avs_hdaudio.0: ASoC: failed to instantiate card -2 [ 17.769914] avs_hdaudio: probe of avs_hdaudio.0 failed with error -2 [ 17.778001] snd_hda_codec_hdmi hdaudioB0D2: creating for HDMI 0 0 [ 17.778007] snd_hda_codec_hdmi hdaudioB0D2: skipping capture dai for HDMI 0 [ 17.778009] snd_hda_codec_hdmi hdaudioB0D2: creating for HDMI 1 1 [ 17.778012] snd_hda_codec_hdmi hdaudioB0D2: skipping capture dai for HDMI 1 [ 17.778014] snd_hda_codec_hdmi hdaudioB0D2: creating for HDMI 2 2 [ 17.778017] snd_hda_codec_hdmi hdaudioB0D2: skipping capture dai for HDMI 2 [ 17.779348] avs_hdaudio avs_hdaudio.2: ASoC: Parent card not yet available, widget card binding deferred [ 17.779469] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 1 to PCM 1 (0000000069d06f88) [ 17.779475] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 2 to PCM 2 (0000000010d199da) [ 17.779479] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 3 to PCM 3 (000000003b3654c1) [ 17.781185] input: hdaudioB0D2 HDMI/DP,pcm=1 as /devices/platform/avs_hdaudio.2/sound/card2/input23 [ 17.781288] input: hdaudioB0D2 HDMI/DP,pcm=2 as /devices/platform/avs_hdaudio.2/sound/card2/input24 [ 17.781384] input: hdaudioB0D2 HDMI/DP,pcm=3 as /devices/platform/avs_hdaudio.2/sound/card2/input25 ```

aplay -lL

``` aplay -lL null Discard all samples (playback) or generate zero samples (capture) **** List of PLAYBACK Hardware Devices **** card 2: hdaudioB0D2 [hdaudioB0D2], device 1: HDMI1 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: hdaudioB0D2 [hdaudioB0D2], device 2: HDMI2 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: hdaudioB0D2 [hdaudioB0D2], device 3: HDMI3 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 ```

lspci related to audio

``` 00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21) Subsystem: Acer Incorporated [ALI] Sunrise Point-LP HD Audio Kernel driver in use: snd_soc_avs Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs ```

Driver tries to load intel/avs/hda-10ec0255-tplg.bin topology, but there is no such file in this repository nor did I find one in other places. May be I've missed something while setting up the driver and topology files, I will appreciate any help.

crojewsk-intel commented 1 year ago

Hello @Peter-Sh,

Sorry for the delayed response, missed the notification in my email. In regard to the missing 10ec0255-tplg.bin subject - you may use the generic HDAudio topology for single endpoint devices. It goes by the hda-generic-1p-tplg.xml in this repo. Vast majority of HDAudio codec devices expose just a single playback and capture endpoint and there is no need to tailor a topology file in any particular fashion at all.

ln -s hda-generic-1ep-tplg.bin hda-10ec0255-tplg.bin

We have patches in our internal tree that modify topology-loading procedure behavior to always fallback to the generic names and attempt to load them. Those patches should have been sent to upstream quite a while ago, will do so and notify here what's the patchset thread.

Peter-Sh commented 1 year ago

Hello @crojewsk-intel !

Thanks for the answer!

I've created symlink and now topologies are loaded by avs driver. I can play a sound via speakers and even via HDMI using aplay and record sound using arecord.

However pulseaudio is now broken.

dmesg

``` [ 0.976807] ata2.00: Features: Dev-Sleep NCQ-sndrcv [ 0.978120] ata3.00: Features: Dev-Sleep NCQ-sndrcv NCQ-prio [ 19.203442] snd_soc_avs 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 19.257747] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 19.257903] snd_soc_avs 0000:00:1f.3: cldma_irq_handler sd_status: 0x00000004 [ 19.289773] avs_dmic avs_dmic: ASoC: Parent card not yet available, widget card binding deferred [ 19.296401] snd_hda_codec_realtek hdaudioB0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 19.296415] snd_hda_codec_realtek hdaudioB0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 19.296422] snd_hda_codec_realtek hdaudioB0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 19.296428] snd_hda_codec_realtek hdaudioB0D0: mono: mono_out=0x0 [ 19.296432] snd_hda_codec_realtek hdaudioB0D0: inputs: [ 19.299894] snd_hda_codec_realtek hdaudioB0D0: creating for ALC255 Analog 0 [ 19.299903] snd_hda_codec_realtek hdaudioB0D0: creating for ALC255 Alt Analog 1 [ 19.299907] snd_hda_codec_realtek hdaudioB0D0: skipping playback dai for ALC255 Alt Analog [ 19.340489] avs_hdaudio avs_hdaudio.0: ASoC: Parent card not yet available, widget card binding deferred [ 19.340811] input: hdaudioB0D0 Front Headphone as /devices/platform/avs_hdaudio.0/sound/card2/input14 [ 19.349291] snd_hda_codec_hdmi hdaudioB0D2: creating for HDMI 0 0 [ 19.349295] snd_hda_codec_hdmi hdaudioB0D2: skipping capture dai for HDMI 0 [ 19.349296] snd_hda_codec_hdmi hdaudioB0D2: creating for HDMI 1 1 [ 19.349298] snd_hda_codec_hdmi hdaudioB0D2: skipping capture dai for HDMI 1 [ 19.349299] snd_hda_codec_hdmi hdaudioB0D2: creating for HDMI 2 2 [ 19.349301] snd_hda_codec_hdmi hdaudioB0D2: skipping capture dai for HDMI 2 [ 19.349645] avs_hdaudio avs_hdaudio.2: ASoC: Parent card not yet available, widget card binding deferred [ 19.349721] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 1 to PCM 1 (0000000078a67c32) [ 19.349725] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 2 to PCM 2 (000000004a79a0a5) [ 19.349728] avs_hdaudio avs_hdaudio.2: avs_card_late_probe: mapping HDMI converter 3 to PCM 3 (000000007d5c0477) [ 19.351319] input: hdaudioB0D2 HDMI/DP,pcm=1 as /devices/platform/avs_hdaudio.2/sound/card3/input15 [ 19.351404] input: hdaudioB0D2 HDMI/DP,pcm=2 as /devices/platform/avs_hdaudio.2/sound/card3/input16 [ 19.351486] input: hdaudioB0D2 HDMI/DP,pcm=3 as /devices/platform/avs_hdaudio.2/sound/card3/input17 ```

aplay and arecord output

``` **** List of PLAYBACK Hardware Devices **** card 2: hdaudioB0D0 [hdaudioB0D0], device 1: HDAudio Analog (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: hdaudioB0D2 [hdaudioB0D2], device 1: HDMI1 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: hdaudioB0D2 [hdaudioB0D2], device 2: HDMI2 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: hdaudioB0D2 [hdaudioB0D2], device 3: HDMI3 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 arecord **** List of CAPTURE Hardware Devices **** card 0: avsdmic [avs_dmic], device 2: Digital Microphone (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: hdaudioB0D0 [hdaudioB0D0], device 1: HDAudio Analog (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 ```

pulseaudio

``` E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-avs_dmic" card_name="alsa_card.platform-avs_dmic" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed. E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="2" name="platform-avs_hdaudio.0" card_name="alsa_card.platform-avs_hdaudio.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed. E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="3" name="platform-avs_hdaudio.2" card_name="alsa_card.platform-avs_hdaudio.2" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed. E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="platform-avs_probe_mb" card_name="alsa_card.platform-avs_probe_mb" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed. W: [pulseaudio] cli-command.c: stat('/etc/pulse/default.pa.d'): No such file or directory N: [pulseaudio] bluez5-util.c: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)? ```

I can record sound with arecord -Dhw:0,2 -c2 -f S16_LE -vv -t wav w.wav. Can't play it with aplay probably because incompatible formats (S16_LE and S24_LE), but it is playing via bluetooth headset.

When playing sound with aplay -Dhw:3,1 -c2 -r48000 -fS16_LE -vv /dev/urandom (or similar commands for other devices) there is white noise in speakers and in HDMI via type c (type c -> hub -> hdmi) and via direct HDMI connection.

Looks like I'm almost there, may be I'm missing something for pulseaudio to recognize snd devices.

crojewsk-intel commented 1 year ago

Judging by your input, aplay/arecord works fine on all the endpoints. That's great! In regard to pulseaudio - I'm not an expert there but I presume a valid UCM file is needed to make it happy.

crojewsk-intel commented 2 months ago

I believe all the relevant technical information has been provided in the follow up of this problem i.e.: PR #24. Given lack of traffic in this subject for quite a while, closing.

If anything new pops up that is related and unaddressed, please open a new issue.