- Copy
default.config.yml
toconfig.yml
and customize variables - Add secrets to
vault.yml
make deps
to install playbook dependenciesmake vault
to encryptvault.yml
make install
to run playbook
sudo apt install --no-install-recommends -y pciutils
lspci -nn
Great video discussing compositors, vsync, and screen tearing.
Basically if you do not care that much about latency (i.e. not using your system for FPS gaming) you should enable vsync on your GPU drivers and use a compositor (Picom) without vsync for the best tear free experience.
For Nvidia on X11 you can enable vsync by adding {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}
to each display in your xorg.conf
:
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "DP-1: 1920x1080_60 +0+180 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-7: 1920x1080_60 +4480+180 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-2: 2560x1440_100 +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
I have personally disabled picom because it causes stuttering issues when running mulitple GPU accelerated apps on multiple displays with different refresh rates (e.g your YouTube video will stutter when scrolling on Discord). Disabling picom doesn't seem to cause tearing issues as long as GPU driver vsync is enabled.