- 
                Notifications
    You must be signed in to change notification settings 
- Fork 151
Driver Linux
Starting with Linux driver version 25.20, AMF is installed separately from the AMD GPU driver by using the amf_installer_<DRIVER VERSION>.sh script.
The "All-Open" stack of the AMD GPU driver needs to be installed as a prerequisite for the new AMF installer script. The "All-Open" stack uses the Radeon Vulkan (RADV) open-sourced Vulkan driver, integrated into the Mesa 3D graphics library. ROCr (ROCm Runtime for OpenCL) can be optionally installed as part of the stack.
The instructions for the AMD GPU driver setup can be found here: https://amdgpu-install.readthedocs.io/en/latest/
- 
Example command with default options to install the DKMS kernel driver and Mesa graphics stack (OpenGL, Radeon Vulkan (RADV), and multimedia). sudo amdgpu-install -y 
- 
Or with additionally installing the optional ROCr for OpenCL. sudo amdgpu-install -y --opencl=rocr 
- 
Download the .zip file containing the AMF installer script from the downloadble assets belonging to the latest AMF release version. wget https://github.com/GPUOpen-LibrariesAndSDKs/AMF/releases/download/<AMF RELEASE VERSION>/amf_installer_<DRIVER VERSION>.zip # for example, AMF v1.5.0 for the 25.20 AMD GPU driver: wget https://github.com/GPUOpen-LibrariesAndSDKs/AMF/releases/download/v1.5.0/amf_installer_25.20.zip 
- 
Extract the downloaded .zip file. unzip amf_installer_25.20.zip 
- 
Run the installer with sudoand then either accept the EULA when prompted or non-interactively by using the--accept-eulaoption.sudo ./amf_installer_25.20.sh or sudo ./amf_installer_25.20.sh --accept-eula 
- Driver installation instructions: https://amdgpu-install.readthedocs.io/en/latest/
- 
Please add the following option while running the amdgpu-installscript :--accept-eula 
- 
The AMF component can be installed through the amdgpu-installscript with the workstation ("Pro Variant") or graphics ("All-Open Variant") stack use case:sudo amdgpu-install -y --usecase=workstation,amf # or sudo amdgpu-install -y --usecase=graphics,amf
- 
To install just AMF: sudo amdgpu-install -y --usecase=amf 
- 
The OpenCL component is optional and can be installed with the --opencloption:Option Description --opencl=rocr Installs ROCr OpenCL --opencl=legacy Installs legacy OpenCL (DEPRECATED Proprietary) --opencl=rocr,legacy Installs both ROCr and legacy OpenCL OpenCL is optional and parts of AMF that use Vulkan will work without OpenCL. - ROCr: Provides support for Vega 10 and newer hardware.
- Legacy: Provides support for hardware older than Vega 10.
 
- 
The Vulkan component is optional and can be installed with the --vulkanoption:Option Description --vulkan=amdvlkInstalls open source Vulkan --vulkan=proInstalls PRO Vulkan (Proprietary) --vulkan=amdvlk,proInstalls both open and PRO Vulkan 
- 
Reboot after installing