A gray mask is created when the browser plays the video, which disappears about one second after the video starts. After searching the network, I learned that the Graphic ANGLE backend can be changed to DX11on12 in the edge://flags to solve the problem, and the gray mask disappears after then. But at the same time, there is another problem with video playback, that is, the green screen or blurred screen from time to time. In the end, I chose OpenGL, and the above problems disappeared, but I couldn't use the graphics hardware acceleration, and the software decoding made the computer temperature soar, which was unacceptable to me.
Here I would like to find a solution to remove the weird gray mask or the ability to enable hardware acceleration when the backend is OpenGL is selected.
浏览器播放视频时会产生灰色遮罩,开始播放视频后一秒钟消失。查询网络后得知可在edge://flags中改变ANGLE后端为DX11on12来解决,改动后灰色遮罩消失。但与此同时视频播放出现了另一个问题,那就是时不时的绿屏或者花屏。最后选择OpenGL,以上问题消失,但是无法使用图形硬件加速,软件解码使得电脑温度飙升,这是我无法接受的。
在此想寻求解决灰色遮罩或者能在选择后端为OpenGL时同时开启硬件加速的方法。
Volcanix Mao 您好,欢迎您咨询微软社区
了解到您的疑问,根据您的描述看您的问题和显示有关(Edge观看视频)可能涉及驱动、兼容性等。
将 Edge 浏览器的 ANGLE 值设置为 OpenGL 后,仍然可以利用硬件加速。ANGLE 的主要功能就是将不同的图形 API 进行转换,以便应用程序能够在不同的硬件平台上运行。即使您将 ANGLE 设置为 OpenGL,浏览器仍然可以通过 ANGLE 来调用 GPU 进行硬件加速。无论是使用 DirectX 还是 OpenGL 进行渲染,GPU 都可以提供硬件加速功能。
在Edge浏览器中将 ANGLE 值设置为OpenGL,只是改变了浏览器底层使用的图形API,并不会影响硬件加速的功能。只要您的计算机硬件支持 OpenGL,并且浏览器的硬件加速功能是开启的,那么在OpenGL状态下,浏览器依然可以利用 GPU 进行硬件加速。(我在设备中测试下来也确实是这样)我不确定您是如何确认“选择OpenGL无法使用图形硬件加速”,若方便您可以录制一个简短的视频(切换不同模式播放视频,包括您确认是否使用GPU的方式)
Best Wish
Leo Z | 微软社区支持专员