Skip to content

[BUG] basic playback and capture tests failed with no bytes to copy in ADLP_SKU0B00_SDCA #7914

@fredoh9

Description

@fredoh9

Describe the bug

ADLP_SKU0B00_SDCA_IPC4ZPH in daily test is broken.

2023-07-10 10:41:48 UTC [REMOTE_INFO] ===== Testing: (Round: 1/1) (PCM: Speaker [hw:0,2]) (Loop: 1/1) =====
2023-07-10 10:41:48 UTC [REMOTE_COMMAND] aplay   -Dhw:0,2 -r 48000 -c 2 -f S16_LE -d 100 /dev/zero -v -q
Hardware PCM card 0 'sof-soundwire' device 2 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 85333
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 4096
  period_event : 0
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 4611686018427387904
  appl_ptr     : 0
  hw_ptr       : 0
aplay: pcm_write:2127: write error: Input/output error

no error in dmesg, mtrace has full of no bytes to copy...

[   77.962581] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.963583] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.964583] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.965583] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.966581] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.967583] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.968581] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0
[   77.969583] <inf> host_comp: host_get_copy_bytes_normal: comp:0 0x40000 no bytes to copy, available samples: 384, free_samples: 0

To Reproduce
TPLG=/lib/firmware/intel/avs-tplg/sof-adl-rt711-l0-rt1316-l12-rt714-l3.tplg MODEL=ADLP_SKU0B00_SDCA_IPC4ZPH SOF_TEST_INTERVAL=5 ~/sof-test/test-case/check-playback.sh -d 100 -l 1 -r 1

Reproduction Rate
Looks 100% in recent test

Environment

Screenshots or console output

mtrace_ADLP_SKU0B00_SDCA_IPC4ZPH.txt

Intel internal daily test link:
planresultdetail/28790?model=ADLP_SKU0B00_SDCA_IPC4ZPH&testcase=check-playback-100sec

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADLApplies to Alder Lake platformFix confirmedFix for the issue has been found and verifiedIntel Linux Daily testsThis issue can be found in internal Linux daily testsP1Blocker bugs or important featuresSDWSoundWirebugSomething isn't working as expectedduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions