Clinfo does not print anything (Ubuntu)

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.

OpenCL will not work if your user is not part of the group Video.

Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard, then add your user to group Video:

sudo gpasswd -a $USER video

Restart your PC:

sudo reboot

Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard, then execute the following commands:

clinfo -l

This will print all available information about all OpenCL platforms on the system and the devices they expose.

In case the number of platforms is equal to 0 you need to install the OpenCL driver.