From c4996b88d03631612974a2ba7da2da637c7cd842 Mon Sep 17 00:00:00 2001 From: goeiecool9999 <7033575+goeiecool9999@users.noreply.github.com> Date: Wed, 8 Apr 2026 01:36:03 +0200 Subject: [PATCH] Notify the user that RADV_DEBUG has been set --- src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp index dee9e704..8d149288 100644 --- a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp +++ b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp @@ -338,6 +338,7 @@ void VulkanRenderer::GetDeviceFeatures() #if BOOST_OS_LINUX #include +#include "resource/IconsFontAwesome5.h" int BreathOfTheWildChildProcessMain() { @@ -457,6 +458,8 @@ static void LinuxBreathOfTheWildWorkaround(VkInstance& instance, const VkInstanc throw std::runtime_error(fmt::format("Unable to re-create a Vulkan instance after RADV/LLVM workaround: {}", err)); InitializeInstanceVulkan(instance); + LatteOverlay_pushNotification(std::string{(const char*)ICON_FA_EXCLAMATION_TRIANGLE} + "RADV_DEBUG=llvm set automatically to avoid crashing due to a driver bug. If possible update mesa to 26.0.5 or newer", 10'000); + } #endif