--enable-unsafe-webgpu, #483

This commit is contained in:
Ralf Vogler 2025-06-05 19:53:26 +02:00
parent eaadf5bc2f
commit c5f0c20322
2 changed files with 4 additions and 2 deletions

View file

@ -10,7 +10,8 @@ const context = await chromium.launchPersistentContext(cfg.dir.browser, {
// https://peter.sh/experiments/chromium-command-line-switches/
args: [
'--hide-crash-restore-bubble',
'--ignore-gpu-blocklist', // required for OpenGL to be enabled
'--ignore-gpu-blocklist', // required for OpenGL: Disabled -> Enabled & WebGL: Software only -> Hardware accelerated
'--enable-unsafe-webgpu', // required for WebGPU: Disabled -> Hardware accelerated
],
});