-
Notifications
You must be signed in to change notification settings - Fork 1
Support of GPU accelerated video processing applications
Photon OS supports GPU-accelerated video processing, machine-learning and computer vision applications.
Install pciutils and check which GPU is listed, use lspci.
tdnf install -y pciutils
lspci
lspci-Output
# lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA
0001:00:00.0 VGA compatible controller: NVIDIA Corporation GM204GL [Tesla M60] (rev a1)
Install the NVidia GPU drivers.
This section describes how to install the NVidia GPU drivers using the Runfile installer method.
-
Consult the Software Matrix for GPU architecture and required driver support.
-
Update packages with impact to NVidia components or for installation helper purpose.
tdnf update -y docker tdnf install -y build-essential wget tar if [ `uname -r | grep -o "-esx" | wc -l` -eq 0 ]; then tdnf install -y linux-devel; else tdnf install -y linux-esx-devel fi reboot
-
Download and install the NVidia Runfile installer
Obtain the latest version of Runfile installers from the NVIDIA Linux driver downloads site.
wget https://us.download.nvidia.com/tesla/470.141.03/NVIDIA-Linux-x86_64-470.141.03.run chmod a+x ./NVIDIA-Linux-x86_64-470.141.03.run ./NVIDIA-Linux-x86_64-470.141.03.run --kernel-source-path=/usr/lib/modules/`uname -r`/build --ui=none --no-questions --accept-license
-
Check if the GPU is detected. Sample output:
nvidia-smi root@NVidia01 [ / ]# nvidia-smi Wed Aug 24 07:02:55 2022 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.141.03 Driver Version: 470.141.03 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 Tesla M60 Off | 00003130:00:00.0 Off | Off | | N/A 34C P0 36W / 150W | 0MiB / 8129MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
For containerized drivers and additional installer format information, see NVidia Cloud Native Documentation.
For Intel GPUs, consult Intel® software for general purpose GPU capabilities.