Exception while creating context on ATI

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception while creating context on ATI

eban
Hi,

We have an issue with a particular Graphic Card, our code works fine on any other workstation we have tested so far.
Would you have any clue of what's going wrong here ?

This happens on :
AMD Radeon HD 6670 (driver 8.960.11.1000)
Windows 7 64bits

Using jogl 2.1.3.

javax.media.opengl.GLException: Error making context 0x10002 current on Thread AWT-EventQueue-0, drawableWrite 0xffffffffb40117cc, drawableRead 0xffffffffb40117cc, werr: 0, WindowsWGLContext [Version 4.2 (Compat profile, arb, ES2 compat, FBO, hardware) - 4.2.11627 Compatibility Profile Context [GL 4.2.0, vendor 0.0.0 (n/a)], options 0x1403, this 0x3a400ef, handle 0x10002, isShared true, jogamp.opengl.gl4.GL4bcImpl@73fc286,
         quirks: [NoDoubleBufferedBitmap, NeedCurrCtx4ARBCreateContext],
        Drawable: WindowsOnscreenWGLDrawable[Realized true,
        Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@6afbef21,
        Handle    0xffffffffb40117cc,
        Surface   JAWT-Window[JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0  584 x 531 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x407b0, surfaceHandle 0xffffffffb40117cc, bounds [ 0 / 0  584 x 531 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pos 0/0, size 584x531, 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 0x5 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        requested GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/24/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        sun.awt.Win32GraphicsConfig@2224753c[dev=Win32GraphicsDevice[screen=0],pixfmt=5],
        encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 5, ARB-Choosen true,
        requested GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/24/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 0x5 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, 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@6afbef21,
        handle    0xffffffffb40117cc,
        Drawable size 584x531,
        AWT pos 0/0, size 584x531,
        visible true, displayable true,
        AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0],
        chosen    GLCaps[wgl vid 0x5 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        requested GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/24/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        sun.awt.Win32GraphicsConfig@2224753c[dev=Win32GraphicsDevice[screen=0],pixfmt=5],
        encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], idx 0], pfdID 5, ARB-Choosen true,
        requested GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/24/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 0x5 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]]],
        surfaceLock <42109666, 4f02246c>[count 1, qsz 0, owner <AWT-EventQueue-0>]]]]
        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 javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
        at javax.media.opengl.Threading.invoke(Threading.java:193)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
Reply | Threaded
Open this post in threaded view
|

Re: Exception while creating context on ATI

gouessej
Administrator
Hi

Please try again with JOGL 2.1.4 and provide the full logs.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Exception while creating context on ATI

eban
Sure I'm going to test that asap.
By full log you mean run the test.bat script or enable -Djogl.debug?
Reply | Threaded
Open this post in threaded view
|

Re: Exception while creating context on ATI

eban
Just to let you know that using JOGL 2.1.4 fixed the issue.

Thanks for the help
Reply | Threaded
Open this post in threaded view
|

Re: Exception while creating context on ATI

gouessej
Administrator
Thank you for the feedback :)
Julien Gouesse | Personal blog | Website