Wondering if anyone has some ideas on other workarounds for the system. The code is currently failing with the infamous glXFBConfig failure error message on the combination of MESA and Xvfb. Prior to attempting to create the pbuffer I check with canCreateGLPbuffer, but the actual creation fails.
Some relevant details:
GLCapabilities [DoubleBuffered: false, Stereo: false, HardwareAccelerated: true, DepthBits: 16, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ]
Exception in thread "main" javax.media.opengl.GLException: javax.media.opengl.GLException: pbuffer creation error: glXChooseFBConfig() failed
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.maybeDoSingleThreadedWorkaround(X11GLDrawableFactory.java:652)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.createGLPbuffer(X11GLDrawableFactory.java:313)
at org.j3d.aviatrix3d.output.graphics.PbufferSurface.init(PbufferSurface.java:237)
at org.j3d.aviatrix3d.output.graphics.PbufferSurface.<init>(PbufferSurface.java:154)
at org.j3d.aviatrix3d.output.graphics.PbufferSurface.<init>(PbufferSurface.java:72)
at org.xj3d.ui.awt.browser.ogl.OffscreenOGLConstruct.buildGraphicsRenderingDevice(OffscreenOGLConstruct.java:64)
at org.xj3d.ui.construct.Construct.buildRenderingDevices(Construct.java:387)
at xj3d.replica.OffscreenSceneRecorderConstruct.buildAll(OffscreenSceneRecorderConstruct.java:62)
at xj3d.replica.SceneRecorder.<init>(SceneRecorder.java:224)
at xj3d.replica.SceneRecorder.main(SceneRecorder.java:605)
Caused by: javax.media.opengl.GLException: pbuffer creation error: glXChooseFBConfig() failed
at com.sun.opengl.impl.x11.X11PbufferGLDrawable.createPbuffer(X11PbufferGLDrawable.java:126)
at com.sun.opengl.impl.x11.X11PbufferGLDrawable.<init>(X11PbufferGLDrawable.java:73)
at com.sun.opengl.impl.x11.X11GLDrawableFactory$2.run(X11GLDrawableFactory.java:306)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
System is Fedora Core 6 with all the latest updates applied.
MESA 6.5.1
Xvfb
Commandline for running Xvfb is
Xvfb :1 -screen 0 1280x1024x24
Daily build of JOGL as of last night (21/7).
I’d like to try out MESA 7.0, but don’t have any prebuilt binaries for FC6 to try out, so that’s my next plan of attack. Note that this is on a server that doesn’t have any form of graphics hardware in it, hence the virtual framebuffer and MESA for JOGL. I cannot run JOGL headless due to other internal JOGL errors and the latest JDK 1.6 u2 JAWT libraries, so this is about all I have to work on for now.