NVIDIA Driver Ubuntu

  1. Add the NVIDIA GPU driver PPA to your system:

    Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard.

    Add the graphics-driver PPA:

    sudo add-apt-repository ppa:graphics-drivers/ppa
    

    This will provide info on the current long-lived branch release: `nvidia-xxx`

    ../../../_images/long-lived-branch-release-nvidia.png
  2. Install the current latest drivers for your system:

    sudo apt update
    sudo apt install nvidia-driver-xxx
    
    sudo apt update
    sudo apt install nvidia-driver-xxx
    

    Note

    Support for Ubuntu 16.04 is removed since SDK 2.7. To see Ubuntu 16.04 instructions for an earlier SDK version, change the Knowledge base version in the bottom left corner.

    After installing the driver, restart your system:

    sudo reboot
    
  3. Check OpenCL driver

    Execute the following command to get a synthetic summary about all OpenCL platforms on the system and the devices they expose:

    Note

    You first have to install clinfo.

    /usr/bin/clinfo -l
    

    If clinfo doesn’t print anything, you might have to add your user to group Video.