You are not logged in.
Hello,
originally I planned to install Matlab 2025a but that thing is broken beyond my understanding. So I decided to settle with the 2024b version. While it is possible for me to install it and sign in, immediately after starting the application, I get:
MATLAB is selecting SOFTWARE rendering.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
QFont::fromString: Invalid description 'Inter,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium'
QFont::fromString: Invalid description 'SFMono Nerd Font,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium'
QFont::fromString: Invalid description 'Inter,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium'
QFont::fromString: Invalid description 'Inter,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium'
QXcbGlxIntegration::initialize
Xcb GLX gl-integration successfully initialized
--------------------------------------------------------------------------------
Segmentation violation detected at 2025-09-04 15:40:00 +0200
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Desktop Environment : KDE
GNU C Library : 2.42 stable
Graphics Driver : Uninitialized software
Graphics card 1 : 0x1002 ( 0x1002 ) 0x15bf Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 5706909
MATLAB Root : /home/samo/Downloads/Programs/matlab
MATLAB Version : 24.2.0.2923080 (R2024b) Update 6
OpenGL : software
Operating System : Linux 6.15.11-hardened1-1-hardened #1 SMP PREEMPT_DYNAMIC Mon, 25 Aug 2025 21:30:25 +0000 x86_64
Process ID : 3582
Processor ID : x86 Family 25 Model 116 Stepping 1, AuthenticAMD
Session Key : 6ead28bb-3b5d-4977-aab5-b4c53aab84c5
Window System : The X.Org Foundation (12401008), display :1
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 110261188945600
Register State (from fault):
RAX = 0000000000000000 RBX = 0000000000000000
RCX = 00006447a00008e0 RDX = 0000000000000012
RSP = 000064482eff9740 RBP = 00000000444d4163
RSI = 0000000000000000 RDI = 00006447a0ac8370
R8 = 00006447a0000030 R9 = 0000000000000028
R10 = 0000000000000004 R11 = ffffffffffffff10
R12 = 0000000000000000 R13 = 00006447a0916c30
R14 = 0000000000000000 R15 = 0000000000000001
RIP = 00006448ca431c38 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00006448ca431c38 /home/samo/Downloads/Programs/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02300984 Ox3204a7d97fd297a1+00000552
[ 1] 0x00006448ca432977 /home/samo/Downloads/Programs/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02304375 lc_init+00000055
[ 2] 0x00006446eb0646a8 /usr/lib/libgnutls.so.30+00411304
[ 3] 0x00006446eb0264ef /usr/lib/libgnutls.so.30+00156911
[ 4] 0x0000644952dcf2a7 /lib64/ld-linux-x86-64.so.2+00025255
[ 5] 0x0000644952dcf37d /lib64/ld-linux-x86-64.so.2+00025469
[ 6] 0x0000644952dcb4f5 /lib64/ld-linux-x86-64.so.2+00009461 _dl_catch_exception+00000325
[ 7] 0x0000644952dd62a9 /lib64/ld-linux-x86-64.so.2+00053929
[ 8] 0x0000644952dcb456 /lib64/ld-linux-x86-64.so.2+00009302 _dl_catch_exception+00000166
[ 9] 0x0000644952dd675a /lib64/ld-linux-x86-64.so.2+00055130
[ 10] 0x0000644951092d04 /usr/lib/libc.so.6+00601348
[ 11] 0x0000644952dcb456 /lib64/ld-linux-x86-64.so.2+00009302 _dl_catch_exception+00000166
[ 12] 0x0000644952dcb5a9 /lib64/ld-linux-x86-64.so.2+00009641
[ 13] 0x00006449510927f3 /usr/lib/libc.so.6+00600051
[ 14] 0x0000644951092dbb /usr/lib/libc.so.6+00601531 dlopen+00000107
[ 15] 0x00006448cb10e9e1 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09497057
[ 16] 0x00006448caefc539 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07324985 JVM_LoadLibrary+00000153
[ 17] 0x000064484f80e380 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/libjava.so+00058240 Java_java_lang_ClassLoader_00024NativeLibrary_load+00000416
[ 18] 0x000064484041928e <unknown-module>+00000000
[ 19] 0x00006448404082dd <unknown-module>+00000000
[ 20] 0x0000644840407ab0 <unknown-module>+00000000
[ 21] 0x00006448404082dd <unknown-module>+00000000
[ 22] 0x00006448404082dd <unknown-module>+00000000
[ 23] 0x00006448404082dd <unknown-module>+00000000
[ 24] 0x00006448404082dd <unknown-module>+00000000
[ 25] 0x0000644840408060 <unknown-module>+00000000
[ 26] 0x0000644840408060 <unknown-module>+00000000
[ 27] 0x00006448404082dd <unknown-module>+00000000
[ 28] 0x00006448404082dd <unknown-module>+00000000
[ 29] 0x00006448404082dd <unknown-module>+00000000
[ 30] 0x00006448404082dd <unknown-module>+00000000
[ 31] 0x00006448404082dd <unknown-module>+00000000
[ 32] 0x0000644840408134 <unknown-module>+00000000
[ 33] 0x0000644840408060 <unknown-module>+00000000
[ 34] 0x0000644840408060 <unknown-module>+00000000
[ 35] 0x0000644840408060 <unknown-module>+00000000
[ 36] 0x0000644840408060 <unknown-module>+00000000
[ 37] 0x0000644840408060 <unknown-module>+00000000
[ 38] 0x00006448404082dd <unknown-module>+00000000
[ 39] 0x00006448417a0494 <unknown-module>+00000000
[ 40] 0x00006448cae8839b /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 41] 0x00006448caf005e4 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07341540 JVM_DoPrivileged+00001268
[ 42] 0x000064484098b06c <unknown-module>+00000000
[ 43] 0x0000644841586cc4 <unknown-module>+00000000
[ 44] 0x00006448404082dd <unknown-module>+00000000
[ 45] 0x00006448404082dd <unknown-module>+00000000
[ 46] 0x00006448404082dd <unknown-module>+00000000
[ 47] 0x00006448404082dd <unknown-module>+00000000
[ 48] 0x00006448404007cb <unknown-module>+00000000
[ 49] 0x00006448cae8839b /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 50] 0x00006448cae85c63 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06839395
[ 51] 0x00006448cae86227 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06840871
[ 52] 0x00006448caef239c /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07283612
[ 53] 0x00006448cb27b9eb /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10992107
[ 54] 0x00006448cb27bcf1 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10992881
[ 55] 0x00006448cb10d8c2 /home/samo/Downloads/Programs/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09492674
[ 56] 0x00006449510969cb /usr/lib/libc.so.6+00616907
[ 57] 0x000064495111aa0c /usr/lib/libc.so.6+01157644
** This crash report has been saved to disk as /home/samo/matlab_crash_dump.3582-1 **
MATLAB is exiting because of fatal error
[1] 3582 killed ./matlabI have tried running execstack and patchelf to fix my installation but nothing helped.
Has anyone here have a working installation or can give me tricks how to get this up and running.
Thanks
Last edited by othersamo_ (2025-09-06 16:35:45)
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
Offline
This unfortunately does not work. I followed these steps:
# MATLABPATH=/opt/tmw/matlab-r2024b/bin/glnxa64/
# GNUTLSPATH=/tmp/gnutls-3.8.9-1-x86_64.pkg
# wget https://archive.archlinux.org/packages/g/gnutls/gnutls-3.8.9-1-x86_64.pkg.tar.zst
# mkdir -p "${GNUTLSPATH}"
# tar -xvf gnutls-3.8.9-1-x86_64.pkg.tar.zst -C ${GNUTLSPATH}
# mkdir "${MATLABPATH}"/gnutls
# cp -a "${GNUTLSPATH}"/usr/lib/* "${MATLABPATH}"/gnutls/
# cd "${MATLABPATH}"
# ln -s gnutls/* ./It actually bricked my installation for good. Now I get: Unable to communicate with required MathWorks services (error 5201).
I am obtaining the matlab via mpm. Isn't that a somewhat broken way of doing it?
Last edited by othersamo_ (2025-09-04 14:13:26)
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
Idk whether that's broken way of doing it, but you can probably not just copypaste random scripts somebody made for themselves.
Is your matlab installed in /opt/tmw/matlab-r2024b tbw?
You OP says /home/samo/Downloads/Programs/matlab ?
Offline
I have appropriately adjusted the paths mentioned in the solution. Matlab is installed in my Donwloads/Programs directory
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
ls -l /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutlsAnd then psot the actual output when trying to run matlab now, but it would seem that you actually are using the older gnutls and now run into https://bbs.archlinux.org/viewtopic.php … 4#p2225024
Offline
Without any modifications to my matlab install, I am getting this after starting matlab:
MATLAB is selecting SOFTWARE rendering.
Unable to communicate with required MathWorks services (error 5201).
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/5201Tried basics such as different kernels, no firewall but did not help. Result of your command is:
no such file or directory: /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutlsWhen I add the gnutls myself, the result is still the same when starting matlab and the result of your command is:
drwxr-xr-x 4.0 KiB samo samo Feb 08 18:19 pkgconfig
-rwxr-xr-x 25.9 KiB samo samo Feb 08 18:19 libgnutls-openssl.so.27.0.2
-rwxr-xr-x 2.0 MiB samo samo Feb 08 18:19 libgnutls.so.30.40.3
-rwxr-xr-x 66.0 KiB samo samo Feb 08 18:19 libgnutlsxx.so.30.0.0
lrwxrwxrwx 27 B samo samo Feb 08 18:19 libgnutls-openssl.so => /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutls/libgnutls-openssl.so.27.0.2
lrwxrwxrwx 27 B samo samo Feb 08 18:19 libgnutls-openssl.so.27 => /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutls/libgnutls-openssl.so.27.0.2
lrwxrwxrwx 20 B samo samo Feb 08 18:19 libgnutls.so => /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutls/libgnutls.so.30.40.3
lrwxrwxrwx 20 B samo samo Feb 08 18:19 libgnutls.so.30 => /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutls/libgnutls.so.30.40.3
lrwxrwxrwx 21 B samo samo Feb 08 18:19 libgnutlsxx.so => /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutls/libgnutlsxx.so.30.0.0
lrwxrwxrwx 21 B samo samo Feb 08 18:19 libgnutlsxx.so.30 => /home/samo/Downloads/Programs/matlab/bin/glnxa64/gnutls/libgnutlsxx.so.30.0.0"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
error 5201 is related to libmwlmgrimpl.so is related to license verification which fails (in general and your OP) if TLS doesn't work.
What do you get instead after adding the older gnutls objects and have you tried to extend the LD_LIBRARY_PATH or LD_PRELOAD those libraries (see the other thread)
Offline
I have managed to activate it. However, order is extremely crucial:
1) Install matlab
2) Change gnutls
3) activate it and maybe have 1 failed launch, so ~/.MathWorks is created
4) Run patchelf
Tried the same thing on 2025a but didn’t work. Was not even able to start the activation program.
So no idea how to get that thing up and running
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
You might also want to record your experience at https://wiki.archlinux.org/title/MATLAB
Offline