mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 09:14:25 +02:00
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.
This commit is contained in:
parent
a73094f48c
commit
93fe3e3cef
1 changed files with 2 additions and 1 deletions
3
xsession
3
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue