kephale / skyview

Python interface for SciView
MIT License
1 stars 1 forks source link

Error when running viewer #4

Open davidackerman opened 5 years ago

davidackerman commented 5 years ago

In python, running: import skyview as sv sv.Viewer()

results in the following error after some time (Note: a similar error occurs when runing examples/skyviewapi.py): Exception in thread "SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0" com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Error making context 0x7fc654022d98 current on Thread SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0 with display 0x7fc654015380, drawableWrite 0x5400002, drawableRead 0x5400002 - X11GLXContext [Version 4.5 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.5.0 NVIDIA 430.50 [GL 4.5.0, vendor 430.50.0 (NVIDIA 430.50)], options 0x7c05, this 0x1f4407ae, handle 0x7fc654022d98, isShared false, jogamp.opengl.gl4.GL4bcImpl@1230f54e, quirks: [NoSurfacelessCtx], Drawable: X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@1836f70d, Handle 0x5400002, Surface jogamp.newt.driver.x11.WindowDriver[State [visible, child, ], NEWT-Screen[.x11:1-1-s0, idx 0, refCount 1, vsize [ 0 / 0 7680 x 2160 ] [pixels], [ 0 / 0 7680 x 2160 ] [window], X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc654001bb0, owner true, ResourceToolkitLock[obj 0x722aff95, isOwner false, <4878af14, 7973af89>[count 0, qsz 0, owner ]]], idx 0], NEWT-Display[.x11_:1-1, excl false, refCount 1, hasEDT true, edtRunning true, X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc654001bb0, owner true, ResourceToolkitLock[obj 0x722aff95, isOwner false, <4878af14, 7973af89>[count 0, qsz 0, owner ]]]], monitors: [Monitor[Id 0x1bb [primary], 597 x 336 mm, pixelScale [1.0, 1.0], viewport [ 0 / 0 3840 x 2160 ] [pixels], [ 0 / 0 3840 x 2160 ] [window], orig [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], curr [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], modeChanged false, modeCount 104], Monitor[Id 0x1ba [], 597 x 336 mm, pixelScale [1.0, 1.0], viewport [ 3840 / 0 3840 x 2160 ] [pixels], [ 3840 / 0 3840 x 2160 ] [window], orig [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], curr [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], modeChanged false, modeCount 104]]], window[0/0 852x1124 wu, 852x1124 pixel], Config X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc654015380, owner true, ResourceToolkitLock[obj 0x56d2a135, isOwner true, <73a13a2d, 7eac3b42>[count 1, qsz 0, owner <SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0>]]], idx 0], visualID 0x27, fbConfigID 0xad, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]], ParentWindow JAWTWindow[0x1ac7dcf9][JVM version: 1.8.0_192 (1.8.0 update 192) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer true, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x420006c, surfaceHandle 0x420006c, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 852x1124], pixels[scale 1.0, 1.0 -> 852x1124], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x27], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc688501700, owner true, JAWTToolkitLock[obj 0x595f0d9d, isOwner false, <235524c9, 3c3c7dca>[count 0, qsz 0, owner ]]], idx 0], visualID 0x27, fbConfigID 0xad, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]]], awtComponent com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,0,852x1124], surfaceLock <18384ea0, 39aa9bdf>[count 0, qsz 0, owner ]], ParentWindowHandle 0x420006c (true), WindowHandle 0x5400002, SurfaceHandle 0x5400002 (lockedExt window false, surface false), WrappedSurface null, ChildWindows 0, SurfaceUpdatedListeners num 1 [JAWTWindow[0x1ac7dcf9][JVM version: 1.8.0_192 (1.8.0 update 192) JAWT version: 0x10004, CALAYER: false, isLayeredSurface false, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer true, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x420006c, surfaceHandle 0x420006c, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 852x1124], pixels[scale 1.0, 1.0 -> 852x1124], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x27], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc688501700, owner true, JAWTToolkitLock[obj 0x595f0d9d, isOwner false, <235524c9, 3c3c7dca>[count 0, qsz 0, owner ]]], idx 0], visualID 0x27, fbConfigID 0xad, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]]], awtComponent com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,0,852x1124], surfaceLock <18384ea0, 39aa9bdf>[count 0, qsz 0, owner ]], ], WindowListeners num 2 [com.jogamp.newt.opengl.GLWindow$2@3353934f, com.jogamp.newt.awt.NewtCanvasAWT$4@6c5e6ac2, ], MouseListeners num 1 [graphics.scenery.controls.JOGLMouseAndKeyHandler@36c974a7, ], PointerGestures default true, custom 0 [], KeyListeners num 1 [graphics.scenery.controls.JOGLMouseAndKeyHandler@36c974a7, ], windowLock <5b5065c2, 74365c0c>[count 2, qsz 0, owner <SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0>], surfaceLockCount 1]], direct true] at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:92) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: com.jogamp.opengl.GLException: Error making context 0x7fc654022d98 current on Thread SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0 with display 0x7fc654015380, drawableWrite 0x5400002, drawableRead 0x5400002 - X11GLXContext [Version 4.5 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.5.0 NVIDIA 430.50 [GL 4.5.0, vendor 430.50.0 (NVIDIA 430.50)], options 0x7c05, this 0x1f4407ae, handle 0x7fc654022d98, isShared false, jogamp.opengl.gl4.GL4bcImpl@1230f54e, quirks: [NoSurfacelessCtx], Drawable: X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@1836f70d, Handle 0x5400002, Surface jogamp.newt.driver.x11.WindowDriver[State [visible, child, ], NEWT-Screen[.x11:1-1-s0, idx 0, refCount 1, vsize [ 0 / 0 7680 x 2160 ] [pixels], [ 0 / 0 7680 x 2160 ] [window], X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc654001bb0, owner true, ResourceToolkitLock[obj 0x722aff95, isOwner false, <4878af14, 7973af89>[count 0, qsz 0, owner ]]], idx 0], NEWT-Display[.x11_:1-1, excl false, refCount 1, hasEDT true, edtRunning true, X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc654001bb0, owner true, ResourceToolkitLock[obj 0x722aff95, isOwner false, <4878af14, 7973af89>[count 0, qsz 0, owner ]]]], monitors: [Monitor[Id 0x1bb [primary], 597 x 336 mm, pixelScale [1.0, 1.0], viewport [ 0 / 0 3840 x 2160 ] [pixels], [ 0 / 0 3840 x 2160 ] [window], orig [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], curr [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], modeChanged false, modeCount 104], Monitor[Id 0x1ba [], 597 x 336 mm, pixelScale [1.0, 1.0], viewport [ 3840 / 0 3840 x 2160 ] [pixels], [ 3840 / 0 3840 x 2160 ] [window], orig [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], curr [Id 0x1c2, [ 3840 x 2160 pixels x 32 bpp ] @ 59.99 Hz, flags [], 0 degr], modeChanged false, modeCount 104]]], window[0/0 852x1124 wu, 852x1124 pixel], Config X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc654015380, owner true, ResourceToolkitLock[obj 0x56d2a135, isOwner true, <73a13a2d, 7eac3b42>[count 1, qsz 0, owner <SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0>]]], idx 0], visualID 0x27, fbConfigID 0xad, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]], ParentWindow JAWTWindow[0x1ac7dcf9][JVM version: 1.8.0_192 (1.8.0 update 192) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer true, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x420006c, surfaceHandle 0x420006c, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 852x1124], pixels[scale 1.0, 1.0 -> 852x1124], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x27], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc688501700, owner true, JAWTToolkitLock[obj 0x595f0d9d, isOwner false, <235524c9, 3c3c7dca>[count 0, qsz 0, owner ]]], idx 0], visualID 0x27, fbConfigID 0xad, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]]], awtComponent com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,0,852x1124], surfaceLock <18384ea0, 39aa9bdf>[count 0, qsz 0, owner ]], ParentWindowHandle 0x420006c (true), WindowHandle 0x5400002, SurfaceHandle 0x5400002 (lockedExt window false, surface false), WrappedSurface null, ChildWindows 0, SurfaceUpdatedListeners num 1 [JAWTWindow[0x1ac7dcf9][JVM version: 1.8.0_192 (1.8.0 update 192) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer true, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x420006c, surfaceHandle 0x420006c, bounds [ 0 / 0 852 x 669 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 852x1124], pixels[scale 1.0, 1.0 -> 852x1124], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x27], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fc688501700, owner true, JAWTToolkitLock[obj 0x595f0d9d, isOwner false, <235524c9, 3c3c7dca>[count 0, qsz 0, owner ]]], idx 0], visualID 0x27, fbConfigID 0xad, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]], chosen GLCaps[glx vid 0x27, fbc 0xad: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]]], awtComponent com.jogamp.newt.awt.NewtCanvasAWT[canvas1,0,0,852x1124], surfaceLock <18384ea0, 39aa9bdf>[count 0, qsz 0, owner ]], ], WindowListeners num 2 [com.jogamp.newt.opengl.GLWindow$2@3353934f, com.jogamp.newt.awt.NewtCanvasAWT$4@6c5e6ac2, ], MouseListeners num 1 [graphics.scenery.controls.JOGLMouseAndKeyHandler@36c974a7, ], PointerGestures default true, custom 0 [], KeyListeners num 1 [graphics.scenery.controls.JOGLMouseAndKeyHandler@36c974a7, ], windowLock <5b5065c2, 74365c0c>[count 2, qsz 0, owner <SciJava-6cc6c09f-Thread-1-FPSAWTAnimator#00-Timer0>], surfaceLockCount 1]], direct true] at jogamp.opengl.x11.glx.X11GLXContext.makeCurrentImpl(X11GLXContext.java:474) at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:840) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1279) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) ... 4 more

davidackerman commented 5 years ago

Issue persists as of commit d0600d19aeef2529802d5a4cee2a534f98b98486