Hello all.
I recently upgraded to the most recent builds of Xith3D and JOGL. Compilation performs without error, but I now get an error at run-time.
This error is encountered when the canvas first pulls up in my own project, using the most recent build of Xith3D (2004-05-03) and both the most recent build of JOGL (1.1b03 - April 29) and it’s nightly (jogl-1.1.0-b04-bin-linux.tar.gz).
libGL error: drmMap of framebuffer failed
java.lang.NoSuchMethodError: net.java.games.jogl.GL.glSelectBuffer(I[I)V
at com.xith3d.render.jogl.CanvasPeerImpl.renderStart(CanvasPeerImpl.java:303)
at com.xith3d.render.jogl.CanvasPeerImpl.display(CanvasPeerImpl.java:824)
at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.java:74)
at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:239)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:940)
at com.xith3d.scenegraph.View.pick(View.java:751)
at ...
Exception in thread "main" java.lang.Error: java.lang.NoSuchMethodError: net.java.games.jogl.GL.glSelectBuffer(I[I)V
at com.xith3d.render.jogl.CanvasPeerImpl.display(CanvasPeerImpl.java:879)
at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.java:74)
at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:239)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:940)
at com.xith3d.scenegraph.View.pick(View.java:751)
at ...
Caused by: java.lang.NoSuchMethodError: net.java.games.jogl.GL.glSelectBuffer(I[I)V
at com.xith3d.render.jogl.CanvasPeerImpl.renderStart(CanvasPeerImpl.java:303)
at com.xith3d.render.jogl.CanvasPeerImpl.display(CanvasPeerImpl.java:824)
... 13 more
This would appear to be two seperate problems: a libGL error (drmMap of framebuffer failed) and a picking error that appears to be in JOGL.
The libGL error rears its head after certain parts of my scene render. For example, my canvas comes up with some items rendered. The terrain, the UI overlays, a cube, a line, etc. But, my textured and lit terrain is all black.
The picking error occurs as soon as I click anywhere in the window.
Any thoughts?