OpenGL software instead of WebGL hardware. What went wrong?

54 次查看(过去 30 天)
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 个评论
James Richard
James Richard 2025-7-18
编辑:James Richard 2025-7-18
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 2025-7-18
编辑:Walter Roberson 2025-7-18
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by