On Windows PCs whose only graphics are AMD integrated GPUs, Automatic starts Vulkan instead of
Direct3D 12, whose driver hung there a few seconds after start.
A GPU that hangs after the window is up (frames that each wait out their acquire, or a
main-window surface that keeps refusing its configuration, while the user is there) closes the
app, keeping unsaved changes for recovery, and starts it again on the next API, kept in
graphics.json: D3D12 -> Vulkan -> OpenGL -> the software renderer. Only stalls after the user's
input count, so waking a display doesn't restart a healthy app. The restart doesn't inherit
WGPU_BACKEND or a start-up retry's backend (#6682), which would win over the saved one, and later
launches don't inherit its notice or the device-lost one (#4229). graphics.json is written to a
new file, then renamed over the old one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>