summaryrefslogtreecommitdiffstats
path: root/kde/patch/kscreenlocker.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-08-12 22:11:58 +0200
committer Eric Hameleers <alien@slackware.com>2018-08-12 22:11:58 +0200
commit0dcd071e79365d621f75c9c4ca4ba38ade2dc389 (patch)
treef2522f1440864f96f09098c901945c83e5352c11 /kde/patch/kscreenlocker.patch
parent6e33bf90d74269de6e201c6793b7fd6ea721d1cb (diff)
downloadktown-0dcd071e79365d621f75c9c4ca4ba38ade2dc389.tar.gz
ktown-0dcd071e79365d621f75c9c4ca4ba38ade2dc389.tar.xz
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.
Diffstat (limited to 'kde/patch/kscreenlocker.patch')
-rw-r--r--kde/patch/kscreenlocker.patch8
1 files changed, 8 insertions, 0 deletions
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 ; }
+
+
+