mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
xsession: more nVidia settings for compton
This seems to work now!
This commit is contained in:
parent
41e9521201
commit
d305e9259d
1 changed files with 3 additions and 7 deletions
10
xsession
10
xsession
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue