PipeWire not working on i.MX8MQ EVK
Description
Environment
Activity
Scott Murray December 19, 2020 at 7:07 PM
This has been resolved since Jellyfish rc4, marking as fixed in 10.0.0, please reopen if you disagree.
Scott Murray September 1, 2020 at 7:13 PM
@Walter Lozano, with your latest PipeWire tweaks, mediaplayer playback from USB media and BT (with USB adapter) seemed fine here.
Walter Lozano August 25, 2020 at 7:25 PM
@Manivannan S as you commented that this issue is still present on latest master please confirm if you see any difference since https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25093 was applied. In my side previously audio started but the suddenly stopped, but after this change it runs smoothly.
Please also provide logs and audio file you use in your testing.
Scott Murray June 22, 2020 at 10:37 PM
I just tried configuring Wireplumber on my board to use the wm8524 device that the onboard audio output jack seems connected to, and attempting playback from mediaplayer fails instantly with this:
Jun 22 22:26:58 imx8mqevk afbd-agl-service-mediaplayer[1161]: [W][000000403.094361][remote-node.c:618 client_node_port_use_buffers()] Failed to mlock memory 0xffffa84e7000 32816: Cannot allocate memory
Jun 22 22:26:59 imx8mqevk pipewire[985]: [E][000000404.129895][alsa-pcm.c:567 alsa_recover()] alsa-pcm 0xaaaabe6cba78: xrun of 8793 usec 422 0.000000
Jun 22 22:26:59 imx8mqevk pipewire[985]: [E][000000404.172556][alsa-pcm.c:567 alsa_recover()] alsa-pcm 0xaaaabe6cba78: xrun of 494 usec 23 0.000000
Jun 22 22:27:03 imx8mqevk pipewire[985]: [W][000000407.490221][node.c:341 suspend_node()] node 0xaaaabe7a0be0: error unset format output: Input/output error
Jun 22 22:27:03 imx8mqevk pipewire[985]: [W][000000407.490345][node.c:341 suspend_node()] node 0xaaaabe7a0be0: error unset format output: Input/output error
Jun 22 22:27:03 imx8mqevk pipewire[985]: [W][000000407.490363][node.c:350 suspend_node()] node 0xaaaabe7a0be0: suspend node error Input/output error
Jun 22 22:27:03 imx8mqevk pipewire[985]: [E][000000407.491224][protocol-native.c:651 core_method_demarshal_destroy()] client 0xaaaabe7ee4c0: unknown resouce 3 op:7
Jun 22 22:27:03 imx8mqevk pipewire[985]: [E][000000407.491298][module-protocol-native.c:216 process_messages()] protocol-native 0xaaaabe65c660: client error (Broken pipe)
@George Kiagiadakis will need to take a look to see if this is what he expects on devices with ALSA driver behavior outside of expectations. I've updated the issue title and re-assigned it to him for now.
Scott Murray June 4, 2020 at 1:31 PM
@Manivannan S, it's on the master branch, use the imx8mqevk-viv machine with aglsetup.sh.
Hi Scott,
You had mentioned that meta-freescale was tested for imx8 with vivante patch. We wanted to check for the audio quality with that build. what is branch reference and machine i have to take to build for imx8mqevk ?