From 83275c3f3118ef0573d6cd36eab4b8873dec6f69 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Mon, 24 Jan 2022 09:44:38 +0100 Subject: [PATCH] backends/drm: add warning if no matching mode can be found --- src/backends/drm/drm_output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index 38bcf2059f..725ab7a8b7 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -420,6 +420,7 @@ bool DrmOutput::queueChanges(const WaylandOutputConfig &config) } } if (index == -1) { + qCWarning(KWIN_DRM).nospace() << "Could not find mode " << props->modeSize << "@" << props->refreshRate << " for output " << this; return false; } m_pipeline->pending.modeIndex = index;