Skip to content


Visit for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

Mining LOKI with RX 480 Nitro 8GB Cards on Ubuntu 18.04

Quick How-To Guide

This guide assumes that you have Ubuntu 18.04 setup fresh.

On another computer, download the AMD drivers from the vendor’s website

Use winscp and move them to the computer

On the Mining Rig, login, and from the command line you will want to navigate to the directory you copied your AMD Drivers to….most likely it will be your home directory (/home/username/)

sudo bash

apt-get update && apt-get upgrade


Look for those AMD Drivers

tar -xJvf amdgpu-pro-18.50-756341-ubuntu-18.04.tar.xz

cd amdgpu-pro-18.50-756341-ubuntu-18.04/

sudo dpkg –add-architecture i386

./amdgpu-pro-install -y –opencl=legacy

mkdir /miner && cd /miner

apt install clinfo -y

apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev

apt-get install libssl-dev

git clone

mkdir xmrig-amd/build

cd xmrig-amd/build

cmake ..


apt install mesa-opencl-icd -y


@echo off
./xmrig-amd -a cryptonight-ultralite –donate-level 1 -o -u LChtjHqr29p5FojLdMtcUW5ApLWyQHH5j4366V78YECEjUkgK99Y7uLDVLpHjXpYM3UcZ39FFL5Gvd4debF95mcJHbnx5ke -p w=rx480 -k -o -u LChtjHqr29p5FojLdMtcUW5ApLWyQHH5j4366V78YECEjUkgK99Y7uLDVLpHjXpYM3UcZ39FFL5Gvd4debF95mcJHbnx5ke -p w=rx480 -k

Save the file and Exit

chmod +x


And your rig will begin to mine

Hashcat Build and Benchmarking

Installing, Configuring, and Benchmarking Hashcat on a 6GPU NVIDIA 1080TI Rig

Ubuntu Server 18.04 has been installed, cards connected, and these directions pickup at your very first login


sudo bash

apt-get update && apt-get upgrade

apt-get dist-upgrade

add-apt-repository universe

apt-get install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen

lspci | grep -i nvidia

You should see all of your video cards listed here

apt-get install linux-headers-$(uname -r)

mkdir /installs && mkdir /installs/drivers/ && mkdir /installs/drivers/intel && mkdir /installs/drivers/nvidia && cd /installs/drivers/nvidia

sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt update && apt-get install nvidia-driver-410



sudo bash


You will now see your NVidia cards listed

cd /installs/drivers/nvidia


mv cuda_10.0.130_410.48_linux

chmod +x

screen sh

Select No to the driver update

Yes to the toolkit install

cd /home/yourusernamegoeshere/ && nano .bashrc

Add this to the end of the file:
# add cuda tools to command path
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-10.0/bin:$PATH

nano /etc/

Put only one line:

CTRL X to Save and Exit the file


apt-get install hashcat

Now for the OpenCL CPU drivers..I am using an Intel Celeron Processor, so these steps are needed for Hashcat to work properly.  These are not needed for the GPUs

sudo apt-get install ccache flex bison clang-4.0 cmake g++ git patch zlib1g-dev autoconf xutils-dev libtool pkg-config libpciaccess-dev

mkdir -p /installs/drivers/intel-compute-runtime/workspace

cd  /installs/drivers/intel-compute-runtime/workspace

git clone -b release_40 clang_source

git clone common_clang

git clone llvm_patches

git clone -b release_40 llvm_source

git clone gmmlib

git clone igc

git clone khronos

git clone neo

ln -s khronos opencl_headers

mkdir -p /installs/drivers/intel-compute-runtime/workspace/build_igc

cd /installs/drivers/intel-compute-runtime/workspace/build_igc

cmake -DIGC_OPTION__OUTPUT_DIR=../igc-install/Release \

time make -j$(nproc) VERBOSE=1

Now you can generate Debian archives for installation:

time make -j$(nproc) package VERBOSE=1


sudo dpkg -i *.deb

nano /etc/environment

To the end of the first line (PATH), add the following:


Save and Exit

source /etc/environment

mkdir -p /installs/drivers/intel-compute-runtime/workspace/build_icr

cd /installs/drivers/intel-compute-runtime/workspace/build_icr

cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo

time make -j$(nproc) package VERBOSE=1

sudo dpkg -i *.deb

apt-get install clinfo


Now you should see that ICD is installed

And finally you can run

hashcat -b

That’s it!  Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):

Motherboard (QTY 1):

CPU (QTY 1):

Memory (QTY 1):

Hard Drive (QTY 1):

Risers (QTY 6):

Power Supplies (QTY 2):

Add2PSU (QTY 1):

Power Switch (QTY 1):