Bug 314

Summary: JGears loops throwing GLException
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: linux   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:50:47 CET


---- Reported by mjw_java 2007-08-23 09:56:55 ----

Running the JOGL demo demos.jgears.JGears results in an
endless loop of GLExceptions when java is started
with -Dsun.java2d.opengl=True.

The following repeats until java is exited:

exception in QueueFlusher:
javax.media.opengl.GLException: context creation error: couldn't find a suitable
frame buffer configuration
	at
com.sun.opengl.impl.x11.X11ExternalGLDrawable$Context.create(X11ExternalGLDrawable.java:180)
	at
com.sun.opengl.impl.x11.X11ExternalGLDrawable$Context.makeCurrentImpl(X11ExternalGLDrawable.java:123)
	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$2.run(GLJPanel.java:650)
	at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:203)

Platform is kubuntu linux 7.04, with 
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: MOBILITY RADEON 9600
GL_VERSION: 2.0.6334 (8.34.8)

java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)

jogl version nightly build 20070823.



---- Additional Comments From kbr 2007-08-24 08:53:25 ----

It's unlikely there is anything we can do about this problem in JOGL. It seems
that most vendors' OpenGL drivers have gotten much less stable with regard to
Frame Buffer Object implementation recently, and the Java 2D / OpenGL pipeline
barely works right now, let alone the Java 2D / JOGL bridge. The same code used
to work with older driver versions from various vendors including NVidia and
ATI. I would suggest you send a bug report to ATI. Nothing has changed in the
JOGL or Java SE code bases which would have introduced this instability, only
the vendors' graphics drivers.




---- Additional Comments From kbr 2008-03-30 16:46:13 ----

There hasn't been any action on this bug in a long while. Since I think this is
most likely an OpenGL driver problem I'm closing it as "invalid". Note that
there are some rewrites coming to the GLJPanel which should hopefully make it
work more reliably in conjunction with the Java 2D / OpenGL pipeline, and
changes to the Java 2D OpenGL pipeline itself to make it more reliable across a
wider range of graphics drivers.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 314 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=314