Skip to content

Instantly share code, notes, and snippets.

@APIUM
Created March 6, 2018 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save APIUM/da6be4a9491cd6a1babc04e7071a4162 to your computer and use it in GitHub Desktop.
Save APIUM/da6be4a9491cd6a1babc04e7071a4162 to your computer and use it in GitHub Desktop.
Matlab Error
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x6f37fa83, isOwner false, <3f72fc6, 609a0a57>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0-SharedResourceRunner: Error making temp context(1) current: display 0x7f40800ebe30, context 0x7f40801d4fc0, drawable X11OnscreenGLXDrawable[Realized true,
Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@13194b59,
Handle 0x2400002,
Surface WrappedSurface[ displayHandle 0x7f40800ebe30
, surfaceHandle 0x2400002
, size 64x64
, UOB[ OWNS_SURFACE | WINDOW_INVISIBLE ]
, X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f40800ebe30, owner true, ResourceToolkitLock[obj 0x29c2fb24, isOwner true, <1be5a23e, 3e4a5cc7>[count 2, qsz 0, owner <AWT-EventQueue-0-SharedResourceRunner>]]], idx 0], visualID 0xf2, fbConfigID 0x9c,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], on-scr[.]],
chosen GLCaps[glx vid 0xf2, fbc 0x9c: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], on-scr[.]]]
, surfaceLock <67d09bd4, 59f547d1>[count 1, qsz 0, owner <AWT-EventQueue-0-SharedResourceRunner>]
, X11DummyUpstreamSurfaceHook[pixel 64x64]
, upstreamSurface false ]]
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:371)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
JavaSceneServerPeer problem: Couldn't create JOGL canvas--using painters
JavaSceneServerPeer problem: Couldn't create JOGL canvas--using painters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment