Login  Register

Re: jogl crashes video card driver

Posted by runiter on Jan 10, 2013; 4:38pm
URL: https://forum.jogamp.org/jogl-crashes-video-card-driver-tp4026980p4027781.html

great, it now works on both Intel and non-Intel machines.

How there is still that annoying exception. In stand-alone there is not exception, but in webstart I get this exception even though it renders fine:

Catched: Context not current on current thread AWT-EventQueue-0: WindowsOnscreenWGLContext [OpenGL 3.3, options 0x303, 3.3 (Compatibility profile, arb, ES2 compatible, FBO, hardware) - 3.3.0, this 0x13be76d, handle 0x20000, jogamp.opengl.gl4.GL4bcImpl@1309b8c,
         quirks: [NoDoubleBufferedBitmap],
        Drawable: WindowsOnscreenWGLDrawable[Realized true,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@7f8cb7,
        Handle    0x0,
        Surface   JAWT-Window[windowHandle 0x260ff8, surfaceHandle 0x0, bounds [ 0 / 0  735 x 577 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface false, pos 0/0, size 735x577, visible true, lockedExt false,
        config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display1, unitID 0, awtDevice Win32GraphicsDevice[screen=1], handle 0x0], idx 1],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        sun.awt.Win32GraphicsConfig@9df80e[dev=Win32GraphicsDevice[screen=1],pixfmt=32],
        encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, NullToolkitLock[]], idx 1], pfdID 32, ARB-Choosen true,
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]]]],
        awtComponent AWT-GLCanvas[Realized true,
        jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@7f8cb7,
        handle    0x0,
        Drawable size 735x577,
        AWT pos 0/0, size 735x577,
        visible true, displayable true,
        AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display1, unitID 0, awtDevice Win32GraphicsDevice[screen=1], handle 0x0], idx 1],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        sun.awt.Win32GraphicsConfig@9df80e[dev=Win32GraphicsDevice[screen=1],pixfmt=32],
        encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, NullToolkitLock[]], idx 1], pfdID 32, ARB-Choosen true,
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]]]]],
        surfaceLock <3405f6, 17390f9>[count 0, qsz 0, owner <NULL>]]]]
javax.media.opengl.GLException: Context not current on current thread AWT-EventQueue-0: WindowsOnscreenWGLContext [OpenGL 3.3, options 0x303, 3.3 (Compatibility profile, arb, ES2 compatible, FBO, hardware) - 3.3.0, this 0x13be76d, handle 0x20000, jogamp.opengl.gl4.GL4bcImpl@1309b8c,
         quirks: [NoDoubleBufferedBitmap],
        Drawable: WindowsOnscreenWGLDrawable[Realized true,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@7f8cb7,
        Handle    0x0,
        Surface   JAWT-Window[windowHandle 0x260ff8, surfaceHandle 0x0, bounds [ 0 / 0  735 x 577 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface false, pos 0/0, size 735x577, visible true, lockedExt false,
        config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display1, unitID 0, awtDevice Win32GraphicsDevice[screen=1], handle 0x0], idx 1],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        sun.awt.Win32GraphicsConfig@9df80e[dev=Win32GraphicsDevice[screen=1],pixfmt=32],
        encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, NullToolkitLock[]], idx 1], pfdID 32, ARB-Choosen true,
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]]]],
        awtComponent AWT-GLCanvas[Realized true,
        jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@7f8cb7,
        handle    0x0,
        Drawable size 735x577,
        AWT pos 0/0, size 735x577,
        visible true, displayable true,
        AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display1, unitID 0, awtDevice Win32GraphicsDevice[screen=1], handle 0x0], idx 1],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        sun.awt.Win32GraphicsConfig@9df80e[dev=Win32GraphicsDevice[screen=1],pixfmt=32],
        encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, NullToolkitLock[]], idx 1], pfdID 32, ARB-Choosen true,
        requested GLCaps[rgba 0x8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms: 2/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 0x20 arb: rgba 0x8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]]]]],
        surfaceLock <3405f6, 17390f9>[count 0, qsz 0, owner <NULL>]]]]
        at jogamp.opengl.GLContextImpl.release(GLContextImpl.java:279)
        at jogamp.opengl.GLContextImpl.release(GLContextImpl.java:272)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:919)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:822)
        at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1028)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D