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

22 ビュー (過去 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 Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by