Install NVIDIA 510 driver (LHR Bypass) on CentOS/Fedora for Mining

Download NVIDIA 510 Driver

Download driver from here (Official Link) or with wget.

wget https://us.download.nvidia.com/XFree86/Linux-x86_64/510.68.02/NVIDIA-Linux-x86_64-510.68.02.run

If the above link doesn’t work, you can download a copy from this site with the following.

wget https://www.incredigeek.com/home/downloads/NVIDIA/NVIDIA-Linux-x86_64-510.68.02.run.tgz

Extract with

tar zxf ./NVIDIA-Linux-x86_64-510.68.02.run.tgz

Verify Driver (Optional)

Not a bad idea to check if you downloaded from an untrusted source.

sha256sum NVIDIA-Linux-x86_64-510.68.02.run

The Hash should equal

bd2c344ac92b2fc12b06043590a4fe8d4eb0ccb74d0c49352f004cf2d299f4c5

Install NVIDIA Driver

We can now install the NVIDIA driver with the following command.

sudo ./NVIDIA-Linux-x86_64-510.68.02.run

It will have a couple of prompts that are easy to walk through.

While installing the driver, it can try to blacklist Nouveau, if it runs into issues, try running the following, reboot, and run the install again.

sudo gruby --update-kernel=ALL --args="nouveau.modeset=0"

After driver is installed, reboot your machine.

Now download a copy of your favorite mining software and enjoy the extra Mhs…

How To Install MadMAx Plotter on Ubuntu 20.04

Flexpool has some excellent steps on how to get started and also on installing MadMAx

https://www.flexpool.io/get-started/xch/XCH-CLI?primaryServer=xch-us-west.flexpool.io

The one caveat is that on Ubuntu 20.04 you’ll need to install cmake

sudo apt install cmake

Then you can install and run MadMAx with

git clone https://github.com/madMAx43v3r/chia-plotter 
cd chia-plotter 
git submodule update --init 
bash make_release.sh 
sudo mv build/chia_plot /usr/bin

Now you can create a plot by running the chia_plot command.

chia_plot -n 1 -t /path/to/tmp/ -d /chia/destination -c p2singletonaddressorpoolcontractaddress -f biglongfarmerpublickey

Note that if you are plotting on a harvester that the p2 singleton or the pool contract address does not have to be on the harvester system. You can grab it off the main node and then use the address on the machine plotting.

Upgrade to the latest version of Chia on Ubuntu

https://github.com/Chia-Network/chia-blockchain/wiki/INSTALL#ubuntudebian

While upgrading Chia on Linux is not as simple as on Windows, it is still relatively easy.

First we need to stop the Chia service

Open up a terminal, navigate to the chia-blockchain folder, and stop the services

cd chia-blockchain
. ./activate
chia stop -d all
deactivate

Now we will need to download the latest files using git.

git fetch
git checkout latest
git reset --hard FETCH_HEAD

Now that we have the latest files, we can install the new version.

sh install.sh
. ./activate
chia init

Upgrade GUI

Upgrading the GUI is similar to the above process. Should be able to copy and paste the following commands.

cd chia-blockchain-gui
git fetch
cd ..
chmod +x ./install-gui.sh
./install-gui.sh
cd chia-blockchain-gui
npm run electron &

The last command will launch Chia GUI.

Quick Chia Command list

Here are some commands that I have found helpful when using chia.

Find and count all plots on a system. Helpful if you have a machine plotting and want to know how many plot files you have

find /mnt/ /media/ ~/ -name *.plot 2>/dev/null | grep -v tmp | grep -c . && echo "Plots found"

Create Plots with Masted Keys. You will need the keys from the master node.

chia plots create -t /media/user/plotdrivetmp -d /media/user/plotdrive -f biglongublicfarmerkeyag934gh3bh3h4 -p biglongpoolpublickey129gmc2390243t-gg49

Start or restart Chia Harvester

chia start harvester -r

How to setup a Chia Harvester on Ubuntu

A Chia Harvest is a computer that farms Chia and connects back to a Master Node. You can almost think of it like the Master Node being a Pool and the harvesters as nodes on that “pool”. In this post we’ll talk about setting up a Chia Harvester on Ubuntu. Shouldn’t matter which version of Ubuntu. LTS or the latest should work fine.

Do note that we do not need the gui installed for this to work. Refer to this post to install Chia

