Matlab 2023a graphics stability issues (openGL, windows 11)
27 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Divyanshu
2023-4-17
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 flag –nosoftwareopengl. As in Linux this is the way to switch from software to hardware.
- Also, the following documentation clearly specifies that the command ‘opengl’ would 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 ‘rendererino’ command.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!