Skip to content

[BUG][CML-H]" error: ipc error for 0x60010000 size 20" display when aplay via speaker0,2. #2633

Closed

Description

@sinahuang

Describe the bug
Speaker0,2 can't work normally, dmesg show " error: ipc error for 0x60010000 size 20". " error: ipc error for 0x60010000 size 20" also can be showed in dmesg after booting up successfully.

To Reproduce
1.Boot up system.
2.aplay -Dhw:0,2 -fs16_le -c2 -r 48000 -vv -i wav/48California_Dreaming.wav

Reproduction Rate
5/5

Expected behavior
Aplay0,2 should work normally.

Impact
" error: ipc error for 0x60010000 size 20" display when aplay via speaker0,2.

[  161.012879] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[  161.012898] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[  161.012901] sof-audio-pci 0000:00:1f.3: period_bytes:0x3fc0
[  161.012901] sof-audio-pci 0000:00:1f.3: periods:4
[  161.012918] sof-audio-pci 0000:00:1f.3: stream_tag 1
[  161.012922] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[  161.013418] sof-audio-pci 0000:00:1f.3: error: ipc error for 0x60010000 size 20
[  161.013420] sof-audio-pci 0000:00:1f.3: error: hw params ipc failed for stream 1
[  161.013422] sof-audio-pci 0000:00:1f.3: ASoC: 0000:00:1f.3 hw params failed: -22
[  161.013423]  SDW1-speakers: ASoC: hw_params FE failed -22
[  161.013425] sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
[  161.013427] intel-master sdw-master-1: sdw_deprepare_stream: failed -22
[  161.013427] sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
[  161.013428] intel-master sdw-master-2: sdw_deprepare_stream: failed -22
[  161.013431] sof-audio-pci 0000:00:1f.3: pcm: free stream 2 dir 0
[  161.013439] sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
[  161.013440] intel-master sdw-master-1: sdw_deprepare_stream: failed -22
[  161.013441] sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
[  161.013442] intel-master sdw-master-2: sdw_deprepare_stream: failed -22
[  161.013589] sof-audio-pci 0000:00:1f.3: pcm: close stream 2 dir 0
[  161.483755] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[  161.483790] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[  161.983580] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[  161.983628] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG


ubuntu@cd-CML-H-rt711-rt1308-rt715:~$ aplay -Dhw:0,2 -r48000 -c2 -fs16_le wav/48K_Let_It_Go.wav -vv -i
Playing WAVE 'wav/48K_Let_It_Go.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1363: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: 85000
PERIOD_SIZE: 4080
PERIOD_BYTES: 16320
PERIODS: (4 5)
BUFFER_TIME: 341000
BUFFER_SIZE: 16368
BUFFER_BYTES: 65472
TICK_TIME: 0

Test recipe

Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev commit:a27277
FW: https://github.com/thesofproject/sof/commits/master commit: ae53aeb
Tplg: Same with FW branch, sof-cml-rt711-rt1308-rt715.tplg
Platform:CML-H Laptop with codec ALC711, 2 x RT1308, RT715 in SDW mode.

dmesg26.log

Activity

  1. sinahuang commented on Mar 26, 2020

    @sinahuang
    Author

    Test with sof-dev ( commit:a27277) and master (commit: ae53aeb)+PR#2540 +pr#2539, issue can be fixed.

  2. added
    bugSomething isn't working as expected
    on Mar 26, 2020
  3. mengdonglin commented on Mar 31, 2020

    @mengdonglin
    Collaborator

    PR #2540 is closed and replaced by #2594. PR #2539 is closed and to be replaced by new PR by @slawblauciak

  4. self-assigned this
    on Apr 6, 2020
  5. slawblauciak commented on Apr 6, 2020

    @slawblauciak
    Collaborator

    Fixed by #2666
    @sinahuang can you please confirm?

  6. sinahuang commented on Apr 9, 2020

    @sinahuang
    Author

    Issue can't be reproduced with latest FW master (commit:939c14 ) and kernel side + PR thesofproject/linux#1982 and thesofproject/linux#1943 after speaker sync enabled. So waiting for kernel side PR merged.

  7. tlauda commented on Apr 21, 2020

    @tlauda
    Contributor

    Kernel side PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

CMLApplies to Comet Lake platformSDWSoundWirebugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions