godotengine / godotengine/godot
Editor window flicker and game silently restarts while trying to write d3d12.dll in project dir
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
-4.3.stable & (-.mono)
Due to D3D12 being supported from 4.3 earlier versions are probably unaffected
### System information
Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 32.0.15.6603) - Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 Threads)
### Issue description
I noticed a weird flicker on the editor title window when the game was running, and in my peripheral vision i would often see something change in the taskbar, which turned out to be the game window closing for a split second and reopening (renderer crash perhaps?).
For now, I only looked at ProcMon and saw, that when the flicker/game reappearance happens, godot is trying to write d3d12.dll to my project dir and then gpu driver files get called
I will try to dig deeper into this shortly.
**NOTE:** This issue persists when `Fallback to D3D12` is disabled

### Steps to reproduce
Underlying cause not yet discovered but for me:
1. Open any project
2. Run game and wait until window flickers
3. Notice game sometimes reopening in the taskbar for a split second
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
No source file, test, or minimal reproduction project is identified. Begin by reproducing the flicker with the listed steps and inspect ProcMon around writes of d3d12.dll and the associated GPU driver activity; done means identifying the cause and preventing the game restart or editor flicker.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, game-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100