"Matlab has disabled some advanced graphic rendering features"

I got the following. What is the next step?
t = tiledlayout(1,1,'Padding','none');
Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information, click here.

1 commentaire

"For more information, click here." implies, that Matlab want you to click the shown link. What does happen then?

Connectez-vous pour commenter.

Réponses (1)

Gouri Chennuru
Gouri Chennuru le 11 Août 2020
Modifié(e) : Gouri Chennuru le 13 Août 2020
Hi,
As a workaround you can execute,
opengl hardware
This command renders subsequent graphics. If your graphics hardware does not support hardware-accelerated OpenGL, then MATLAB uses a software version instead.
To save it for future instances of MATLAB execute the following,
opengl('save','hardware');
This command sets your preferences so that MATLAB uses software OpenGL to render graphics in all future sessions. This command does not affect the current session so restart the MATLAB and it will resolve the issue.
For more information refer to this link
Hope this Helps!

7 commentaires

com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x59c32e3a, isOwner false, <510dfbdf, 63dd1bd3>[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: com.jogamp.opengl.GLException: AWT-EventQueue-0-SharedResourceRunner: Unable to create temp OpenGL context(1)
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:368)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
>> opengl hardware
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
>>
Hi,
As per my understanding, MATLAB has encountered low-level issues while creating graphics on your system.
To resolve them,
You can,
Thanks & Regards,
Gouri Chennuru.
>> opengl('save','none')
@Gouri Chennuru Sorry. where to run '''opengl hardware''' command? in the Linux terminal or inside the MATLAB prompt? MATLAB prompt says 'Switching to hardware OpenGL rendering at runtime on unix is not supported'.
I am facing exactly the same problem, I am running matlab --nodesktop on a remote server. Please let me know if you have been solved this problem. Thanks.
Did someone solved it?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by