Hallo,
I was trying to get the jogl-based gui running on a linux pc with an ati 8500 graphics adapter. It won’t work, with the exception
net.java.games.jogl.GLException: Error making context current
at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:153)
at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:199)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
at net.java.games.jogl.Animator$1.run(Animator.java:104)
at java.lang.Thread.run(Thread.java:534)
[…] (several more)
occuring. I’ve worked through three X versions, using the ati driver, I’ve tried running the simple test app, I found in some thread in this forum - all with the same result.
It is most certainly not the 16 vs. 24 bit issue, as the error message changes, using the 16 bit depth (i.e. the stack trace has only 6 entries).
I’ve tried upgrading to the latest nightly (formerly using the last official build), and all without any effect.
The application is running on the same machine (using windows instead of linux), on another linux machine with an nVidia graphics adapter and several Windows machines.
I would really be greatful, if someone had a hintfor me.
glxgears is running, fglrxinfo shows OpenGL is active, System.loadLibrary(“jogl”); works, only fgl_glxgears complains about “couldn’t get fbconfig”. According to the ATI FAQ is this not an issue, as this is a featur of the fireGL graphics adapters.
Things I’ve tried:
X versions 4.1.0, 4.2.0, 4.3.0 (all with ati driver)
ati agpgart / kernel agpgart
kernel 2.2.20 / 2.4.24
JVM 1.4.2_01 / 1.4.2_03
jogl nightly (02/21/04) / last official from 2003
Best regards,
js