After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728769 - eglglessink shows a white window when used with videotestsrc
eglglessink shows a white window when used with videotestsrc
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-23 02:05 UTC by Kedar Karanje
Modified: 2014-04-23 07:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gst debug logs (370.86 KB, text/x-log)
2014-04-23 02:05 UTC, Kedar Karanje
Details

Description Kedar Karanje 2014-04-23 02:05:42 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.
Comment 1 Sebastian Dröge (slomo) 2014-04-23 07:10:11 UTC
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?
Comment 2 Kedar Karanje 2014-04-23 07:24:01 UTC
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
Comment 3 Sebastian Dröge (slomo) 2014-04-23 07:33:50 UTC
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.
Comment 4 Kedar Karanje 2014-04-23 07:41:42 UTC
    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.
Comment 5 Kedar Karanje 2014-04-23 07:43:31 UTC
$ 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
Comment 6 Sebastian Dröge (slomo) 2014-04-23 07:51:58 UTC
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.