MATLAB Answers

Problems with graphics card

5 views (last 30 days)
José Luis Martín Robles
José Luis Martín Robles on 23 Oct 2019
Commented: Bruno Luong on 15 Jan 2021
So just installed MATLAB with my students license on linux mint 18.3.
And when i boot up the program i get this output on matlab's console.
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x6c0490a8, isOwner false, <3ccc34ab, 372227ee>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(
at jogamp.opengl.GLContextImpl.makeCurrent(
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(
... 2 more
Exception in thread "Startup Class Loader": java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(
at com.jogamp.opengl.GLProfile.initProfilesForDevice(
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(
at com.jogamp.opengl.GLProfile.access$000(
at com.jogamp.opengl.GLProfile$
at Method)
at com.jogamp.opengl.GLProfile.initSingleton(
at com.mathworks.hg.peer.JOGLInitializer.initializeJOGL(
at com.mathworks.hg.peer.JOGLInitializer.<clinit>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.mathworks.mde.desk.StartupClassLoader.loadClass(
at com.mathworks.mde.desk.StartupClassLoader.access$1000(
at com.mathworks.mde.desk.StartupClassLoader$
So i can infer its having issues with my graphics card, my drivers are up to date so i don't really know what may be the source of the problem.
Code seems to be working just fine, but plotting gives no outcome and another error.
My graphics card is an integrated AMD APU.
AMD A6-7310 APU with AMD Radeon R4
I've also ran matlab on a windows partition on the same computer and i had no issues there.


Sign in to comment.

Answers (1)

Debarghya Kundu
Debarghya Kundu on 15 Jan 2021
Several users have reported this issue with their graphics card, and they were able to resolve it by updating their drivers from the following page:
If updating your graphics drivers does not help to prevent additional crashes, please contact Technical Support:

  1 Comment

Bruno Luong
Bruno Luong on 15 Jan 2021
Note that OP wrote " my drivers are up to date"

Sign in to comment.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!