OpenGL software instead of WebGL hardware. What went wrong?

52 views (last 30 days)
I am on R2025a.
---
Test Case #1
If I enter these commands.
info = rendererinfo;
disp(info)
disp(info.Details)
Then, these are the outputs.
GraphicsRenderer: 'WebGL'
Vendor: ''
Version: ''
RendererDevice: ''
Details: [1×1 struct]
HardwareSupportLevel: 'Full'
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
SupportsGraphicsSmoothing: 1
MaxTextureSize: 0
MaxFrameBufferSize: 0
---
Test Case #2
If I enter these commands.
figure
ax = gca;
info = rendererinfo(ax);
disp(info)
disp(info.Details)
Then, these are the outputs.
GraphicsRenderer: 'OpenGL Software'
Vendor: 'Microsoft Corporation'
Version: '1.1.0'
RendererDevice: 'GDI Generic'
Details: [1×1 struct]
HardwareSupportLevel: 'None'
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
SupportsGraphicsSmoothing: 0
MaxTextureSize: 1024
MaxFrameBufferSize: 0
---
These are the system specs:
---
The CPU is Intel i3-2310M with its integrated GPU of Intel HD Graphics 3000.
The GPU supports OpenGL 3.1 and the CPU supports OpenCL 1.1 according to AIDA64.
Also with DirectX DDI 11.1, it suports Feature Level 10_1, Shader Model 4.1, and WDDM 1.2
---
From webglreport.com, it states that the system support both WebGL 1.0 and WebGL 2.0
---
Questions
  1. In Test Case #1, why are the values for Vendor, Version, RendererDevice, MaxTextureSize, and MaxFrameBufferSize missing from the rendererinfo output? What went wrong?
  2. In Test Case #2, If OpenGL has been completely removed in R2025a, why does it still use the OpenGL 1.1 software renderer instead of WebGL? What went wrong?
  3. How do I choose the WebGL version and its ANGLE backend (D3D9, D3D11, OpenGL, etc.) to compare the performance?
  7 Comments
James Richard
James Richard on 18 Jul 2025
Edited: James Richard on 18 Jul 2025
Your MacOS is using Radeon Pro 5700 GPU to render and not the integrated graphics. Perhaps try your VM or the Geekom.
It’s clearly strange that WebGL works in Chrome and Firefox, but not in MATLAB.
Walter Roberson
Walter Roberson on 18 Jul 2025
Edited: Walter Roberson on 18 Jul 2025
My test with my VM showed the same output for renderinfo() and renderinfo(ax)
... I had to search around a lot to even find out that my MacOS Intel apparently has UHD 630 built-in. That fact is not mentioned anywhere in the specifications or system report; I had to hunt around to third-party model reports of the CPU model number, and then look up the specifications for the CPU model number.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!