maplibre / maplibre-rs

Experimental Maps for Web, Mobile and Desktop
Apache License 2.0
1.34k stars 77 forks source link

WebGPU Examples not working correct in Firefox #319

Open mxzinke opened 4 days ago

mxzinke commented 4 days ago

🤔 Expected Behavior

Shows interactive map smoothly on 75 FPS (I have a 75hz monitor).

😯 Current Behavior

The default WebGPU Demo:

Runs smoothly and interactive, but with 150 FPS. (Also tested with Safari, there is everything normal.)

The WebGPU /w multithreading Demo:

No errors. Tells about 75 FPS. But nothing on screen (blank).

See the capture for more details: capture 10_26_23.json

🌍 Your Environment

Display: 75hz System: MacOS Sequoia 15.0.1 (on M2)

Web

maxammann commented 4 days ago

Interesting :O I feel like the 150fps are a bug of wgpu or winit.

The other thing I'll look into :)

Do you happen to be at EuroRust?

mxzinke commented 3 days ago

@maxammann Looking forward for it! Danke.

Do you happen to be at EuroRust? I am not deep into the Rust community (yet) and still learning.

maxammann commented 3 days ago

Are you sure you did not run a WebGL example in one of the experiments?

maxammann commented 15 hours ago

The reason why I'm asking is that having a different FPS count seems impossible if both examples you executed are WebGPU. However I can confirm that at least the multithreading example is broken.