godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.81k stars 20.14k forks source link

Editor crashes doesn't recover after resuming Suspend - Windows 7 #92156

Open CitrusWire opened 3 months ago

CitrusWire commented 3 months ago

Tested versions

Godot 4.2.2 reproduceable

System information

Godot v4.2.2.stable - Windows 6.1.7601 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 (‰; 30.0.14.7304) - AMD Ryzen 7 1700 Eight-Core Processor (16 Threads)

Issue description

I use Microsoft's Desktops application to have multiple virtual desktops on Windows 7 - https://learn.microsoft.com/en-us/sysinternals/downloads/desktops

If I have godot editor running on a desktop that's not the main one when I suspend the machine, when I resume the machine, Godot will crash. It will eat 100% of one CPU core until I kill it. The application is entirely unresponsive. godot 2 godot 3

If Godot is running in the main desktop, the interface breaks: https://github.com/godotengine/godot/issues/92155 but it doesn't crash.

Steps to reproduce

Minimal reproduction project (MRP)

n/a

bruvzg commented 3 months ago

It seems to be working fine on Windows 11 on any desktop (using built-in desktop switcher). Might be related to specific GPU driver, or Windows 7 specific (most likely, sleep implementation was quite buggy in old Windows versions).

CitrusWire commented 3 months ago

Possibly, but everything else works fine and has for years, baring occasional breaks (one or two a year?). Godot fails 100% of the time.