https://forum.jogamp.org/any-one-is-using-two-screens-tp4031872p4031880.html
..
..
> When I window.setPosition(100, 100) to first monitor, everything works perfectly.
> However, when I window.setPosition(2048, 100) to second monitor, error message:
...
This is odd .. maybe your driver does not provide OpenGL
on that big-desktop screen, which would be something new I guess ..
Please file a bug report .. just to be sure,
however .. I guess it's a driver bug.
just create a new one. This case is quite simple.
> javax.media.opengl.GLException: Error making context 0x20000 current on Thread
> main-FPSAWTAnimator-Timer0, drawableWrite 0xffffffffe8011842, drawableRead
> 0xffffffffe8011842, werr: 0, WindowsWGLContext [Version 4.2 (Compat profile,
> arb, ES2 compat, FBO, hardware) - 4.2.11631 Compatibility Profile Context [GL
> 4.2.0, vendor 0.0.0 (n/a)], options 0x1403, this 0x3bf486, handle 0x20000,
> isShared false, jogamp.opengl.gl4.GL4bcImpl@afd218,
> quirks: [NoDoubleBufferedBitmap, NeedCurrCtx4ARBCreateContext],
> Drawable: WindowsOnscreenWGLDrawable[Realized true,
> Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@10a280f,
> Handle 0xffffffffe8011842,
> Surface jogamp.newt.driver.windows.WindowDriver[Config
> 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 0x2 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[.]]]
> , NEWT-Screen[.windows_nil-1-s0, idx 0, refCount 1, vsize [ 0 / 0 3200 x 1080
> ], DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection
> decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0],
> NEWT-Display[.windows_nil-1, excl false, refCount 1, hasEDT true, edtRunning
> true, WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle
> 0x0, owner false, NullToolkitLock[]]], monitors: [Monitor[Id 0x0, 677 x 381
> mm, viewport [ 0 / 0 1920 x 1080 ], orig [Id 0x0, [ 1920 x 1080 x 32 bpp ] @
> 60.0 Hz, flags [], 0 degr], curr [Id 0x0, [ 1920 x 1080 x 32 bpp ] @ 60.0 Hz,
> flags [], 0 degr], modeChanged false, modeCount 368], Monitor[Id 0x1, 452 x
> 361 mm, viewport [ 1920 / 0 1280 x 1024 ], orig [Id 0x0, [ 1280 x 1024 x 32
> bpp ] @ 60.0 Hz, flags [], 0 degr], curr [Id 0x0, [ 1280 x 1024 x 32 bpp ] @
> 60.0 Hz, flags [], 0 degr], modeChanged false, modeCount 248]]]
> , ParentWindow null
> , ParentWindowHandle 0x0 (false)
> , WindowHandle 0xc1836
> , SurfaceHandle 0xffffffffe8011842 (lockedExt window false, surface false)
> , Pos 2048/100 (auto false), size 640x480
> , Visible true, focus false
> , Undecorated false (false)
> , AlwaysOnTop false, Fullscreen false
> , WrappedSurface null
> , ChildWindows 0, SurfaceUpdatedListeners num 0 [], WindowListeners num 2
> [com.jogamp.newt.opengl.GLWindow$2@1cc0af6, jogl.test.JOGL2NewtDemo$1@e3cd9c,
> ], MouseListeners num 0 [], PointerGestures default true, custom 0 [],
> KeyListeners num 0 [], windowLock <1cfe433, 18f11d3>[count 2, qsz 0, owner
> <main-FPSAWTAnimator-Timer0>], surfaceLockCount 1]]]
> at
> jogamp.opengl.windows.wgl.WindowsWGLContext.makeCurrentImpl(WindowsWGLContext.java:410)
>
> at
> jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:718)
> at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:562)
> at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:519)
> at
> jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1089)
> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
> at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:600)