Borrar filtros
Borrar filtros

Matlab 2023a graphics stability issues (openGL, windows 11)

19 visualizaciones (últimos 30 días)
Miguel Ferreira
Miguel Ferreira el 11 de Abr. de 2023
Respondida: Divyanshu el 17 de Abr. de 2023
I wonder if someone would be able to help with this one as I only seem to be able to find information close to this regarding Linux installs.
I have recently installed Matlab r2023a on a new machine (dell inspiron 14 plus, i7-12700H, 40Gb ram, nvidia rtx 3050) and started noticing some graphics issues on windows open on the secondary screen. Undocking a graph from live editor, general figure windows, both missing menus or other features from the window.
This led me to start looking into the usual articles in here but I them came across an odd issue when checking openGL info:
opengl info
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 0
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
The hardware support level does change in response to setting preferences (hardware, basic, etc).
when using info = rendererinfo I do get this:
info =
struct with fields:
GraphicsRenderer: 'WebGL'
Vendor: 'Google Inc. (NVIDIA)'
Version: 'WebGL 2.0 (OpenGL ES 3.0 Chromium)'
RendererDevice: 'ANGLE (NVIDIA, NVIDIA GeForce RTX 3050 Laptop GPU Direct3D11 vs_5_0 ps_5_0, D3D11)'
Details: [1×1 struct]
I have checked the drivers on both dGPU and iGPU and they are updated, checked that I do have OpenGL libraries using OpenGL extensions viewer.
My question would be, why is there nothing listed in opengl info and why am I unable to change the WebGL graphics renderer?
  1 comentario
Joss Knight
Joss Knight el 12 de Abr. de 2023
Not sure but do see if startup option -softwareopengl fixes your problem.

Iniciar sesión para comentar.

Respuestas (1)

Divyanshu
Divyanshu el 17 de Abr. de 2023
Consider the following steps to troubleshoot the issue:
  • One possible cause for the issue can be incompatibility of the graphics-hardware with the MATLAB. So, it is recommended to update the drivers to the latest versions and then try relaunching the MATLAB.
  • Moreover, you can try relaunching the MATLAB from the command prompt with the flagnosoftwareopengl. As in Linux this is the way to switch from software to hardware.
  • Also, the following documentation clearly specifies that the command openglwould be removed from future releases. (To be removed) Control OpenGL rendering - MATLAB opengl (mathworks.com)
  • Hence it is not recommended to use opengl info’ command instead one should query the rendered using rendererinocommand.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by