Kernel Driver
Versions
Starting from ROCm 4.5, AMD moves to use amdgpu-dkms instead of rock-dkms as the kernel driver for GPU.
rock-dkms- Open-source kernel driver module made spcifically for ROCm.amdgpu-dkms- Open-source kernel driver module for general use which may have a newer version compared to the same driver module in mainline.amdgpu-pro- Proprietary kernel driver overlay on top ofamdgpu-dkmswhich provides additional features.
| amdgpu version | ROCm version |
|---|---|
| 21.40.x | 4.5.x |
| 21.50.x | 5.0.x |
| 22.10.x | 5.1.x |
| 22.20.x | 5.2.x |
https://repo.radeon.com/amdgpu/
Installation
# rocm-dkms
# ├── rock-dkms
# ├── rocm-dev
# └── rocm-core
# Pre-ROCm 4.5 uses `rock-dkms` kernel driver
apt install rocm-dkms
# On and after ROCm 4.5, `amdgpu-dkms` provides `rock-dkms` kernel driver
apt install rocm-dkms
# On and after ROCm 5.0, official doc uses `amdgpu-dkms`
apt install amdgpu-dkms
apt install rocm-dev rocm-core
# On and after ROCm 6.0, official doc uses `rocm`
# `rocm-dkms` still works until being removed in ROCm 6.2
apt install amdgpu-dkms
apt install rocm