NVIDIA

From Q
Jump to navigation Jump to search
  1. cave solve nvidia-drivers dkms -x
  2. dkms add -m nvidia-drivers -v 435.21
  3. dkms remove -m nvidia-drivers/435.21 --all
  4. systemctl enable dkms.service
  5. systemctl restart dkms.service

NVIDIA tearing

/usr/share/X11/xorg.conf.d/50-nvidia.conf

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Acer"
    ModelName      "VG270"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 970"
    Option         "NoFlip" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "HDMI-0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection