Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0]-Full Screen HTML5 On PC Windows/Linux Desktop Internet Browsers Is Very Slow? #74034

Closed
ghost opened this issue Feb 27, 2023 · 6 comments
Closed

Comments

@ghost
Copy link

ghost commented Feb 27, 2023

Godot version

v4.0.rc5.official [6296b46]

System information

[4.0 RC5 Win 11] - Full Screen HTML5 On PC Windows/Linux Desktop Internet Browsers

Issue description

Hi,

Run below HTML5 build in your desktop Internet browser:
https://betamaxheroes.org/games/TS3-Godot_4/builds/RC0/WebVer/index.html

It's slower than a Microsoft Powerpoint slideshow.
Full screen HTML5/WebGL should not be this slow.
It is time to optimize the HTML5/WebGL graphic backend.

We have gone as far as possible with optimizations, we need you to step up now.
Need twice the performance then what 4.0 RC 5 is capable of.

Jesse

Steps to reproduce

# "TetriStory 110%" - Release Candidate ZERO+1

https://betamaxheroes.org/games/TS3-Godot_4/builds/RC0/WebVer/index.html

Minimal reproduction project

# TS3 - 100% M.I.T. Open-Source

https://github.com/BetaMaxHero/GDScript_Godot_4_T-Story

@michaldev
Copy link

I confirm. I have created a game on Godot 4. Unfortunately, I am unable to release it. It is a multiplayer game where obtaining as many players as possible is crucial. The easiest way to get random players is through the browser version + native versions available on Android/iOS/Windows as an additional option. Currently, the browser version of the game completely hangs the browser (Chrome/Firefox) on macOS, and does not launch at all on iOS. It works on browsers on Windows and Linux, but very unstably.

@Zireael07
Copy link
Contributor

@michaldev if your issue is on MacOS only, you're running into a different, already reported issue specific to MacOS

@Calinou
Copy link
Member

Calinou commented Feb 27, 2023

@BetaMaxHero Which graphics card model are you using, and which screen resolution are you using?

@michaldev This is already being tracked in #70691.

@clayjohn
Copy link
Member

I'm just going to point out that bug reports like this are extremely unhelpful. There is no useful information that points a contributor in a direction to start debugging. The MRP is a link to your game, which means you are asking for a contributor to debug and optimize your game before they can even begin resolving issues within Godot itself.

For a performance-based bug report to be useful you need to include at least the following:

  1. What device(s) you have tested on. This needs to include both OS and hardware specs
  2. What the bottleneck is. Is your game bottlenecked by the CPU or GPU or both? Is this an issue with rendering speed, physics, script performance etc). Right now no one is going to look at this issue because it doesn't clearly fall within any given team's area.
  3. A minimal reproduction project that is truly minimal. No one wants to optimize your game for you, we need you to tell us what elements of Godot are too slow so we can optimize them
  4. Actual performance numbers, what FPS are you getting on each of the devices you have tested on? Sarcastic remarks about performance aren't helpful and only serve to turn prospective contributors away

Finally saying things like:

We have gone as far as possible with optimizations, we need you to step up now.
Need twice the performance then what 4.0 RC 5 is capable of.

Guarantees that no one is going to volunteer to work on your issue. Try to be less demanding and more respectful of contributor time when asking for help.

In general, being nice and providing helpful information greatly increases the chances that:

  1. Someone will investigate the performance problems you are facing and
  2. Someone will actually be able to solve the bug

@NianoTT
Copy link

NianoTT commented Feb 28, 2023

Run below HTML5 build in your desktop Internet browser: https://betamaxheroes.org/games/TS3-Godot_4/builds/RC0/WebVer/index.html

It's slower than a Microsoft Powerpoint slideshow.

Ryzen3 3800X, GTX 1080ti, Windows 10, Firefox 110

Runs perfectly fine in terms of performance, no slideshow.

@Calinou
Copy link
Member

Calinou commented May 5, 2023

Closing, as OP removed their account and the issue is not actionable.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants