Skip to content

[BUG] FW reported error: 104 - Other failure of module instance initialization request #7677

Closed

Description

@keqiaozhang

Describe the bug
This is a tplg regression when testing aplay on smart amp pipeline. This issue only happens on ADLP_SKU0B00_SDCA_IPC4ZPH.

Daily test run 26232?model=ADLP_SKU0B00_SDCA_IPC4ZPH&testcase=check-playback-100sec + most other tests on ADLP_SKU0B00_SDCA_IPC4ZPH

dmesg

[52479.099417] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x40020004|0x10036: MOD_INIT_INSTANCE [data size: 216]
[52479.099912] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x60000068|0x10036: MOD_INIT_INSTANCE
[52479.099914] sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 104 - Other failure of module instance initialization request
[52479.099926] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x40020004|0x10036
[52479.099931] sof-audio-pci-intel-tgl 0000:00:1f.3: failed to create module alh-copier.SDW1-Playback.0
[52479.099982] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget gain.21.1 freed
[52479.099987] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x12010000|0x0: GLB_DELETE_PIPELINE
[52479.100494] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x32000000|0x0: GLB_DELETE_PIPELINE
[52479.100504] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx done : 0x12010000|0x0: GLB_DELETE_PIPELINE
[52479.100508] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget pipeline.21 freed
[52479.100510] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget mixout.21.1 freed
[52479.100514] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget mixin.20.1 freed
[52479.100517] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget gain.20.1 freed
[52479.100521] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x12000000|0x0: GLB_DELETE_PIPELINE
[52479.102367] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x32000000|0x0: GLB_DELETE_PIPELINE
[52479.102377] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx done : 0x12000000|0x0: GLB_DELETE_PIPELINE
[52479.102381] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget pipeline.20 freed
[52479.102383] snd_sof:sof_widget_free_unlocked: sof-audio-pci-intel-tgl 0000:00:1f.3: widget host-copier.2.playback freed
[52479.102386] sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to set up connected widgets
[52479.102392] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed widget list set up for pcm 2 dir 0
[52479.102395] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[52479.102433]  Speaker: ASoC: error at __soc_pcm_hw_params on Speaker: -22
[52479.102445] sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
[52479.102453]  Speaker: ASoC: error at dpcm_fe_dai_hw_params on Speaker: -22
[52479.102463] snd_sof:sof_pcm_hw_free: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: free stream 2 dir 0
[52479.102529] sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 6
[52479.102717] snd_sof:sof_pcm_close: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: close stream 2 dir 0
[52482.853016] soundwire_bus:sdw_bus_wait_for_clk_prep_deprep: soundwire sdw-master-1: clock stop prep/de-prep done slave:15

bad commit:3835846

topology2: sdw-amp-generic: Show all aggregated DAIs on the graph
When there are aggregated amps, the topology includes a DAI copier for
each aggregated DAI. But, since the second DAI is not connected to
anything in topology, it doesn't show up in the graph. So, add a virtual
widget and connect it to the aggregated DAI and the gain module to show
its existence in the graph. When parsing the topology, the kernel
ignores all routes that contain a virtual widget at any end of the
route.

image

To Reproduce
aplay -Dhw:0,2 -r 48000 -c 2 -f S16_LE -d 100 /dev/zero -v -q

Reproduction Rate
100%

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    IPC4Issues observed with IPC4 (same IPC as Windows)
    on May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IPC4Issues observed with IPC4 (same IPC as Windows)Intel Linux Daily testsThis issue can be found in internal Linux daily testsP1Blocker bugs or important featuresbugSomething isn't working as expectedtopologyTopology issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions