This commit is contained in:
Vaxry 2024-07-11 20:42:03 +02:00
parent 14a229069f
commit 84733573ee
2 changed files with 0 additions and 7 deletions

View File

@ -839,6 +839,5 @@ bool CMonitorState::updateSwapchain() {
options.scanout = true;
options.length = 2;
options.size = MODE->pixelSize;
options.multigpu = m_pOwner->output->swapchain->getAllocator()->drmFD() != g_pCompositor->m_iDRMFD;
return m_pOwner->output->swapchain->reconfigure(options);
}

View File

@ -530,12 +530,6 @@ bool CHyprOpenGLImpl::passRequiresIntrospection(CMonitor* pMonitor) {
static auto PBLURSPECIAL = CConfigValue<Hyprlang::INT>("decoration:blur:special");
static auto PBLURPOPUPS = CConfigValue<Hyprlang::INT>("decoration:blur:popups");
// multigpu destination
if (pMonitor->output->swapchain->getAllocator()->drmFD() != g_pCompositor->m_iDRMFD) {
Debug::log(TRACE, "passRequiresIntrospection: multigpu target, forcing");
return true;
}
if (m_RenderData.mouseZoomFactor != 1.0 || g_pHyprRenderer->m_bCrashingInProgress)
return true;