From 0dcd071e79365d621f75c9c4ca4ba38ade2dc389 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 12 Aug 2018 22:11:58 +0200 Subject: Backport two kscreenlocker patches from the 5.14 branch - Force software rendering when greeter crashed: - Load QtQuickSettings for software rendering (KDEBUG #347772): In particular the second patch eliminates 100% CPU usage in the lockscreen in case you have older hardware and rely on software rendering. I think this warrants the backport into Slackware's Plasma5 Desktop. --- kde/patch/kscreenlocker.patch | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'kde/patch/kscreenlocker.patch') diff --git a/kde/patch/kscreenlocker.patch b/kde/patch/kscreenlocker.patch index ea170b8..7e48859 100644 --- a/kde/patch/kscreenlocker.patch +++ b/kde/patch/kscreenlocker.patch @@ -2,3 +2,11 @@ # Dont quit the Greeter when last window closes. #cat $CWD/patch/kscreenlocker/kscreenlocker_CVE-2016-2312.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } +# Backport two important stability fixes from 5.14 - +# Force software rendering when greeter crashed: +cat $CWD/patch/kscreenlocker/kscreenlocker_crash_force_softrender.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } +# Load QtQuickSettings for software rendering (KDEBUG #347772): +cat $CWD/patch/kscreenlocker/kscreenlocker_rendersettings.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + + + -- cgit v1.2.3