From f22867efc5fc3b970a706f7997b997048c969a89 Mon Sep 17 00:00:00 2001 From: lat9nq Date: Sat, 28 May 2022 02:33:23 -0400 Subject: yuzu-qt: Attempt to workaround broken Vulkan installations This does a few things in order to make the default setting Vulkan workable. - When yuzu boots, it just opens the Vulkan library. - If it works, all good and we continue with Vulkan as the default. - If something breaks, a new file in the config directory will be left behind (this is deleted normally). - If Vulkan is not working, has_broken_vulkan is set to true. - The first time this happens, a warning is displayed to notify the user. - This forces use of OpenGL, and Vulkan cannot be selected. - The Shader Backend selector is made accessible for use in custom configurations. - To disable has_broken_vulkan, the user needs to press a button in Graphics Configuration to manually run the Vulkan device enumeration. --- src/yuzu/configuration/configure_graphics.ui | 91 +++++++++++++++------------- 1 file changed, 49 insertions(+), 42 deletions(-) (limited to 'src/yuzu/configuration/configure_graphics.ui') diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui index 74f0e0b79..2f94c94bc 100644 --- a/src/yuzu/configuration/configure_graphics.ui +++ b/src/yuzu/configuration/configure_graphics.ui @@ -6,8 +6,8 @@ 0 0 - 437 - 482 + 471 + 759 @@ -171,11 +171,11 @@ - - - Accelerate ASTC texture decoding - - + + + Accelerate ASTC texture decoding + + @@ -438,43 +438,43 @@ - - - - 0 - - - 0 - - - 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Anti-Aliasing Method: + + + + + + + + None - - 0 + + + + FXAA - - - - Anti-Aliasing Method: - - - - - - - - None - - - - - FXAA - - - - - - + + + + + @@ -574,6 +574,13 @@ + + + + Check for Working Vulkan + + + -- cgit v1.2.3