Installing AMD RX5xx Linux driver, CentOS 7
1. Download these two file from AMD:
amdgpu-pro-17.50-511655.tar.xz and amdgpu-pro-preinstall.sh
2. Run amdgpu-pro-preinstall.sh first before installing the driver to confirm that all required prerequisite files and repositories are available in order to successfully install the AMDGPU-Pro driver:
$ ./amdgpu-pro-preinstall.sh
3. Extract the driver to a know location:
$ tar -Jxvf amdgpu-pro-17.50-511655.tar.xz
4. Enter the directory and Install:
For non-Interactive Install
$ ./amdgpu-install –y
For headless Installation
$ ./amdgpu-install --headless