xsession: different compton configuration for nvidia

Use of --glx-no-stencil introduces flickering.
This commit is contained in:
Vincent Bernat 2018-07-28 11:11:11 +02:00
parent d589657246
commit 13ecec71a9

View file

@ -53,7 +53,7 @@ systemd-run -q --scope --user tmux start-server
case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in
"NVIDIA Corporation")
compton --daemon --backend glx --refresh-rate 60 --vsync opengl-swc --glx-no-stencil --glx-swap-method 3
compton --daemon --backend glx --refresh-rate 60 --vsync opengl-swc --glx-swap-method 3 --glx-no-rebind-pixmap
;;
*)
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay