create account

How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal) by joshmocek

View this thread on: hive.blogpeakd.comecency.com
· @joshmocek · (edited)
$0.22
How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)
![img01](http://www.katerva.net/images/ethereum-overtakes-litecoin-in-market-cap-after-continued-upward-trend.jpg)
<a href="https://minergate.com">
    <img src="https://minergate.com/assets/promo/728x90-1.png"/>
</a>
Since cryptocurrencies have risen exponentially in the past few months people want in. And one of the best ways to make money with currencies like Ethereum and Bitcoin is to 'mine' them. When you mine a cryptocurrency you are running a program on your computer to use your computers computing power on the network. Whenever your computer solves a piece of the puzzle, a block in the blockchain, your miner is rewarded. There are two main ways to mine:
1. Rent out miners. I will not be covering this topic today.
2. Use your computer as a miner.

I will go through start to finish on how to set up an Ethereum miner on Ubuntu. This is because if you are mining with an Nvidia Graphics card the windows drivers are a little wonky so you will be limiting your hashrate. For me I have 2 GTX 980ti's in my gaming computer. When I mine Ethereum on windows I get around 5 Mh/s and when I mine on Ubuntu I get 40 Mh/s. For those of you with gaming computers this can be a nice passive source of income while you aren't playing games. If you have AMD GPU's I would suggest looking at this guide [here](https://steemit.com/ethereum/@joshmocek/the-easiest-guide-to-minimg-ethereum-on-windows-and-siacoin-decred-lbry-and-pascal).
## Step 1: Make room on your PC
If you want to dual-boot and not just clean install you will need this step. Right click on the windows start menu, on the bottom left and select 'Disk Management'. Select your main HDD or SSD that you want to dual boot from, right click on it and press 'Shrink'. I suggest using at least 32gb just to be safe.
## Step 2: Install Ubuntu 14.04
You can either dual boot your computer or run a clean install. To do this you will need a USB drive. Download the Linux Live application.
[Linux Live](https://www.linuxliveusb.com/)
And you will need to download the Ubuntu 14.04 iso.
[Ubuntu 14.04 iso](http://releases.ubuntu.com/14.04/)
Once you have these downloaded open up Linux Live, select your usb you want to use and select the Ubuntu 14.04 iso you just downloaded. Then press the lightning button. Once it is done reboot your PC, and boot into the BIOS. You can usually do this by pressing F2 or F12 when the computer is booting up. Once you are here select 'Boot Menu' and select your USB drive. From here it is pretty self explanatory.
## Step 3: Download the Mist Client
[How to set up Mist](https://medium.com/@attores/step-by-step-guide-getting-started-with-ethereum-mist-wallet-772a3cc99af4)
Once you have downloaded and installed this create your wallet and copy the address.
## Step 4: Download Nvidia Cuda
[Cuda Download](https://developer.nvidia.com/cuda-downloads)
## Step 5: Download and Install dependencies
Now I will say I know how to use Linux and I have built quite a few computers with this OS, but this is just a list of dependencies that if I run all of them I don't have any problems. Some of them might not be needed, but they won't hurt. You will want to open your terminal by pressing 'Ctrl+Alt+T', and copy and paste these lines into the terminal and press enter. To paste into the terminal you can not just press 'Ctrl+V' you need to press 'Ctrl+Shift+V'. And if for some reason you need to kill a process that is running in your terminal you need to press 'Ctrl+C'. So here are all the dependencies, this is easily the longest part of the tutorial.

First we will need to set up a root password. To do this:
sudo passwd root
Then type your desired password.
Now to sign in as root:
su
Now to install all the dependencies:

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverse
sudo apt-get update
sudo apt install ocl-icd-opencl-dev
sudo apt-get install libmicrohttpd-dev libssl-dev cmake build-essential
sudo apt-get install automake libtool make gcc
sudo apt-get install libjansson-dev
sudo apt-get update
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo apt-get upgrade

sudo apt-get purge nvidia-*
sudo apt-get purge nvidia-cuda*
sudo update-initramfs -u
sudo apt-get install libopenblas-dev liblapack-dev
sudo apt-get install linux-image-generic linux-image-extra-virtual
sudo apt-get install linux-source linux-headers-generic
sudo apt-get install nvidia-common nvidia-prime nvidia-settings
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-375

sudo apt-get install libglu1-mesa libxi-dev libxmu-dev -y
sudo apt-get — yes install build-essential
sudo apt-get install python-pip python-dev -y
sudo apt-get install python-numpy python-scipy -y
sudo apt-get install libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev
sudo apt-get install apt-file && apt-file update

Now install Cuda.
Find the place you installed Cuda and navigate to it. To do this it is easiest to download it and drag it into your home folder. To do this press the file cabinet at the top left of the screen. It should open up to the desired folder. You should see icons like Desktop, Documents, Downloads, etc. Now just drag your Cuda download here.
Go back to the command prompt and put in these lines substituting your Cuda version as necessary.

sudo apt-get install build-essential
sudo chmod +x cuda_8.0.61_375.26_linux.run
./cuda_8.0.61_375.26_linux.run --driver --silent
./cuda_8.0.61_375.26_linux.run --toolkit --silent
./cuda_8.0.61_375.26_linux.run --samples --silent

Now we just have a few more dependencies to install.

sudo apt-get update
sudo apt-get install cpp-ethereum
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum

## Step 6: Download the Sia Client
[Sia Download](http://sia.tech/apps/)
If you want to mine something other than Sia you will need to create a wallet for that coin. Once you have downloaded it make a wallet and copy the address.

## Step 7: Download the Claymore Dual Miner
[Download Link](https://mega.nz/#F!O4YA2JgD!n2b4iSHQDruEsYUvTQP5_w)
Find the most recent version for Linux. Right click on it, and select standard download. Once it is downloaded extract the file.
You can do this by dragging the download to our home folder and in the terminal typing.

To do this we don't want to be a super user so in the terminal type

exit

And now we can extract the tarball.

tar -xzf ClaymoreMinerFileName.tar.gz

## Step 8: Edit the start file
Go in to your extracted Claymore file and find the 'start.bash' file. Select it, right click on it and click 'Edit'. Once you are here you will need to delete the contents in it and paste this with your addresses and press save. 

export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
#./ethdcrminer64 -epool us1.ethermine.org:4444 -ewal 0xf9ea6F60Dd61ffF6B2e1b34D274383AaBd918880.rig01 -epsw x
./ethdcrminer64 -epool us1.ethermine.org:4444 -ewal 0xf9ea6F60Dd61ffF6B2e1b34D274383AaBd918880.rig01 -epsw x -dpool stratum+tcp://sia-us-east1.nanopool.org:7777 -dwal ae847addc8f9a98c2dd41a2b35a3ca7d38da5e1fec0c423f9a1c6ac6f67e301c20fe6e6463dc/rig01/youremail@email.com -dcoin sia -dcri 18

You can change the number after -dcri to increase or decrease the intensity of dual mining. I have it set at 18 because this is the highest return for me. These addresses are set up to specific mining pools. Look around for the ones you think are best. Those are just my choices. This is also set up to mine sia, if you want to switch you will need to find a mining pool for the coin you want to mine.

## Step 8: Start your miner
To see all the directories in your current location type 'ls'. I personally like to change the name of my claymore directory in the home folder to 'claymore' just so it's shorter. You can do this by selecting the directory you want to rename and pressing 'F2'. Now we will need to change directories to the claymore directory. So type in the terminal

cd claymore

Now we need make the 'start.bash' file executable, to do this type:
chmod +x start.bash

Now me personally I am a little superstittious when it comes to running things and I for some reason like to run my mining programs a super user. This will be a little redundant, but this is just how I do it. 

su
Type in your password
sudo ./start.bash


# Congratulations!! You are now mining Ethereum and Siacoin!

If you have any questions feel free to ask me. I'll help out as much as I can.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorjoshmocek
permlinkhow-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal
categoryethereum
json_metadata{"tags":["ethereum","bitcoin","howto","cryptocurrency","altcoin"],"image":["http://www.katerva.net/images/ethereum-overtakes-litecoin-in-market-cap-after-continued-upward-trend.jpg","https://minergate.com/assets/promo/728x90-1.png"],"links":["https://minergate.com","https://steemit.com/ethereum/@joshmocek/the-easiest-guide-to-minimg-ethereum-on-windows-and-siacoin-decred-lbry-and-pascal","https://www.linuxliveusb.com/","http://releases.ubuntu.com/14.04/","https://medium.com/@attores/step-by-step-guide-getting-started-with-ethereum-mist-wallet-772a3cc99af4","https://developer.nvidia.com/cuda-downloads","http://sia.tech/apps/","https://mega.nz/#F!O4YA2JgD!n2b4iSHQDruEsYUvTQP5_w"],"app":"steemit/0.1","format":"markdown"}
created2017-06-05 15:16:03
last_update2017-06-08 22:50:27
depth0
children13
last_payout2017-06-12 15:16:03
cashout_time1969-12-31 23:59:59
total_payout_value0.197 HBD
curator_payout_value0.026 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8,703
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id4,216,236
net_rshares62,228,858,369
author_curate_reward""
vote details (31)
@adilmehraj ·
nice post,, upvoted all of your posts.
properties (22)
authoradilmehraj
permlinkre-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170605t173042906z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-05 17:27:27
last_update2017-06-05 17:27:27
depth1
children1
last_payout2017-06-12 17:27:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation3,915,373,590,120
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,222,856
net_rshares0
@joshmocek ·
Well thank you! I appreciate it! :)
properties (22)
authorjoshmocek
permlinkre-adilmehraj-re-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170605t173802639z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-05 17:38:03
last_update2017-06-05 17:38:03
depth2
children0
last_payout2017-06-12 17:38:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,223,430
net_rshares0
@alushi ·
hi bro, im getting the gtx 1060 msi 6gb.  i read around that it makes like 20mh/s on stock..

i will try it on windows  as i am not expert linux :$
properties (22)
authoralushi
permlinkre-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170625t071024761z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-25 07:11:39
last_update2017-06-25 07:11:39
depth1
children1
last_payout2017-07-02 07:11:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length147
author_reputation2,587,348,713
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,009,287
net_rshares0
@joshmocek ·
The Nvidia drivers on Windows are really bad so I bet you'll get max 5 Mh/s unless you do Linux
properties (22)
authorjoshmocek
permlinkre-alushi-re-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170628t133020840z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-28 13:30:21
last_update2017-06-28 13:30:21
depth2
children0
last_payout2017-07-05 13:30:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length95
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,477,379
net_rshares0
@finnovatie ·
Nice one! does this work for nvidia 760?
properties (22)
authorfinnovatie
permlinkre-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170605t233802902z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-05 23:38:03
last_update2017-06-05 23:38:03
depth1
children1
last_payout2017-06-12 23:38:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation157,464,340
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,240,509
net_rshares0
@joshmocek ·
I haven't tried it with that, but I would test it on Windows before you dual boot because the drivers might be okay since the 760s are a little older.
properties (22)
authorjoshmocek
permlinkre-finnovatie-re-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170606t001132415z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-06 00:11:33
last_update2017-06-06 00:11:33
depth2
children0
last_payout2017-06-13 00:11:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length150
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,241,755
net_rshares0
@gearcandy ·
How do you go about overclocking?
properties (22)
authorgearcandy
permlinkre-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170616t202631818z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-16 20:26:33
last_update2017-06-16 20:26:33
depth1
children1
last_payout2017-06-23 20:26:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation69,083,416
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,038,866
net_rshares0
@joshmocek ·
Download msi afterburner if you are on Windows!
properties (22)
authorjoshmocek
permlinkre-gearcandy-re-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170617t214918141z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-17 21:49:18
last_update2017-06-17 21:49:18
depth2
children0
last_payout2017-06-24 21:49:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,127,040
net_rshares0
@kortneymorse1991 ·
Interesting post.  I was about to post a similair post. There's a lot of exchanges out there. I found that coinmarketcap.com gives quite a decent overview.  An interesting website I found:  https://www.coincheckup.com They seem to give this complete indepth analysis of all cryptocoins. Sorted by team, product, company, advisors, previous investors, etc.  See:  https://www.coincheckup.com/coins/Decred#analysis To check  Decred Detailed report
properties (22)
authorkortneymorse1991
permlinkre-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170929t151950972z
categoryethereum
json_metadata{"tags":["ethereum"],"links":["https://www.coincheckup.com"],"app":"steemit/0.1"}
created2017-09-29 15:19:54
last_update2017-09-29 15:19:54
depth1
children0
last_payout2017-10-06 15:19:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length445
author_reputation-179,435,805,645
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,289,011
net_rshares0
@newgaia ·
Thanks for your information
properties (22)
authornewgaia
permlinkre-joshmocek-201767t224532558z
categoryethereum
json_metadata{"tags":"ethereum","app":"esteem/1.4.5","format":"markdown+html","community":"esteem"}
created2017-06-07 13:45:36
last_update2017-06-07 13:45:36
depth1
children1
last_payout2017-06-14 13:45:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation2,034,129,465,182
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries
0.
accountesteemapp
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,337,917
net_rshares0
@joshmocek ·
No problem! I'll be putting one out today about how to mine zcash
properties (22)
authorjoshmocek
permlinkre-newgaia-re-joshmocek-201767t224532558z-20170607t134714052z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-07 13:47:15
last_update2017-06-07 13:47:15
depth2
children0
last_payout2017-06-14 13:47:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,338,001
net_rshares0
@yacov ·
doesn't sound very complicated...    lol
👍  ,
properties (23)
authoryacov
permlinkre-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170605t151930766z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-05 15:19:33
last_update2017-06-05 15:19:33
depth1
children1
last_payout2017-06-12 15:19:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation294,798,054,531
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,216,358
net_rshares3,610,769,271
author_curate_reward""
vote details (2)
@joshmocek ·
The way I mapped it takes like 30 mins total. Mining with an AMD card on windows is WAY easier. The longest part of that one is actually installing windows!
👍  
properties (23)
authorjoshmocek
permlinkre-yacov-re-joshmocek-how-to-mine-etheruem-with-an-nvidia-gpu-and-siacoin-decred-lbry-or-pascal-20170605t152538671z
categoryethereum
json_metadata{"tags":["ethereum"],"app":"steemit/0.1"}
created2017-06-05 15:25:39
last_update2017-06-05 15:25:39
depth2
children0
last_payout2017-06-12 15:25:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length156
author_reputation40,043,630,545
root_title"How to mine Etheruem with an Nvidia GPU (and Siacoin, Decred, Lbry, or Pascal)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,216,669
net_rshares1,535,832,813
author_curate_reward""
vote details (1)