From 974895ee8a69367901b8d46452f4d5781e217aeb Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Fri, 11 Jan 2019 13:36:29 +0100 Subject: [PATCH] Improve compton performance Signed-off-by: Severin Kaderli --- system/.config/compton.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/system/.config/compton.conf b/system/.config/compton.conf index dffa823..a3a243b 100644 --- a/system/.config/compton.conf +++ b/system/.config/compton.conf @@ -13,5 +13,14 @@ # Settings opacity rules opacity-rule = [ "85:class_g = 'Termite'" ]; -# Disable compton when full screen application is active +# Performance improvements unredir-if-possible = true; +backend = "glx"; +glx-no-stencil = false; +glx-copy-from-front = false; +glx-swap-method = "undefined"; +refresh-rate = 0; +vsync = "none"; +sw-opti = true; +xrender-sync = true; +xrender-sync-fence = true;