Godot extremely slow after crash

Hey!

I’m learning Godot (v4.4.1 stable) through a Udemy course.

While following the tutorial, I had Godot open and minimized. When I brought it back up, it immediately crashed - Windows asked me to kill the process because it wasn’t responding.

Since then, starting Godot became painfully slow. It now takes about a full minute just to show the project selector. Before this crash, everything was working fine. I was simply alt-tabbing between the course video and Godot. I didn’t change anything, and now it’s consistently slow and sometimes crashes again.

What I’ve tried so far:

  • deleting both AppData/Local/Godot and AppData/Roaming/Godot
  • rebooting multiple times
  • a different version (v4.3 stable)
  • using this command (suggested by ChatGPT): godot4 --disable-crash-handler --no-window --single-window --rendering-driver opengl3 --verbose --tablet-driver none

Verbose log (before hanging for about 1 minute):

WorkerThreadPool: 16 threads, 4 max low-priority.
Godot Engine v4.4.1.stable.official.49a5bc7b6 - https://godotengine.org
TextServer: Added interface “Dummy”
TextServer: Added interface “ICU / HarfBuzz / Graphite (Built-in)”
Native OpenGL API detected: 3.3: NVIDIA - NVIDIA GeForce GTX 1080
NVAPI: Init OK!
NVAPI: Disabled OpenGL threaded optimization successfully
NVAPI: Disabled G-SYNC for windowed mode successfully

Then it prints:

Using “winink” pen tablet driver…

Followed by shader logs and OpenGL device info. Eventually it loads fonts, styles, etc.

I’ve searched GitHub issues but haven’t found anything relevant.

I’m completely stuck. Any ideas on what else to try?

  1. This happens when you open your tutorial project, or any project?
  2. Does this happen when making a new project?
  3. Have you tried 4.5-beta1 to see if this is a bug that was fixed since 4.4.1-stable?
  4. Did you update your video card drivers lately, like say while you had Godot open and minimized? Is it possible they auto-updated?

I know there are known issues with the latest NVidia video card drivers and Godot, and that it’s an Nvidia issue that affects things other than Godot. You might try installing an older version and see if that helps. You also might try the latest cutting-edge Nvidia drivers and see if they’ve fixed the problem. I don’t have more information, but hopefully someone on here will.

Thanks for your reply!

Someone on the Godot Discord helped me already, but to answer your questions:

  1. It happened before even opening a project. When trying to run the Godot editor executable, I had to wait for a minute for the project picker to even load. Afterwards, everything was extremely slow.
  2. Yes, after the initial wait for the project picker to load, everything I did was extremely slow - creating a new project included.
  3. I only tried 4.3 stable and 4.4.1 stable, I hadn’t tried 4.5-beta1!
  4. I haven’t updated my video card drivers the past few weeks, and I’m pretty sure there wasn’t any auto-update.

What actually helped was disconnecting my USB mouse (Razer Viper Pro), running the Godot editor executable, then reconnecting my USB mouse.
I don’t know why, but that fixed it.
Just disconnecting and reconnecting my USB mouse didn’t work, I had to start Godot in between!

2 Likes

That’s completely bizarre. Did the person mention to you why that helps?
But if something is stupid and works, then it’s not stupid :slight_smile:
Mark your last post as a solution to the problem, so that others can also see that more easily if they ever encounter the same problem.

1 Like

:open_mouth:

Thank you so much for posting this! The USB mouse trick worked. Did the reason for this ever get shared??? Insane that it just worked, but it did.