You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JSL][bug]"Dummy output" display in sound setting when power on with DP connected. #2217
Describe the bug
"Dummy output" display in sound setting when power on with DP connected. check "amixer contents" the DP status is on. Aplay via DP is ok.
To Reproduce
1.Boot up system with DP connected.
2.Open sound setting to check after system boot up successfully.
Reproduce rate
5/5
Expected result
System should display output source normally in sound setting.
Actual result
"Dummy output" display in sound setting when power on with DP connected.
Hmm, that is interesting .. it seems i915 is disabling audio codec while SOF audio probe is still ongoing, resulting in this:
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029048] WARNING: CPU: 2 PID: 266 at sound/pci/hda/hda_codec.c:2537 snd_hda_spdif_ctls_unassign+0x45/0x50 [snd_hda_codec]
...
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029089] update_eld+0x6e9/0x7c0 [snd_hda_codec_hdmi]
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029090] ? i915_audio_component_get_eld+0x139/0x140 [i915]
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029091] hdmi_present_sense+0x16a/0x1e0 [snd_hda_codec_hdmi]
This shouldn't lead to critical failures though. Could you share "sudo alsa-info --stdout" output and pulseaudio verbose log that covers start-up and the use-case sequence?
Thanks @sinahuang ! It seems I'm still missing a case in PR2223 and pulseaudio init fails:
I: [pulseaudio-off] alsa-util.c: Error opening PCM device hw:sofhdadsp,3: Device or resource busy
D: [pulseaudio-off] alsa-mixer.c: Profile set 0x560925c144e0, auto_profiles=no, probed=yes, n_mappings=0, n_profiles=0, n_decibel_fixes=0
E: [pulseaudio-off] module-alsa-card.c: Failed to find a working profile.
Activity
bardliao commentedon Jun 22, 2020
Something doesn't look right below. @sinahuang Could you also attach dmesg log while aplay via DP?
sinahuang commentedon Jun 23, 2020
Error still can be seen with PR #2223.
sinahuang commentedon Jun 23, 2020
Attached log while aplay via DP:
dmesg_aplay.log
kv2019i commentedon Jun 23, 2020
Hmm, that is interesting .. it seems i915 is disabling audio codec while SOF audio probe is still ongoing, resulting in this:
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029048] WARNING: CPU: 2 PID: 266 at sound/pci/hda/hda_codec.c:2537 snd_hda_spdif_ctls_unassign+0x45/0x50 [snd_hda_codec]
...
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029089] update_eld+0x6e9/0x7c0 [snd_hda_codec_hdmi]
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029090] ? i915_audio_component_get_eld+0x139/0x140 [i915]
May 28 21:00:55 sh-Jasper-Lake-HDA kernel: [ 5.029091] hdmi_present_sense+0x16a/0x1e0 [snd_hda_codec_hdmi]
This shouldn't lead to critical failures though. Could you share "sudo alsa-info --stdout" output and pulseaudio verbose log that covers start-up and the use-case sequence?
sinahuang commentedon Jun 24, 2020
Attached the alsa-info output and pluseaudio logs:
pulse-log1.txt
alsa-info1.txt
kv2019i commentedon Jun 24, 2020
Thanks @sinahuang ! It seems I'm still missing a case in PR2223 and pulseaudio init fails:
I: [pulseaudio-off] alsa-util.c: Error opening PCM device hw:sofhdadsp,3: Device or resource busy
D: [pulseaudio-off] alsa-mixer.c: Profile set 0x560925c144e0, auto_profiles=no, probed=yes, n_mappings=0, n_profiles=0, n_decibel_fixes=0
E: [pulseaudio-off] module-alsa-card.c: Failed to find a working profile.
... I'll work on a fix.
kv2019i commentedon Jun 24, 2020
I have a hypothesis this is caused by intel_not_share_assigned_cvt() function not working as expected. Hint provided in the log:
May 28 21:00:58 sh-Jasper-Lake-HDA kernel: [ 8.724401] snd_hda_codec_hdmi ehdaudio0D2: choose cvt 1 for pin nid 4
kv2019i commentedon Jun 26, 2020
Same rootcause as #2216 (comment) , will ETA next week.
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
72 remaining items
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later