Repository: godot
Issue: Godot freezes my entire computer under several different conditions
Labels: topic:editor,needs testing

### Tested versions

I only have used Godot 4.2.2, run through Steam. I believe this issue only happens when it is run through Steam

### System information

Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated AMD Radeon RX 7600S (Advanced Micro Devices, Inc.; 31.0.24027.1012) - AMD Ryzen 7 7735HS with Radeon Graphics (16 Threads)

### Issue description

Upon opening a Godot project (a personal project mind you, with only two nodes in it), my computer freezes. It stays frozen for upwards of 30 seconds before allowing me to move the mouse for about 2 seconds before freezing again. Godot does not even have to be the active app to do this. I can ctrl + alt + delete, but even that is subject to the 30 second lag before responding. Upon restarting my computer, the issue goes away. Until I open another app, like Krita. Then it does it again. And then from then on the engine freezes everything again, even after closing Krita. The computer heats up to 90 degrees Celsius when this happens, though task manager is open this whole time and is registering no spike in CPU or RAM usage this entire time. When the program is running smoothly the computer does not heat up as much. I also noticed that the usual popup saying that I'm switching to GPU doesnt come up, though the popup for switching back to CPU does pop up when I close the program. I dont know what causes this, as it is inconsistent. It happened when i first got the app, then it went away, now its back again. 

Here is a crash log from one of the times that it has actually crashed:

Faulting application name: godot.windows.opt.tools.64.exe, version: 4.2.2.0, time stamp: 0x00000000
Faulting module name: vulkan-1.dll, version: 1.3.261.0, time stamp: 0x64e3945f
Exception code: 0xc0000409
Fault offset: 0x00000000000b4855
Faulting process id: 0x0x13D20
Faulting application start time: 0x0x1DADE10BA8D9130
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Godot Engine\godot.windows.opt.tools.64.exe
Faulting module path: C:\Windows\SYSTEM32\vulkan-1.dll
Report Id: 83c144e5-41e9-4fc4-9bd2-0ccc0c6af6d1
Faulting package full name: 
Faulting package-relative application ID: 

### Steps to reproduce

Have Godot open through steam
Open a project, any project
Open another app, like Krita (this doesnt happen when opening chrome for some reason)

UPDATE:
It doesnt always do it when I open other apps, only sometimes. And sometimes it does it when there's no other apps open. And sometimes it works flawlessly, then when I close and reopen it does the freezing thing again. Sometimes it freezes but sometimes it just plain crashes. There is NO way I have found to reliably make it happen or not happen. All I know is when it decides it wants to freeze, nothing, not even restarting the entire computer, can fix it, until I come back at some later time and it's randomly working again. 


### Minimal reproduction project (MRP)


[Back to the Shadow Realm.zip](https://github.com/user-attachments/files/16302112/Back.to.the.Shadow.Realm.zip)