Allow WebGPU on Electron applications: Difference between revisions

From Pengwings
Created page with "Add this to command line arguments: --enable-unsafe-webgpu --enable-features=Vulkan --ozone-platform=x11"
 
No edit summary
Line 1: Line 1:
Add this to command line arguments:
WebGPU is turned off by default on Electron applications and currently doesn't work on Wayland.
 
Add this to command line arguments to enable WebGPU over Vulkan and use X11 windowing:
  --enable-unsafe-webgpu --enable-features=Vulkan --ozone-platform=x11
  --enable-unsafe-webgpu --enable-features=Vulkan --ozone-platform=x11

Revision as of 19:18, 12 February 2026

WebGPU is turned off by default on Electron applications and currently doesn't work on Wayland.

Add this to command line arguments to enable WebGPU over Vulkan and use X11 windowing:

--enable-unsafe-webgpu --enable-features=Vulkan --ozone-platform=x11