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

Sluggish interface on Mobile and Forward+ #91037

Open
abFrancisco opened this issue Apr 23, 2024 · 6 comments
Open

Sluggish interface on Mobile and Forward+ #91037

abFrancisco opened this issue Apr 23, 2024 · 6 comments

Comments

@abFrancisco
Copy link

Tested versions

  • reproducible in 4.2.2, not reproducible in 4.2.1 and 4.2

System information

Godot v4.2.2.stable - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4060 (NVIDIA; 31.0.15.5123) - Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz (8 Threads)

Issue description

I was working on a project on 4.2.1, proceeded to download 4.2.2, after opening project on 4.2.2 the editor interface was sluggish when switching tabs or adding nodes to the scene, and when running the game with F5, the loading was slightly slower.
This also happens with an empty/new project.
This only happens in Mobile and Forward+

Steps to reproduce

Create a new project on 4.2.2 in compatibility mode, create some nodes, interact with the editor, mainly in menus and settings.
Now switch to mobile or forward+ and it should be noticeably slower, theres noticeable delay for actions to happen, id guess 100-400ms

Minimal reproduction project (MRP)

test.zip

@Calinou
Copy link
Member

Calinou commented Apr 23, 2024

Can you record the screen at 60 FPS or more to show the difference between 4.2.1 and 4.2.2? I don't see why 4.2.2 would be a lot slower.

Can you test 4.3.dev5 as well? It includes significant changes made to Vulkan synchronization which should decrease input lag.

@abFrancisco
Copy link
Author

abFrancisco commented Apr 23, 2024

On 4.3 dev 5 it behaves the same as 4.2.1 and earlier for me.
I also found out that this sluggishness only happens on the top left menus, add node menu(separate window), the project settings menu(separate window), and when you make docks floating(they work great when not floating). Might be something related to multiple windows/floating windows.

4.2.2_create_node.mp4
4.3_dev5_create_node.mp4
4.2.2_floating_inspector.mp4
4.3_dev5_floating_inspector.mp4
4.2.2_menus.mp4
4.3_dev5_menus.mp4

@matheusmdx
Copy link
Contributor

I can't reproduce this issue on my pc, maybe is a nvidia related issue?

Godot v4.2.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 580 2048SP (Advanced Micro Devices, Inc.; 31.0.21912.14) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

@abFrancisco
Copy link
Author

I updated my Nvidia drivers, same issue persists.
I also noticed that the issue is not present on the mono build. Only on non mono build do i get this issue.

@akien-mga
Copy link
Member

reproducible in 4.2.2, not reproducible in 4.2.1 and 4.2

I also noticed that the issue is not present on the mono build. Only on non mono build do i get this issue.

This makes me think the problem is not with Godot, but with the Nvidia profile created for this specific executable name.

Do you reproduce the issue if you rename the Godot binary?
Can you compare the Nvidia profiles for your 4.2.1, 4.2.2, 4.2.2 mono binaries?

@Pixelnarium
Copy link

Pixelnarium commented May 30, 2024

I am having a similar issue. Just worse. I am on ArchLinux with a Ryzen 7 5800H APU. The system does not have a dedicated GPU. I tried the package from ArchLinux and the one from Flathub. Both have the issue. When I open the project preference window everything is very slow. Even just the mouse over effects and dropdowns take up to one second to show up.

What I found out that starting Godot with the --rendering-driver opengl3 parameter fixes (or works around?) the issue. Running it with --rendering-driver vulkan the issue comes up again.

It also happens on 4.2.1 on my side.

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