MATLAB is selecting SOFTWARE OPENGL rendering.

Hi I'm running MATLAB R2019b on linux Manjaro KDE. Whenever I start MATLAB on the terminal, the terminal shows the following message. I can still use MATLAB although it shows this message. The thing is I have to keep the terminal open to use MATLAB. Any idea why this happens and is there any solution to try?
MATLAB is selecting SOFTWARE OPENGL rendering.
Gtk-Message: 11:06:27.708: Failed to load module "canberra-gtk-module"
/usr/local/MATLAB/R2019b/bin/glnxa64/jcef_helper: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol:
g_memdup2

Answers (1)

It appears that g_memdup2 is defined in libglib-2.0
I find hints in https://www.reddit.com/r/Lutris/comments/mvvtwx/importerror_usrliblibgirepository10so1_undefined/ that the glib loaded by MATLAB might be conflicting with the system glib. If so then experiment with moving aside the glib that is underneath the MATLAB installation, so it would find the system glib .
No promises -- I have never used manjaro myself.

2 Comments

Thanks a lot. Would you be more specific about Matlab finding the system glib?
I have not used Linux for several years, so I do not know exactly where in the installation directory MATLAB's glib* would be located. However once you locate it and rename it to something that does not end with .so or .so.DIGITS then MATLAB would look for whatever glib is installed for the operating system as a whole.

Sign in to comment.

Categories

Products

Release

R2019b

Tags

Asked:

on 15 Aug 2021

Commented:

on 15 Aug 2021

Community Treasure Hunt

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

Start Hunting!