From b2d120a4dd15071ab9df5e3facd66aa352aecb9e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 28 Jan 2021 20:10:49 +0200 Subject: [PATCH] Lower message severity of self test log messages It is reported that the self test produces false positives with some drivers. At quick glance, there is nothing in particular extremely wrong with the test. Since not a lot can be done about the test except making changes in drivers, the severity of the log messages should be lowered to avoid polluting logs. --- libkwineffects/kwinglutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index 55b18187cb..8a93cdc413 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -597,11 +597,11 @@ bool ShaderManager::selfTest() return true; } if (GLPlatform::instance()->isNvidia() && GLPlatform::instance()->glRendererString().contains("Quadro")) { - qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware"; + qCDebug(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware"; return true; } if (GLPlatform::instance()->isMesaDriver() && GLPlatform::instance()->mesaVersion() >= kVersionNumber(17, 0)) { - qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Mesa drivers"; + qCDebug(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Mesa drivers"; return true; }