Skip to content

[GLK] SOF does not handle XRUNs correctly  #752

Closed

Description

@naveen-manohar

There appears to be bug with how SOF is handling XRUNs which causes audio distortion (buffer alignment error?)

How to reproduce
Run speaker-test -D hw:0,0 -t sine -c 2
Suspend and resume the task repeatedly (using C-z and fg)
Eventually you will get an iteration where the sine wave it noticeably no longer playing the correct tune and sounds distorted.

Activity

  1. added
    P1Blocker bugs or important features
    GLKApplies to Gemini Lake platform
    on Dec 19, 2018
  2. keqiaozhang commented on Dec 20, 2018

    @keqiaozhang
    Collaborator

    Verified that this issue is fixed on glk-005-drop-stable branch.
    Tested with:
    SOF: glk-005-drop-stable/4d7904d.
    Driver: cros-sof-v4.14-rebase/2aa548d

    @naveen-manohar, please help to confirm it at your end.

  3. naveen-manohar commented on Dec 20, 2018

    @naveen-manohar
    ContributorAuthor

    Tried remotely and I hit a reboot when trying speaker-play cmd in Terminal-1 and suspend/resume in T-2. Shall recheck tmrw at Lab and update whether the changes are needed in 004 branch too. Thanks

  4. mengdonglin commented on Dec 29, 2018

    @mengdonglin
    Collaborator

    Fixed by #755 and #757, closing this issue

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 platformP1Blocker bugs or important featuresverifiedQA/Bug reporter verifies solution worked.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions