Add chrome-linux/README.md

This commit is contained in:
2024-08-27 16:32:48 -04:00
parent 1e48f69948
commit dc5214c71f

67
chrome-linux/README.md Normal file
View File

@@ -0,0 +1,67 @@
# `chrome://gpu`
## Windows
```
* Canvas: Hardware accelerated
* Canvas out-of-process rasterization: Enabled
* Direct Rendering Display Compositor: Disabled
* Compositing: Hardware accelerated
* Multiple Raster Threads: Enabled
* OpenGL: Enabled
* Rasterization: Hardware accelerated
* Raw Draw: Disabled
* Skia Graphite: Enabled
* Video Decode: Hardware accelerated
* Video Encode: Hardware accelerated
* Vulkan: Disabled
* WebGL: Hardware accelerated
* WebGL2: Hardware accelerated
* WebGPU: Hardware accelerated
* WebNN: Disabled
```
## Debian
```
* Canvas: Hardware accelerated
* Canvas out-of-process rasterization: Enabled
* Direct Rendering Display Compositor: Disabled
* Compositing: Hardware accelerated
* Multiple Raster Threads: Enabled
* OpenGL: Enabled
* Rasterization: Hardware accelerated
* Raw Draw: Disabled
* Skia Graphite: **Disabled**
* Video Decode: Hardware accelerated
* Video Encode: **Software only. Hardware acceleration disabled**
* Vulkan: Disabled
* WebGL: Hardware accelerated
* WebGL2: Hardware accelerated
* WebGPU: **Disabled**
* WebNN: Disabled
```
- Skia Graphite는 아직 Linux를 지원하지 않는다.
- Video Encode는 아래의 설정으로 사용할 수 있다.
```sh
which chrome
# /home/w/.cache/ms-playwright/chromium-1129/chrome-linux/chrome
chrome --enable-features=VaapiVideoEncoder
chrome --enable-features=VaapiVideoEncoder,SkiaGraphite,WebGPU,VulkanGraphics,WebGPUDeveloperFeatures,
UnsafeWebGPU --use-vulkan
"
[9121:9121:0828/053001.984626:ERROR:gpu_finch_features.cc(658)] Enabling Graphite on a not-yet-supported platform is disallowed for safety
[9121:9121:0828/053001.985592:ERROR:gpu_finch_features.cc(658)] Enabling Graphite on a not-yet-supported platform is disallowed for safety
[9121:9217:0828/053002.081556:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[9121:9217:0828/053002.081740:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[9121:9217:0828/053002.081904:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:106)
Warning: Couldn't find an EGLConfig rendering to a window for TextureFormat::RGBA8Unorm.
- While trying to discover a BackendType::OpenGL adapter.
at Initialize (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:83)
"
```