The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 465β€…    Votes:  2β€…    βœ… Solution
Tags: 18.04   nvidia   graphics  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1159557
Title: 18.04 - Screen tearing with NVIDIA GTX 970
ID: /2019/07/19/18.04-Screen-tearing-with-NVIDIA-GTX-970
Created: July 19, 2019
Upload: December 22, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


My laptop has the same card with no tearing. Note however I’m on version 384 and have no desire for a higher version number which might complicate my setup. During system setup I did the usual trick of consulting Arch Linux’s bible that recommends:

Section "Device"
        Identifier "Nvidia Card"
        Driver     "nvidia"
        VendorName "NVIDIA Corporation"
        BoardName  "GeForce GTX 1050 Ti"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
EndSection

Full Composition Pipeline and Triple Buffer are the most important.


Today my setup is like this:

$ cat /etc/X11/xorg.conf

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Monitor"
    Identifier "DP-1-1"
    Modeline "3840x2160_54.00"  637.50  3840 4152 4568 5296  2160 2163 2168 2230 -hsync +vsync
    Option "PreferredMode" "3840x2160_54.00"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

Notice Force Composition Pipeline and Triple Buffer aren’t setup here. It used to be on nvidia-settings GUI configuration but I don’t see it there anymore.

⇧ Ubuntu 18.04 stuck on verbose screen on startup Questions about Ubuntu 18.04 LTS Install / partition sizing on SSD / HDD system  β‡©