You are not logged in.
By adding
{ ForceCompositionPipeline = On }
and
Option "TripleBuffer" "true"
to my xorg.conf, I've got the the screen tearing problem fixed while running xfce. When I run gnome shell, it doesn't appear to use xorg.conf at all, since the screen tearing is there and the screens aren't rotated like they should be. Is there a way to get gnome shell to use xorg.conf while using X? Or is there another way to set the above settings without xorg.conf?
$ pacman -Q linux xorg-server gnome-shell nvidia
linux 4.8.4-1
xorg-server 1.18.4-1
gnome-shell 3.22.1+2+g5a08886-1
nvidia 370.28-2
$ lspci -v | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1) (prog-if 00 [VGA controller])
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "0"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL U2312HM"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPI" "96 x 96"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 960"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TripleBuffer" "true"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "DP-0: 2560x1600_60 +0+160 { ForceCompositionPipeline = On }, DVI-D-0: nvidia-auto-select +3640+0 {rotation=left}, DVI-I-1: nvidia-auto-select +2560+0 {rotation=left};"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Last edited by zackpete (2016-10-25 23:59:21)
Offline
gnome now defaults to wayland, you've to explicitly pick "gnome on xorg" on login.
Offline
Sorry, I should have mentioned that I had done that (couldn't get it to start with Wayland at all.) I found a way to load the composition setting upon log in though, which fixed it:
$ nvidia-settings --assign CurrentMetaMode="DP-0: 2560x1600_60 +0+160 { ForceCompositionPipeline = On }, DVI-D-0: nvidia-auto-select +3640+0 {rotation=left}, DVI-I-1: nvidia-auto-select +2560+0 {rotation=left};"
Offline