Whenever i open matlab i see following error message. I am also not able to draw graph in matlab due to this issue. I am using a debian machine with nvidia graphics card.

조회 수: 10 (최근 30일)
This is the MATLAB error:
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x5f72428a, isOwner false, <5219f6a5, 1e2957ef>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
  댓글 수: 1
dpb
dpb 2021년 2월 26일
Mathworks will support installation and startup issues. Contact support link; Answers forum is not an official support platform but a volunteer applications/usage forum.

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

답변 (1개)

Sai Veeramachaneni
Sai Veeramachaneni 2021년 3월 2일
Hi,
Try executing one of the following commands in debian shell to start MATLAB
  • matlab -nodesktop -r "opengl info, desktop"
  • matlab -softwareopengl
  • matlab -noopengl
Your issue might be similar to this know issue.
Contact support if above workaround doesn't work for you.
Thanks.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by