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]Aplay via HDMI takes 5 mins to response after system wake up from s2idle. #2154
HDAApplies to HD-Audio bus for codec connectionJSLJasper Lake platform issuesbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)
Describe the bug
Aplay stuck and doesn't started after system wake up from s2idle. Waiting for about 4mins" Unable to sync register 0x2f8100. -5" shows in dmesg. Then waiting for about 1 mins HDMI begin to playback normally.
To Reproduce
1.Boot up system with HDMI connected.
2.Run " sudo rtcwake -m mem -s 10" and waiting for system wake up from s2idle.
3.Run "aplay -Dhw:0,4 -r48000 -c2 -fs16_le wav/48K_Let_It_Go.wav -vv -i"
Reproduce rate
5/5
Expected result
HDMI should work after system wake up from s2idle.
Actual result
HDMI can't work after system wake up from s2idle.
[ 241.485682] snd_hda_codec_hdmi ehdaudio0D2: Unable to sync register 0x2f8100. -5
[ 241.485700] snd_hda_codec_hdmi ehdaudio0D2: HDMI: detected monitor DELL U2414H at connection type HDMI
[ 241.485704] snd_hda_codec_hdmi ehdaudio0D2: HDMI: available speakers: FL/FR
[ 241.485710] snd_hda_codec_hdmi ehdaudio0D2: HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000, bits = 16 20 24
[ 246.496716] sof-audio-pci 0000:00:1f.3: pcm: open stream 4 dir 0
[ 246.496721] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 246.496724] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 246.496727] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 246.497331] sof-audio-pci 0000:00:1f.3: pcm: close stream 4 dir 0
changed the title [-][JSL][BUG]HDMI can't work after system wake from s2idle.[/-][+][JSL][BUG]Aplay via HDMI can be freezed after system wake up from s2idle.[/+]on Jun 2, 2020
changed the title [-][JSL][BUG]Aplay via HDMI can be freezed after system wake up from s2idle.[/-][+][JSL][BUG]Aplay via HDMI takes 5 mins to response after system wake up from s2idle.[/+]on Jun 2, 2020
HDAApplies to HD-Audio bus for codec connectionJSLJasper Lake platform issuesbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)
Activity
sinahuang commentedon Jun 1, 2020
Might be same root cause with #1719
[-][JSL][BUG]HDMI can't work after system wake from s2idle.[/-][+][JSL][BUG]Aplay via HDMI can be freezed after system wake up from s2idle.[/+][-][JSL][BUG]Aplay via HDMI can be freezed after system wake up from s2idle.[/-][+][JSL][BUG]Aplay via HDMI takes 5 mins to response after system wake up from s2idle.[/+]sinahuang commentedon Jun 3, 2020
Error also can be seen after pulseaudio disabled.
ClarexZhou commentedon Jun 3, 2020
@kv2019i could you help to confirm https://lists.freedesktop.org/archives/intel-gfx/2020-April/236415.html is backport on sof-dev?
kv2019i commentedon Jun 3, 2020
@ClarexZhou wrote:
Ouch, indeed, that's still missing (although merged in drm tree). I'll backport that to sof-dev.
sinahuang commentedon Jun 4, 2020
Error can't be seen with sof-dev (commit: 16d98c)+PR #2167.