-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Moderate Performance Issues Loading Scripts With v4.0 Beta 16 IDE On Linux #72448
Comments
Please edit the issue title to mention that it's to do with scripts loading, otherwise it's liable to get closed by mistake as a duplicate of several other general 'Godot 4 feels slow' issues |
Ok, done... |
How does this compare to previous betas. Have you had this issue before? |
Please look over the project below: |
I have all 8 scripts loaded in the scripts pane. |
Checked v4.0 Beta 16 on a Windows 11 Pro 64Bit mid-range SFF desktop. This is only affecting Linux. |
The rendering code is the exact same – Godot does not use OS-specific libraries for its UI. The most likely cause for the editor performing worse on Linux is that compositing on X11 is notoriously slow compared to Windows. I recommend using a window manager that doesn't force compositing (such as KWin or Xfwm) and disable compositing while comparing performance with Windows. If this is not an option, enable fullscreen in the editor by pressing Shift + F11 (on both Windows and Linux). If you can compile from source, try using a C++ profiler on a debug build to see what's taking the most time. |
Hi, Sorry, but I am running Godot Engine v4.0 Beta 16 on Windows 11 Pro 64Bit now... Let me get this game out the door in about two weeks(or less), and I will revisit the performance issues on my Linux. Thanks! Jesse |
"The most likely cause for the editor performing worse on Linux is that compositing on X11 is notoriously slow compared to Windows."
|
Fullscreen games suspend compositing, while the Godot editor is a windowed application (at least by default). |
Ok, I'll revisit this in a couple of days - thank you! |
Cloned: https://github.com/BetaMaxHero/GDScript_Godot_4_T-Story Spent some time switching between tabs using HotSpot, can confirm it take a second or so, seems like most of the time is spent parsing Here's the full callstack with the "top" time consumers when switching:
|
It seems ICU's |
Godot version
v4.0.beta16.official [518b9e5]
System information
Linux Mint 21.1 Cinnamon 64Bit
Issue description
Hi,
Have moderate performance issues with v4.0 Beta 16 IDE on Linux.
Running Godot Engine v4.0 Beta 16 official Linux on below system:
See steps to reproduce...
Thanks!
Jesse
Steps to reproduce
(loading each individual script takes over 1 second?)
Minimal reproduction project
Not applicable
The text was updated successfully, but these errors were encountered: