Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining
by
TheCoinMine
on 10/06/2017, 02:43:09 UTC
Fellow miners,

this is the build I use with my Nvidia 1000 series rigs.  I am providing it to the community 100% free, with no fees (from me at least):
(Claymore's miner still has his fee if you mine ETH or ETC; EWBF defaults to 0 fee: which you can easily change if you want to; EWBF 0.3.3b. is awesome)

Please Note:
I don't have any Maxwell cards, so I didn't test them.  According to Nvidia, the driver should support them as well.  I'm not sure if nvOC (as is) can support Maxwell Cards.

nvOC is a customized Ubuntu 16.04 build with Nvidia individual card OC and individual card powerlimit support, manual fan support, auto launching on boot, and a single easy to configure Bash Script (oneBash) which can be configured from a windows pc using wordpad.

nvOC is easy-to-use and supports mining (with the newest oneBash):

ZEC   DGB   SIA   ZCL   FTC   LBC   MUSIC   ETC   EXP   ETH   DCR   PASC
DUAL_ETC_DCR       DUAL_ETC_PASC        DUAL_ETC_LBC         DUAL_ETC_SC
DUAL_EXP_DCR       DUAL_EXP_PASC        DUAL_EXP_LBC         DUAL_EXP_SC
DUAL_ETH_DCR       DUAL_ETH_PASC        DUAL_ETH_LBC        DUAL_ETH_SC
DUAL_MUSIC_DCR   DUAL_MUSIC_PASC    DUAL_MUSIC_LBC    DUAL_MUSIC_SC


the newest oneBash Link


nvOC uses EWBF, Claymore, sgminer, and ccminer (both tpruvot and sp-hash) and plusCPU uses cpuminer-opt;
if you want an additional algorithm or mining client post here or pm me the details and I will add it to the next version

DEMO VIDEO Link

Phil's rig DEMO VIDEO Link

1070 Example Rig Link; 1.02$/hash (hash in sol/s) or less

1060 Example Rig Link; 1.02$/hash (hash in sol/s) or less

amdOC_Beta_v0010 Link

Current Version: v0015

If you are planning on mining with a single GPU with nvOC read this: https://bitcointalk.org/index.php?topic=1854250.msg19449945#msg19449945
 
  this version is intended for USB keys
  However you can use an SSD or HDD with a USB adapter cable
: https://bitcointalk.org/index.php?topic=1854250.msg19300078#msg19300078
  Or you can follow this process to enable Autolaunch with an SSD or HDD install
: https://bitcointalk.org/index.php?topic=1854250.msg19328385#msg19328385
  
Change Log:
v0015
  auto detect: all GPUs OC (for all fully supported motherboards and almost all Intel motherboards)
  disabled password lockout
  added screen and openssh-server(disabled by default)
  plusCPU setting to enable cpuminer-opt to mine XMR on the side
  threadCOUNT selection option for plusCPU
    ETHERMINEdotORG switch
    DGB COIN selection with DGB or BTC payout
    SIA COIN selection

v0014
  added individual card powerlimits
  added manual fan control
  added Guake terminal (press f12 for a standard terminal)
  fixed ccminer libcudart.so.8.0 error
  removed build error logs causing system error messages
  oneBash changes:
    moved oneBash to the Windows partition (you can now configure oneBash on the computer you image the USB key with)

v0013
  dummy plug is no longer required
  added ccminer (both tpruvot and sp-hash)
  added CUDA 8.0
  updated Claymore to 9.0
  installed Ubuntu updates
  oneBash changes:
    moved pool addresses and ports to the top section
    added individual card cc and mc OC
    added 1050 switch (use if you have 1050's in your rig)
    added LBC, DUAL_ETC_PASC  DUAL_ETC_LBC  DUAL_ETH_PASC  DUAL_ETH_LBC

v0012 (initial release)

fully supported motherboard links:

ASRock H81 PRO BTC (6x gpu) Link

BIOSTAR TB85 (6x gpu) Link

MSI Z270-A PRO (6x gpu: 7x if you use 1x m2 adapter) Link

GIGABYTE GA-B250M-Gaming 3 (4x gpu) Link

BIOSTAR TB250-BTC (6x gpu) Link

ASUS Z270-F GAMING (7x gpu: 9x if you use 2x m2 adapters)  Link

MSI Z170A GAMING M5 (7x gpu) Link

ASUS PRIME Z270-A (7x gpu: 9x if you use 2x m2 adapters) Link

GIGABYTE GA-Z270P-D3 (6x gpu) Link

ASUS PRIME H270-PLUS (6x gpu: 8x if you use 2x m2 adapters) Link


If you don't have an imaging program already download HDDRawCopy (Link)


nvOC_v0015 Link use this image for all mobos  Wink
Note: you still need to implement bios setting changes.  The SHA256 hash (for the zip) is:
Quote
90465b0521590a9e850a84bb1edbc184bac24aba7d309b20adaf106e364b534e


If you are using an ASRock H81 PRO BTC or BIOSTAR TB85; either should work with without any changes to the bios settings.


If you are using an MSI Z270-A PRO; ensure you enable Above 4G memory option in the bios before connecting the nvOC USB.  


If you are using a GIGABYTE GA-B250M-Gaming 3; ensure the Audio Controller is disabled in the bios.


If you are using a BIOSTAR TB250-BTC; ensure Miner Mode is enabled in the bios.  Also ensure Max TOLUD is set to 3.5 GB in the bios.


If you are using an ASUS Z270-F GAMING; ensure 'Above 4G Decoding' is enabled in the bios.  Also ensure PTP aware OS: is set to 'Not PTP Aware' in the bios.  Finally, ensure you 'Clear Secure Boot Keys' in the bios.


If you are using an MSI Z170-A GAMING M5; ensure 'Above 4G Decoding' is enabled in the bios.  Also download, unzip and copy to a usb key ( the 2016-12-19 Version 1.D ) Bios and follow instructions to flash the bios.


If you are using an ASUS PRIME Z270-A; ensure 'Above 4G Decoding' is enabled in the bios.  Also ensure PTP aware OS: is set to 'Not PTP Aware' in the bios.  Finally, ensure you 'Clear Secure Boot Keys' in the bios.


If you are using a GIGABYTE GA-Z270P-D3; ensure the Audio Controller is disabled in the bios.


If you are using a ASUS PRIME H270-PLUS; You must update the bios; with this motherboard it can be done by connecting an ethernet cable and entering the EZ Flash 3 Utility.  Select DHCP and download then install the update.  It should look like this.  After updating ensure 'Above 4G Decoding' is enabled in the bios.


If you are using a BIOSTAR RACING Z170GT7; Ensure you are only using the first 6 pcie slots closest to the CPU.  Ensure you set Security Device Support to: Disable Finally ensure you set the max TOLUD to 3.5 gb


ENSURE THAT YOU unzip the image BEFORE YOU IMAGE YOUR USB  Wink


Use HDDRawCopy to image the extracted img file to the 16gb or larger usb ( see this guide for an HDDRawCopy walkthru )

Image to 16gb or larger USB key.  You may have trouble setting the powerlimit if the USB key you use is slow.  You can use any 16gb or larger USB key; however, I highly recommend using the lexar drive as it was one of the fastest USB keys I tested and is less than $8.  

I tested several different USB keys; I recommend using this $8 one:
https://www.amazon.com/Lexar-JumpDrive-16GB-Flash-Drive/dp/B00S5V5PMY

NOTE: You only need to configure the oneBash file in the Windows Partition.  If you don't have a text editor with syntax highlighting: open it with wordpad.  I recommend downloading atom if you don't have a text editor with syntax highlighting .

set COIN, POWERLIMIT, CORE AND MEMORY OC, INDIVIDUAL_CLOCKS, MANUAL_FAN, YOUR ADDRESSES and WORKERS / change POOL and PORT for each COIN if desired

This is the settings portion of oneBash:

https://s7.postimg.org/bs70sg8p7/one_Bash_settings_section.jpg

direct link to image:
oneBash settings section

When you are done configuring oneBash ensure that you save, then eject the USB.

Attach the USB key to your rig and power it on.

NOTE: first boot will take longer to start mining as oneBash must be converted

All files are in the nvOC folder Link.

nvOC uses the 378.13 Driver.

the root password for nvOC is:

    miner1

Known Limitations and Issues:

If powerlimit isn't setting after editing oneBash on your rig; stop CPU mining ( press f12 to open guake terminal then press ctrl + c to stop the process ) and close the GPU mining process.  Reopen gnome terminal to relaunch oneBash.

Please let me know if there are any issues with this version not OCing cards with mobos.

Currently I know it cannot OC all 7x cards with an MSI z97 Gaming 5 mobo; and it does not OC with ryzen mobos.

Some individual cards may need lower clocks, but in general these are stable OC settings and the powerlimits I use; however, my power is expensive: so you may want to use a higher powerlimit if you have cheap power.

EVGA 1080ti SC              cc 150  mc 900  powerlimit 200
EVGA 1080ti FE              cc 150  mc 900  powerlimit 200
ZOTAC mini 1070's         cc 200  mc 900  powerlimit 125
EVGA FTW 1070's           cc 100  mc 600  powerlimit 118
ZOTAC amp 1060 6gb's   cc 150  mc 900  powerlimit 100
EVGA 1060 SC 6gb's       cc 100  mc 900  powerlimit 100
EVGA 1060 SC 3gb's       cc 100  mc 350  powerlimit 75
EVGA 1050ti SC 4gb's     cc 150  mc 1100  powerlimit 75

Depending on the algorithm; you may be able to overclock significantly more.  If your miner crashes at all, it is probably because your cc or mc OC is too high.  

IMO it is easier to start with a lower OC and walk up the OC until it becomes unstable, than to start at the max and walk it down to stability.

If you find nvOC helpful and would like me to expand it; please let me know.  I will make requested changes over time as I am available to.


Just to be clear, HDDRawCopy (Link) is the image link I need to download for this build correct?