-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformMux/DemuxP2Critical bugs or normal featuresCritical bugs or normal featuresTGLApplies to Tiger LakeApplies to Tiger LakebugSomething isn't working as expectedSomething isn't working as expectedmixerMixer componentMixer componentwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
Milestone
Description
Describe the bug
when dw_dma_get_data_size. xrun was detected and then dai report xrun with 'overrun due to no space'
since inner daily testresult 4961
To Reproduce
TPLG=sof-tgl-sdw-max98373-rt5682.tplg ~/sof-test/test-case/multiple-pause-resume.sh -r 25
or:
Just run playback on pcm2(smart amplifier pipeline) and capture on pcm3(feedback pipeline):
- Terminal A:$ aplay -D hw:0,2 -r 48000 -c 2 -f S16_LE -vv -i /dev/zero -q
- Terminal B: $ arecord -D hw:0,3 -r 48000 -c 2 -f S16_LE -vv -i /dev/null -q
- pause playback several times in terminal A, then you will run to this error.
Reproduction Rate
100%
Environment
Kernel Branch: topic/sof-dev
Kernel Commit: dd6665e0
SOF Branch: main
SOF Commit: eb7add5
Screenshots or console output
[sof-logger]
[ 11881985.204936] ( 11881985.000000) c0 dw-dma src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[ 11882003.069518] ( 17.864582) c0 dai 4.23 src/audio/dai.c:889 ERROR dai_report_xrun(): overrun due to no space available
[ 11882020.934101] ( 17.864582) c0 dai 4.23 src/audio/dai.c:679 ERROR comp_overrun(): sink->free = 128, copy_bytes = 0
[ 11882124.996597] ( 104.062492) c0 pipe 4.24 ....../pipeline-stream.c:168 ERROR pipeline_copy(): ret = -61, start->comp.id = 23, dir = 0
[ 11882144.163263] ( 19.166666) c0 pipe 4.24 ..../pipeline-schedule.c:63 ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!
[ 11902019.110390] ( 19874.947266) c0 dw-dma src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[ 11902036.089556] ( 16.979166) c0 dai 3.17 src/audio/dai.c:886 ERROR dai_report_xrun(): underrun due to no data available
[ 11902053.485388] ( 17.395832) c0 dai 3.17 src/audio/dai.c:661 ERROR comp_underrun(): dev->comp.id = 17, source->avail = 0, copy_bytes = 0
[ 11902187.079133] ( 133.593750) c0 pipe 3.18 ....../pipeline-stream.c:168 ERROR pipeline_copy(): ret = -61, start->comp.id = 17, dir = 1
[ 11902206.402049] ( 19.322916) c0 pipe 3.18 ..../pipeline-schedule.c:63 ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!
[ 13005986.045689] ( 1103779.625000) c0 dw-dma src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[ 13006003.493605] ( 17.447916) c0 dai 4.23 src/audio/dai.c:889 ERROR dai_report_xrun(): overrun due to no space available
[ 13006020.733187] ( 17.239582) c0 dai 4.23 src/audio/dai.c:679 ERROR comp_overrun(): sink->free = 128, copy_bytes = 0
[ 13006121.149850] ( 100.416664) c0 pipe 4.24 ....../pipeline-stream.c:168 ERROR pipeline_copy(): ret = -61, start->comp.id = 23, dir = 0
[ 13006139.951932] ( 18.802082) c0 pipe 4.24 ..../pipeline-schedule.c:63 ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!
[ 13094017.500524] ( 87877.546875) c0 dw-dma src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[ 13094034.792190] ( 17.291666) c0 dai 3.17 src/audio/dai.c:886 ERROR dai_report_xrun(): underrun due to no data available
[ 13094052.031772] ( 17.239582) c0 dai 3.17 src/audio/dai.c:661 ERROR comp_underrun(): dev->comp.id = 17, source->avail = 0, copy_bytes = 0
[ 13094188.750517] ( 136.718750) c0 pipe 3.18 ....../pipeline-stream.c:168 ERROR pipeline_copy(): ret = -61, start->comp.id = 17, dir = 1
[ 13094207.917183] ( 19.166666) c0 pipe 3.18 ..../pipeline-schedule.c:63 ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!
[ 14239980.319571] ( 1145772.375000) c0 dw-dma src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[ 14239997.611237] ( 17.291666) c0 dai 4.23 src/audio/dai.c:889 ERROR dai_report_xrun(): overrun due to no space available
[ 14240014.746653] ( 17.135416) c0 dai 4.23 src/audio/dai.c:679 ERROR comp_overrun(): sink->free = 128, copy_bytes = 0
[ 14240114.798732] ( 100.052078) c0 pipe 4.24 ....../pipeline-stream.c:168 ERROR pipeline_copy(): ret = -61, start->comp.id = 23, dir = 0
[ 14240133.861231] ( 19.062500) c0 pipe 4.24 ..../pipeline-schedule.c:63 ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!
[ 14326016.670319] ( 85882.812500) c0 dw-dma src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[ 14326034.118235] ( 17.447916) c0 dai 3.17 src/audio/dai.c:886 ERROR dai_report_xrun(): underrun due to no data available
[ 14326051.566151] ( 17.447916) c0 dai 3.17 src/audio/dai.c:661 ERROR comp_underrun(): dev->comp.id = 17, source->avail = 0, copy_bytes = 0
[ 14326181.461979] ( 129.895828) c0 pipe 3.18 ....../pipeline-stream.c:168 ERROR pipeline_copy(): ret = -61, start->comp.id = 17, dir = 1
[ 14326200.941145] ( 19.479166) c0 pipe 3.18 ..../pipeline-schedule.c:63 ERROR pipeline_task(): xrun recover failed!
Metadata
Metadata
Assignees
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformMux/DemuxP2Critical bugs or normal featuresCritical bugs or normal featuresTGLApplies to Tiger LakeApplies to Tiger LakebugSomething isn't working as expectedSomething isn't working as expectedmixerMixer componentMixer componentwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)