Even using vsync via openGL tearing appears on 1080p 60 fps videos. The problem is in NVidia driver. I have heard that the cause of it is framebuffer. Intel has implemented triple framebuffer and there are no tearing at all
Enable this in your /etc/X11/xorg.conf.d/xxxxxxxx.conf
Option "TripleBuffer" "On"
Hello!
Is xxxxxxxx.conf the exact name of the file? I don’t have xorg.conf.d folder, but I created /etc/X11/xorg.conf via nvidia-xconfig. What is the exact name of the file or where to put line in /etc/X11/xorg.conf
xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 331.113 (buildmeister@swio-display-x64-rhel04-03) Mon Dec 1 21:15:34 PST 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Any filename ending with .conf will do.
Here’s my configuration:
$ cat /etc/X11/xorg.conf.d/nvidia.conf
#
Section "Device"
Identifier "Videocard0"
BusID "PCI:1:0:0"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)"
Option "Coolbits" "12"
Option "RegistryDwords" "RMUseSwI2c=0x01; RMI2cSpeed=100"
Option "Metamodes" "HDMI-0: 1920x1080 { ForceCompositionPipeline = On }"
Option "TripleBuffer" "On"
EndSection
# This is a trailing line, it is needed so that End Section is not the last line
You could also just put the Xorg Option into the device section of xorg.conf without having extra config files in xorg.conf.d that enhance that configuration.
But I used Option “TripleBuffer” “True” insted of “TripleBuffer” “On”
In X.org configuration files these are the same
"True" "Yes" "On" "1" # i.e. enabled
"False" "No" "Off" "0" # i.e. disabled