godot: Slow editor/project startup time Godot 4.0-stable
Godot version
4.0-stable
System information
Windows 11 - Godot v4.0-stable - AMD Ryzen 5 7600X - Radeon RX 6800 16G
Issue description
Opening the Project Manager and running a project in the editor in Godot 4.0-stable is slow.
4.0-stable:
Godot Engine v4.0.stable.official.92bee43ad - https://godotengine.org
OpenGL API 3.3.0 Core Profile Context 23.4.3.230420 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon RX 6800
STARTUP BENCHMARK:
- core : 0.008997 sec.
- servers : 20.403408 sec.
- scene : 0.076377 sec.
- project_manager : 0.27369 sec.
- total_time : 20.768751 sec.
4.0.1-stable:
Godot Engine v4.0.1.stable.official.cacf49999 - https://godotengine.org
OpenGL API 3.3.0 Core Profile Context 23.4.3.230420 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon RX 6800
STARTUP BENCHMARK:
- core : 0.010883 sec.
- servers : 20.370848 sec.
- scene : 0.074814 sec.
- project_manager : 0.26566 sec.
- total_time : 20.728743 sec.
4.0.3-stable:
OpenGL API 3.3.0 Core Profile Context 23.4.3.230420 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon RX 6800
STARTUP BENCHMARK:
- core : 0.008548 sec.
- servers : 20.395994 sec.
- scene : 0.06646 sec.
- project_manager : 0.207452 sec.
- total_time : 20.684741 sec.
Steps to reproduce
Put the Godot build in the projects folder and type the following into the command line:
./Godot_v4.0-stable_win64.exe --startup-benchmark -e
Minimal reproduction project
N/A – can be seen by running the editor.
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 2
- Comments: 16 (9 by maintainers)
Alright so I just updated my Fedora System with todays System Update AND uninstalled the NVIDIA Graphics Drivers Control Panel And the delay is gone! I can’t particularly address if it was the update or the uninstall as I did them at the same time before testing again. Now I’m feeling kinda stupid, as this doesn’t seem to be a Godot 4.x issue anymore 😦
PS: As for this issue not being only Godot 4.x related: It also occurred when using Bevy Engine. So I think it’s more of a Vulkan -> Linux -> new Radeon 7600 issue.
This hypothesis could be tested by adding
--text-driver Dummy
on the command line (it will break all text rendering, but if it’s much faster, that would indeed be a good indication of the culprit).I have https://github.com/Calinou/godot-debug-builds but it doesn’t have 4.0.1-4.0.3 yet, only 4.0.
It happens every time on the following three occasions: