1 Commits
Author SHA1 Message Date
hhofmann f417297713 fix: retry NvAPI init on autoload to handle early boot race
init_nvapi() previously called sys.exit(1) directly, which raised
SystemExit (uncaught by except Exception). The autoload subprocess
would die instantly if the NVIDIA driver wasn't fully loaded at boot.

- Raise RuntimeError from init_nvapi() so callers can handle failures
- Add 16-attempt retry loop (2s interval, 32s total) in run_autoload()
2026-08-09 08:28:59 +02:00