com.jogamp​.opengl.GL​Exception

63 visualizaciones (últimos 30 días)
Ozgur Bas
Ozgur Bas el 5 de En. de 2019
Comentada: Wei Chen el 18 de Mayo de 2022
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

Respuestas (3)

Willi Mutschler
Willi Mutschler el 12 de Abr. de 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 comentarios
Abinash Dash
Abinash Dash el 21 de Mayo de 2020
THanks.It works for me too.
My System info-
H/W : intel i3 with integrated graphics
OS : Ubuntu Mate 20.04
Running MATLAB R2017a
Wei Chen
Wei Chen el 18 de Mayo de 2022
Thank you! It works!

Iniciar sesión para comentar.


Willi Mutschler
Willi Mutschler el 26 de Abr. de 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:
  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.

Walter Roberson
Walter Roberson el 5 de En. de 2019

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by