> Hi,
>
> I'm trying to get jogl 2 (rc11) running on a virtual machine via Xvfb on
> Ubuntu. I started Xvfb, set DISPLAY accordingly, and glxinfo says among others:
>
> display: :99 screen: 0
> direct rendering: Yes
> server glx vendor string: SGI
> server glx version string: 1.4
> client glx vendor string: Mesa Project and SGI
> client glx version string: 1.4
> GLX version: 1.4
> OpenGL vendor string: VMware, Inc.
> OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
> OpenGL version string: 2.1 Mesa 8.0.2
> OpenGL shading language version string: 1.20
>
>
> When I try to use Newt through ardor3d-jogl, I get the following:
>
> javax.media.opengl.GLException: Profiles [GL4bc, GL3bc, GL2, GLES1] not available on
> device X11GraphicsDevice[type .x11, connection nil, unitID 0, handle 0x0,
> ResourceToolkitLock[obj 0x56bbb693, isOwner false, <3dcf9961, 85ecefb>[count 0, qsz 0, owner <NULL>]]]
> at javax.media.opengl.GLProfile.get(GLProfile.java:819)
> at javax.media.opengl.GLProfile.get(GLProfile.java:830)
> at javax.media.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:636)
> at com.ardor3d.framework.jogl.CapsUtil.getCapsForSettings(CapsUtil.java:39)
> at com.ardor3d.framework.jogl.JoglNewtWindow.<init>(JoglNewtWindow.java:54)
> at com.ardor3d.framework.jogl.JoglNewtWindow.<init>(JoglNewtWindow.java:48)
> ...
>
>
> I guess "connection nil" is the problem.
>
> What I'm trying to do is already running on Travis CI tests
> (
https://travis-ci.org/neothemachine/ardor3d-screenshot/builds/5143129), which
> also uses Xvfb. Now, I try to do something similar on an Amazon EC2 virtual
> machine.
>
> I know it's hard to do guesses at this from afar. That's why I'm only asking
> if someone experienced something similar with the "connection nil" thing, or
> has some clues what might cause issues like that in general.