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`

  2. Install the current latest drivers for your system:

    sudo apt update
    sudo apt install nvidia-driver-xxx

    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:


    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.