xsession: switch back to xrender

It's not that I am becoming crazy with all this stuff...
This commit is contained in:
Vincent Bernat 2019-03-02 14:18:34 +01:00
parent 3d85ff9465
commit 57566b4941

View file

@ -42,16 +42,16 @@ systemd-run -q --scope --user tmux start-server
case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in
"NVIDIA Corporation") "NVIDIA Corporation")
# This require to disable "Allow flipping" in "nvidia-settings" # This require to disable "Allow flipping" in "nvidia-settings"
compton --daemon --backend glx \ # compton --daemon --backend glx \
--glx-no-stencil \ # --glx-no-stencil \
--glx-swap-method copy \ # --glx-swap-method copy \
--glx-no-rebind-pixmap \ # --glx-no-rebind-pixmap \
--xrender-sync-fence \ # --xrender-sync-fence \
--paint-on-overlay \ # --paint-on-overlay \
--unredir-if-possible \ # --unredir-if-possible \
--no-dnd-shadow --no-dock-shadow # --no-dnd-shadow --no-dock-shadow
# It seems there is no way to not have tearing with xrender... # It seems there is no way to not have tearing with xrender...
#compton --daemon --backend xrender --paint-on-overlay compton --daemon --backend xrender --paint-on-overlay
;; ;;
*) *)
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay