Hi igorpadykov
Yes with official bsp it is working. My issue come from my integration in my yocto env.
I found the issue and for other user I will try explain my issue.
1 - What was my problem :
VPUdec gstreamer module failed to malloc memory
2 - My fix :
I must to synchronised all these recipes to same bsp version (me i synchronized with warrior version)
linux-imx
inux-imx-headers
imx-vpuwrap
imx-vpu-hantro
And in conf/machine/include/imx-base.inc check var MACHINEOVERRIDES_EXTENDER_mx8mq, imxvpuhantro should be inside it.
3 - Why I met these issues
My yocto env was created for raspberry board, and more later I had support for nxp board.
My reference was poky version thud. But I met an issue with nxp tee with this version so I upgrade kernel, optee-os, optee-client to warrior version for fixed it.
linux-imx and inux-imx-headers was not more synchronised and vpu didnt work anymore
4 - Some line for testing vpu:
This two line is working for me now.
Add package imx-test
/unit_tests/VPU/hantro/hx170dec -Oout /tmp/a/video/15.Papaoutai.avi
With gstreamer
GST_DEBUG=3 gst-launch-1.0 filesrc location=/tmp/a/video/less_small.mp4 ! 'video/quicktime' ! aiurdemux ! 'video/x-h264,weigth=480,height=270' ! vpudec ! glimagesink
Best regards,
Cedric T