From 4bc37e33ff4fca044b01567110de437985cefd09 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 7 Feb 2023 19:47:26 -0700 Subject: [PATCH] picom tweaks --- dotfiles/config/picom.conf | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/dotfiles/config/picom.conf b/dotfiles/config/picom.conf index 8f9eb809..34f2c8ab 100644 --- a/dotfiles/config/picom.conf +++ b/dotfiles/config/picom.conf @@ -35,18 +35,6 @@ glx-copy-from-front = false; # glx-no-rebind-pixmap = true; -# GLX backend: GLX buffer swap method we assume. -# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1). -# undefined is the slowest and the safest, and the default value. -# copy is fastest, but may fail on some drivers, -# 2-6 are gradually slower but safer (6 is still faster than 0). -# Usually, double buffer means 2, triple buffer means 3. -# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers. -# Useless with --glx-use-copysubbuffermesa. -# Partially breaks --resize-damage. -# Defaults to undefined. -glx-swap-method = "undefined"; - ################################# # # Shadows @@ -181,10 +169,6 @@ detect-rounded-corners = true; # For example without this enabled my xfce4-notifyd is 100% opacity no matter what. detect-client-opacity = true; -# Specify refresh rate of the screen. -# If not specified or 0, compton will try detecting this with X RandR extension. -refresh-rate = 0; - # Set VSync method. VSync methods currently available: # none: No VSync # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers. @@ -193,7 +177,7 @@ refresh-rate = 0; # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental. # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use. # (Note some VSync methods may not be enabled at compile time.) -vsync = "opengl"; +vsync = true; # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Reported to have no effect, though.