Skip to content

[Bug][CML][5.0] No soundcard because "HDMI failed to get afg sub nodes" after system boot up (Frequency:2/10) #1374

Description

@ClarexZhou

Describe the bug
No sound card because "HDMI failed to get afg sub nodes" after system boot up.

To Reproduce

  1. Boot up system
  2. aplay -l to check, display no sound card.

frequency
About 2/10. Tried as below

Scenaro Without HDMI/DP/WD19 dock
Cold Boot (Power off via long press power button) Pass: 1st/2nd/3rd/4th/6th/7th/8th/9th No soundcard Fail: 5th/10th
Cold Boot (Power off via power off menu) Pass: 1st/3rd/4th No soundcard Fail: 2nd
Warm boot ("sudo reboot" command) Pass: 1st/2nd/3rd/ No soundcard Fail: 4th

Actual result
No soundcard

Expected result
Should load successfully

Error seen with firmware master and kernel integration/soundwire-latest branch.
Environment
Kernel repo https://github.com/thesofproject/linux/commits/release/sof-v5.0 (6a4a824) + PR#1366
Firmware repo https://github.com/thesofproject/sof/tree/cml-hda-dmic-001-drop-stable (6cc8da10)
Topology: Same as above SOF repo, sof-hda-generic.tplg
UCM https://github.com/alsa-project/alsa-ucm-conf (c8808f6d)+ PR#4
Kconfig: https://github.com/thesofproject/kconfig(3d5d665) + PR#15
Platform: CML WA*-L notebook in HDA mode

[    4.699512] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    4.699738] sof-audio-pci 0000:00:1f.3: firmware boot complete
[    4.706124] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp1
[    4.706127] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp2
[    4.706130] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp3
[    4.706132] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link Analog Playback and Capture
[    4.706134] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link Digital Playback and Capture
[    4.706136] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link dmic01
[    4.706138] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link dmic16k
[    4.708860] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:7:0 Kernel ABI 3:6:0
[    4.708863] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    4.708874] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[    4.709717] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[    4.709720] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[    4.710542] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[    4.710545] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[    4.711327] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[    4.711331] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[    4.712135] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[    4.712138] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[    4.712141] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[    4.712144] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[    4.712147] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[    4.712149] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[    4.713007] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[    4.713010] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[    4.713880] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[    4.713886] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[    4.714744] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[    4.721990] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    5.734048] snd_hda_codec_hdmi ehdaudio0D2: HDMI: failed to get afg sub nodes
[    5.734056] snd_hda_codec_hdmi ehdaudio0D2: patch failed -22
[    5.734152] snd_hda_codec_hdmi ehdaudio0D2: ASoC: failed to probe component -22
[    5.734202] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -22
[    5.734417] skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -22

HDMI_failed_to_get_afg_sub_nodes.txt

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionP1Blocker bugs or important featuresbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions