Ubuntu 16.04 - VSync not enabled, screen tearing

Solution 1:

I can't remember the link where I got these settings. I also have Intel i7-6700 but have a little newer GTX970M. After much trial and error these settings worked for me (with old settings commented out):

$ cat /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
    Identifier "nvidia"
    Driver     "nvidia"
#    BusID      "PCI:1@0:0:0"
#    Option     "ConstrainCursor" "off"
    VendorName "NVIDIA Corporation"
    BoardName  "GeForce GTX 970M:"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
#    Option "AllowEmptyInitialConfiguration" "on"
#    Option "IgnoreDisplayDevices" "CRT"
#          Dec 14 2017 - Copy from /etc/X11/xorg.conf to /etc/X11/xorg.conf.d/20-nvidia.conf
#                        Add options from: https://wiki.archlinux.org/index.php/NVIDIA/Troubleshooting
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
EndSection