Overview
Azure Linux provides AMD GPU driver packages through the AMD RPM repository at packages.microsoft.com. This guide covers how to install and configure AMD GPU support.Installation
Register AMD Repository and Install Drivers
Install the AMD repository configuration and the AMDGPU driver package:Loading Kernel Modules
For packages from March 2025 and later (amdgpu-6.10.5.60302_2109964-1_6.6.78.1.3.azl3.x86_64.rpm and newer), kernel modules are loaded automatically. For earlier packages, you must manually load the kernel module or reboot:Installing for Older Kernels
If you need to install drivers for a specific kernel version, follow these steps:- Check your current kernel version:
6.6.64.2-9.azl3
- List available driver versions:
- Install the driver version matching your kernel:
Verification
After installation, verify the AMD GPU driver is loaded:Troubleshooting
Driver Not Loading
If the driver doesn’t load automatically:- Check kernel logs for errors:
- Manually load the module:
- Verify the module loaded successfully:
Package Version Mismatch
Ensure the AMDGPU package version matches your kernel version. Usetdnf list amdgpu to see all available versions and select the appropriate one.