Live data from Hacker News

WebGPU-Based WiFi Simulator

wifi-solver.com

51–60 of 95 posts

Re: WebGPU-Based WiFi Simulator

#51

What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here. "Sorry, there was an error starting the simulation Sorry, WebGPU is not supported on our device WiFi Solver may not be compatible with your device."

No Linux support for WebGPU in Chrome yet: https://caniuse.com/webgpu

Re: WebGPU-Based WiFi Simulator

#52

What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here. "Sorry, there was an error starting the simulation Sorry, WebGPU is not supported on our device WiFi Solver may not be compatible with your device."

Dev tools gave me this link: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#...

Barely any Firefox support either.

Looks like I'll skip this one.

Re: WebGPU-Based WiFi Simulator

#53

What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here. "Sorry, there was an error starting the simulation Sorry, WebGPU is not supported on our device WiFi Solver may not be compatible with your device."

To run on Chromium Linux you need to enable "enable-unsafe-webgpu" as well as "enable-vulkan" flags in "chrome://flags". Best to disable again afterwards.

Re: WebGPU-Based WiFi Simulator

#55

What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here. "Sorry, there was an error starting the simulation Sorry, WebGPU is not supported on our device WiFi Solver may not be compatible with your device."

Doesn't work on Firefox/Windows either.

Re: WebGPU-Based WiFi Simulator

#56
post #6

Earlier quoted context omitted.

Even Chrome only supports it officially on Windows, macOS and Android, no GNU/Linux (as stable). And when it becomes widespread, just like WebGL 2.0, it will be a decade behind of what native APIs are capable of. And in both cases, good luck debugging, other than replicating the content on native APIs, as means to use proper GPU debuggers, because even Chrome has yet to offer any developer tooling for GPU debugging.

Runs great on my ChromeBook.

No luck on Steam Deck :(

Re: WebGPU-Based WiFi Simulator

#57
post #26

Earlier quoted context omitted.

Good question! This is actually a numerical solver for a few coupled partial differential equations - the method in this context (electromagnetism) is called FDTD. It's implemented as a WebGPU compute shader. You absolutely could do this using WebGL2 compute shaders too, but I thought it would be fun to try this newer API.

I don't understand what other type of solution is there to render on a gpu other than a numeric one? Here is a very basic shader for what you want: float freq1 = 2.0; float freq2 = 3.0; float amp = 0.5; pos.z += sin(pos.x * freq1 + uTime) * amp; pos.z += cos(pos.y * freq2 + uTime) * amp; gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);

Did ChatGPT write that for you because it has missed the mark by 500 metres.

Re: WebGPU-Based WiFi Simulator

#58

What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here. "Sorry, there was an error starting the simulation Sorry, WebGPU is not supported on our device WiFi Solver may not be compatible with your device."

hasn't webgpu standard been out for a while now? how come only chromium supports it?

Re: WebGPU-Based WiFi Simulator

#60
post #58

What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here. "Sorry, there was an error starting the simulation Sorry, WebGPU is not supported on our device WiFi Solver may not be compatible with your device."

hasn't webgpu standard been out for a while now? how come only chromium supports it?

Because it's an incredibly complex mess that will allow sandbox escape if it isn't implemented exactly right.

Also, it's still in draft status. Not that that means much.

Post reply on HN