Fatal error starting Matlab 1. time in Ubuntu 25.04

20 vues (au cours des 30 derniers jours)
Pål Larsson
Pål Larsson le 29 Août 2025
Commenté : Star Strider le 31 Août 2025
Starting Matlab in CLI on an Ubuntu 25.04 with 16 Gb of RAM I get this:
MATLAB is selecting SOFTWARE OPENGL rendering.
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
library initialization failed - unable to allocate file descriptor table - out of memory
MATLAB is exiting because of fatal error.
I have installed to /home/pgl/matlab as a user (not su).
What is the issue?
Best
Pål

Réponses (1)

Star Strider
Star Strider le 29 Août 2025
From the Platform Roadmap documentation, R2023a only supports Ubuntu 22.04 LTS. The 25.04 release is not listed for any MATLAB version.
To resolve this definitively, Contact Support. It would be appropriate to iinclude the URL of this thread in your help request message.
  2 commentaires
Pål Larsson
Pål Larsson le 31 Août 2025
Thank you for your reply
With the help of Gemini, I came around the issue. There are two parts:
More open files needed: uname -n 4096
Avoid the i965 Opengl driver.
I made a batch to include these lines, and now it works. Are the any plans to put this into the software? Are there better solutions?
Best
Pål
Star Strider
Star Strider le 31 Août 2025
My pleasure!
'Are the any plans to put this into the software? Are there better solutions?'
Ask MathWorks about that.
The opengl function has been deprecated (although it still should work in R2023a), and something called WebGL is now used in its place. Beginning with R2022a, the opengl documentation notes: The opengl function runs without warning, but the Code Analyzer indicates that opengl will be removed in a future release. I previously had problems with WebGL (Ubuntu 24.04), however Ubuntu updates corrected that.
.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by