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.
Why the exception? Is it a problem with JOGL or the demos? Thanks, -Qu0ll 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) |
works fine on linux + ATI.
please file a bug report with the info you posted here. thanks && best regards, michael On 07/17/2010 01:18 PM, Qu0ll [via jogamp] wrote: 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. |
Free forum by Nabble | Edit this page |