YuriSizov / gdsion

A software synthesizer library for Godot (GDExtension).
Other
117 stars 2 forks source link

The experimental web version is not working (Firefox, Safari) #15

Open hakro opened 6 months ago

hakro commented 6 months ago

The web version that uses the latest Godot 4.3 web features is not working

https://humnom.net/demos/gdsion/

It gets stuck in the Splash screen, then after some time, a message appears, saying that the tab is slowing down FF.

Screenshot_20240517_110050

My specs : Linux 6.5.0 KDE 6 Firefox 126.0

YuriSizov commented 6 months ago

@hakro It doesn't work in Firefox and Safari due to engine issues. There is nothing I can do about it. Only Chrome-likes are supported by Godot web exports without issues.

hakro commented 6 months ago

Thank you for the clarification @YuriSizov Indeed, I tested with Brave, the app loaded, and I could play the piano for a second, but then it froze. But after reloading the page, it all worked pretty well.

YuriSizov commented 6 months ago

I could play the piano for a second, but then it froze.

Hmm, that shouldn't happen. Did you happen to catch a glimpse of the developer console? If this happens again, please do. There are going to be a bunch of unrelated warnings, but perhaps also something valuable about the source of this freeze.

hakro commented 6 months ago

Yeah, Tried a couple of times, there seems to be a 50-50 chance that the Brave tab freezes. In both cases, the console logs are similar. When it freezes, there are no additional logs after the line that shows the Godot and GLES versions. When it freezes, it's really just a second after the keyboard is available, I even had time to play a note or too.

In the screenshot, it's frozen on that A note, and the spectrum analyzer is also frozen in that state. Can't do anything but close the whole browser.

Screenshot_20240517_162420

Brave version : Version 1.66.108 Chromium: 125.0.6422.41 (Official Build)

YuriSizov commented 6 months ago

Thanks, I'll try to find some time to look more into this!