Overview
Azure Linux provides NVIDIA driver packages through the NVIDIA RPM repository at packages.microsoft.com. This guide covers how to install and configure NVIDIA GPU support.Licensing
Before proceeding with the installation, review and accept the NVIDIA license terms.Installation
Register NVIDIA Repository
Configure the NVIDIA RPM repository with your package manager:Install NVIDIA Drivers
After registering the repository, install NVIDIA driver packages using tdnf:Verification
After installation, verify the NVIDIA driver is loaded:nvidia-smi command should display information about your GPU and driver version.
CUDA Support
For CUDA development and GPU computing workloads:Configuration
Persistence Mode
Enable persistence mode to keep the NVIDIA driver loaded:Automatic Loading
Ensure the NVIDIA kernel module loads at boot by adding it to/etc/modules-load.d/:
Troubleshooting
Driver Not Loading
If the driver doesn’t load:- Check kernel logs for errors:
- Verify the module is available:
- Manually load the module: