Skip to content

[BUG]xrun and ipc timeout in multiple-pause-resume on ADLP_RVP_NOCODEC #4372

@XiaoyunWu6666

Description

@XiaoyunWu6666

Describe the bug
xrun happens and ipc timed out when PCM_PARAMS
in inner daily ADL 4679

To Reproduce
TPLG=sof-tgl-nocodec-ci.tplg ~/sof-test/test-case/multiple-pause-resume.sh -r 25

Reproduction Rate
almost 100% with inner daily ADL 4679 recipe

Environment
Kernel Branch: topic/sof-dev
Kernel Commit: 56ab165b
SOF Branch: main
SOF Commit:fdcf636530f5
Topology:sof-tgl-nocodec-ci.tplg
Platform:8 ADLP_RVP_NOCODEC

Screenshots or console output
[console]

aplay: pcm_write:2061: write error: Input/output error

#+                                                 | 00%
=== PAUSE ===                                                            
(6/25) pcm'DMIC16kHz' cmd'arecord' id'7': Wait for 111 ms before pause

(6/25) pcm'DMIC16kHz' cmd'arecord' id'7': Wait for 179 ms before resume
  error: in logger_read(), fread(..., /sys/kernel/debug/sof/trace) failed: Operation not permitted(-1)
arecord: do_pause:1545: pause push error: Connection timed out

[etrace]

[   395301920.229613] (     3884852.000000) c3 dw-dma                 src/drivers/dw/dma.c:1102 ERROR dw_dma_get_data_size(): xrun detected
[   395301937.990029] (          17.760416) c3 dai          3.16           src/audio/dai.c:886  ERROR dai_report_xrun(): underrun due to no data available
[   395301955.125445] (          17.135416) c3 dai          3.16           src/audio/dai.c:661  ERROR comp_underrun(): dev->comp.id = 16, source->avail = 192, copy_bytes = 0
[   395302070.281690] (         115.156242) c3 pipe         3.17  ....../pipeline-stream.c:168  ERROR pipeline_copy(): ret = -61, start->comp.id = 16, dir = 1
[   395302089.396273] (          19.114582) c3 pipe         3.17  ..../pipeline-schedule.c:63   ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!
[   395313177.156249] (       11087.759766) c2 dmic-dai     2.0   src/drivers/intel/dmic.c:1557 ERROR dmic_irq_handler(): full fifo B or PDM overrun

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADLApplies to Alder Lake platformI2SApplies to I2S bus for codec connectionP2Critical bugs or normal featuresTGLApplies to Tiger LakebugSomething isn't working as expectedmulticoreIssues observed when not only core#0 is used.stress CI multicore tplgUsing stressful multicore CI topology sof-tgl-nocodec-ci.m4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions