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),