Repository navigation
Closed
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformFix confirmedFix for the issue has been found and verifiedFix for the issue has been found and verifiedIntel Linux Daily testsThis issue can be found in internal Linux daily testsThis issue can be found in internal Linux daily testsP1Blocker bugs or important featuresBlocker bugs or important featuresSDWSoundWireSoundWirebugSomething isn't working as expectedSomething isn't working as expectedduplicateThis issue or pull request already existsThis issue or pull request already exists
Milestone
Description
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
- Kernel Branch: topic/sof-dev
- Kernel Commit: e2b8ebcd30b4
- SOF Branch: main
- SOF Commit: 8937929b4ec9
- Zephyr Commit: zephyr-v3.4.0-301-g23b3cae1b1d9
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
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformFix confirmedFix for the issue has been found and verifiedFix for the issue has been found and verifiedIntel Linux Daily testsThis issue can be found in internal Linux daily testsThis issue can be found in internal Linux daily testsP1Blocker bugs or important featuresBlocker bugs or important featuresSDWSoundWireSoundWirebugSomething isn't working as expectedSomething isn't working as expectedduplicateThis issue or pull request already existsThis issue or pull request already exists
Activity
fredoh9 commentedon Jul 12, 2023
For today daily test, only playback is broken, capture tests were passed.
Intel daily test: planresultdetail/28946?model=ADLP_SKU0B00_SDCA_IPC4ZPH&testcase=check-playback-100sec
lgirdwood commentedon Jul 14, 2023
@fredoh9 related to #7913 ? Both ADL and both SDW ? @kv2019i @bard any thoughts ?
mengdonglin commentedon Jul 31, 2023
@fredoh9 @keqiaozhang @lgirdwood @bardliao @aiChaoSONG Maybe a duplicate of #7979 caused by copier refactoring commit e424b87 and fixed by #7987 by @ranj063 and @btian1
ADLP_SKU0B00_SDCA as 2 speaker amplifiers on 2 SDW links, so the DAI copier has multi-endpoints
lgirdwood commentedon Jul 31, 2023
ok, pls mark as duplicate or close if fixed.
fredoh9 commentedon Jul 31, 2023
@mengdonglin #7987 in new daily test(plan=29598) is working fine after #7987 merged
New SOF build SHA1 is,
79532b8 copier: fix no consume for multi endpoint copy
Can we wait for a few days to confirm this?
mengdonglin commentedon Aug 1, 2023
This issue cannot be reproduce on main branch commit cfd786110ae7 on ww31.2 (daily report ID 29617) The fix 79532b8
has been merged
fredoh9 commentedon Aug 1, 2023
yes, looks fixed. closing now