-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
APLApplies to Apollolake platformApplies to Apollolake platformIntel Linux Daily testsThis issue can be found in internal Linux daily testsThis issue can be found in internal Linux daily testsbugSomething isn't working as expectedSomething isn't working as expected
Description
Describe the bug
inner daily 5401?model=APL_UP2_NOCODEC&testcase=multiple-pipeline-all
(also inner daily 5449?model=APL_UP2_NOCODEC&testcase=multiple-pipeline-all)
when multiple-pipeline ,dms_sg_alloc failed with err -12 in dai_capture_params. causing ipc error when PCM_PARMS
To Reproduce
TPLG=/lib/firmware/intel/sof-tplg/sof-apl-nocodec.tplg ~/sof-test/test-case/multiple-pipeline.sh -f p -c 20
Reproduction Rate
100%
Environment
Kernel Branch: topic/sof-dev
Kernel Commit: d54b7803
SOF Branch: main
SOF Commit: 1f4395f
Topology: sof-apl-nocodec.tplg
)Platform: APL_UP2_NOCODEC
Screenshots or console output
[sof-logger]
[ 35139.998604] ( 918.281189) c0 host 7.36 ....../pipeline-stream.c:205 INFO perf comp_copy peak plat 201 cpu 3352
[ 38479.373471] ( 3339.374756) c0 ipc src/ipc/ipc3/handler.c:536 INFO ipc: dai 1.5 -> config
[ 38488.071387] ( 8.697916) c0 dai src/lib/dai.c:164 INFO dai_get type 1 index 5 new sref 3
[ 38495.363054] ( 7.291667) c0 ssp-dai 1.5 /drivers/intel/ssp/ssp.c:275 INFO ssp_set_config(): Already configured. Ignore config
[ 38501.821387] ( 6.458333) c0 dai src/lib/dai.c:188 INFO dai_put type 1 index 5 new sref 2
[ 38507.863053] ( 6.041667) c0 ipc src/ipc/ipc3/dai.c:159 INFO ipc_comp_dai_config() dai type = 1 index = 5
[ 38517.863053] ( 10.000000) c0 dai 5.26 src/ipc/ipc3/dai.c:223 INFO dai_config() dai type = 1 index = 5 dd 0xbe04fa80
[ 38523.331803] ( 5.468750) c0 dai 5.26 src/ipc/ipc3/dai.c:227 INFO dai_config(): Component is in active state. Ignore config
[ 38529.998469] ( 6.666667) c0 dai 6.34 src/ipc/ipc3/dai.c:223 INFO dai_config() dai type = 1 index = 5 dd 0xbe050180
[ 38885.310955] ( 355.312500) c0 pipe 6.35 ....../pipeline-params.c:215 INFO pipe params dir 1 frame_fmt 0 buffer_fmt 0 rate 48000
[ 38892.238038] ( 6.927083) c0 pipe 6.35 ....../pipeline-params.c:219 INFO pipe params stream_tag 6 channels 2 sample_valid_bytes 2 sample_container_bytes 2
[ 38942.602619] ( 50.364582) c0 dai 6.34 src/ipc/ipc3/dai.c:84 INFO dai_data_config() dai type = 1 index = 5 dd 0xbe050180
[ 38970.363035] ( 27.760416) c0 dai 6.34 src/audio/dai.c:413 INFO dai_capture_params() src_dev = 13 stream_id = 0 src_width = 4 dest_width = 4
[ 38976.508868] ( 6.145833) c0 dai 6.34 src/audio/dai.c:419 INFO dai_capture_params() fifo 0x8a10
[ 38985.415118] ( 8.906250) c0 dai 6.34 src/audio/dai.c:429 ERROR dai_capture_params(): dma_sg_alloc() for period_count 4 period_bytes 384 failed with err = -12
[ 38991.717201] ( 6.302083) c0 pipe 6.35 ....../pipeline-params.c:235 ERROR pipeline_params(): ret = -12, host->comp.id = 30
[ 38997.863034] ( 6.145833) c0 ipc src/ipc/ipc3/handler.c:271 ERROR ipc: pipe 6 comp 30 params failed -12
[ 39133.227612] ( 135.364578) c0 dai 5.26 ....../pipeline-stream.c:205 INFO perf comp_copy peak plat 273 cpu 4560
[ 39154.946361] ( 21.718750) c0 host 7.36 ....../pipeline-stream.c:205 INFO perf comp_copy peak plat 211 cpu 3520
[ 39243.123441] ( 88.177078) c0 dai 1.2 ....../pipeline-stream.c:205 INFO perf comp_copy peak plat 239 cpu 3976
[ 39350.415103] ( 107.291664) c0 pga 20.57 ....../pipeline-stream.c:205 INFO perf comp_copy peak plat 611 cpu 10174
[dmesg]
[ 5291.077680] kernel: sof-audio-pci-intel-apl 0000:00:0e.0: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[ 5291.078667] kernel: sof-audio-pci-intel-apl 0000:00:0e.0: error: ipc error for 0x60010000 size 20
[ 5291.078817] kernel: sof-audio-pci-intel-apl 0000:00:0e.0: error: hw params ipc failed for stream 6
[ 5291.078825] kernel: sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:0e.0: -12
[ 5291.078863] kernel: Port5: ASoC: soc_pcm_hw_params() failed (-12)
[ 5291.078895] kernel: sof-audio-pci-intel-apl 0000:00:0e.0: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 5291.079651] kernel: sof-audio-pci-intel-apl 0000:00:0e.0: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 5291.079664] kernel: Port5: ASoC: dpcm_fe_dai_hw_params failed (-12)
[console]
2021-07-21 22:58:28 UTC [REMOTE_COMMAND] arecord -D hw:0,2 -c 2 -r 48000 -f S16_LE /dev/null -q
arecord: set_params:1407: 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: (85333 85334)
PERIOD_SIZE: 4096
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (341333 341334)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 0
Metadata
Metadata
Assignees
Labels
APLApplies to Apollolake platformApplies to Apollolake platformIntel Linux Daily testsThis issue can be found in internal Linux daily testsThis issue can be found in internal Linux daily testsbugSomething isn't working as expectedSomething isn't working as expected