Bitcoin Forum
November 14, 2024, 08:07:58 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining v0019-1.4  (Read 183 times)
Tokek_Belang (OP)
Full Member
***
Offline Offline

Activity: 252
Merit: 100



View Profile
February 05, 2018, 05:28:07 PM
 #1

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).

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 (1bash) which can be configured from a windows pc using wordpad.

nvOC is easy-to-use and supports mining (with v0019-1.4):

XMR  KRB   SIGT  UBQ  ONIONSOILSIB
GRS  XMY  ORB  PXC  KMD  PASC  
ZEC   ZCOIN  HUSH   ZEN  ZCLPASL
ETH   MUSIC  ETC  EXP  DCR  SIA  
MONA  VTC    DGB    SIA  FTC  LBC
DUAL_NICEHASH NICE_EQUIHASH    NICE_ETHASH  
ZPOOL_LYRA2V2ZPOOL_BLAKE2SZPOOL_SKUNKZPOOL_EQUIHASHZPOOL_LBCZPOOL_NEOSCRYPT ZPOOL_SKEIN
DUAL_ETC_DCR   DUAL_ETC_PASC  DUAL_ETC_PASL  DUAL_ETC_LBC  DUAL_ETC_SC  
DUAL_EXP_DCR   DUAL_EXP_PASC  DUAL_EXP_PASL  DUAL_EXP_LBC  DUAL_EXP_SC  
DUAL_ETH_DCR   DUAL_ETH_PASC  DUAL_ETH_PASL  DUAL_ETH_LBC  DUAL_ETH_SC  
DUAL_MUSIC_DCR   DUAL_MUSIC_PASC   DUAL_MUSIC_PASL   DUAL_MUSIC_LBC   DUAL_MUSIC_SC  
DUAL_UBQ_DCR   DUAL_UBQ_PASC   DUAL_UBQ_PASL   DUAL_UBQ_LBC   DUAL_UBQ_SC  
DUAL_SOIL_DCR   DUAL_SOIL_PASC   DUAL_SOIL_PASL   DUAL_SOIL_LBC   DUAL_SOIL_SC  
BTX  BTCZ  SMART  

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


Note: -1.4 is BETA if you only want STABLE updates; wait for verification and bug resolution from the community


Note -1.4 is download only; you cannot use 4update to upgrade

meligo made a website for general FAQ and guides.  It is not super pretty and uses a wordpress theme: but I think it will help members solve problems / deal with common problems.  It can, like everything; be improved over time.  I will add it to -1.4 as a firefox bookmark.  meligo already added some information and guides.  Thanks meligo  Grin

http://nvoc-mining-os.com/


damNmad made an nvOC discord channel: Thanks damNmad  Grin

nvOC discord channel Link


kk003's How to create a telegram bot and get Api Key + User Id Video Link


v0019-1.4 is 15.4gb

nvOC_v0019-1.4 Google Drive Link use this image for all mobos

Please Note: YOU MUST SET ADDRESSES in 1bash FOR YOUR COIN SELECTION or if using the WTM switch; each COIN SELECTION or you will have errors.  

Note: you still need to implement bios setting changes.  The SHA256 hash (for the zip) is:
Code:
20a32841e07521b536083e7d4d4d64e2f8fdf2e259d277bb48e79f1520f57af4


Note: you still need to implement bios setting changes.  The SHA256 hash (for the image) is:
Code:
544128d31a6b51e132f14bd929435e8546aaf970c1ed6569a4521337c4c2ae89

Thanks for your contributions: papampi , kk003, damNmad, and meligo   Grin

v0019-1.4 Change Log: (note I haven't tested these changes yet) If you find a bug please report it in the bug-reports thread on the nvOC discord.

All updates (including security updates) are disabled.

Updated to the newest Nvidia driver and resolved all known system conflicts.

Added zm 5.2 and fixed zm file reference problem from -1.3

Modified hostname to reflect current version.

Fixed integration problems with papampi's contributions.

Updated papampi's contributions.

Updated kk003's telegram alert

Added damNmad's telegram alert

Added BitcoinZ as a COIN selection

Added SMART as a COIN selection

Added PAPAMPI_WTM_PROFIT_CHECK

Added Vim


v0019-1.3 Change Log: (note I haven't tested these changes yet)

Updated to the newest zm client ( 5.1 )

Removed Internet connection check to ensure HOST and IP are correctly set by 1bash: Internet problem has been identified as a compatibility problem with some NICs and a Ubuntu update.  The easiest solution for now is to get a $10 usb NIC from amazon and use it in place of your mobos NIC if it has internet problems.  I recommend this usb NIC: https://www.amazon.com/dp/B00M77HLII

Fixed some compatibility problems with papampi telegram type.

System optimizations: disabled and removed unnecessary system processes

added papampi Miner Info webpage (bookmark is now in firefox)

added and integrated PAPAMPI_WTM_AUTO_SWITCH ( whattomine.com auto switcher (its awesome) ) Thanks papampi and damNmad  Grin

added BTX coin selection; Thanks damNmad


v0019-1.2 Change Log:

Updated to the newest zm client ( 4.5 )

Added an Internet connection check to ensure HOST and IP are correctly set by 1bash.


v0019-1.1 Change Log:

Fixed several bugs related to setting general OC and target temp.

Fixed a bug that required manual launch of 2unix (to complete update) when in remote.

Fixed AUTO_UPDATE Daemon (you can run the Daemon to check for either STABLE or BETA updates automatically)


v0019-1 Change Log:

added car1999 + leenoox setting to fix GPU ordering ( I haven't verified this yet)

All of the new COIN selections (see above) Thanks damNmad  and  papampi Grin

added TELEGRAM_TYPE in 1bash: Thanks kk003  and  papampi Grin

added Claymore v10

added zm EQUIHASH client

added support for 19x GPUs (note Asus 19x will likely only work with 13x)

system + Nvidia driver updates

added damNmad_ALGO_SPECIFIC_OC in 1bash

Some of the 3main code is less procedural and more OO

4update now only checks 2unix (which will implement actual updates)

upPASTE will now kill gnome-terminal

added KTccminer (might not be the newest version; but I wanted to get this update out to get everyone on the same page).

Stak XMR client should now autogen the correct config for multiple GPUs.



v0019 DEMO VIDEO Link

VoskCoin's How To Build a ZenCash Mining Rig Video Link

papampi's Guide to adding Telegram Alerts Link

damNmad's OC settings list Link

v0018 DEMO VIDEO Link

DEMO VIDEO Link

Phil's rig DEMO VIDEO Link

ijduncan made some nvOC wallpapers Link

Phil's 3x 1080ti rig configuration walkthru Link

Phil's 2x 1070 ZEC rig build / configuration / walkthru Link

For AMD rigs see: [OS] rxOC easy-to-use Linux AMD Mining: Link

VoskCoin's v0017 Guide Video Link

VoskCoin's How To Build the Best DIY GPU Mining Rig Link

VoskCoin's Wifi Mining Link

How to Restore / Backup a Primary Partition Link

papampi's Guide to adding Swap space Link


NOTE: If you are connecting a monitor directly to the motherboard (don't do this);
only connect a monitor to the primary GPU (the one in the 16x slot closest to the CPU)



How to Setup remote re-configuration of rigs / remote viewing using SSH and screen Guide Link


How to Setup _Parallax_Mode (have 1bash autoupdate from a pastebin file when the mining process is launched) Guide Link


this version is intended for SSD / HDD / USB keys
  
Change Log:

v0019
  pure headless p106-100 setting in 1bash
  BaliMiner Telegram Alerts; Thanks BaliMiner  Grin
  Used osnwt's suggestion to dramatically improve boot time; Thanks osnwt  Grin
  Reduced primary partition size to 8.1gb using _Parallax_'s suggestions: Thanks _Parallax  Grin
  added AUTO_UPDATE to make updates easier
  Split settings from implementation (settings are now 1bash; implementation is now 3main) using lost_post's suggestions; Thanks lost_post  Grin
  added MAC address as workername implementation
  added CLAYMORE 9.8
  reduced image size to 15.4gb (should now work on all marketed 16gb USB keys)
  added plus integrated SALFTER_MPH_PROFIT_SWITCHING: Thanks salfter  Grin
  added (mostly) global pool syntax switch for alternating between / and . between address and worker
  added xmr-stak-nvidia client
    Zpool_SKUNK COIN selection
    UBQ COIN selection
    XMR COIN selection
    SIGT COIN selection
    ONION COIN selection

v0018
  re - added SSD / HDD support
  updated driver to: 384.47
  added CLAYMORE 9.7
  added plus integrated SRR support: Thanks xleejohnx
  added plus integrated IAmNotAJeep_and_Maxximus007_WATCHDOG: Thanks IAmNotAJeep  and  Maxximus007
  added plus integrated Maxximus007_AUTO_TEMPERATURE_CONTROL: Thanks Maxximus007
  added plus integrated SALFTER_NICEHASH_PROFIT_SWITCHING: Thanks salfter
  added AUTO_REBOOT selector
  added GPUPowerMizerMode_Adjust and selector
  added LOCALorREMOTE selector
  added lspci and nvidia-smi output to the top of mining process
  prepended 'nv' to auto workernames
    Zpool_Blake_2S COIN selection
    Zpool_Lyra2v2 COIN selection
    GRS COIN selection
    DMD COIN selection

v0017
  added Genoil with NEW CUDA Implementation (better than Claymore for NICE / ETH / ETC with no fee)
  implemented  wget / pastebin oneBash auto-updating suggested by: _Parallax_
  Thanks _Parallax_
  workernames are auto-generated (set to the rig host address: last 3 digits of the rig IP)
  fixed cuda error fix not always implementing; by moving the fix from 2unix to oneBash
  added IP output to the top of mining process (easier to get the rig IP)
  added USE_ENVIRONMENTAL_VARIBLES selector (adds them if YES)
  added GENOILorCLAYMORE selector
  increased primary partition size (more available space)
  added SLOW_USB_KEY_MODE (for slow usb keys; also helps ensure the setting of powerlimits and fanspeeds)
    ZCOIN COIN selection
    HUSH COIN selection
    MONA COIN selection

v0016
  auto repair xorg: fixes single GPU not OCing bug (will auto detect / repair / reboot if using a single GPU or the xorg file has otherwise been damaged)
  implemented Maxximus007 suggestion to enable expect-less oneBash
  Thanks Maxximus007
  powerlimit not setting bug is fixed (even for very slow USB keys)
  added Teamviewer with oneBash YES / NO switch to enable / disable it
  added openssh-server switch in oneBash YES / NO switch to enable / disable it
  added Desktop Sharing RDP program (enable / setup with GUI on the taskbar)
  added ifconfig output to the top of mining process (easy to get the rig IP)
  added EWBF v3.4
  added Claymore v9.5
  added EWBF and Claymore version selectors to oneBash
  added EXTENTION_ARGUMENTS for each Ethash COIN (to add additional Claymore arguments)
  increased Claymore stability
  reduced boot time
  will now work with slow USB keys
    VTC COIN selection with VTC or BTC payout
    ZEN COIN selection
    NICE COIN selection

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)

partially supported motherboard links:

ASUS B250 MINING EXPERT (13x gpu) Link

fully supported motherboard links:

ASRock H110 PRO BTC+ (13x gpu) Link

BIOSTAR TB250-BTC PRO (12x gpu) Link

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)

Or get etcher for Mac / Linux / Windows Link

When using Etcher to image an SSD or HDD; you will first need to: click the gear at the top right of the application window and enable unsafe mode.

if you want to easily image SSDs this USB to Sata power and data adapter is great:
https://www.amazon.com/StarTech-SATA-Drive-Adapter-Cable/dp/B00HJZJI84

if you want to easily image an m2 SSD get this adapter as well:
https://www.amazon.com/AD905A-SATA-Connector-Converter-Adapter/dp/B018ATXKLI

then use it in conjunction with the USB to Sata power and data adapter

v0019 zip should extract on OSX / *nix / Windows  Wink

v0019 is 15.4gb


nvOC_v0019 Google Drive Link use this image for all mobos



nvOC_v0019 MEGA Download Link use this image for all mobos



Note: you still need to implement bios setting changes.  The SHA256 hash (for the zip) is:
Code:
9f461a33051568425f616a265d7811b6c3372f61bbcfdbae7d50fb627c57fb38


If you are using an ASUS B250 MINING EXPERT ; ensure you enable Launch CSM option in the bios before connecting the nvOC USB.  


If you are using an ASRock H110 PRO BTC+ or ASRock H81 PRO BTC or BIOSTAR TB85; no changes to the bios settings are needed.


If you are using a BIOSTAR TB250-BTC PRO; ensure Mining Mode is enabled in the bios.  Also ensure Max TOLUD is set to 3.5 GB in the bios.
NOTE: you must first only connect 6x GPUs, boot, make Bios changes, save and reboot, shutdown, add the other 6x GPUs, attach the USB or SSD and boot


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 or etcher to image the extracted img file to the 16gb or larger usb ( see this guide for an HDDRawCopy walkthru )

Image to a 16gb or larger USB key or SSD


I recommend using these USB to Sata power and data adapters:
https://www.amazon.com/StarTech-SATA-Drive-Adapter-Cable/dp/B00HJZJI84

with an SSD

This is what I will be doing from now on with my rigs.  An ssd will usually image in 4 minutes or less; and is easy to attach / remove or swap with the usb adapter.  I have had a lot of USB keys die over time; and really like how fast I can deploy a new image to a rig with SSD + sata-to-usb adapter.

USB keys are good for testing different versions; or for trying out nvOC for the first time.  But in the long run an SSD will likely outlast multiple USB keys.


NOTE: You only need to configure the 1bash 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 .

Change OC and addresses to desired / your own.

When you are done configuring 1bash 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 1bash must be converted

All files are in the nvOC folder Link.

nvOC uses the Newest Nvidia Driver.

the root password for nvOC is:

    miner1

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.

My thoughts on OC Link

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.

Requested Changes / Additions / Tests:

pool disconnect detection and mitigation / auto failover

add hyperthreading fix: https://bitcointalk.org/index.php?topic=1854250.msg20217566#msg20217566

XVG on myriad-groestl  pool - http://xvg-mg.idcray.com/

add SIB (Sibcoin) and CHC (Chaincoin) support.

tutorial on adding new coins

add cpu miner: https://github.com/fireice-uk/xmr-stak-cpu

Verge coin selection https://bitcointalk.org/index.php?topic=1365894.0  myriad-groestl primary

add DBIX coin selection with pool http://dbix.pool.sexy/#/help

add Zerocoin "ZERO", Nexuscoin "NXS", Spreadcoin "SPR"

add all nicehash algo COIN selections

RDP guide

monitor / push / update / dashboard app

add a FAQ section to the OP

Claymore failover implementation (auto failover file building from oneBash variables)

file / notepad with all manual cmds

build which runs X on integrated graphics (supports iGPU)

make nvOC github

make slack channel

add Excavator client when available

update build guide

make video demo for building an image

updated example rig video

profit switching algorithm with implementation (1/2 done)

voltage control

375 driver version to better support Maxwell cards

light build version (smaller in size and requiring less resources)

website with direct rig control

add Creep Miner for Burstcoin (proof of capacity) mining: creepMiner

Maxwell OC support

pre-configure team viewer for LAN only unattended access

Proxy capability for control app

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!