You are not logged in.
The old opengl command has been deprecated and replaced by rendererinfo.
In MATLAB 2025b, running rendererinfo returns the following:
ans =
GraphicsRenderer: 'WebGL'
Vendor: 'Google Inc. (Google)'
Version: 'WebGL 2.0 (OpenGL ES 3.0 Chromium)'
RendererDevice: 'ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver)'
Details: [1×1 struct]According to MATLAB’s online documentation, if RendererDevice does not show a GPU name, it means rendering is on the CPU. The details field also confirms this:
HardwareSupportLevel: NoneMy system hardware is an AMD Ryzen 7 8845HS with integrated Radeon 780M graphics (no discrete GPU).
All dependencies are correctly set up, and the system can definitely use hardware acceleration:
❯ vulkaninfo | grep "GPU id"
GPU id = 0 (AMD Radeon 780M Graphics (RADV PHOENIX))
GPU id : 0 (AMD Radeon 780M Graphics (RADV PHOENIX)) [VK_KHR_xcb_surface, VK_KHR_xlib_surface]:
GPU id : 0 (AMD Radeon 780M Graphics (RADV PHOENIX)) [VK_KHR_wayland_surface]:
❯ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon 780M Graphics (radeonsi, phoenix, LLVM 21.1.4, DRM 3.64, 6.17.5-arch1-1)However, MATLAB 2025b still reports software (CPU) rendering via SwiftShader.
Does anyone know how to enable hardware-accelerated rendering in this new version?
Last edited by evangelion_air (2025-11-02 07:40:41)
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
It appears you need to use an environment variable to change what device is used.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I found solution: hardware acceleration can be achieved by adding `export LD_PRELOAD=/usr/lib/libstdc++.so.6`.
Offline