JOGL libEGL warning - Linux

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL libEGL warning - Linux

enhance
Hi,

i'm trying to implement GLG2D (which uses JOGL) into jDosBox (Java Dos Emulator).
jDosBox does start with the new GLG2D Renderer but it gives this warning:
"libEGL warning: DRI2: failed to authenticate"
and so it does not use JOGL OpenGL.

Tested with xUbuntu x64 13.10 and Arch Linux x64, both with Nvidia Drivers. And i tried different versions of JOGL.
I think it's the Nvidia Driver because the OpenGL test benchmark (glmark2-es2) prints out exact the same warning and does not start.

Is this a known issue of JOGL or Linux? Is there a workaround?

http://jdosbox.sourceforge.net/
http://brandonborkholder.github.io/glg2d/
Reply | Threaded
Open this post in threaded view
|

Re: JOGL libEGL warning - Linux

gouessej
Administrator
Hi

It doesn't come from JOGL for sure. You should read that:
""libEGL warning: DRI2: failed to authenticate" probably means either that you're using an old version of mesa (wrong library path?) or don't have DRI2 support in your X server. Both the nVidia and AMD/ATI proprietary drivers apparently lie about having DRI2 support. "
http://www.chaosreigns.com/wayland/hardware/

Please rather use the Nouveau driver (yes open source drivers rock :) ).
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL libEGL warning - Linux

elect


I have a gtx680 and had the nvidia binary 346.59 installed through Ubuntu repo and I was getting your same error.

Then I installed the nouveau, the error went away but I had problems with the GL version (only 3.x supported).

I tried to install again the 346.59, but this time in the "old way", downloading from nv website, switching to console, stopping lightdm and installing them. It worked for me
Reply | Threaded
Open this post in threaded view
|

Re: JOGL libEGL warning - Linux

gouessej
Administrator
You should fill a bug report against Ubuntu as the proprietary Nvidia driver shouldn't show this warning as you claim to get rid of it by installing the driver downloaded from the Nvidia website.
Julien Gouesse | Personal blog | Website