From 9b2d0787c06cb367d867249b5688af7402bd756e Mon Sep 17 00:00:00 2001 From: Gabriele Franchina <66174301+Gabry179@users.noreply.github.com> Date: Wed, 12 Aug 2026 23:33:22 +0200 Subject: [PATCH] launcher: add vulkan_device setting to launcher UI --- launcher/launcher.py | 1 + launcher/ui/index.html | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/launcher/launcher.py b/launcher/launcher.py index 78e015d2..8f3fd70b 100755 --- a/launcher/launcher.py +++ b/launcher/launcher.py @@ -255,6 +255,7 @@ def set_capture(enable): # graphics backend: "" = automatic (Vulkan first, D3D12 fallback on # Windows), "vulkan" or "d3d12" to force one. Chosen at startup. "gpu": ("str", "", True), + "vulkan_device": ("str", "", True), # audio "audio_mute": ("bool", False, False), "audio_maxqframes": ("int", 32, True), diff --git a/launcher/ui/index.html b/launcher/ui/index.html index e48fadaa..849e94f9 100644 --- a/launcher/ui/index.html +++ b/launcher/ui/index.html @@ -303,6 +303,15 @@

DISPLAY

Vulkan plays the intro videos and matches console colors. Pick Direct3D 12 only if Vulkan fails on your GPU. Restart needed.
+
+ + +
Select the GPU device index to use when GPU backend is set to Vulkan. Leave on Automatic if unsure.
+
@@ -1053,6 +1062,7 @@

Credits

$("#s-fullscreen").value = String(v.fullscreen); $("#s-resolution").value = v.resolution || ""; $("#s-gpu").value = v.gpu || ""; + $("#s-vulkan_device").value = v.vulkan_device || ""; $("#s-vsync").checked = v.vsync; $("#s-present_letterbox").checked = v.present_letterbox; $("#s-resolution_scale").value = String(v.resolution_scale); @@ -1075,6 +1085,7 @@

Credits

fullscreen: $("#s-fullscreen").value === "true", resolution: $("#s-resolution").value, gpu: $("#s-gpu").value, + vulkan_device: $("#s-vulkan_device").value, vsync: $("#s-vsync").checked, present_letterbox: $("#s-present_letterbox").checked, resolution_scale: Number($("#s-resolution_scale").value),