Problems at start in ubuntu 24.04.2

15 views (last 30 days)
Carlos Garcia Gomez
Carlos Garcia Gomez on 17 Feb 2025
Edited: Walter Roberson on 12 Mar 2025
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
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...

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 17 Feb 2025
Edited: Star Strider on 19 Feb 2025
According to MATLAB and Simulink Requirements 24.04 is supported.
It would be best for you to Contact Support for installation problems.
Please post back here with the solutions MathWorks provides.
In the interim, this Tom’s Hardware post (that I first read a couple days ago) may be relevant.

Categories

Find more on Signal Processing in Help Center and File Exchange

Tags

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!