com.jogamp.opengl.GLException
조회 수: 82 (최근 30일)
이전 댓글 표시
Hello,
I have tried MATLAB on fedora 27,
I did not saw any problem.
Today, I have purchased home version,
installed.
It is running but gives some warning.
Do you have any suggestion? You can see some details of my system.
Do I have to install graphic driver or any other solution exits?
Thank you.
[ozgurbas@localhost ~]$ java -version
java version "1.8.0_192"
Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
[ozgurbas@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.19-100.fc27.x86_64 #1 SMP Wed Nov 14 22:04:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[ozgurbas@localhost ~]$
[ozgurbas@localhost ~]$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 17.3.9
[ozgurbas@localhost ~]$ matlab -nodesktop -r "opengl info, desktop"
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018b (9.5.0.944444) 64-bit (glnxa64)
August 28, 2018
To get started, type doc.
For product information, visit www.mathworks.com.
Home License -- for personal use only. Not for government,
academic, research, commercial, or other organizational use.
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue by running this command: opengl problems,
then restart MATLAB.
To share details of this issue with MathWorks technical support, please
include this file with your service request: /home/ozgurbas/jogl.ex.4705
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 1
HardwareSupportLevel: 'none'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
댓글 수: 0
답변 (3개)
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
Abinash Dash
2020년 5월 21일
THanks.It works for me too.
My System info-
H/W : intel i3 with integrated graphics
OS : Ubuntu Mate 20.04
Running MATLAB R2017a
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:
- 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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!