Tikku.com Mining


Zcash mining options in Ubuntu 16.04 (64-bit Linux)
  #linux #mining #gpu #nicehash #optiminer #EWBF

If you're planning on mining Zcash using Ubuntu 16.04.2 LTS (Xenial Xerus), here are some software packages I have been able to successfully make use of:

  1. Optiminer with AMD RX 580 GPUs: optiminer-zcash-1.7.0.tar.gz
  2. NiceHash with an Intel i7700k 4.2GHz CPU: github.com/etherchain-org/nheqminer instructions
  3. EWBF with CUDA NVIDIA GTX 1070 GPUs: Zec Miner 0.3.4b Linux Bin.tar.gz

Useful commands for miners using Linux
  #linux #mining #bash #commands

Here are some commands that you will become familiar with your mining rig in Linux Ubuntu:
  • Show graphics cards
    sudo lspci -vnn | grep VGA -A 10
  • Get the (implicit) card numbers, and physical IDs of your GPUs
    sudo lshw -numeric -C display
  • Show the drivers being used for GPUs
    sudo lshw -c video | grep configuration
  • Find PCIe lane usage for GPUs
    sudo lspci -vv | grep -P "[0-9a-f]{2}:[0-9a-f]{2}\.[0-9a-f]|LnkSta:" | grep VGA -A 1
  • AMD GPU users can find more information about the drivers by inspecting the linux kernel module
    modinfo amdgpu
  • Display recommended device drivers
    ubuntu-drivers devices
  • Create a new screen
    screen -S <session name>
  • List screens
    screen -ls
  • Re-attach to a screen
    screen -r <session name>
  • Leave a screen
    Ctrl+d, a
  • Switch your default GPU (and persist the change)
    sudo update-alternatives --config x86_64-linux-gnu_gl_conf
  • Running NiceHash for CPU mining Zcash in the US (6 threads, 8 cores) (non-SSL)
    ./nheqminer -l us1-zcash.flypool.org:3333 -u <wallet>.<worker> -t 6 -d 0
  • Running Optiminer AMD GPU Zcash miner (non-SSL)
    ./optiminer-zcash -s us1-zcash.flypool.org:3333 -u <wallet>.<worker> -p x
  • Running EWBF NVDA GPU Zcash miner (centigrade, enabling the API)
    ./miner --cuda_devices <list device ids> --config miner.cfg --tempunits C --api

Supporting more than 3 GPUs with the Asus Z270-AR Prime
  #mining #rig #asusz270 #motherboard #multigpu

While setting up a mining rig I ran into an issue where the setup wasn't working with more than 3 GPUs. After a bit of digging around, I was able to fix it using the steps described below.

Here's the setup:


Issues installing more than 3 GPUs. You're able to install up to 3 GPUs successfully, however upon insertion of a 4th one or more, your display drivers crash and you get a blank/black screen on boot, or you get the following error: "no suitable video mode found" "booting in blind mode ubuntu."


The solution involves updating your BIOS settings. As such you will need to reboot or perform the steps below upon starting your computer. This solution should broadly apply to non-Asus motherboards, but for the screenshots will reflect the software installed on them, and it's worth noting that this particular version of the BIOS is 0906 (make sure you have the latest):

Part 1/2: Updating the speed for your PCIe interfaces
  1. Go to your BIOS settings (start/restart → DEL or F10)
  2. Make sure you're in the Advanced Mode (F7)
  3. Go to the Advanced tab, and navigate to PCH Configuration (PCH: Platform Controller Hub):
  4. Once you've selected PCH Configuration, navigate to PCI Express Configuration:
  5. Select Gen2 for the PCIe Speed:
Part 2/2: Enabling support for Multi-64-bit PCIe GPU
  1. Navigate to the Boot tab, and scroll down.
    Find Above 4G Decoding, you will want to Enable this.