From a1bcc8e84898ae700b68df1b2fcfda75dced7731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 31 Aug 2015 08:58:25 +0200 Subject: [PATCH] [drm] Don't present on an output which is in dpms standby It will fail if the output is not on, so let's don't try to present on a disabled output. --- backends/drm/drm_backend.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backends/drm/drm_backend.cpp b/backends/drm/drm_backend.cpp index bebc96dc06..0a0c970031 100644 --- a/backends/drm/drm_backend.cpp +++ b/backends/drm/drm_backend.cpp @@ -557,6 +557,9 @@ bool DrmOutput::present(DrmBuffer *buffer) m_currentBuffer = buffer; return false; } + if (m_dpmsMode != DpmsMode::On) { + return false; + } if (m_currentBuffer) { return false; }