Skip to content

[BUG] Audio become 'metallic' after few pause/resume cycle #8986

@ujfalusi

Description

@ujfalusi

Describe the bug
Doing pause/resume cycle can result in 'metallic' sounding audio. The number of cycles are random, but it can be reproduced with few iterations.
Further pause/resume can recover from the 'metallic' sound to be clean.
It is similar, but not the same as #7478 was.

To Reproduce
Play audio with aplay:
On SDW (MTL/TGL): aplay -iv -Dhw:0,2 file.wav
On HDA: aplay -iv -Dhw:0,0 file.wav

Press < SPACE > to pause, press < SPACE > to resume, keep some time between the key presses. It can be reproduced by holding the < SPACE > and releasing randomly.

Reproduction Rate
2/10 - not all pause/resume cycle will result 'metallic' distortion

Expected behavior
Audio is clean after each resume.

Impact
Audio quality degrades if pause/resume is used severely

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: topic/sof-dev or distro kernel (6.8.1 and 6.7.9 tested)
    • SOF: main HEAD, v2.9 branch or released firmware (2023.12.1, 2023.09.2 tested on MTL)
  2. Name of the topology file
    • Topology:
      • MTL: sof-mtl-rt713-l0-rt1316-l12-rt1713-l3.tplg
      • TGL: sof-hda-generic.tplg (HDA) and sof-tgl-rt715-rt711-rt1308-mono.tplg (SDW)
  3. Name of the platform(s) on which the bug is observed.
    • Platform: TGL (HDA, SDW ), MTL (SDW)

Metadata

Metadata

Assignees

No one assigned

    Labels

    HDAApplies to HD-Audio bus for codec connectionMTLApplies to Meteor Lake platformP2Critical bugs or normal featuresSDWSoundWireTGLApplies to Tiger LakebugSomething 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