thesofproject / sof

Sound Open Firmware
Other
534 stars 308 forks source link

[BUG] Not able to create new playback pipeline #5646

Open itacud95 opened 2 years ago

itacud95 commented 2 years ago

Describe the bug We are trying to add a playback pipeline, but having issues with DAI config(?). What is the normal procedure for adding a playback pipeline on the same pcm stream?

[    4.543695] sof-audio-pci-intel-tgl 0000:00:1f.3: error: can't connect DAI SSP2.OUT stream SSP2-Codec
[    4.543918] sof-audio-pci-intel-tgl 0000:00:1f.3: error: source SSP1.IN not found
[    4.543922] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: topology: add_route failed: -22
[    4.543926] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: topology: could not load header: -22
[    4.544546] sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22
[    4.544558] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22
[    4.544562] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
[    4.544597] sof_rt5682 tgl_mx98357a_rt5682: ASoC: failed to instantiate card -22

To Reproduce Add new pipeline with PIPELINE_PCM_ADD DAI_ADD PCM_PLAYBACK_ADD DAI_CONFIG with existing SSP_CONFIG.

Reproduction Rate 1/1

Expected behavior Trigger the new playback pipeline whenever starting a new usecase (like playing a audio file).

Impact Blocking development.

Environment 1) Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).

lgirdwood commented 2 years ago

@itacud95 can you attach the FW trace log ?