godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Handle and recover from graphics driver restart gracefully #10269

Open alvinhochun opened 3 months ago

alvinhochun commented 3 months ago

Describe the project you are working on

Godot editor.

Describe the problem or limitation you are having in your project

If the graphics driver restarts, which on Windows this may happen from updating the graphics driver, or from a timeout detection and recovery (TDR), the Godot editor or any Godot games will either freeze or crash.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Handling a graphics driver restart gracefully, should allow the Godot editor and most Godot games to recover from a driver restart instead of freezing or crashing.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Testing:

If this enhancement will not be used often, can it be worked around with a few lines of script?

No, it has to be integrated into the rendering drivers.

Is there a reason why this should be core and not an add-on in the asset library?

It has to be integrated into the rendering drivers.

AThousandShips commented 3 months ago

See also: