GPU path tracer: don't rerun a setup that crashed in the driver (#9236) (#9666)

* claim: #9236

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* GPU path tracer: don't rerun a setup that crashed in the driver (#9236)

A driver that takes the process down while it compiles the path tracer
(RADV on an RX 7600) is beyond error scopes and unwind guards. A running
setup now keeps gpu-path-setup.json (its adapter key) in the settings
folder, removed when the setup answers or the app closes normally. A
launch that finds it for the same adapter leaves the setup failed with an
explanation and a Try again button; CPU ray tracing stays available, and
a driver update changes the key and so tries again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PaddleStroke
2026-11-04 21:54:45 +00:00
committed by GitHub
parent 2fdcc5ae49
commit c4a63a1d43
8 changed files with 321 additions and 6 deletions
+5
View File
@@ -17,6 +17,11 @@ the pending/ready/failed host, and failures are not retried on each viewport ins
It opens its independent job device on the viewport's selected adapter,
so software fallback and safe mode do not rediscover a failing hardware driver.
An incompatible explicit GPU policy leaves progressive rendering unavailable there.
A driver that crashes the process while it compiles the path pipeline (#9236) is beyond error
scopes and unwind guards, so a running setup keeps `gpu-path-setup.json` (its adapter key) in the
settings folder and removes it when the setup answers or the app closes normally. A launch that
finds it for the same adapter key leaves the setup failed with that explanation until the user
chooses **Try again**; a driver update changes the key and so tries again.
The path tracer runs on Vulkan, or on Metal on macOS (#3217). A viewport on D3D12 is reopened on the
same GPU through Vulkan. Where there is no Vulkan or Metal driver (Windows over
Remote Desktop or on the WARP software adapter, older drivers), the path executor reports