Hacker News new | ask | show | jobs
by Philpax 993 days ago
Yeah - unfortunately, Chrom[e|ium] on Linux doesn't support WebGPU yet: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#...

As one of the folks using Linux, I'm hoping that this will get resolved sooner rather than later, too. (Well, actually - I'd prefer Firefox get support, but that looks like it might take longer. Alas.)

1 comments

Be that as it may, but maybe you should show some kind of error message so the user knows what's up instead of showing "Loading..." until they get bored of looking at a black screen - not everyone is savvy enough to check the console messages...
Absolutely, yeah. I've actually just opened an issue for this: https://github.com/AmbientRun/Ambient/issues/1038

Rest assured we'll have this sorted for the next release; we were aware that Linux/Chrome/WebGPU were incompatible, but we didn't bubble that error up correctly. Our bad!

It's fixed on the website now as well (it'll show you a nice warning screen on non-webgpu browsers, instead of just loading forever)
I have enabled webgpu in Firefox (set `dom.webgpu.enabled` to true) but it just says, "your browser does not support WebGPU". No, actually it does support WebGPU it's just that you're not detecting that properly.
We've just tested internally with Firefox nightly with WebGPU enabled (you should also be able to test this with the fix Fredrik just pushed out), but it doesn't seem to work - Firefox's WebGPU implementation doesn't implement enough of the spec [0] to be able to run our renderer.

As I mentioned in another comment, we're considering adding a fallback renderer, but our hope is that Firefox will be able to complete its implementation sooner rather than later - as a Firefox user, I would much rather use it than Chrome myself!

[0]: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#...

Hm yeah, we need to fix the detection as part of instantiation, which happens in the engine. I'm adding a "Try anyway" button for you in the meantime, it should be up in a couple of minutes.