Linux gui slow and no hardware opengl
Ältere Kommentare anzeigen
I have ubuntu 24.04 on both a laptop and a desktop I had R2025b but installed R2026a hoping it would magically fix it. Instead it seems worse. The gui is super slow, maybe 0.5 to 1 second between typing a letter and having it show up. Since it's on both machines I feel that this is not just a problem affecting me. On the desktop I tried switching to x11 (rather than wayland default on login), and that seems to speed it up to normal operation. However in none of these cases does hardware opengl work, so plots are slow.
I picked a random old version - R2023b and it runs great (tried x11 only so far) and rendererinfo reports OpenGL Hardware. So I'll use that version for now. Hopefully there is a straightforward way to run the latest versions though.
This is renderer info from R2026a.
rendererinfo
ans =
struct with fields:
GraphicsRenderer: 'WebGL'
Vendor: 'Google Inc. (NVIDIA Corporation)'
Version: 'WebGL 2.0 (OpenGL ES 3.0 Chromium)'
RendererDevice: 'ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 5080/PCIe/SSE2, OpenGL 4.5.0)'
Details: [1×1 struct]
4 Kommentare
dpb
am 16 Apr. 2026 um 17:28
Lee
am 16 Apr. 2026 um 18:09
Not that am aware of...but am not a Linux guy. Picking up the phone and calling generally is quite effective in my experience.
The forum is not an official Mathworks support channel, however, just (mostly) a bunch of user volunteers and as such have no access to anything inside that may be going on...although I didn't check, be certain the flavor/version you're running is on the supported list.
Ray
am 20 Apr. 2026 um 15:55
Hi Lee,
Would you mind share more information about your machine setups?
OpenGL Hardware should not be the major performance bottleneck here as you are getting WebGL hardware acceleration with the Nvidia 5080 GPU. Starting from R2025a, MATLAB is using WebGL rather than OpenGL to render graphics. The graphics performance in R26a should be very similar to R2023b.
From your description "The gui is super slow, maybe 0.5 to 1 second between typing a letter and having it show up", I suspect the slowness issue is caused by something beyond graphics. Would you please elaborate more on what you talked about "plots are slow under X11'? Are you seeing the first time draw (open the figure) is slow or the interaction is slow? Or you even find the entire MATLAB interface is slow?
Also, please feel free to create a technique support case as dpb suggested above so we can further investigate the performance issue.
Thanks,
Ray
Antworten (0)
Kategorien
Mehr zu Graphics Performance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!