Opengl software - Matlab becomes extremely slow

17 visualizaciones (últimos 30 días)
J B
J B el 14 de Jun. de 2021
Editada: Natasha Kovacevic el 18 de Mayo de 2022
I'm operating on larger datasets and for this reason, I'm using Matlab on a Windows server which I acess via a remote desktop connection. From time to time I want to plot a scatter plot. When I do this for the first time, Matlab comes up with some warning message:
"MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL."
The plots are generated, however, after this Matlab becomes extremely slow and more or less impossible to use. "Slow" means that it takes more than 1 minute to provide the result if you type "1+1" in the command line.
I don't know a lot about these servers where the program runs and their graphics hardware. Is there any way to avoid this and still get the plots? I don't mind if the plotting process itself takes 1 min or so. The plots themself don't contain too much of data (around 1000 colorpoints I'd asume).
Closing the plots or deleting the workspace ("clear all") don't help. The only way to speed Matlab up is to restart the program. I'm using Matlab 2020a.
  2 comentarios
Nikhil Sapre
Nikhil Sapre el 25 de Jun. de 2021
Hi J B,
A possible reason MATLAB is using software OpenGL is because there is no harware graphics available on your machine. But, MATLAB shouldn't be very slow after generating the plots.
Is it possible for you to provide snippet of your code so I can verify this problem. Also output of the commands below
opengl info
Natasha Kovacevic
Natasha Kovacevic el 18 de Mayo de 2022
Editada: Natasha Kovacevic el 18 de Mayo de 2022
Hi I also have the same issue. Lagging from a single click to execution is sometimes 30 seconds long. It seems to have very slow periods and then it unfreezes and sort of starts working OK. All other applications work normally over RDP. I tried both suggestions but I got the same behavior. On my remote machine opengl info command gives this output:
>> opengl info
Version: '1.1.0'
Vendor: 'Microsoft Corporation'
Renderer: 'GDI Generic'
MaxTextureSize: 1024
Visual: 'Visual 0x0e, (RGB 24 bits (8 8 8), Z depth 16 bits, Software, Single buffer, Antialias 0 samples)'
Software: 'true'
HardwareSupportLevel: 'none (known graphics driver issues)'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {3×1 cell}
MaxFrameBufferSize: 0

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by