Sure, I hope I recall the steps correctly. Its important to note that we have to use linux aws drivers amdgpu-pro-20.20-1184451-ubuntu-18.04 . I could not manage to get any other package to work so far.
For OS we need Ubuntu Server 18.04.5, boot and install HWE kernel. We should be on 5.4. Once system is up:
Code:
sudo dpkg --add-architecture i386
sudo apt-get update -y && sudo apt upgrade -y
Installing drivers
Code:
sudo -i
tar xf amdgpu-pro-20.20-1184451-ubuntu-18.04.tar.xz
cd amdgpu-pro-20.20-1184451-ubuntu-18.04
./amdgpu-pro-install --opencl=pal --headless
Reboot after installing driver.
Some additional software
Code:
sudo apt install build-essential cmake opencl-headers ocl-icd-opencl-dev clinfo
Verify that OpenCL platform works
Two platforms should be available
Get binary build of xmrig
Code:
wget https://github.com/xmrig/xmrig/releases/download/v6.19.2/xmrig-6.19.2-linux-x64.tar.gz
tar -xf xmrig-6.19.2-linux-x64.tar.gz
cd xmrig-6.19.2-linux-x64
./xmrig --opencl --no-cpu
Again, Im doing this from memory, and don't have OpenCL installed on my current test bench. Let us know how it works.