Allow WebGPU on Electron applications: Difference between revisions

From Pengwings
No edit summary
No edit summary
Line 1: Line 1:
WebGPU is turned off by default on Electron applications on Linux. It also currently doesn't work on Wayland.
WebGPU is turned off by default on Electron applications on Linux. It also currently doesn't work on Wayland.


Add this to command line arguments to enable WebGPU over Vulkan and use X11 windowing:
Add this to command line arguments to enable WebGPU:
  --enable-unsafe-webgpu --enable-features=Vulkan --ozone-platform=x11
  --enable-unsafe-webgpu

Revision as of 23:56, 7 March 2026

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

Add this to command line arguments to enable WebGPU:

--enable-unsafe-webgpu