Anyone know what GLX_BAD_SCREEN means?
I had code running on an earlier version of JOGL (circa mid-November) - demos ran fine too. Seeing I was a bit behind in my builds, did a new checkout and build (linux.amd64). All went well. Have the new AWT object and X11 classes. I pointed my eclipse projects at the new .jar and the new native libs. Changed my canvas creation to new GLCanvas instead and of the factory methods. I now get the following error when trying to run demos or my own code (this was taken from a failed run of jogl-demo’s Gears.java):
Exception in thread "main" javax.media.opengl.GLException: glXGetConfig failed: error code GLX_BAD_SCREEN
at com.sun.opengl.impl.x11.X11GLDrawableFactory.glXGetConfig(X11GLDrawableFactory.java:453)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.xvi2GLCapabilities(X11GLDrawableFactory.java:276)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.chooseGraphicsConfiguration(X11GLDrawableFactory.java:125)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:110)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:82)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:75)
at demos.gears.Gears.main(Gears.java:19)
I can run JGears - sans the gears displaying. console output:
INIT GL IS: com.sun.opengl.impl.GLImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 7800 GTX/PCI/SSE2
GL_VERSION: 2.0.1 NVIDIA 81.74
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 7800 GTX/PCI/SSE2
GL_VERSION: 2.0.1 NVIDIA 81.74
I’m running FC4 the nvidia card referenced above w/ sun’s jvm (build 1.5.0_05-b05).
Thanks in advance.
-william