Repository: godot
Issue: Godot Randomly Crashes even when idle, Event Viewer says it's dxgi faulting
Labels: bug,topic:editor,needs testing,crash

### Tested versions

Reproducible in: 4.4 Dev, 4.3 stable, both in mono and default 

### System information

Godot v4.4.dev4.mono - Windows 10.0.19045 - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; 32.0.15.6614) - 12th Gen Intel(R) Core(TM) i5-12400F (12 threads)

### Issue description

Godot will crash at random moments, at first I thought it was due to having visual studio open in the background but this time i was just working on a blend tree and it crashed, then I opened the project again and this time it crashed within seconds. I've tried everything, I've tried logging any possible crash by using console and verbose but I get nothing, I tried working on 4.3 stable thinking it was the dev version but nop it was still crashing even on a new project. ONLY source I can get a reason for the crash is the Event Viewer, which says that the crash was due to faulting dxgi.dll? That is pretty weird. I even tried updating directX, using windows tools (for example CHKDSK which the error recommends) and nothing seems to be able to fix it. This doesn't happen with any other app, and I've used both of my ssds to run Godot just in case that was the fault. My last resort was coming here. Here are the 3 errors i get in event viewer:

1st one:
Application: Godot_v4.4-dev4_mono_win64.exe
CoreCLR Version: 8.0.1024.46610
.NET Version: 8.0.10
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c000001d, exception address 00007FF8113C18C3

2nd one:
Faulting application name: Godot_v4.4-dev4_mono_win64.exe, version: 4.4.0.0, time stamp: 0x672de8b1
Faulting module name: dxgi.dll, version: 10.0.19041.5072, time stamp: 0x9198c6b9
Exception code: 0xc000001d
Fault offset: 0x00000000000018c3
Faulting process id: 0x1d78
Faulting application start time: 0x01db382618b30bfe
Faulting application path: D:\Godot Engine\Godot_v4.4-dev4_mono_win64\Godot_v4.4-dev4_mono_win64.exe
Faulting module path: C:\WINDOWS\SYSTEM32\dxgi.dll
Report Id: 54870284-251c-45be-a8ea-970d1ec91df1
Faulting package full name: 
Faulting package-relative application ID: 

3rd one:
Windows cannot access the file  for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Godot Engine because of this error.

Program: Godot Engine
File: 

The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
	- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
	- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

Additional Data
Error value: 00000000
Disk type: 0

### Steps to reproduce

2 easiest I could do that most of the time worked was first: to go change the render device, and as soon as the dropdown appeared it would crash, the second one would be to have a C# script open in the background in visual studio. Happened even when I was afk.

### Minimal reproduction project (MRP)

pretty much any project