Skip to content

[SDW][BUG] I/O error occurred when stop/restart, pause/release or switch to foreground from background. #1329

Description

@YvonneYang2

Describe the bug
I/O error occurred when push_pause arecord/aplay then push_release.
I/O error occurred when stop arecord/aplay then restart.
I/O error occurred when switch to foreground from background.
It seems related to https://github.com/thesofproject/sof/issues/1925#issuecomment-542249084 since #1935 and #1946 have been merged into master while #1277 hasn't been merged into kernel branch yet. After applying #1277, the issue is gone.

To Reproduce
1.Aplay via "aplay "aplay -Dhw:0,2 wav/48California_Dreaming.wav -vv -i "
2.Push_pause aplay
3.Push_release aplay

frequency
100%

Expected result
Aplay resume normaly

Actual result
I/O error occurred

Environment
Firmware: 0d54df1https://github.com/thesofproject/sof/commits/master
Kernel: 0ebe10bhttps://github.com/thesofproject/linux/tree/integration/soundwire-latest
tplg: sof-icl-rt711-rt1308-rt715-hdmi.m4
platform: ICL RVP, with codec ALC711 -RT1308, RT715 in SDW mode, CML RT700 RVP

error logger

CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME	CONTENT
0 1 DAI 3.16 1701278316.406250 nan src/audio/dai.c:605 dai_check_for_xrun() error: underrun due to no data available
0 1 COMP 1701278326.145833 9.739583 of/audio/component.h:743 comp_underrun() error: dev->comp.id = 16, source->avail = 1152, copy_bytes = 0
0 1 PIPE 1701278424.427083 98.281250 src/audio/pipeline.c:833 pipeline_copy() error: ret = -61
0 1 PIPE 3.17 1701278434.479167 10.052083 src/audio/pipeline.c:1037	pipeline_task(): xrun recover failed! pipeline will be stopped!

dmesg.log
logger.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMLApplies to Comet Lake platformICLApplies to Icelake platformSDWApplies to SoundWire bus for codec connectionSDW_DEVSDW bug reproduced by developers, fix WIPTGLApplies to Tiger Lake platformbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions