Matlab not opening properly, letters are tiny

2 次查看(过去 30 天)
After opening I am getting this error in cmd prompt
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x5b31ec62, isOwner false, <76c0b195, 2a18d267>[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
  2 个评论
dpb
dpb 2022-8-6
If this is a new install, TMW supports installation/install issues, at least in US; I don't know about if you're not in US.
Kangming Xu 10/181
There are two possible workarounds available:
The first one could be using software opengl rendering. You could do the following in two different ways:
1) Execute "opengl('save','software')" in the MATLAB Command Window and restart MATLAB.
2) Start MATLAB using the "-softwareopengl" flag in terminal.
The second one could be disabling the Intel graphics hardware and use NVIDIA graphics hardware if it is available on your system.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by