GPU mining

Last updated 3 months ago

Nvidia/CUDA

Currently, the best option is Protovist's patch of ccminer on Ubuntu. A Windows executable should be available soon.

Instructions:

  • Ubuntu 16.04 is known to work.

  • Install the Zen Protocol wallet.

  • Obtain the exact versions of CUDA (9.2.11-1) and openssl (1.1.1-pre8) needed:

sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt update
sudo apt dist-upgrade
sudo apt install build-essential automake
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.2.88-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_9.2.88-1_amd64.deb
sudo apt install libcurl4-openssl-dev
sudo apt-get update
sudo apt-get install cuda
wget https://www.openssl.org/source/openssl-1.1.1-pre8.tar.gz
tar zxf openssl-1.1.1-pre8.tar.gz
cd openssl-1.1.1-pre8/
./config
make -j8
sudo make install
cd ..
  • Get the right version of ccminer:

git clone https://github.com/protovist/ccminer.git
cd ccminer
git checkout zenprotocol
./build.sh
  • Run the Zen Protocol client and create or load an account.

  • Run ccminer, pointing it to the Zen Protocol client, like this:

./ccminer -a zenprotocol -o 127.0.0.1:11567

For a pool, change 127.0.0.1:11567 to the pool address.

AMD

Proper AMD mining support is still in development. Right now you need to compile your own Zen Protocol node.

Instructions:

cgminer --keccak -o http://127.0.0.1:11567