Login  Register

Re: jogl crashes video card driver

Posted by runiter on Jan 09, 2013; 9:29pm
URL: https://forum.jogamp.org/jogl-crashes-video-card-driver-tp4026980p4027762.html

I applied the patch. Now it gives this exception:

java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1242)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1346)
        at com.ardor3d.framework.jogl.JoglAwtCanvas.init(JoglAwtCanvas.java:64)
        at com.ardor3d.framework.FrameHandler.init(FrameHandler.java:174)
        at org.concord.energy3d.scene.SceneManager.run(SceneManager.java:319)
        at java.lang.Thread.run(Thread.java:722)
Caused by: javax.media.opengl.GLException: Context not current on current thread AWT-EventQueue-0: WindowsOnscreenWGLContext [OpenGL -1.-1, options 0x0, null, this 0x4af5b94b, handle 0x0, null,
         quirks: n/a,
        Drawable: WindowsOnscreenWGLDrawable[Realized false,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@7d4b2e1a,
        Handle    0x0,
        Surface   JAWT-Window[windowHandle 0x1c0d5a, 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 D3DGraphicsDevice[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@46a1d830[dev=D3DGraphicsDevice[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 false,
        jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@7d4b2e1a,
        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 D3DGraphicsDevice[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@46a1d830[dev=D3DGraphicsDevice[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 <4a58115f, 5bdc9a1a>[count 0, qsz 0, owner <NULL>]]]]
        at jogamp.opengl.GLContextImpl.release(GLContextImpl.java:279)
        at jogamp.opengl.GLContextImpl.release(GLContextImpl.java:272)
        at com.ardor3d.framework.jogl.JoglCanvasRenderer.init(JoglCanvasRenderer.java:171)
        at com.ardor3d.framework.jogl.JoglInitializerRunnable.run(JoglInitializerRunnable.java:35)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
        at java.awt.EventQueue.access$000(EventQueue.java:101)
        at java.awt.EventQueue$3.run(EventQueue.java:666)Open file...Adding: Foundation(73a7f249) (-20.0, -15.0, 0.0) (20.0, -15.0, 0.0) (0.0, 0.0, 0.0) (0.0, 0.0, 0.0) editPoint = -1

        at java.awt.EventQueue$3.run(EventQueue.java:664)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D