Repository navigation
Closed
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionP1Blocker bugs or important featuresBlocker bugs or important featuresbugSomething isn't workingSomething isn't working
Description
Describe the bug
No sound card because "HDMI failed to get afg sub nodes" after system boot up.
To Reproduce
- Boot up system
- 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
Metadata
Metadata
Assignees
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionP1Blocker bugs or important featuresBlocker bugs or important featuresbugSomething isn't workingSomething isn't working
Activity
[-][Bug][CFL]No soundcard for HDMI failed to get afg sub nodes after system boot up (Frequency:2/10)[/-][+][Bug][CFL]No soundcard because "HDMI failed to get afg sub nodes" after system boot up (Frequency:2/10)[/+]ClarexZhou commentedon Oct 25, 2019
Test on CML Man* notebook in HDA mode with same kernel and FW.
Error also occurred: Frequency: 6/100
dmesg_failed_40.txt
dmesg_failed_40.txt
[-][Bug][CFL]No soundcard because "HDMI failed to get afg sub nodes" after system boot up (Frequency:2/10)[/-][+][Bug][CML]No soundcard because "HDMI failed to get afg sub nodes" after system boot up (Frequency:2/10)[/+][-][Bug][CML]No soundcard because "HDMI failed to get afg sub nodes" after system boot up (Frequency:2/10)[/-][+][Bug][CML][5.0] No soundcard because "HDMI failed to get afg sub nodes" after system boot up (Frequency:2/10)[/+]kv2019i commentedon Oct 28, 2019
Note: this bug does not happen in mainline sof-dev and seems to be specific to 5.0 kernel branch with the common HDMI driver used.
Based on debug today, this seems to be caused by missing patch to enable "sync_write" mode for SOF. Backported patch to 5.0 branch is available via PR: #1388
ClarexZhou commentedon Oct 29, 2019
Error not seen with #1388 merged. Close
KVM: arm64: PMU: Fix per-CPU access in preemptible context