Matlab 2015b on Ubuntu 14.04 error Resolving Low-Level Graphics Issues
22 views (last 30 days)
Show older comments
Hi, I got this error in matlab. I am not able to see the figures. There is a problem with OpenGL I guess, I tried the options in http://nl.mathworks.com/help/matlab/creating_plots/resolving-low-level-graphics-issues.html but it didn't work.
MATLAB has experienced a low-level graphics error, and may not have drawn correctly. Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB. To share details of this issue with MathWorks technical support, please include this file with your service request. I attached the file (jogl.ex.22205.txt) that the error message refers to.
I also tried this command opengl('data') and this is the output
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 1
HardwareSupportLevel: 'none'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
0 Comments
Answers (3)
Willi Mutschler
on 12 Apr 2020
Hi,
I am on Ubuntu 20.04 beta and running the nvidia on-demand prime profile, and get the same error. I can solve this (see the Archwiki) by starting matlab from terminal:
export MESA_LOADER_DRIVER_OVERRIDE=i965; matlab
Or (additionaly) you can change the EXEC in /usr/share/applications/matlab.desktop to:
Exec=env MESA_LOADER_DRIVER_OVERRIDE=i965 matlab -desktop
2 Comments
Gokulakrishnan Shankar
on 10 Sep 2021
Thank you, this worked for me. I was unable to use the live editor too. But after I did this, it started working.
ismail bilgen
on 25 Jul 2022
In my case, it failed to draw the plot with the error of "Resolving Low-Level Graphics Issues". Using Matlab 2022 in Linux 20.04. This solved the issue. Thanks.
Willi Mutschler
on 26 Apr 2020
I also ran into this issue on my Dell XPS 13 9360 which neither has a NVIDIA or AMD card, but an on-board intel graphics card.
I filed a bug report with MATHWORKS and they proposed two solutions:
- Create a file with the name 'java.opts' in the directory where MATLAB is executed (for me this is in '/usr/local/MATLAB/R2020a/bin/glnxa64') with the following line: -Djogl.disable.openglarbcontext=1
- If this does not work, then the above solution using export MESA_LOADER_DRIVER_OVERRIDE=i965 is working.
For me both solve my issue.
1 Comment
Robert
on 6 Apr 2023
Thanks, this worked for me on my Dell Latitude 7430 (0B0B) with Intel Graphics ADL GT2 running Ubuntu
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!