Running on an iMX.8QuadMax, I am trying to deploy a Gstreamer pipeline that decodes HEVC frames that are then passed to "glupload", a Gstreamer element capable of producing EGL_image-backed GL textures.
glupload appears to be setting the correct parameters when creating the EGL image from the DMA buffer, based on its debug and logging output.
However, when I attempt to render the decoded frame inside GLES, sampling from the EGL_image-backed texture, I get the error:
[ 1] ES30: some draw get error and skipped during validation
Also, it will occasionally SEGFAULT during the draw which samples from the texture. The call stack is:
#0 0x0000fffff5a48e68 in ?? () from /usr/lib/libGAL.so
#1 0x0000fffff59edcb4 in gcoSURF_DisableTileStatus () from /usr/lib/libGAL.so
#2 0x0000fffff5a036e8 in gco3D_SetTarget () from /usr/lib/libGAL.so
Can I get some help figuring out what is wrong?