From 474572982361fcfa11e95fee469610a7e69a4763 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 19 Oct 2025 22:17:57 +0000 Subject: [PATCH 1/2] [vk] Disable EDS on Mesa Intel integrated UHD drivers Signed-off-by: lizzie --- src/video_core/vulkan_common/vulkan_device.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 230348f21a..09db1a932d 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -734,8 +734,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR dynamic_state3_enables = true; } - if (is_mvk && Settings::values.dyna_state.GetValue() != 0) { - LOG_WARNING(Render_Vulkan, "MoltenVK detected: Forcing dynamic state to 0 to prevent black screen issues"); + // Mesa Intel drivers on UHD 620 have broken EDS causing extreme flickering - unknown if it affects other iGPUs + if ((is_mvk || (is_integrated && is_intel_anv)) && Settings::values.dyna_state.GetValue() != 0) { + LOG_WARNING(Render_Vulkan, "Driver has broken dynamic state, forcing to 0 to prevent graphical issues"); Settings::values.dyna_state.SetValue(0); } From 1272ffa0b990f816bb4cb9c85ab694ce5a8b5fba Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 22 Oct 2025 20:15:50 +0000 Subject: [PATCH 2/2] intel on windows also broken Signed-off-by: lizzie --- docs/Deps.md | 2 +- src/video_core/vulkan_common/vulkan_device.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/Deps.md b/docs/Deps.md index 82e1dbc0ee..466f27f44e 100644 --- a/docs/Deps.md +++ b/docs/Deps.md @@ -216,7 +216,7 @@ Then install the libraries: `sudo pkg install qt6 boost glslang libzip library/l HaikuOS ```sh -pkgman install git cmake libfmt_devel nlohmann_json lz4_devel opus_devel boost1.89_devel vulkan_devel qt6_base_devel libsdl2_devel ffmpeg7_devel libx11_devel enet_devel catch2_devel quazip1_qt6_devel qt6_5compat_devel zydis_devel glslang +pkgman install git cmake libfmt_devel nlohmann_json lz4_devel opus_devel boost1.89_devel vulkan_devel qt6_base_devel libsdl2_devel ffmpeg7_devel libx11_devel enet_devel catch2_devel quazip1_qt6_devel qt6_5compat_devel zydis_devel libusb_devel libz_devel glslang ``` [Caveats](./Caveats.md#haikuos). diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 09db1a932d..7b7c4b0b78 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -735,7 +735,10 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR } // Mesa Intel drivers on UHD 620 have broken EDS causing extreme flickering - unknown if it affects other iGPUs - if ((is_mvk || (is_integrated && is_intel_anv)) && Settings::values.dyna_state.GetValue() != 0) { + // ALSO affects ALL versions of UHD drivers on Windows 10+, seems to cause even worse issues like straight up crashing + // So... Yeah, UHD drivers fucking suck -- maybe one day we can work past this, maybe; some driver hacking? + // And then we can rest in peace by doing `< VK_MAKE_API_VERSION(26, 0, 0)` for our beloved mesa drivers... one day + if ((is_mvk || (is_integrated && is_intel_anv) || (is_integrated && is_intel_windows)) && Settings::values.dyna_state.GetValue() != 0) { LOG_WARNING(Render_Vulkan, "Driver has broken dynamic state, forcing to 0 to prevent graphical issues"); Settings::values.dyna_state.SetValue(0); }