GPU Video analytics module installation
System requirements for Flussonic's GPU video analytics module
- ОS: x64 Ubuntu 20.04 or 22.04.
-
GPU: Nvidia with at least 6 GB VRAM.
When choosing a compatible video card, pay attention to the Compute Capability version: Watcher supports Compute Capability 6.1, 7.5 and 8.6. You may refer to the Nvidia website for selecting a video card with supported Compute Capability version.
-
CPU: 4+ cores
- RAM: 8+ GB
- Flussonic Media Server (in Cluster mode)
- Flussonic Media Server + Watcher (in Single mode)
When these requirements are met, proceed to drivers installation and then install the video analytics module. Please note that the drivers installation process differs depending on your Ubuntu version.
Installing the video card driver
Installing the video card driver for Nvidia on Ubuntu 22.04
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
sudo apt-get update
sudo apt-get -y install nvidia-driver-525-server --no-install-recommends
Installing the video card driver for Nvidia on Ubuntu 20.04
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
sudo apt-get update
sudo apt-get -y install nvidia-driver-525-server --no-install-recommends
Installing the Flussonic video analytics plugin
After installing the video card driver, you should proceed with installing the Flussonic Vision video analytics plugin. To do this, run the commands:
apt update
apt -y install flussonic-vision --install-suggests
Note
The last command will not only install Flussonic Vision but also pull required dependencies from Nvidia repository. When you install the module for CPU, this is not required so the command is shorter.