Matlab 2015b on Ubuntu 14.04 error Resolving Low-Level Graphics Issues

22 次查看(过去 30 天)
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

回答(3 个)

Willi Mutschler
Willi Mutschler 2020-4-12
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 个评论
Gokulakrishnan Shankar
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
ismail bilgen 2022-7-25
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
Willi Mutschler 2020-4-26
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:
  1. 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
  2. If this does not work, then the above solution using export MESA_LOADER_DRIVER_OVERRIDE=i965 is working.
For me both solve my issue.

Adam Johnson
Adam Johnson 2016-11-26
Has there been any answer for this at all?

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by