Skip to content

[BUG] I/O error with DMIC capture pause/release on MTL #6723

@miRoox

Description

@miRoox

Describe the bug
CI observed an Input/output error when check-pause-resume-capture-100 or check-signal-stop-start.sh on MTL platforms.

To Reproduce

TPLG=/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt711-4ch.tplg MODEL=MTLP_RVP_SDW ~/sof-test/test-case/check-pause-resume.sh -c 100 -m capture

Reproduction Rate
100%

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: sof-ace-tplg/sof-mtl-rt711-4ch.tplg, sof-ace-tplg/sof-hda-generic-4ch.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: MTLP_RVP_SDW, MTLP_RVP_HDA

Screenshots or console output

console output

=== PAUSE ===                                                            
(100/100) Wait for 121 ms before pause

(100/100) Wait for 181 ms before resume

declare -- cmd="journalctl_cmd --since=@1670281836"
2022-12-05 23:11:08 UTC [REMOTE_INFO] Entering expect script with:
      arecord   -D hw:0,10 -r 48000 -c 4 -f S32_LE -vv -i /dev/null -q
spawn arecord -D hw:0,10 -r 48000 -c 4 -f S32_LE -vv -i /dev/null -q
Hardware PCM card 0 'sof-soundwire' device 10 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 4
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 32
  buffer_size  : 4096
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 4611686018427387904
  appl_ptr     : 0
  hw_ptr       : 0

#+                                                 | 00%
(1/100) Wait for 142 ms before pause
 
#+                                                 | 00%
=== PAUSE ===                                                            
(1/100) Wait for 107 ms before pause

(1/100) Wait for 104 ms before resume
                                                                           
 
#+                                                 | 00%
=== PAUSE ===                                                            
(2/100) Wait for 189 ms before pause

(2/100) Wait for 181 ms before resume
                                                                           
 arecord: pcm_read:2221: read error: Input/output error
2022-12-05 23:11:10 UTC [REMOTE_ERROR] Starting func_exit_handler(), exit status=1, FUNCNAME stack:
2022-12-05 23:11:10 UTC [REMOTE_ERROR]  main()  @  /home/ubuntu/sof-test/test-case/check-pause-resume.sh

full console_log.txt
mtrace.txt
dmesg.txt

Metadata

Metadata

Labels

HDAApplies to HD-Audio bus for codec connectionI2SApplies to I2S bus for codec connectionIPC4Issues observed with IPC4 (same IPC as Windows)MTLApplies to Meteor Lake platformP1Blocker bugs or important featuresSDWSoundWirebugSomething isn't working as expectedsuspend-resumeIssues observed when doing system suspend and resume

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions