From 93fe3e3cef814ba67c538fc98799051499696b66 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 1 Aug 2018 11:09:38 +0200 Subject: [PATCH] xsession: with nvidia, just use xrender backend GLX backend just triggers bugs everytime. It seems I don't need to use a vsync method as there is no tearing as is. --- xsession | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xsession b/xsession index 0409c1b..c34fc80 100644 --- a/xsession +++ b/xsession @@ -42,7 +42,8 @@ systemd-run -q --scope --user tmux start-server case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in "NVIDIA Corporation") # --glx-swap-method 2 causes cursor to be duplicated earlier on the line - compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --glx-no-rebind-pixmap + #compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --glx-no-rebind-pixmap + compton --daemon --backend xrender ;; *) compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay