Pipewire implementation for i.MX8MP on Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Pipewire implementation for i.MX8MP on Yocto

ソリューションへジャンプ
2,313件の閲覧回数
Wobaffet
Senior Contributor I

To implement A2DP and HFP we were following this UM11490 manual which is implementing pipewire and wireplumber for these profiles. We are currently on 5.15 branch on yocto. We've added pipewire and wireplumber packages however we can't start pipewire service and here is the log:

 

root@imx8mp-lpddr4-evk:~# journalctl -xeu pipewire.service > log.txt
root@imx8mp-lpddr4-evk:~# cat log.txt 
Apr 28 20:13:56 imx8mp-lpddr4-evk pipewire[445]: [W][00006.220577] pw.context   | [       context.c:  374 pw_context_new()] 0xaaaae7d41a40: can't load dbus library: support/libspa-dbus
Apr 28 20:13:56 imx8mp-lpddr4-evk pipewire[445]: [E][00006.696141] pw.module    | [   impl-module.c:  278 pw_context_load_module()] No module "libpipewire-module-rt" was found
Apr 28 20:13:56 imx8mp-lpddr4-evk pipewire[445]: [E][00006.713110] pw.module    | [   impl-module.c:  278 pw_context_load_module()] No module "libpipewire-module-profiler" was found
Apr 28 20:13:56 imx8mp-lpddr4-evk pipewire[445]: [E][00006.713160] pw.conf      | [          conf.c:  560 load_module()] 0xaaaae7d41a40: could not load mandatory module "libpipewire-module-profiler": No such file or directory
Apr 28 20:13:56 imx8mp-lpddr4-evk systemd[1]: pipewire.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit pipewire.service has entered the 'failed' state with result 'exit-code'.
Apr 28 20:13:58 imx8mp-lpddr4-evk systemd[1]: Failed to start PipeWire Multimedia Service.
-- Subject: A start job for unit pipewire.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit pipewire.service has finished with a failure.
-- 
-- The job identifier is 642 and the job result is failed.

 

What are the missing packages causing these errors?

Thanks!

Best Regards.

0 件の賞賛
返信
1 解決策
2,116件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello, I apologize for the delayed response.

Our 5.15 Linux BSP uses PulseAudio by default and has been replaced by the PipeWire since the L6.6.3_1.0.0 release. The implementation of PipeWire need additional layers, you could use our last release as reference to take this recipe or directly use last release with PipeWire already implemented.

Users need to start the PipeWire by running the next command for the first time after the bootup.

systemctl --user --now enable pipewire wireplumber pipewire-pulse

Best regards.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,173件の閲覧回数
Wobaffet
Senior Contributor I

reminder.

0 件の賞賛
返信
2,246件の閲覧回数
Wobaffet
Senior Contributor I

Hello, custom board, i.MX8MP, we are using yocto for our distribution and on 5.15 kernel version kirkstone branch. module is 

AW-CM358 which is NXP based 88W8987. Here is the bbappend

DISTRO_FEATURES:append = " pulseaudio bluetooth bluez-lc3 pipewire" 
pipewire pipewire-pulse wireplumber \ "
pulseaudio \

DISTRO_FEATURES:append = " pulseaudio bluetooth bluez-lc3 pipewire"

Module suppose to be supporting HFP, on my case, why I can't use pipewire, what are the missing packages according to logs I've provided earlier?

0 件の賞賛
返信
2,117件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello, I apologize for the delayed response.

Our 5.15 Linux BSP uses PulseAudio by default and has been replaced by the PipeWire since the L6.6.3_1.0.0 release. The implementation of PipeWire need additional layers, you could use our last release as reference to take this recipe or directly use last release with PipeWire already implemented.

Users need to start the PipeWire by running the next command for the first time after the bootup.

systemctl --user --now enable pipewire wireplumber pipewire-pulse

Best regards.

0 件の賞賛
返信
2,096件の閲覧回数
Wobaffet
Senior Contributor I

Thanks, we managed to run with Pulseaudio.

0 件の賞賛
返信
2,282件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please share the steps to reproduce the issue, and which module/OS are you using?

I suggest you confirm with module manufacturer if HFP is supported and please make sure that you have pulseadudio packages installed in your image.

Best regards,

0 件の賞賛
返信