xsession: more nVidia settings for compton

This seems to work now!
This commit is contained in:
Vincent Bernat 2019-02-08 08:21:52 +01:00
parent 41e9521201
commit d305e9259d

View file

@ -41,16 +41,12 @@ 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 or flickering
# --glx-swap-method X causes delay in refresh (visible when exiting a group in Gnus)
# --glx-no-rebind-pixmap triggers some slow refresh, eg when using `delete-indentation' in Emacs
#compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --paint-on-overlay
# This require to disable "Allow flipping" in "nvidia-settings"
compton --daemon --backend glx \
--glx-no-stencil \
--glx-copy-from-front \
--glx-swap-method copy \
--glx-no-rebind-pixmap \
--refresh-rate 0 \
--vsync opengl-swc \
--xrender-sync-fence \
--paint-on-overlay \
--unredir-if-possible \
--no-dnd-shadow --no-dock-shadow