v4l2h264dec - glimagesink issues on imx6/etnaviv
Hi guys,
Im trying to get the v4l2h264dec - glimagesink to work on a freescale imx6 on wayland/weston. (waylandsink works out of the box sins gstreamer 1.14)
My target is a Wandboard imx6dual-lite, revb. And a iW-RainboW-G15M-Q7, with a imx6quad.
My latest try was to use the zeus branch of yocto, With mainline kernel and the etnaviv graphics driver, but there is still issues.
Im seeing the error in the logs: 0:00:01.508874000 [335m 418[00m 0x13a0d80 [31;01mERROR [00m [00m gldebug gstgldebug.c:306:_gst_gl_debug_callback:[00m high: GL error from API id:1, GL_INVALID_ENUM in glTexImage2D(incompatible format = GL_RG, type = GL_UNSIGNED_BYTE)
The result is slow and glitchy.
Here is the log of running GST_DEBUG="gl*:6,v4l2*:6" GST_DEBUG_FILE=/logs/gst.log GST_DEBUG_DUMP_DOT_DIR=/logs gst-play-1.0 /webpage/720.mp4 --videosink=glimagesink zeus_5.1.15.tar.gz
Using:
Linux kernel - 5.1.15-fslc
Gstreamer - 1.16.1-r0
Mesa - 19.1.6-r0
manifest of Yocto-zeus core-image-weston-wandboard-20191204135919.rootfs.manifest