From c8c845a65934d9dac90cff8a45b82c7988e9a04d Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 11 Feb 2024 03:34:00 +0300 Subject: [PATCH] vk: Emit a strong warning if dozen is detected as the currently loaded driver. - In most cases, the user does not intend to actually use dozen and has installed a compatibility pack by mistake. --- rpcs3/Emu/RSX/VK/VKHelpers.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKHelpers.cpp b/rpcs3/Emu/RSX/VK/VKHelpers.cpp index c8403de156..b89bd97d29 100644 --- a/rpcs3/Emu/RSX/VK/VKHelpers.cpp +++ b/rpcs3/Emu/RSX/VK/VKHelpers.cpp @@ -121,6 +121,21 @@ namespace vk case driver_vendor::MVK: // Apple GPUs / moltenVK need more testing break; + case driver_vendor::LAVAPIPE: + // This software device works well, with poor performance as the only downside + break; + case driver_vendor::DOZEN: + // This driver is often picked by mistake when the user meant to select something else. Complain loudly. +#ifdef _WIN32 + MessageBox(NULL, + L"You're attempting to run rpcs3 on Microsoft's Dozen driver that emulates vulkan on top of Direct3D12.\n" + "This driver is unsupported. You should use your vendor's vulkan driver whenever possible.", + L"Unsupported Driver", + MB_ICONWARNING | MB_OK); +#else + rsx_log.error("Dozen is currently unsupported. How did you even get this to run outside windows?"); +#endif + break; default: rsx_log.warning("Unsupported device: %s", gpu_name); }