Tried to fix screen tearing in picom conf

This commit is contained in:
GaspardCulis 2023-11-10 13:59:54 +01:00
parent c715f9533a
commit eecfa09f45

View file

@ -215,6 +215,9 @@ blur-background-exclude = [
# backend = "glx"
backend = "xrender";
glx-no-stencil = true;
glx-copy-from-front = false;
# Enable/disable VSync.
# vsync = false
vsync = true;
@ -254,7 +257,7 @@ detect-client-opacity = true;
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
# unredir-if-possible = false
unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
@ -298,7 +301,6 @@ detect-transient = true;
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
glx-no-stencil = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
@ -313,7 +315,6 @@ glx-no-stencil = true;
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = false;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers