gstlglimagesink EGL_BAD_DISPLAY
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Jun 12 17:09:31 UTC 2019
Le mercredi 12 juin 2019 à 18:29 +0200, Marc Leeman a écrit :
>
> I am a bit out of my depth with this one, but I am trying to decode/test display a simple videotestsrc on a wayland compositor [1].
>
> Unfortunately I have not yet succeeded. the application is pretty simple.
>
> We have a Debian/Buster running with mutter on wayland on an NVIDIA card.
>
> We log in to the system over ssh and we are trying:
Can you describe the prior steps you have taken to ensure GStreamer
will find your wayland display ? On Fedora I would have to do:
export WAYLAND_DISPLAY=/run/user/1000/wayland-0
gst-launch-1.0 videotestsrc ! glimagesink
waylandsink does not work due to a bug in mutter compositor. The spec
says that we must wait for a configure-even prior to attaching a
buffer, but mutter in that specific context ends up waiting for an
attachement to send the event. We have merged a workaround in master
and will backport to 1.16.1.
>
> gst-launch-1.0 videotestsrc ! glimagesink
>
> Each and everytime, I seem to get some EGL_BAD_DISPLAY.
>
> Can anyone give some insights what could be wrong? Are there special things we need to take care of when trying to create the context/surface?
>
> I've tried to map the wayland/egl flow to some test applications (that display a window) on the gstreamer calls to wayland and egl, but failed to find a significant discrepancy [2], even after mimicing the configurations.
>
>
>
> [1] https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/621
> [2] https://github.com/mleeman/tutorials.git (cloned)
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190612/6c1f6a69/attachment-0001.sig>
More information about the gstreamer-devel
mailing list