WebGPU isn't enabled by default on Linux Chrome. Here's how to enable it for Flatpak Chrome.
Create the config file at ~/.var/app/com.google.Chrome/config/chrome-flags.conf with these contents:
--enable-unsafe-webgpu
--ozone-platform=x11
--use-angle=vulkan
--enable-features=Vulkan,VulkanFromANGLE
Then restart Chrome.
--enable-unsafe-webgpu- Enables WebGPU API--ozone-platform=x11- Required because Vulkan ANGLE isn't compatible with Wayland--use-angle=vulkan- Use Vulkan backend for ANGLE--enable-features=Vulkan,VulkanFromANGLE- Enable Vulkan features
- This runs Chrome under XWayland instead of native Wayland
- Make sure your graphics drivers are up to date
- Intel Gen12+ GPUs have WebGPU enabled by default in Chrome 144+
Visit compute.toys to test WebGPU shaders.
Tested on Fedora Silverblue with Chrome Flatpak (com.google.Chrome) version 143.