config: disable hw on mgpu nvidia by default (#11018)
This commit is contained in:
parent
8453fbf4eb
commit
5bfe6dc703
4 changed files with 11 additions and 2 deletions
|
|
@ -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"},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue