Clear Filters
Clear Filters

MATLAB R2023b does not start in hardware-accelerated OpenGL rendering mode on Linux on Radeon gpu.

65 views (last 30 days)
MATLAB R2023b does not start in hardware-accelerated OpenGL rendering mode on Ubuntu GNU/Linux 23.10 on Dell Inspiron 5515 with AMD Ryzen 7 5700U and Radeon RX Vega 11. Mesa drivers cannot be loaded correctly. This problem persists on 2023a and other GNU/Linux distributions I have tried: Fedora 38, older Ubuntu versions, Debian 12 etc.
MATLAB is selecting SOFTWARE OPENGL rendering.
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Gtk-Message: 11:19:26.605: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

Answers (1)

Githin George
Githin George on 30 Oct 2023
Hello,
I understand you are facing an issue where MATLAB R2023a and R2023b does not start in hardware-accelerated OpenGL rendering mode.
Please take a look at the following MATLAB answer, where a similar query has been resolved by creating a symbolic link to the ‘libstdc++.so’ shared object for the unresolved library.
I hope this workaround helps resolve your issue.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!