godot: Godot 4 extremely slow with Vulkan drivers

Godot version

v4.0.stable.mono.official

System information

  • Manjaro with dual GPU (Intel and NVidia)
  • KDE Plasma
  • Linux kernel 6.5.5-1
  • GeForce GTX 1650Ti (Mobile) GPU installed with proprietary drivers
  • CometLake-H GT2 Intel GPU installed
  • video-hybrid-intel-nvidia-prime, video-modesetting installed for both cards

Issue description

Godot 4 seems extremely slow - for example, when I click on the Editor menu, it takes around five seconds for it to respond. Similarly, clicking the X to close Godot, takes a long time. Everything takes a long time.

I did some quick googling, and tried running it with --rendering-driver opengl3. This seems to resolve the problem. From which I understood, that this is somehow related to my Vulkan drivers.

I recently went through a lot of drama for reinstalling the latest Vulkan drivers on my system. I’m fairly sure I got it right (TL;dr DOTA2 used to terminate with an obscure graphics error on run, and now it runs fine), but I could be wrong.

If this is the wrong channel for getting help with my issue, please redirect me to the appropriate one.

Steps to reproduce

Launch Godot. Click on any menus, X button, CTRL+SHIFT+O and type something (see how it takes a couple of seconds to respond to everything).

Minimal reproduction project

Not required.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

vulkaninfo and vkcube were the examples, you can run them from the commandline 🙂

For different reasons, I booted into Manjaro from the latest USB today. Godot seems to run smoothly. Here’s what the console output says:

Godot Engine v4.1.2.stable.official.399c9dc39 - https://godotengine.org
OpenGL API 4.6 (Core Profile) Mesa 23.1.9-manjaro1.1 - Compatibility - Using Device: Intel - Mesa Intel(R) UHD Graphics (CML GT2)
 
Editing project: /tmp/Tmp
Godot Engine v4.1.2.stable.official.399c9dc39 - https://godotengine.org
Vulkan API 1.3.246 - Forward+ - Using Vulkan Device #0: Intel - Intel(R) UHD Graphics (CML GT2)

I noticed that - contrary to what I posted earlier - it’s now using the Intel GPU instead of the NVidia one.

I don’t know if this is helpful in any way, other than to suggest that I should reimage my Manjaro install and not touch the drivers. Maybe that will Just Work ™️. I’ll lose a lot of personal files, though, if I go that route.