You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
@mengdonglin I think I know the issue. We're missing the src buffer update in the case of multie endpoint playback. I've given @btian1 the change to try out and check if it fixes the problem
Activity
mengdonglin commentedon Jul 26, 2023
@ranj063 Can you help check this regression?
[-][BUG] Speaker playback IO error[/-][+][BUG][MTL] Speaker playback IO error[/+]ranj063 commentedon Jul 27, 2023
@mengdonglin I think I know the issue. We're missing the src buffer update in the case of multie endpoint playback. I've given @btian1 the change to try out and check if it fixes the problem
btian1 commentedon Jul 27, 2023
it fixed this issue, please check with below PR, @aiChaoSONG @bardliao @ranj063
#7987
copier: fix no consume for multi endpoint copy
copier: fix no consume for multi endpoint copy
lgirdwood commentedon Jul 31, 2023
@aiChaoSONG Now merged #7987.
aiChaoSONG commentedon Jul 31, 2023
Verified fix #7987, close.