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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by