Skip to content

[GLK][br-glk] IPC time out error when speaker headset and HDMI playback work at same time on GLK #345

Closed

Description

@keqiaozhang

This issue happens at the second time. it's OK during the first run.
How to reproduce:

  1. speaker-test -Dhw:0,0 -c 2 -t wav & speaker-test -Dhw:0,1 -c 2 -t wav & speaker-test -Dhw:0,5 -c 2 -t wav

Error log:

[  224.504065] sof-audio sof-audio: error: ipc timed out for 0x60040000 size 0xc
[  224.504078] sof-audio sof-audio: status: fw entered - code 00000005
[  224.504205] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  224.504207] sof-audio sof-audio: error: waking up any trace sleepers
[  224.504213] sof-audio sof-audio: error: ipc timed out for 0x60010000 size 0x60
[  224.504219]  Headset: ASoC: trigger FE failed -110
[  224.504222] sof-audio sof-audio: status: fw entered - code 00000005
[  224.504229] sof-audio sof-audio: pcm: trigger stream 1 dir 0 cmd 0
[  224.504350] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  224.504354] sof-audio sof-audio: error: waking up any trace sleepers
[  224.504364] sof-audio sof-audio: error: got wrong posn offset 0x6967b00 for PCM -110
[  224.504368] sof-audio sof-audio: ASoC: sof-audio hw params failed: -110
[  224.504372]  Speakers: ASoC: hw_params FE failed -110
[  224.504384] sof-audio sof-audio: pcm: free stream 0 dir 0
[  224.696357] sof-audio sof-audio: PCM: stream 5 dir 0 DMA position 0 DAI position 0
[  224.808345] sof-audio sof-audio: error: ipc timed out for 0x60050000 size 0xc
[  224.808366] sof-audio sof-audio: status: fw entered - code 00000005
[  224.808501] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  224.808508] sof-audio sof-audio: error: waking up any trace sleepers
[  224.808531] sof-audio sof-audio: error: ipc timed out for 0x60030000 size 0xc
[  224.808539] sof-audio sof-audio: status: fw entered - code 00000005
[  224.808543]  Headset: ASoC: trigger FE failed -110
[  224.808673] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  224.808676] sof-audio sof-audio: error: waking up any trace sleepers
[  224.810061] sof-audio sof-audio: pcm: close stream 0 dir 0
[  225.200159] sof-audio sof-audio: pcm: trigger stream 5 dir 0 cmd 0
[  225.312472] sof-audio sof-audio: pcm: free stream 1 dir 0
[  225.504326] sof-audio sof-audio: error: ipc timed out for 0x60050000 size 0xc
[  225.504345] sof-audio sof-audio: status: fw entered - code 00000005
[  225.504475] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  225.504481] sof-audio sof-audio: error: waking up any trace sleepers
[  225.504502]  HDMI1: ASoC: trigger FE failed -110
[  225.616075] sof-audio sof-audio: error: ipc timed out for 0x60030000 size 0xc
[  225.616088] sof-audio sof-audio: status: fw entered - code 00000005
[  225.616220] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  225.616223] sof-audio sof-audio: error: waking up any trace sleepers
[  225.616264] sof-audio sof-audio: pcm: free stream 5 dir 0
[  225.920324] sof-audio sof-audio: error: ipc timed out for 0x60030000 size 0xc
[  225.920342] sof-audio sof-audio: status: fw entered - code 00000005
[  225.920470] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  225.920475] sof-audio sof-audio: error: waking up any trace sleepers
[  225.932496] sof-audio sof-audio: pcm: close stream 1 dir 0
[  225.933526] sof-audio sof-audio: pcm: close stream 5 dir 0
[  231.712475] sof-audio sof-audio: error: ipc timed out for 0x40010000 size 0x20
[  231.712493] sof-audio sof-audio: status: fw entered - code 00000005
[  231.712639] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x00004000
[  231.712642] sof-audio sof-audio: error: waking up any trace sleepers
[  231.712653] sof-audio sof-audio: error: ctx_save ipc error during suspend -110
[  231.712664] sof-audio-pci 0000:00:0e.0: can't suspend (snd_sof_runtime_suspend [snd_sof] returned -110)

Test env:
kernel-cros-sof-v4.14-rebase: e4bc814c982d5
sof-glk-003-drop-stable: f245831
soft-master:d77beaf8b

dmesg.log
rmbox.log
rmbox-t.log

Activity

  1. changed the title [-]IPC timed our error when speaker headset and HDMI playback work at some time on GLK[/-] [+]IPC timed our error when speaker headset and HDMI playback work at same time on GLK[/+] on Sep 11, 2018
  2. added
    bugSomething isn't working as expected
    P3Low-impact bugs or features
    on Sep 11, 2018
  3. changed the title [-]IPC timed our error when speaker headset and HDMI playback work at same time on GLK[/-] [+][GLK][br-glk] IPC timed our error when speaker headset and HDMI playback work at same time on GLK[/+] on Sep 11, 2018
  4. self-assigned this
    on Sep 29, 2018
  5. changed the title [-][GLK][br-glk] IPC timed our error when speaker headset and HDMI playback work at same time on GLK[/-] [+][GLK][br-glk] IPC time out error when speaker headset and HDMI playback work at same time on GLK[/+] on Sep 30, 2018
  6. keqiaozhang commented on Nov 20, 2018

    @keqiaozhang
    CollaboratorAuthor

    This issue still exists.
    Tested with:
    Kernel -cros-sof-v4.14-rebase: bf94547
    DSP FW-glk-004-drop-stable: 1f79920
    Topology-master: 8cc1dad

  7. lgirdwood commented on Nov 20, 2018

    @lgirdwood
    Member

    @michalgrodzicki looks like something on the stream close path is not being cleanly reset if its not working second time. @mmaka1 any ideas ?

  8. added
    P2Critical bugs or normal features
    and removed
    P3Low-impact bugs or features
    on Dec 18, 2018
  9. keyonjie commented on Dec 18, 2018

    @keyonjie
    Contributor

    set it to P2 as this is actually critical.

  10. mengdonglin commented on Dec 25, 2018

    @mengdonglin
    Collaborator

    This issue #345 is a subset of issue #743

  11. michalgrodzicki commented on Mar 26, 2019

    @michalgrodzicki

    #743 is closed, what is a status here?

  12. lgirdwood commented on Mar 26, 2019

    @lgirdwood
    Member

    @keqiaozhang yeah, I think this should be closed too. Can you retest and confirm.

  13. keqiaozhang commented on Mar 27, 2019

    @keqiaozhang
    CollaboratorAuthor

    Confirmed that this issue is fixed, close this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

GLKApplies to Gemini Lake platformP2Critical bugs or normal featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions