mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-02 18:07:04 +00:00
bee2ffc283
On Windows the launcher now asks wgpu for DX12 with GL as the fallback instead of wgpu's default list, which starts with Vulkan. WGPU_BACKEND still overrides it; other platforms keep wgpu's defaults. Without this the launcher died on startup with STATUS_ACCESS_VIOLATION on an ASUS G513QY (Ryzen 9 5900HX integrated Radeon + Radeon RX 6800M). The crash is inside AMD's Vulkan driver (amdvlk64.dll): the integrated GPU runs the OEM driver from 2021 while the 6800M runs Adrenalin from 2026, both register a Vulkan ICD, the loader reports the 6800M twice, and wgpu's pick dies right after the surface is configured. AMD's installer never updates the OEM iGPU driver, so this state is common on hybrid laptops. DX12 and GL both work. Also reorders one import in self_update.rs that stable rustfmt flagged, so `cargo xtask ci` passes again. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>