diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-07-16 11:02:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-16 11:02:20 +0200 |
| commit | 5bfe6dc703f678e6f8197ea587d798681fa21816 (patch) | |
| tree | 14d17965d5863a9ccc3278453d437bd3fc19d6af /src/config | |
| parent | 8453fbf4eb0af2e3265fd34a693b7d0e9167f4d2 (diff) | |
config: disable hw on mgpu nvidia by default (#11018)
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/ConfigDescriptions.hpp | 2 | ||||
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 927d67de..ae1f51e4 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1495,7 +1495,7 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { SConfigOptionDescription{ .value = "cursor:no_hardware_cursors", - .description = "disables hardware cursors. Auto = disable when tearing", + .description = "disables hardware cursors. Auto = disable when multi-gpu on nvidia", .type = CONFIG_OPTION_CHOICE, .data = SConfigOptionDescription::SChoiceData{0, "Disabled,Enabled,Auto"}, }, diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index bc198fac..ceaa0979 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -3134,7 +3134,7 @@ bool CConfigManager::shouldUseSoftwareCursors(PHLMONITOR pMonitor) { switch (*PNOHW) { case 0: return false; case 1: return true; - case 2: return pMonitor->m_tearingState.activelyTearing; + case 2: return g_pHyprRenderer->isNvidia() && g_pHyprRenderer->isMgpu(); default: break; } |
