Skip to content

[BUG][MTL] Speaker playback IO error #7979

@aiChaoSONG

Description

@aiChaoSONG

Describe the bug
Playback a wave to speaker with aplay, see io error in terminal immediately. no obviously error in kernel log, and in mtrace, xrun happened.

[    1.999690] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[    2.000706] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0

To Reproduce
simple do aplay to speaker pipeline:
aplay -Dhw:0,2 -f dat -c 2 -i -vvv /dev/zero

Reproduction Rate
100%

Reproduced with
Latest daily sof-dev kernel
Latest SOF main
topology: sof-mtl-rt711-l0-rt1316-l23-rt714-l1.tplg
Platform: {MTL SDW} with external codecs on GEN4 AIOC (sh-mtlp-rvp-sdw-09, not in CI farm)

  • Headset: ALC711 (headset) on link 0,
  • Speaker: ALC1316 x2 on link 2 & 3
  • DMIC: ALC714 on link1.

kernel options snd_soc_sof_sdw quirk=2

The first bad commit is: e424b87
image

Metadata

Metadata

Assignees

Labels

Fix SubmittedFix has been submitted, to be fully verifiedMTLApplies to Meteor Lake platformP1Blocker bugs or important featuresSDWSoundWirebugSomething 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