Login  Register

Re: Cannot initialize JOGL on Mesa swrast after upgrade

Posted by Sven Gothel on Feb 06, 2014; 10:08am
URL: https://forum.jogamp.org/Cannot-initialize-JOGL-on-Mesa-swrast-after-upgrade-tp4031458p4031464.html

On 02/06/2014 04:23 AM, Dolda2000 [via jogamp] wrote:
> Dear forum,
>
> I'm trying to move a program that uses JOGL on Mesa's software renderer from a
> system running Debian 6.0 to Debian 7.0, and suddenly JOGL cannot initialize
> any longer. I cannot quite seem to figure out why, though, so any help would
> be helpful.

Me testing on all sorts of Debian here, incl. 7.0.

Your issues is:

+++

Caused by: javax.media.opengl.GLException: glXGetFBConfig(0x8010) failed: error code Unknown error code -1
        at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.glXGetFBConfig(X11GLXGraphicsConfiguration.java:354)
        at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.FBCfgDrawableTypeBits(X11GLXGraphicsConfiguration.java:255)

+++

#define GLX_DRAWABLE_TYPE                 0x8010

> This would seem to be the actual problem, but I don't see why glXGetFBConfig
> would start to fail just because I'm running a newer Debian version. The
> glxinfo program can list GLXFBConfigs properly:
>
> 6 GLXFBConfigs:
>     visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
>   id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
> ----------------------------------------------------------------------------
> 0x000  0 sg  1   0  0    . .   0  0  0  0 .  .  0  0  0  0  0  0  0  0 0 None
> 0x022  8 gs  0   8  0 r  y .   2  3  3  0 .  .  0 16  8 16 16 16 16  0 0 None
> 0x000  0 gs  1   0  0    . .   0  0  0  0 .  .  0  0  0  0  0  0  0  0 0 None
> 0x024  8 tc  0   8  0 r  y .   3  3  2  0 .  .  0 16  8 16 16 16 16  0 0 None
> 0x025  8 dc  0   8  0 r  y .   3  3  2  0 .  .  0 16  8 16 16 16 16  0 0 None
> 0x026  8 sg  0   8  0 r  y .   2  3  3  0 .  .  0 16  8 16 16 16 16  0 0 None
>
> And I can only imagine it uses the same function to get them, no?
Interesting ..

Pls produce test_dbg.log as described on our wiki/jogl/faq/bugreport.

~Sven



signature.asc (894 bytes) Download Attachment