godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.21k stars 21.21k forks source link

Very slow project/editor opening in Godot 4 #54759

Open PaperPat opened 3 years ago

PaperPat commented 3 years ago

Godot version

4.0-dev.20211027

System information

Mac Mojave, Intel Iris 1536 Mo

Issue description

Godot lauch, very very slow, editor very slow, lauch project very slow too, bug with menu editor (simultaneous opening and fast flickering of any of the items menu with the scene menu), full screen craches... Capture d’écran 2021-11-08 à 13 57 09 Capture d’écran 2021-11-08 à 13 56 50

Steps to reproduce

Just lauch Godot 4 and open an empty new project

Minimal reproduction project

No response

Calinou commented 3 years ago

The simultaneous popup bug is already being tracked in https://github.com/godotengine/godot/issues/53912.

As for the slow editor opening, what's the full specs of your machine? "Intel Iris" doesn't tell me much.

PaperPat commented 3 years ago

My configuration is :

Lauch -> Projects : approximately 30 secondes (1 seconde with Godot 3.4) Project (basic project with just a sprite node) -> Editor : approximately 30 secondes Editor -> launch the project : approximately 30 secondes

Zireael07 commented 3 years ago

Can you try the recently added GLES2 mode? It will rule out any problems due to Vulkan implementation in your gfx card drivers... (Iris should support Vulkan, but some cards support Vulkan really badly)

PaperPat commented 3 years ago

I'm pretty sure that my graphic card doesn't manage Vulkan... Too old... I just try the very last godot 4version now... I launch itand succed to select the GLES2 for the simple project, and save. Well.

Some progress some regression...

Lauch Godot 4 -> Projects : approximately always 30 secondes. Nothing changed. Select the Basic project 4.0 (with just a sprite node) -> Editor : crash every time (and same for every kind of project) Drag and drop project 4 on Godot 4 icon -> Editor with project : 1-2 secondes !!! Nice ! Editor -> launch the project -> does not seem to crash, but nothing append... I can stop it... and relauch... and always nothing.

Zireael07 commented 3 years ago

Hmm, some more things I thought of: is your Mac a Retina screen (the GPU might have to do more work with a Retina)? do you have USB hub or a monitor with it connected? There's an open issue where some USB devices cause really slow opening of SDL programs...

PaperPat commented 3 years ago

My screen is not a retina (I have a basic Asus 1920x1080), no usb hub (only computeur's usb) ...