mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-14 19:26:51 -04:00
CPU rendering mode limited the window's wgpu instance to GL on Linux. With NVIDIA's EGL the GL adapter can't present to the window (wgpu: "EGL says it can present to the window but not natively") and llvmpipe isn't offered, so the adapter selector found nothing and every start exited with "no graphics adapter found", on X11 and Wayland alike. The user couldn't reach Preferences to undo it. CPU mode now creates the instance with GL and Vulkan. GL adapters still rank first (llvmpipe, then hardware GL), so nothing changes where GL can present; Vulkan is used only to draw the window when no GL adapter can. Image compositing stays on the CPU. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Brandon Thomas <[email protected]>