Is the demo using user agent strings to determine compatibility? That's not good, and feature compatibility should be determined on a case-by-case basis by simply attempting to detect/use the specific feature.
I am on Chromium, not Chrome, and use WebGPU all the time, but the demos tell me to use Chrome, which I cannot do ethically. Would love to try the demos out, this looks like a lot of hard work!
It's not working for me on Chrome under Linux, nor on Android, for what it's worth (though Firefox is what I use for practically all my browsing needs). Something really odd with their detection logic.
WebGPU is not supported on Linux, and it won't for the foreseeable future.
On Android you should have at least Android 12, with good enough Vulkan drivers, not blacklisted.
A lot of it runs fine with a flag.
That isn't really something for production use.
Neither is this experiment.
Do you know what's blocking?
I'm curious, what for?
I've used it to build and/or run various machine learning models for text generation, speech recognition, image generation, depth estimation, etc. in the browser, in support of an agentic system I've been building out.
Lots of future possibilities as well once support is more ubiquitous!
Your ideas are intriguing to me and I wish to subscribe to your newsletter.
I appreciate that, anything in particular catch your interest?
I am most interested in speech recognition including diarization.
That's a fine goal.
When writing my own component framework for browsers, detection was regularly impossible and I had to depend on browser sniffing. Modernizr code has some very smart hacks (sometimes very dirty hacks) to detect features - a large amount of work for them to develop trustworthy detection code. And detection was usually via side-effects.
My educated guess is that feature detection for Web3D is not simple. A quick google and I didn't find an obvious Web3D feature detection library.
Here's part of the detection code for :checked support in Modernizr:
Don’t think so. I’m on a Firefox that has experimental WebGPU support enabled, and it fails with shader compilation errors rather than any message.
If this is the case, I imagine it'd be pretty easy to spoof your UA and see the demo, even from Chromium.
Don't know about your build, but I'm using Ungoogled Chromium, and it has the exact same user-agent string as Google Chrome.
Have you enabled the WebGL permission for the site in site settings? I think it was disabled by default for me.
It seems the demos are just broken. I'm getting this error:
WebGPU error [frame][validation]: Fill size (7160950) is not a multiple of 4 bytes. - While encoding [CommandEncoder "main-frame-cmd-buffer"].ClearBuffer([Buffer "rasterize-sw"], 0, 7160950).