Installing Nvidia Display Driver Ubuntu


You need to disable secure start to successfully install third party Drivers

  1. download the latest Nvidia driver

  2. remove any previous nvidia driver

    sudo apt-get remove --purge nvidia*
  3. update and download a few tools that we will need:

    sudo spt-get update
    sudo apt-get install dkms build-essential linux-headers-generic

    * if you get error while installing driver (relating  to headers-generic), to save time install all headers (not the best way, but at least it saves time)
    * sudo apt-get install linux-headers-*
  4. blacklist nouveau

    # Create the /etc/modprobe.d/blacklist-nouveau.conf file with :
    sudo nano /etc/modprobe.d/blacklist-nouveau.conf

    # add these lines:
    blacklist nouveau
    options nouveau modeset=0
    blacklist lbm-nouveau
    alias nouveau off
    alias lbm-nouveau off

    #Disable the Kernel nouveau by typing the following commands:

    echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
    sudo update-initramfs -u
  5.   go to ttyX and stop lightdm

    #press ALt+Ctrl+F1
    sudo service lightdm stop
  6. install driver

    chmod +x
    sudo ./

    *Replace "" with the name of the file that you Download in the previous step.
  7. enable sli

    sudo nvidia-xconfig --sli=on
    sudo reboot
    # to check if sli is enabled. go to nvidia- xserver-setting
    in GPU(0) --> graphic card information(main page)-> end of the page:  Xscreens : it has to display the screen name + (SLI)
  8. if the screen flickers after enabling the sli, Install Compiz Config, from a terminal. type:

        sudo apt-get install compizconfig-settings-manager

     -->   From the launcher, execute CompizConfig Settings Manager
     -->   Check the checkbox in "Utility -> Workarounds -> Force full screen redraws (buffer swap) on repaint"

Tags: tutorial, UBUNTU, OPENCV, GTX1080, CUDA8, UBUNTU16.04, NVIDIA, STRIX

Add comment

Security code

Free WordPress Themes - Download High-quality Templates