<div dir="ltr"><div>Hi Lukasz,<br><br>I'm not part of the mesa/etnaviv development team, but I've tried somethings with gstreamer, maybe I can provide some useful information...<br><br>Can you try xvimagesink instead of glimagesink?<br><br>Etnaviv provides the driver for the 3D GPU, but I believe the video is normally output out through the 2D unit, the GC320 in i.MX6 via xf86-armada drm driver.<br><br></div>I think the best approach for decoding and outputting video is to implement the VAAPI and/or VDPAU support in mesa, right on etnaviv making the CODA VPU unit available to all the applications that are already VAAPI and VDPAU aware, like vlc, kodi and others. That way standard desktop applications can be used without much changes or one can develop for both platforms with less effort. I am currently starting such project to bridge the gap with a prototype driver that could be integrated in etanviv and mesa. Mesa already implements VAAPI and VDPAU, I believe one just needs to implement an internal mesa API named VL.<br><div><div><br>Meanwhile, maybe you can try the following which also makes use of the CODA VPU unit with gstreamer:<br><br>wget <a href="http://linode.boundarydevices.com/videos/trailer_1080p_h264_mp3.avi">http://linode.boundarydevices.com/videos/trailer_1080p_h264_mp3.avi</a><br><br>gst-launch-1.0 filesrc location=/home/ubuntu/trailer_1080p_h264_mp3.avi ! \<br> avidemux ! h264parse ! v4l2video1dec capture-io-mode=dmabuf ! \<br> xvimagesink device=1 sync=0<br><br>The above works both on my i.MX6Q and on my i.MX6QP under X, I haven't tried with wayland, but should work just the same.<br><br>I based this test on the following post by Fabio Estevam:<br><a href="https://imxdev.gitlab.io/tutorial/Decoding_video_with_a_mainline_kernel_on_i.MX6/">https://imxdev.gitlab.io/tutorial/Decoding_video_with_a_mainline_kernel_on_i.MX6/</a><br><br><br></div><div> Regards,</div><div>Luís Mendes</div><div>Hardware and Software engineer<br></div></div></div>