diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp index a3aa7d2fac..ff6a847d1a 100644 --- a/src/backends/drm/drm_gpu.cpp +++ b/src/backends/drm/drm_gpu.cpp @@ -356,7 +356,7 @@ DrmPipeline::Error DrmGpu::checkCrtcAssignment(QVector connector } auto connector = connectors.takeFirst(); auto pipeline = connector->pipeline(); - if (!pipeline->enabled()) { + if (!pipeline->enabled() || !connector->isConnected()) { // disabled pipelines don't need CRTCs pipeline->setCrtc(nullptr); return checkCrtcAssignment(connectors, crtcs);