-
-
Notifications
You must be signed in to change notification settings - Fork 22.9k
Description
Godot version
4.0.3
System information
Android 13 -> Arm64 Linux -> Box64 -> Godot4.0.3 (LinuxX64) Any of the available render
Issue description
Godot4 code editor lags a lot, and any version of Godot 3 does not.
Steps to reproduce
Godot is running inside Android 13 -> Arm64 Linux -> Box64 -> Godot4.0.3 (LinuxX64) All renders
(Also tested in Android 13 -> Arm64 Linux -> Box64 -> WineProton -> Godot4.0.3 (WindowsX64)) All renders
I decided to upgrade my projects since Godot 4 is theoreticaly faster, but in reality it is running slower =(
So running any version of Godot 3.X I get really decent fps, the editor is smoth and an empty scene runs at 70+fps.
Running Godot 4.0.3 latest stable I get a massive lag and slow down even inside the code editor (typing is really laggy), running an empty scene runs at only 4X fps compared to the 70+ of Godot 3.X, so almost less 40% speed for an empty scene.
Started migrating my project to 4.0.3 and everything is slower =(
If anyone is interested in reproducing this issue, first you need a rooted phone or tablet(there is also a proot version for non rooted devices), then you can follow the installation script from https://github.com/Ilya114/Box64Droid, in my case I also installed xfce4 (you need to fix permission for _apt inside /etc/passwd in order to do a apt update.
Note that you can also try this in proot version (no root needed).
Why am I using a Arm Linux to dev on Android phone/tablet? Godot 3 and 4 Editor crashes randomly on android, plus inside the linux I am able to debug the code and its way more stable and supports vulcan 1.3 while the android side only supports 1.1.
It is very strange that typing in the code editor is super laggy and slow, almost to the point that it's painfull to use.
Video anex showing the problem with lag when typing the in the editor as well as the brutal FPS dif. video here
Minimal reproduction project
Just create an empty project and compare the code editor lag and the FPS of a empty scene.