NVIDIA: GPU

Zivid Knowledge Base has been moved!

This site is getting deprecated and will no longer be updated. Please head to our new website to find the latest and greatest in Zivid documentation.


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:

Ubuntu 18.04 and 20.04
sudo apt install nvidia-driver-xxx
Ubuntu 16.04
sudo apt update
sudo apt install nvidia-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:

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.