Files
lightcraft/docs
skylartaylor 4ec149076b LR-BEHAV-GPU: no GPU warm-up is still loading the driver when a test or headless process ends (issue #620)
The first frame starts the GPU device warm-up on a thread of its own. A process
that ended a few milliseconds later, as every test does under nextest, could
exit while that thread was inside the Vulkan loader's dlopen of the driver,
running libLLVM's initializers: a SIGSEGV after the test had passed, or a hang.
Only the window's exit (LightcraftApp::shutdown) waited for GPU work.

warm_up now counts as in flight from the moment it is called, before its thread
exists, and wait_warm_up waits for it. Dropping a LightcraftApp waits for it,
bounded, unless shutdown already ran.
2026-11-23 10:43:47 +01:00
..
2026-10-15 03:24:51 -04:00
2026-10-31 02:31:16 +00:00