Skip to content

Underruns while pausing/resuming HDMI playback on GLK #761

Closed

Description

@wwittbrx

Description

Rapidly pausing and releasing playback over HDMI will cause underruns on GLK. What is interesting to me is that we don't see any errors in dmesg or sof-logger, only from aplay window. Please try to reproduce the issue and check if you can gather more meaningful logs.

Recipe

ChromeOS
75.0.3746.0 (Platform 12000.0.0)

Kernel
https://github.com/thesofproject/linux/tree/topic/cros-sof-v4.14-rebase
d4d2c3b

FW and TPLG
https://github.com/thesofproject/sof/commits/master
a10e69d
sof-glk-da-7219.tplg

Reproduction steps

  1. Connect platform to monitor with HDMI
  2. aplay -D hw:0,6 test.wav -i
  3. Keep pressing space rapidly (or hold it) to pause and release playback

Logs and files

aplay-interactive.txt
dmesg.log
sof-logger.log

Activity

  1. added
    P2Critical bugs or normal features
    GLKApplies to Gemini Lake
    bugSomething isn't working
    on Mar 29, 2019
  2. xiulipan commented on Apr 1, 2019

    @xiulipan

    @wwittbrx
    If you see some xrun in the terminal, then it is some issue cased by ALSA.
    Please reference from thesofproject/sof#231 thesofproject/sof#506
    This is some ALSA warning and ALSA handling when some XRUN happen to the buffer that controlled by ALSA. This should be caused by user space memory to kernel space memory copy issue.

    You can try to reproduce it without pause/resuem but by some debug injection:
    thesofproject/sof#506 (comment)

  3. mengdonglin commented on Apr 3, 2019

    @mengdonglin

    @wwittbrx Close the issue based on above comments. Will reopen if this impact audio quality in the future

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    GLKApplies to Gemini LakeP2Critical bugs or normal featuresbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions