GNOME Bugzilla – Bug 728769
eglglessink shows a white window when used with videotestsrc
Last modified: 2014-04-23 07:51:58 UTC
Created attachment 274923 [details] Gst debug logs Command Used: gst-launch-1.0 videotestsrc ! eglglessink Logs attached : videotestsrc:5,eglglessink:5 rest at 3 Tried looking for similar issues but most are in android , this is on Ubuntu : Saucy Slamander 13.10 Please let me know if there is any way to get this to work.
What's your GPU, what's the driver you use, and what's the output of eglinfo? Line 3 in your log looks like a real problem: libEGL warning: DRI2: failed to authenticate Are you maybe using the NVIDIA or ATI binary drivers, but use the libEGL from Mesa?
I was unable to run eglinfo, however a little search gave me this info: $sudo lshw -C display *-display description: VGA compatible controller product: GK107 [GeForce GT 630 OEM] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nvidia latency=0 resources: irq:16 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff I also installed mesa-utils and tried $glxinfo name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 ... Could you please tell me if there is something amiss on my machine, will continue to look at the mismatch between drivers and libEGl
You can get eglinfo from here for example: http://www.cl.cam.ac.uk/~cs448/git/trunk/src/progs/egl/eglinfo.c Seems Ubuntu does not ship it in any packages... If you run > ldd /usr/lib/*/gstreamer-1.0/libgsteglglessink.so | grep EGL you will see the complete path to the EGL library on your system. If you run dpkg -S with that, which package does it tell you? And are you using the proprietary NVIDIA drivers or the open source ones? IIRC the proprietary ones don't support EGL.
Tried this on another machine with same ubuntu version but the glxinfo is different and here there was no white window issue output of eglglessink was same as ximagesink : $glxinfo output : name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 ok will try the suggestion you just mentioned, but as you hinted I guess its a driver Vs EGl library mismatch , will update with the new information later.
$ ldd /usr/lib/*/gstreamer-1.0/libgsteglglessink.so | grep EGL libEGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 (0x00007f0c29d2d000) $ dpkg -S libEGL.so.1 libegl1-mesa:amd64: /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0 libegl1-mesa:amd64: /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
Ok, this very much looks like you're using the NVIDIA drivers. Those don't have support for EGL, so eglglessink can't work on your system until NVIDIA adds support for EGL.