From 255e9882b65a5c9ec16a4a54eefd84ff3c8527a9 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 5 Apr 2022 01:10:37 +0200 Subject: [PATCH] backends/drm: add some warnings for failing atomic tests --- src/backends/drm/drm_gpu.cpp | 1 + src/backends/drm/drm_output.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp index d5adcf1996..07b30dee10 100644 --- a/src/backends/drm/drm_gpu.cpp +++ b/src/backends/drm/drm_gpu.cpp @@ -328,6 +328,7 @@ bool DrmGpu::updateOutputs() } } } else { + qCWarning(KWIN_DRM, "Failed to find a working setup for new outputs!"); for (const auto &pipeline : qAsConst(m_pipelines)) { pipeline->revertPendingChanges(); } diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index f7eaee4a80..666acc9b7c 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -343,6 +343,7 @@ bool DrmOutput::setGammaRamp(const GammaRamp &gamma) m_renderLoop->scheduleRepaint(); return true; } else { + qCWarning(KWIN_DRM) << "Applying gamma ramp failed on output" << this; m_pipeline->revertPendingChanges(); return false; }