Skip to content

Skip Vulkan when picking a renderer - #16

Merged
FrancescoCoding merged 2 commits into
mainfrom
fix/skip-vulkan-backend
Nov 11, 2026
Merged

FrancescoCoding merged 2 commits into
mainfrom
fix/skip-vulkan-backend

Conversation

@FrancescoCoding

Copy link
Copy Markdown
Owner

Throttle was crashing on startup on older Intel GPUs (HD 520 in #14) because wgpu sets up a Vulkan instance even when it renders with DX12, and that Intel Vulkan driver crashes in the process.

This limits the renderer to DX12, with GL as a fallback. Throttle only draws a 2D UI, so there's no visible difference, and WGPU_BACKEND=vulkan (set as a user environment variable, because of the admin elevation) still brings Vulkan back for anyone who wants it.

Tested on my AMD machine, still works fine. Not tested on Intel HD hardware yet.

Fixes #14

egui-wgpu enables every backend by default, so wgpu creates a Vulkan
instance on startup even if it ends up rendering with DX12. On older
Intel GPUs (HD 520 / Skylake) the Vulkan driver crashes inside that
call, taking Throttle down before the window opens.

Limit the backends to DX12 with GL as a fallback. WGPU_BACKEND can
still override this.

Fixes #14
@FrancescoCoding
FrancescoCoding merged commit 568391b into main Nov 11, 2026
4 checks passed
@FrancescoCoding
FrancescoCoding deleted the fix/skip-vulkan-backend branch November 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on startup with Intel HD Graphics 520 – igvk64.dll access violation

1 participant