Skip to content

WIP: Feature/mesa 19 1 0 on wayland

As discussed on the mailing list and with #621 (closed), there were problems getting glimagesink working with nvidia/gstreamer/wayland.

After failing hard for some days, I changed to nouveau and tested there. Nouveau did not even detect the gfx card (not supported). -- product: GM204GL [Quadro M4000]

After updating mesa to 19.1.0 the card was detected and mutter/wayland was able to start.

GStreamer was not able to select a config that worked. Tweaking the selection criteria did work (cf. patches), however, I do not know enough about this if this is just a hack or valid.

This has probably to do with some 10bit configs popping up. Feedback appreciated.

0:00:00.142994861  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:176:gst_gl_context_egl_dump_config:<glcontextegl0> dumping EGLConfig 0x7fe23c086e10 with id 0x1 and native visual id 0x0 of type 0x3038
0:00:00.143003882  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:207:gst_gl_context_egl_dump_config:<glcontextegl0> Conformant for OpenGL|OpenGL ES|OpenGL ES 2.x|OpenGL ES 3.x
0:00:00.143011221  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:240:gst_gl_context_egl_dump_config:<glcontextegl0> Renderable for OpenGL|OpenGL ES|OpenGL ES 2.x|OpenGL ES 3.x
0:00:00.143018067  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:273:gst_gl_context_egl_dump_config:<glcontextegl0> Surface for window
0:00:00.143030803  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:314:gst_gl_context_egl_dump_config:<glcontextegl0> [R, G, B, A] = [10, 10, 10, 2]
0:00:00.143037604  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:335:gst_gl_context_egl_dump_config:<glcontextegl0> [D, S] = [0, 0]
0:00:00.143043559  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:346:gst_gl_context_egl_dump_config:<glcontextegl0> Swap interval range is [0, 1]
0:00:00.143050284  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:362:gst_gl_context_egl_dump_config:<glcontextegl0> PBuffer maximum dimensions are [4096, 4096]. Max pixels are 0
0:00:00.143056345  4643 0x561afd4ac9e0 DEBUG              glcontext gstglcontext_egl.c:374:gst_gl_context_egl_dump_config:<glcontextegl0> Multisample buffers: 0 and Samples per pixel: 0

Merge request reports