Unable to create context

Hi

I’ve got some problems when I try to use the java2D GL pipline with the jide docking framework. After a couple of
couple of dock the app craches and gives a


exception in QueueFlusher:
javax.media.opengl.GLException: Unable to create OpenGL context for device context 0x7d01173b
	at com.sun.opengl.impl.windows.WindowsGLContext.create(WindowsGLContext.java:122)
	at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:150)
	at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
	at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
	at javax.media.opengl.GLJPanel$1.run(GLJPanel.java:596)
	at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(Unknown Source)

I created a testcase that is avilable at: manhattan.agency9.se/testcase/testcasejide.rar

I’m using Java6, GL pipline and ATI x1600

Any ideas ?

// Tomas

On NVidia hardware with the latest 93.71 Windows drivers the test case locks up pretty quickly with no apparent Java-level deadlock. Adding -Dsun.java2d.opengl.fbobject=false seems to get it past that. Does this help on your ATI hardware?

I’m trying to see whether we have better contacts for ATI Windows driver issues than just going through their “Customer Care” website.

I just tried it on Nvidia hardware and it locked directly. The app never locks on ATI just throws "Unable to create OpenGL context for device context " . Setting the -Dsun.java2d.opengl.fbobject=false seem to solve the issue… or at least for now :slight_smile:

I’ll test on more hardware tomorrow.

Thanks
// Tomas