Posted by
sfriend on
Aug 22, 2014; 8:26pm
URL: https://forum.jogamp.org/Multiple-GLCanvas-FPSAnimator-Hang-tp4030581p4032898.html
I'm still experiencing this problem. I have upgraded to Windows 7 and the latest drivers and tried many different approaches. This problem only seems to happen when opening mulitple windows. Looking at this link:
http://forum.worldwindcentral.com/showthread.php?43356-Multi-window-GLContext-initialization-problemIt appears WorldWind is having the same or similar issues when running in multi window mode. After reading their post, I added more debug and it appears my problem is the same, I get the setPixelFormat (post): hdc 0xffffffffa3010a85, 32 -> 2, set: false error. So is the create context choosing the wrong graphics device ? See below for my logs with jogl.debug, Any help on this would be appreciated , not sure what to do next.
[GL4bc/GL4bc.hw], on-scr[.]]
Window system's recommended choice: 0
Choosing window system's recommended choice of 0
GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
chooseCapabilities: Chosen idx 0
chosen pfdID (ARB): native recommended 1 chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], skipCapsChooser false
*** setCapsPFD: GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
WindowsAWTWGLGraphicsConfigurationFactory: Found new AWT PFD ID 2 -> WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]
AWT-EventQueue-0: GLCanvas: TK disableBackgroundErase error: java.lang.reflect.InvocationTargetException
AWT-EventQueue-0: GLCanvas: TK disableBackgroundErase error: null
GLDrawableFactoryImpl.createGLDrawable -> OnscreenDrawable: JAWTWindow[0x532d0784][JVM version: 1.7.0_60 (1.7.0 update 60)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 0 x 0 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x240300, surfaceHandle 0x2b010a0e, bounds [ 0 / 0 0 x 0 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pos 0/0, size 0x0, visible true, lockedExt false,
config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]],
awtComponent AWT-GLCanvas[Realized false,
null-drawable,
Factory null,
handle 0x0,
Drawable size -1x-1,
AWT pos 0/0, size 0x0,
visible true, displayable true, showing false,
AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]]],
surfaceLock <314895c5, 1460d1ca>[count 1, qsz 0, owner <AWT-EventQueue-0>]]
GLDrawableFactoryImpl.createGLDrawable: WindowsOnscreenWGLDrawable[Realized false,
Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@339989ef,
Handle 0x2b010a0e,
Surface JAWTWindow[0x532d0784][JVM version: 1.7.0_60 (1.7.0 update 60)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 0 x 0 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x240300, surfaceHandle 0x2b010a0e, bounds [ 0 / 0 0 x 0 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pos 0/0, size 0x0, visible true, lockedExt false,
config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]],
awtComponent AWT-GLCanvas[Realized false,
null-drawable,
Factory null,
handle 0x0,
Drawable size -1x-1,
AWT pos 0/0, size 0x0,
visible true, displayable true, showing false,
AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]]],
surfaceLock <314895c5, 1460d1ca>[count 1, qsz 0, owner <AWT-EventQueue-0>]]]
AWT-EventQueue-0: GLContext.resetStates(isInit true)
GLContextShareSet: registereSharing: 1: 0x0, 2: 0x20000
AWT-EventQueue-0: Context created: has shared true
AWT-EventQueue-0: Info: addNotify - end: peer: sun.awt.windows.WCanvasPeer[AWT-GLCanvas[Realized false,
jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable,
Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@339989ef,
handle 0x0,
Drawable size 0x0,
AWT pos 0/0, size 0x0,
visible true, displayable true, showing false,
AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]]]]
FPSAnimator.stop() START: Task[thread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer1,6,main], stopped false, paused false shouldRun true, shouldStop false -- started true, animating true, paused false, drawable 1, drawablesEmpty false], Thread[AWT-EventQueue-0,6,main]: com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 1713, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer1,6,main], exclCtxThread false(null)]
finishLifecycleAction(com.jogamp.opengl.util.FPSAnimator$3): OK false- pollPeriod 32, blocking false, waited 0/1000 - AWT-EventQueue-0
- com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 1713, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer1,6,main], exclCtxThread false(null)]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at com.jogamp.opengl.util.AnimatorBase.finishLifecycleAction(AnimatorBase.java:552)
at com.jogamp.opengl.util.FPSAnimator.stop(FPSAnimator.java:284)
at Atlas.map.AnimatorManager.StopAnimators(AnimatorManager.java:113)
at ARL_GUI.Map_GUI.MapWindowPanel.initializeMapContainer(MapWindowPanel.java:610)
at ARL_GUI.Map_GUI.OrionMapManager.createNewMapFrame(OrionMapManager.java:132)
at ARL_GUI.MDI_GUI.ToolsMenuActionListener$1.run(ToolsMenuActionListener.java:168)
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)
FPSAnimator.stop() END: Task[thread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer1,6,main], stopped false, paused false shouldRun false, shouldStop true -- started true, animating true, paused false, drawable 1, drawablesEmpty false], Thread[AWT-EventQueue-0,6,main]: com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 1713, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer1,6,main], exclCtxThread false(null)]
FPSAnimator.stop() START: Task[thread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer2,6,main], stopped false, paused false shouldRun true, shouldStop false -- started true, animating true, paused false, drawable 1, drawablesEmpty false], Thread[AWT-EventQueue-0,6,main]: com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 1651, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer2,6,main], exclCtxThread false(null)]
finishLifecycleAction(com.jogamp.opengl.util.FPSAnimator$3): OK false- pollPeriod 32, blocking false, waited 0/1000 - AWT-EventQueue-0
- com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 1651, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer2,6,main], exclCtxThread false(null)]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at com.jogamp.opengl.util.AnimatorBase.finishLifecycleAction(AnimatorBase.java:552)
at com.jogamp.opengl.util.FPSAnimator.stop(FPSAnimator.java:284)
at Atlas.map.AnimatorManager.StopAnimators(AnimatorManager.java:113)
at ARL_GUI.Map_GUI.MapWindowPanel.initializeMapContainer(MapWindowPanel.java:610)
at ARL_GUI.Map_GUI.OrionMapManager.createNewMapFrame(OrionMapManager.java:132)
at ARL_GUI.MDI_GUI.ToolsMenuActionListener$1.run(ToolsMenuActionListener.java:168)
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)
FPSAnimator.stop() END: Task[thread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer2,6,main], stopped false, paused false shouldRun false, shouldStop true -- started true, animating true, paused false, drawable 1, drawablesEmpty false], Thread[AWT-EventQueue-0,6,main]: com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 1651, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer2,6,main], exclCtxThread false(null)]
Animator add: 0x3ca47d86 - com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 0, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed false, animThread null, exclCtxThread false(null)] - AWT-EventQueue-0
Animator.initImpl: baseName FPSAWTAnimator, implClazz com.jogamp.opengl.util.AWTAnimatorImpl - com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 0, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)] - AWT-EventQueue-0
finishLifecycleAction(com.jogamp.opengl.util.AnimatorBase$1): OK true- pollPeriod 0, blocking false, waited 0/1000 - AWT-EventQueue-0
- com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)]
Animator add: Wait for Animating/ECT OK: true, com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)], dect null
GLCanvas.sizeChanged: (AWT-EventQueue-0): 727x495 - surfaceHandle 0x0
AWT-EventQueue-0: setRealized: drawable WindowsOnscreenWGLDrawable, surface WindowsJAWTWindow, isProxySurface false: false -> true
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at jogamp.opengl.GLDrawableImpl.setRealized(GLDrawableImpl.java:178)
at javax.media.opengl.awt.GLCanvas.setRealizedImpl(GLCanvas.java:493)
at javax.media.opengl.awt.GLCanvas.access$100(GLCanvas.java:159)
at javax.media.opengl.awt.GLCanvas$3.run(GLCanvas.java:503)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:88)
at javax.media.opengl.awt.GLCanvas.setRealized(GLCanvas.java:513)
at javax.media.opengl.awt.GLCanvas.validateGLDrawable(GLCanvas.java:702)
at javax.media.opengl.awt.GLCanvas.reshape(GLCanvas.java:769)
at java.awt.Component.setBounds(Unknown Source)
at java.awt.BorderLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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)
setPixelFormat (post): hdc 0xffffffffa3010a85, 32 -> 2, set: false
AWT-EventQueue-0: WindowsWGLDrawable.setRealized(true): WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]
AWT-EventQueue-0: Realized Drawable: isRealized true, WindowsOnscreenWGLDrawable[Realized true,
Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@339989ef,
Handle 0x0,
Surface JAWTWindow[0x532d0784][JVM version: 1.7.0_60 (1.7.0 update 60)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 727 x 495 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x240300, surfaceHandle 0x0, bounds [ 0 / 0 727 x 495 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pos 0/0, size 727x495, visible true, lockedExt false,
config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]],
awtComponent AWT-GLCanvas[Realized true,
jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable,
Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@339989ef,
handle 0x0,
Drawable size 727x495,
AWT pos 0/0, size 727x495,
visible true, displayable true, showing false,
AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
sun.awt.Win32GraphicsConfig@5b2ffe19[dev=Win32GraphicsDevice[screen=0],pixfmt=2],
encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 2, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]]],
surfaceLock <314895c5, 1460d1ca>[count 0, qsz 0, owner <NULL>]]]
FPSAnimator.start() START: Task[thread null, stopped false, paused false shouldRun false, shouldStop false -- started false, animating false, paused false, drawable 1, drawablesEmpty false], Thread[AWT-EventQueue-0,6,main]: com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)]
finishLifecycleAction(com.jogamp.opengl.util.FPSAnimator$1): OK false- pollPeriod 32, blocking false, waited 0/1000 - AWT-EventQueue-0
- com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at com.jogamp.opengl.util.AnimatorBase.finishLifecycleAction(AnimatorBase.java:552)
at com.jogamp.opengl.util.FPSAnimator.start(FPSAnimator.java:244)
at Atlas.map.AnimatorManager.StartAnimators(AnimatorManager.java:134)
at ARL_GUI.Map_GUI.MapWindowPanel$2.windowOpened(MapWindowPanel.java:372)
at java.awt.AWTEventMulticaster.windowOpened(Unknown Source)
at java.awt.AWTEventMulticaster.windowOpened(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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)
FPSAnimator.start() END: Task[thread null, stopped false, paused false shouldRun true, shouldStop false -- started false, animating false, paused false, drawable 1, drawablesEmpty false], Thread[AWT-EventQueue-0,6,main]: com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)]
FPSAnimator start/resume:Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main]: Task[thread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main], stopped false, paused false shouldRun true, shouldStop false -- started true, animating false, paused false, drawable 1, drawablesEmpty false]
AnimatorBase.setExclusiveContextImpl exlusive false: Enable false for com.jogamp.opengl.util.FPSAnimator[started true, animating true, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main], exclCtxThread false(null)] - Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main]
GLDrawableHelper.setExclusiveContextThread(): START switch nop, thread null -> null -- currentThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main]
GLDrawableHelper.setExclusiveContextThread(): END switch nop, thread null -- currentThread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main]
FPSAnimator P1:Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main]: Task[thread Thread[AWT-EventQueue-0-FPSAWTAnimator-Timer3,6,main], stopped false, paused false shouldRun true, shouldStop false -- started true, animating true, paused false, drawable 1, drawablesEmpty false]
JOGL-GLWorkerThread-: createImpl: START GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], share 0x10002
JOGL-GLWorkerThread-: createContextARB: mappedVersionsAvailableSet(decon): true
JOGL-GLWorkerThread-: createContextARB: Requested 4.0 (Core profile, hardware)
JOGL-GLWorkerThread-: createContextARB: Mapped 4.4 (Compat profile, arb, ES2 compat, ES3 compat, FBO, hardware)
JOGL-GLWorkerThread-: Initializing WGL extension address table: WGL-.windows_decon_0
JOGL-GLWorkerThread-: GLContext WGL ProcAddressTable reusing key(WGL-.windows_decon_0) -> 0x666f258a
JOGL-GLWorkerThread- - WindowWGLContext.createContextARBImpl: 4.4 (Compat profile, arb, ES2 compat, ES3 compat, FBO, hardware) - @creation, handle 0xffffffffa3010a85, share 0x10002, direct true, wglCreateContextAttribsARB: 0x585bb0f0
JOGL-GLWorkerThread-: createContextARBImpl: NO 4.4 (Compat profile, arb, ES2 compat, ES3 compat, FBO, hardware) - @creation
Info: setGL (OpenGL null): JOGL-GLWorkerThread-, <null> -> GL4bcImpl, jogamp.opengl.gl4.GL4bcImpl@208a2053
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at jogamp.opengl.GLContextImpl.setGL(GLContextImpl.java:286)
at jogamp.opengl.GLContextImpl.setGLFunctionAvailability(GLContextImpl.java:1375)
at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLContext.java:317)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:662)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:561)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:518)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1105)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
at jogamp.opengl.GLWorkerThread$WorkerRunnable.run(GLWorkerThread.java:258)
at java.lang.Thread.run(Unknown Source)
JOGL-GLWorkerThread-: Initializing WGL extension address table: WGL-.windows_decon_0
JOGL-GLWorkerThread-: GLContext WGL ProcAddressTable reusing key(WGL-.windows_decon_0) -> 0x666f258a
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail: Given WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]] - 0.0 (Compat profile, hardware) - 1.1.0, Number(Str) 1.1.0
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail: Pre version verification - expected 0.0 (Compat profile, hardware), strictMatch false, glVersionsMapping false
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail: Version verification (Int): String 1.1.0, Number(Int) 0.0.0
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail: Version verification (String): String 1.1.0, Number(Str) 1.1.0
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail: Post version verification req 0.0 (Compat profile, hardware) -> has 1.1 (Compat profile, hardware), strictMatch false, versionValidated true, versionGL3IntOK false
Quirk: NoDoubleBufferedBitmap: cause: OS WINDOWS
Quirks local.0: [NoDoubleBufferedBitmap]
Quirks local.X: [NoDoubleBufferedBitmap]
Quirks sticky on WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]]: []
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail.0 validated FQN: .windows_decon_0-0x1010002 - 1.1 (Compat profile, hardware) - 1.1.0
JOGL-GLWorkerThread-: GLContext GL ProcAddressTable mapping key(.windows_decon_0-0x1010002) -> 0x5e4550e1
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: Pre-caching init jogamp.opengl.gl4.GL4bcImpl@208a2053, OpenGL 1.1 (Compat profile, hardware) - 1.1.0
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: Pre-caching extension availability OpenGL 1.1 (Compat profile, hardware) - 1.1.0, use glGetString
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: GL_EXTENSIONS: 3, used glGetString
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: GLX_EXTENSIONS: 0
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: GL vendor: Microsoft Corporation
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: ALL EXTENSIONS: 3
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: Added GL_VERSION_1_1 to known extensions
JOGL-GLWorkerThread-:ExtensionAvailabilityCache: Added GL_VERSION_1_0 to known extensions
JOGL-GLWorkerThread-: GLContext GL ExtensionAvailabilityCache mapping key(.windows_decon_0-0x1010002) -> 0x18c11421 - entries: 6
JOGL-GLWorkerThread-: GLContext.setGLFuncAvail.X: OK .windows_decon_0-0x1010002 - 1.1 (Compat profile, hardware) - glErr 0x500
JOGL-GLWorkerThread-: GLContext.ContextSwitch[makeCurrent.1]: Context lock.unlock() due to error, res CONTEXT_NOT_CURRENT, <2c108f39, 732afdc8>[count 1, qsz 0, owner <JOGL-GLWorkerThread->]
Exception in thread "AWT-EventQueue-0-FPSAWTAnimator-Timer3" javax.media.opengl.GLException: javax.media.opengl.GLException: JOGL-GLWorkerThread-: WindowsWGLContex.createContextImpl ctx !ARB, profile > GL2 requested (OpenGL >= 3.0.1). Requested: GLProfile[GL4bc/GL4bc.hw], current: 1.1 (Compat profile, hardware) - 1.1.0
at jogamp.opengl.ThreadingImpl.invokeOnWorkerThread(ThreadingImpl.java:225)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:108)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:75)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:416)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:172)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: JOGL-GLWorkerThread-: WindowsWGLContex.createContextImpl ctx !ARB, profile > GL2 requested (OpenGL >= 3.0.1). Requested: GLProfile[GL4bc/GL4bc.hw], current: 1.1 (Compat profile, hardware) - 1.1.0
at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLContext.java:366)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:662)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:561)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:518)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1105)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
at jogamp.opengl.GLWorkerThread$WorkerRunnable.run(GLWorkerThread.java:258)
at java.lang.Thread.run(Unknown Source)