Skip to content

[BUG] multiple platforms and topologies: multiple-pause-resume failures with "nothing to copy" #10116

@lyakh

Description

@lyakh

Describe the bug
Running the "multiple-pause-resume-50" test on PTL with the nocodec topology fails intermittently, sometimes with a "nothing to copy" warning repeated frequently in mtrace

To Reproduce
For highest probability run multiple-pause-resume.sh -r 50 on PTL with nocodec

Reproduction Rate
about 20%

Impact
Potential bug in firmware or the driver

Environment

  1. Appeared in multiple PR tests, e.g. https://sof-ci.01.org/sofpr/PR10106/build13845/devicetest/index.html?model=MTLP_RVP_NOCODEC&testcase=multiple-pause-resume-50 but has also been reproduced with a clean state:
    • Kernel: 0aa367fe53d5
    • SOF: b35aba3
    • Zephyr: e22ca6b132840efb23b4a00ff7718225a0dd9f29
  2. Name of the topology file
    • Topology: sof-mtl-nocodec.tplg, sof-ptl-nocodec.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: MTL, PTL

Screenshots or console output
mtrace:

[ 1250.959101] <wrn> dai_comp: dai_common_copy: comp:3 0x30005 nothing to copy, src_frames: 96, sink_frames: 0
[ 1250.960103] <wrn> dai_comp: dai_common_copy: comp:3 0x30005 nothing to copy, src_frames: 96, sink_frames: 0
[ 1250.961101] <wrn> dai_comp: dai_common_copy: comp:3 0x30005 nothing to copy, src_frames: 96, sink_frames: 0
[ 1250.962101] <wrn> dai_comp: dai_common_copy: comp:3 0x30005 nothing to copy, src_frames: 96, sink_frames: 0
[ 1250.962128] <wrn> host_comp: host_get_copy_bytes_normal: comp:2 0x20005 Skipped 20 no-bytes events in last 21 ms, bytes 0
[ 1250.962133] <wrn> host_comp: host_get_copy_bytes_normal: comp:2 0x20005 no bytes to copy, available samples: 384, free_samples: 0

Nothing obvious in the kernel log. In fact it is interesting, that "always" when this bug appears the kernel log is absent in the CI report, but manually reproducing the bug doesn't reveal obvious problems on the Linux side

Metadata

Metadata

Assignees

Labels

P3Low-impact bugs or featuresbugSomething isn't working as expectedstaleIssue/PR marked as stale and will be closed after 14 days if there is no activity.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions