| Summary: | Exception running 2 of the JOGL 2 demos | ||
|---|---|---|---|
| Product: | [JogAmp] Jogl | Reporter: | ozemale |
| Component: | opengl | Assignee: | Sven Gothel <sgothel> |
| Status: | VERIFIED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2 | ||
| Hardware: | pc_x86_64 | ||
| OS: | windows | ||
| Type: | --- | SCM Refs: |
7262641429b542929efc699e392f410f1dee2187
|
| Workaround: | --- | ||
I get the following exception when running the Hardware Shadow Mapping and High Dynamic Range Rendering demos on the JogAmp web site. The machine is running 64-bit Windows 7 with Java 6 Update 21 and has a high-end Quadro FX-5800 GPU which should be more than capable of running the demos. Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Error making context current: 0x0, com.jogamp.opengl.impl.windows.wgl.WindowsWGLContext [OpenGL 3.2, options 0x22, 3.2 (compatibility profile, any, old) - 3.2.0, com.jogamp.opengl.impl.gl4.GL4bcImpl@2ba11b, Drawable Read/Write: com.jogamp.opengl.impl.windows.wgl.WindowsDummyWGLDrawable[Realized true, Factory com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawableFactory@5e179a, Window NullWindow[config WindowsWGLGraphicsConfiguration[class javax.media.nativewindow.DefaultGraphicsScreen[class javax.media.nativewindow.DefaultGraphicsDevice[type default, handle 0x0], idx 0], pfdID -1, wglChoosen true, requested GLCapabilities[Capabilities[Onscreen: true, Red: 8, Green: 8, Blue: 8, Alpha: 0, Opaque: true], GL profile: GLProfile[GL2/GL2], PBuffer: true, DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false, Num samples: 0, PBuffer-FloatingPointBuffers: false, PBuffer-RenderToTexture: false, PBuffer-RenderToTextureRectangle: false], chosen GLCapabilities[Capabilities[Onscreen: true, Red: 8, Green: 8, Blue: 8, Alpha: 0, Opaque: true], GL profile: GLProfile[GL2/GL2], PBuffer: true, DoubleBuffered: false, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16, Multisample: false, Num samples: 0, PBuffer-FloatingPointBuffers: true, PBuffer-RenderToTexture: false, PBuffer-RenderToTextureRectangle: false]], displayHandle 0x0, surfaceHandle 0x7301489d, size 0x0]]] at com.jogamp.opengl.impl.windows.wgl.WindowsWGLContext.makeCurrentImpl(WindowsWGLContext.java:313) at com.jogamp.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:288) at com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawableFactory$1.run(WindowsWGLDrawableFactory.java:154) at com.jogamp.opengl.impl.GLDrawableFactoryImpl.maybeDoSingleThreadedWorkaround(GLDrawableFactoryImpl.java:208) at com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawableFactory.createGLPbufferDrawableImpl(WindowsWGLDrawableFactory.java:169) at com.jogamp.opengl.impl.GLDrawableFactoryImpl.createGLPbufferDrawable(GLDrawableFactoryImpl.java:115) at com.jogamp.opengl.impl.GLDrawableFactoryImpl.createGLPbufferDrawable(GLDrawableFactoryImpl.java:129) at com.jogamp.opengl.impl.GLDrawableFactoryImpl.createGLPbuffer(GLDrawableFactoryImpl.java:137) at demos.hwShadowmapsSimple.HWShadowmapsSimple.init(HWShadowmapsSimple.java:282) at com.jogamp.opengl.impl.GLDrawableHelper.init(GLDrawableHelper.java:88) at javax.media.opengl.awt.GLCanvas$InitAction.run(GLCanvas.java:603) at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:149) at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:553) at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:290) at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:368) at sun.awt.RepaintArea.paintComponent(Unknown Source) at sun.awt.RepaintArea.paint(Unknown Source) at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)