Skip to content

GPU Mining Ubuntu 16

MarconiAdmin edited this page May 20, 2019 · 5 revisions

This guide will help you get started mining for Marconi Coins using your GPU and Marconi Pool.

Official mining binaries have been provided, but you can also compile from source using the marconi-stak repo.

For general information about Marconi mining please refer to the Mining Overview.

Prerequisites

  • Ubuntu 16.04
  • NVIDIA GTX 1060 or higher OR AMD RX 480/580 or higher
  • 1GB Memory

How to Mine

Step 1 - Create Marconi Account

Depending on where you are mining, follow the Mainnet setup guide or Testnet setup guide to create an account for your mined coins

Step 2 - Install Dependencies

$ sudo apt update && sudo apt install libmicrohttpd-dev libssl-dev libhwloc-dev

Step 3 - Download Miner

  1. Download

    NVIDIA

    $ curl -L https://marconi.download/marconi-stak/0.1.1/marconi-stak-v0.1.1-ubuntu.16.04-generic-nvidia.tar > marconi-stak.tar
    

    AMD

    $ curl -L https://marconi.download/marconi-stak/0.1.1/marconi-stak-v0.1.1-ubuntu.16.04-generic-amd.tar > marconi-stak.tar
    

    If you'd like to mine on the Testnet please refer to the Mining Releases for the appropriate download URL

  2. Untar

    $ tar xvf marconi-stak.tar
    

Step 4 - Install GPU Drivers

NVIDIA

Download CUDA Toolkit.

Note that the following steps can take several minutes to complete.

$ curl -L https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda-repo-ubuntu1604-10-1-local-10.1.105-418.39_1.0-1_amd64.deb > cuda-repo-ubuntu1604-10-1-local-10.1.105-418.39_1.0-1_amd64
$ mv cuda-repo-ubuntu1604-10-1-local-10.1.105-418.39_1.0-1_amd64 cuda-repo-ubuntu1604-10-1-local-10.1.105-418.39_1.0-1_amd64.deb
$ sudo dpkg -i cuda-repo-ubuntu1604-10-1-local-10.1.105-418.39_1.0-1_amd64.deb
$ sudo apt-key add /var/cuda-repo-10-1-local-10.1.105-418.39/7fa2af80.pub
$ sudo apt-get update
$ sudo apt-get install cuda -y
// reboot the machine

AMD

  1. Download AMD Drivers

    Download AMDGPU-Pro Driver Version 16.40 for Ubuntu 16.04 driver from this page:

    https://www.amd.com/en/support/kb/release-notes/rn-radpro-lin-16-40

  2. Extract

    $ tar xvf amdgpu-pro-16.40-348864.tar.xz
    
  3. Install Drivers Run the following command from the unzipped directory. Note that this can take 5-10 minutes to complete.

    $ ./amdgpu-pro-install
    

Step 5 - Update Settings

Open the pools.txt config file with your favorite editor and:

  1. Update 0x_ACCOUNT_ADDRESS with your account address from Step 1

  2. Update MINER_NAME with a name for this miner (limit to 8 characters, letters, numbers and "-" only)

  3. Update the 7777 port in the pool_address with the port that corresponds to your mining hardware

    Port Number GPU Tier Sample Hardware
    7777 Single GPU Low-end AMD RX 400/500, NVIDIA GTX 6/7/9/10 Series
    9999 Multiple GPUs High-end AMD RX400/500 & AMD RX VEGA, NVIDIA Multi-GPU GTX 9/10 series

    It's important to choose the appropriate port for your hardware. Using higher hashing power hardware on lower difficulty ports may result share submissions being throttled.

    If you are submitting shares successfully then suddenly receiving Result rejected by the pool. messages, this is a symptom of shares being backlogged. Consider using a higher difficulty.

Step 6 - Start Miner

NVIDIA

$ ./marconi-stak

AMD

sudo is required, otherwise a segmentation fault may occur

$ sudo ./marconi-stak

When prompted you can setup a web-based mining UI if desired.

Step 7 - Check Progress & Payouts

  1. Check Progress

    Visit https://pool1.marconi.org and search for your account address

  2. Check Payouts

    Payouts occur multiple times every day. Visit https://pool1.marconi.org or https://explorer.marconi.org and search for your account address to view payouts

If you're mining on the Testnet refer to the Testnet Resources wiki for the appropriate URLs

To submit feedback or report technical issues, please email support@marconi.org

Clone this wiki locally