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

조회 수: 20 (최근 30일)
Francisco Marquez Bonilla
Francisco Marquez Bonilla 2015년 10월 29일
댓글: Robert 2023년 4월 6일
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
Gokulakrishnan Shankar 2021년 9월 10일
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.
  댓글 수: 1
Robert
Robert 2023년 4월 6일
Thanks, this worked for me on my Dell Latitude 7430 (0B0B) with Intel Graphics ADL GT2 running Ubuntu

댓글을 달려면 로그인하십시오.


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