From 9dacefcbf1790564c5432de1f7dfadfc3d5c4be7 Mon Sep 17 00:00:00 2001 From: dreamsyntax Date: Sat, 19 Oct 2024 17:17:10 -0700 Subject: [PATCH] GraphicsSettings: EFBAccessEnable=false by default Makes Graphics -> Hacks -> Skip EFB Access from CPU enabled by default. Some GPU drivers stall when EFB access occurs in games where EFB is not used. Most games that require this setting set to 'true' already have this defined in their game inis. --- .../dolphinemu/features/settings/model/BooleanSetting.kt | 2 +- Source/Core/Core/Config/GraphicsSettings.cpp | 2 +- Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/BooleanSetting.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/BooleanSetting.kt index c83d1cc923..156d6ccd4c 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/BooleanSetting.kt +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/BooleanSetting.kt @@ -789,7 +789,7 @@ enum class BooleanSetting( Settings.FILE_GFX, Settings.SECTION_GFX_HACKS, "EFBAccessEnable", - true + false ), GFX_HACK_EFB_DEFER_INVALIDATION( Settings.FILE_GFX, diff --git a/Source/Core/Core/Config/GraphicsSettings.cpp b/Source/Core/Core/Config/GraphicsSettings.cpp index cd916c6864..708a4ebe0d 100644 --- a/Source/Core/Core/Config/GraphicsSettings.cpp +++ b/Source/Core/Core/Config/GraphicsSettings.cpp @@ -177,7 +177,7 @@ const Info GFX_STEREO_DEPTH_PERCENTAGE{{System::GFX, "Stereoscopy", "Stereo // Graphics.Hacks -const Info GFX_HACK_EFB_ACCESS_ENABLE{{System::GFX, "Hacks", "EFBAccessEnable"}, true}; +const Info GFX_HACK_EFB_ACCESS_ENABLE{{System::GFX, "Hacks", "EFBAccessEnable"}, false}; const Info GFX_HACK_EFB_DEFER_INVALIDATION{ {System::GFX, "Hacks", "EFBAccessDeferInvalidation"}, false}; const Info GFX_HACK_EFB_ACCESS_TILE_SIZE{{System::GFX, "Hacks", "EFBAccessTileSize"}, 64}; diff --git a/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp index 135f358356..19712e38f8 100644 --- a/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp @@ -223,7 +223,7 @@ void HacksWidget::AddDescriptions() "Ignores any requests from the CPU to read from or write to the EFB. " "

Improves performance in some games, but will disable all EFB-based " "graphical effects or gameplay-related features.

If unsure, " - "leave this unchecked."); + "leave this checked."); static const char TR_IGNORE_FORMAT_CHANGE_DESCRIPTION[] = QT_TR_NOOP( "Ignores any changes to the EFB format.

Improves performance in many games " "without "