Borrar filtros
Borrar filtros

Launching Simulink Kills Matlab on Wayland

30 visualizaciones (últimos 30 días)
Pontus Svensson
Pontus Svensson el 6 de Nov. de 2023
Editada: Pontus Svensson el 7 de Nov. de 2023
Hello I have some trouble running simulink on my system. I get the following error while trying to launch simulink.
--------------------------------------------------------------------------------
Assertion detected at 2023-11-06 16:59:40 +0100
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Desktop Environment : Hyprland
GNU C Library : 2.38 stable
Graphics Driver : Uninitialized software
Graphics card 1 : 0x1002 ( 0x1002 ) 0x1638 Version 0.0.0.0 (0-0-0)
Interpreter 0 : Executing request: 6A6D6964697370617463682E637070
Java Version : Java 1.8.0_392-b08 with Oracle Corporation OpenJDK 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 2631289
MATLAB Root : /usr/local/MATLAB/R2023b
MATLAB Version : 23.2.0.2380103 (R2023b) Update 1
OpenGL : software
Operating System : "Arch Linux"
Process ID : 56851
Processor ID : x86 Family 25 Model 80 Stepping 0, AuthenticAMD
Session Key : bfa068ba-1e49-4e14-be71-f1f0b68529a3
Window System : The X.Org Foundation (12302002), display :1
Fault Count: 1
Assertion:
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.
Current Thread: 'QT GuiThread' id 140019227088576
Register State (captured):
RAX = 0000000000000000 RBX = 00007f5b660892c8
RCX = 0000000000000000 RDX = 00007f5b66082eb0
RSP = 00007f58c44ab970 RBP = 00007f58c44abd50
RSI = 00007f5b66069025 RDI = 00007f58c44ab980
R8 = 0000000000000000 R9 = 00007f58c44abc60
R10 = 0000000000000000 R11 = 0000000000000000
R12 = 00007f5b66099348 R13 = 00007f58c44ac210
R14 = 00007f58c44abdb0 R15 = 0000000000000000
RIP = 00007f5b66017d1f EFL = 0000000000000000
CS = 0000 FS = 0000 GS = 0000
Stack Trace (captured):
[ 0] 0x00007f5b66011063 /usr/local/MATLAB/R2023b/bin/glnxa64/libmwfl.so+00319587
[ 1] 0x00007f5b6601125c /usr/local/MATLAB/R2023b/bin/glnxa64/libmwfl.so+00320092 _ZN10foundation4core4diag15stacktrace_base7captureEm+00000028
[ 2] 0x00007f5b660139f8 /usr/local/MATLAB/R2023b/bin/glnxa64/libmwfl.so+00330232
[ 3] 0x00007f5b66014662 /usr/local/MATLAB/R2023b/bin/glnxa64/libmwfl.so+00333410
[ 4] 0x00007f5b660146e7 /usr/local/MATLAB/R2023b/bin/glnxa64/libmwfl.so+00333543
[ 5] 0x00007f593c13f549 /usr/local/MATLAB/R2023b/bin/glnxa64/matlab_startup_plugins/foundation/platform/pf_matlab_integ/../../../../../../bin/glnxa64/libmwpf_internal.so+00374089
[ 6] 0x00007f5a8b4a9c50 /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Core.so.5+00695376
[ 7] 0x00007f5a8b4a9cf5 /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Core.so.5+00695541
[ 8] 0x00007f5a8b49c363 /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Core.so.5+00639843 _ZNK14QMessageLogger5fatalEPKcz+00000159
[ 9] 0x00007f5a8af10fef /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Gui.so.5+01118191 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+00002953
[ 10] 0x00007f5a8af113f3 /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Gui.so.5+01119219 _ZN22QGuiApplicationPrivate21createEventDispatcherEv+00000019
[ 11] 0x00007f5a8b5d21c8 /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Core.so.5+01909192 _ZN23QCoreApplicationPrivate4initEv+00000528
[ 12] 0x00007f5a8af12328 /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Gui.so.5+01123112 _ZN22QGuiApplicationPrivate4initEv+00000032
[ 13] 0x00007f5a8a9760fb /usr/local/MATLAB/R2023b/bin/glnxa64/libQt5Widgets.so.5+01532155 _ZN19QApplicationPrivate4initEv+00000009
[ 14] 0x00007f593c17687d /usr/local/MATLAB/R2023b/bin/glnxa64/matlab_startup_plugins/foundation/platform/pf_matlab_integ/../../../../../../bin/glnxa64/libmwpf_internal.so+00600189 _ZN16PFGuiApplicationC2ERiPPc+00000029
[ 15] 0x00007f593c140a86 /usr/local/MATLAB/R2023b/bin/glnxa64/matlab_startup_plugins/foundation/platform/pf_matlab_integ/../../../../../../bin/glnxa64/libmwpf_internal.so+00379526 _ZN9GuiThread3runEv+00001990
[ 16] 0x00007f5b64f00d10 /usr/local/MATLAB/R2023b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6+00879888
[ 17] 0x00007f5b64cd49eb /usr/lib/libc.so.6+00575979
[ 18] 0x00007f5b64d587cc /usr/lib/libc.so.6+01116108
I have tried with the following settings
QT_DEBUG_PLUGINS=1
MATLAB_OPENGL=software
QT_QPA_PLATFORM=wayland, xwayland, x11
uname -a
Linux doughnut 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64 GNU/Linux
Any help is appreaciated.
(Edit)
Tried the workarounds suggested here, but still does not work. I will try and downgrade my matlab.
(Edit)
Solved by setting
QT_QPA_PLATFORM=xcb
prior to launching Matlab.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by