Commit 7f4f94af authored by Guido Gunther's avatar Guido Gunther

librem5-wayland: Default to OpenGLES

Otherwise gstreamer prefers GL over GLES and e.g. the hantro pipeline

   GST_DEBUG=3 gst-launch-1.0 filesrc location=foo.mkv ! parsebin ! v4l2slh264dec ! glimagesink

fails like

   0:00:00.437943323  3672 0xaaaaebf2a6a0 WARN                    glsl gstglsl.c:546:gst_gl_version_to_glsl_version: unknown GL version
   0:00:00.438048688  3672 0xaaaaebf2a6a0 ERROR              glslstage gstglslstage.c:345:gst_glsl_stage_set_strings:<glslstage0> GL context does not support version 110 and profile compatibility
   0:00:00.438087810  3672 0xaaaaebf2a6a0 ERROR              glconvert gstglcolorconvert.c:2045:_create_shader:<glcolorconvert0> Failed to create vertex stage
   0:00:00.438143972  3672 0xffff90002240 WARN        glconvertelement gstglcolorconvertelement.c:224:gst_gl_color_convert_element_prepare_output_buffer:<glcolorconvertelement0> error: Failed to convert video buffer
parent b7a3b233
Pipeline #65072 passed with stages
in 3 minutes and 58 seconds
......@@ -11,3 +11,6 @@ MOZ_ENABLE_WAYLAND=1
export GDK_GL
GDK_GL=gles
export GST_GL_API
GST_GL_API=gles2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment