Bug 40 - GLException: Error making context current
Summary: GLException: Error making context current
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2003-09-13 11:40 CEST by Sven Gothel
Modified: 2010-03-24 07:45 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:45:53 CET

---- Reported by trz 2003-09-13 11:40:03 ----

if I ask for more than 4 alpha bits with GLCapabilities I get this error

Exception in thread "main" net.java.games.jogl.GLException: Error making context
	at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:138)
	at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:156)
	at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:179)
	at net.java.games.jogl.GLCanvas.display(GLCanvas.java:84)
	at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:781)	at
	at com.xith3d.scenegraph.View.renderOnce(View.java:560)
	at com.xith3d.test.CubeTest.<init>(CubeTest.java:190)
	at com.xith3d.test.CubeTest.main(CubeTest.java:580)

(stack trace is from xith example, but I have the same problem even from Gears
demo if I change GLCapabilities). 

I'm running latest cvs version of jogl on linux 2.4.20, xfree 4.2.1, nvidia
opengl drivers 4363, geforce 2.

The Capabilities chosen in DefaultGLCapabilitiesChooser is

GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true,
DepthBits: 24, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 8, Red Accum:
16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ]

---- Additional Comments From kbr 2005-01-30 23:45:03 ----

Sorry for not commenting on this bug until now. Many issues related to pixel
format / visual selection have been fixed in recent betas. Please retest with
the latest JOGL beta and reopen this issue or file a new one if problems persist.

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

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