Problems at start in ubuntu 24.04.2
15 views (last 30 days)
Show older comments
I have recently installed MATLAB 2024b in an Ubuntu 24.04.2 system. When starting MATLAB I obtain the following errors:
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x5ba0b5eb, isOwner false, <547a2415, 132f6fd1>[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:748)
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
moreover I have also the error message
Failed to load module "canberra-gtk-module"
despite I have installed all the canberra modules...
Do you have any Ideas of what is going on?
Thanks,
Carlos
1 Comment
Andrew
on 12 Mar 2025
I'm also experiencing this on Debian 12 when trying to use Intel integrated graphics, so presumably there is an incompatibility we have in common...
Answers (1)
Star Strider
on 17 Feb 2025
Edited: Star Strider
on 19 Feb 2025
Please post back here with the solutions MathWorks provides.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!