Chrome不支持Webgl 2.0 [英] Webgl 2.0 unsupported in chrome

查看:2874
本文介绍了Chrome不支持Webgl 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的镶边显示了Webgl 2.0-受支持,但在浏览器设置中被禁用,或被扩展程序阻止. 我试过了 1.在chrome://settings中使用硬件加速 2.在chrome://flags中启用了WEBGL 2.0 3.覆盖软件渲染列表.. 还有什么其他选项可通过浏览器设置启用webgl 2.0? 任何帮助都非常感激

My chrome shows Webgl 2.0 - supported, but disabled in browser settings, or blocked by extensions. I have tried 1. Use hardware acceleration in chrome://settings 2. Enabled WEBGL 2.0 in chrome://flags 3. Override software render list .. What other option are out there to enable webgl 2.0 from browser settings? Any help is much appreciated

推荐答案

似乎是当前的ANGLE(这是

It seems current ANGLE (which is OpenGL emulation using DirectX driver) does not support WebGL2 unless running on DirectX 11. You need to select a different back-end.

打开 chrome://flags/并搜索角度".您应该会看到一个名为选择ANGLE图形后端

Open chrome://flags/ and search for "Angle". You should see an option called Choose ANGLE graphics backend

如果看到的值为 DirectX 9 ,请选择 OpenGL DirectX 11 .

If the value you see is DirectX 9, choose OpenGL or DirectX 11 instead.

您可以通过转到 WebGLReport 来确认一切正常,这还将向您显示使用了驱动程序,可以使用哪些功能或OpenGL扩展.

You can confirm that everything works fine by going to WebGLReport, which will also show you which driver is used and what capabilities or OpenGL extensions can be used.

当心:根据您所安装的图形卡和驱动程序,Chrome可能会切换到软件光栅化程序.在这种情况下,您将在WebGLReport中看到主要性能警告:是",并遵循有关渲染器的信息:

Beware: depending on your graphics card and drivers you have installed it is possible Chrome will switch to a software rasterizer. In WebGLReport you will see "Major Performance Caveat: Yes" in such case and following info about the renderer:

  • 渲染器:WebKit WebGL
  • 未屏蔽的供应商:Google Inc.
  • 非遮罩渲染器:Google SwiftShader

通过打开 chrome://gpu/<,您还可以找到有关Chrome如何使用图形卡的一些信息./a>页面.

You can also find some information about how Chrome is using your graphics card by opening the chrome://gpu/ page.

我还需要执行一个步骤来使WebGL 2/Direct3D 11在计算机上正常运行(我使用的是几年前的nVidia GeForce GT 545):我不得不卸载nVidia Nsight,因为它干扰了与驱动程序某种方式.我见过其他人报道过类似的事情

There was one more step I had to do to make WebGL 2 / Direct3D 11 working correctly on my computer (I am using a few years old nVidia GeForce GT 545): I had to uninstall nVidia Nsight, as it was interfering in some way with the drivers. I have seen a similar thing reported by other people nVidia forums: Failed to initialize D3D11 device ...:

1)已将nvidia驱动程序(无需先卸载或清洁)与驱动程序附带的所有其他软件一起安装,称为已选中".安装后没有重新启动.

1) Installed the nvidia drivers (without uninstalling or cleaning first) with all the extra software that comes with the driver, as "checked". Didn't reboot after installation.

2)从控制面板" \程序和功能"中卸载了所有额外的nvidia软件(3D视觉,更新,高清音频等).只剩下驱动程序和PhysX.

2) Uninstalled all the extra nvidia software (3D vision, Update, HD audio etc) from Control Panel\Programs and Features. Left only the driver and PhysX.

3)重新启动.



这篇关于Chrome不支持Webgl 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