Note: In the following commands we are assuming that the Chia directory is in your home “~/” directory on the harvester. Change the path if different.

Before we start you will need the ca directory from your Main/Master node uploaded or accessible to your Ubuntu harvester. You can get the CA directory from the following locations on Windows and Linux.

On Linux

~/.chia/mainnet/config/ssl/ca

On Windows

C:\User\username\.chia\mainnet\config\ssl\ca

You should be able to copy and paste the following path into Explorer to get to the correct directory.

%homepath%\.chia\mainnet\config\ssl\ca
Copy Chia ca directory

Copy this folder onto your Desktop, thumbdrive, network share, just some place you can access it.

Upload ca folder

You can use scp to upload the ca folder of the Harvester. In the following example we put the ca directory on our Windows desktop and we are uploading to our harvesters home directory.

scp -r Desktop\ca user@192.168.1.5:~/

Activate Chia

The rest of the commands are run on the harvester. You can either ssh or physically log into it. If Chia was installed in a different directory, then you will need to change the path.

cd chia-blockchain 
. ./activate


Configure Harvester

You should be able to copy and paste all the following commands in, change the parts in bold as needed.

The –set-farmer-peer option is your main node’s ip address.

chia init -c ~/ca
chia stop all
chia configure --set-farmer-peer 192.168.1.4:8447
chia configure --enable-upnp false
chia plots add -d /media/user/plotdrive/
chia start harvester -r

Should be all set. You can check the Main Node to verify that the harvester is connecting.

Important Notes:
UPNP needs to be turned off. It can cause problems if there are multiple wallets running on a local network that both have upnp on.

Add your plot drive locations. We need something to harvest :)

Verify that the Linux user can write to the Chia Plot drives

The following command will give the ubuntu user write access to the drive. Change the path to your drive.

sudo chmod ugo+wx /media/username/your_drive

Creating Plots

Create plots by specifying the Farmer Public Key and the Pool Public Key. You can get these from the Main Node. Plan on adding info on how to retrieve that info soon.

chia plots create -t /media/user/plotdrivetmp -d /media/user/plotdrive -f biglongublicfarmerkeyag934gh3bh3h4 -p biglongpoolpublickey129gmc2390243t-gg49

The following link has more information.

https://github.com/Chia-Network/chia-blockchain/wiki/Farming-on-many-machines


GTX 1070 – ETH Hashrate and Power Consumption

Nvidia GTX 1070 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a GTX 1070 based on web sources.

GTX 1070

Cost

Cost Used (eBay)
February 2021: $300 – $500

Hasrate for Ethash and Power Consumption

Hashrate: 26/Mhs

Power Consumption
Average: 130 W


Average Mhs Per Watt : 0.2/Mhs
Average Watts Per Mhs: 5 W

Profitability is about $2.97/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=26&p=130&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

GTX 3090 – ETH Hashrate and Power Consumption

Nvidia GTX 1070 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a GTX 1070 based on web sources.

GTX 1070

Cost

Cost Used (eBay)
February 2021: $300 – $500

Hasrate for Ethash and Power Consumption

Hashrate: 26/Mhs

Power Consumption
Average: 130 W


Average Mhs Per Watt : 0.2/Mhs
Average Watts Per Mhs: 5 W

Profitability is about $2.97/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=26&p=130&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

Nvidia RTX 3080 – Hashrate and Power Consumption

Nvidia RTX 3080 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a RTX 3080 based on web sources.

RTX 3080

Cost

Cost Used (eBay)
February 2021: $1600 – $2000

Hasrate for Ethash and Power Consumption

Hashrate: 97/Mhs

Power Consumption
Average: 250 W


Average Mhs Per Watt : 0.39/Mhs
Average Watts Per Mhs: 2.58 W

Profitability is about $12.45/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=97.0&p=250.0&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

Nvidia RTX 3070 – Hashrate and Power Consumption

Nvidia RTX 3070 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a RTX 3070 based on web sources.

RTX 3070

Cost

It seems that the hashrate and power consumption is basically the same as an RTX 3060 Ti

Cost Used (eBay)
February 2021: $950 – $1000

Hasrate for Ethash and Power Consumption

Hashrate: 62/Mhs

Power Consumption
Average: 122 W


Average Mhs Per Watt : 0.51/Mhs
Average Watts Per Mhs: 1.97 W

Profitability is about $8.39/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=62&p=122&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate