Bitcoin Forum
December 17, 2017, 01:21:26 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 311 »
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining v0019-1.4  (Read 360244 times)
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 04, 2017, 01:13:26 AM
 #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

1513473686
Hero Member
*
Offline Offline

Posts: 1513473686

View Profile Personal Message (Offline)

Ignore
1513473686
Reply with quote  #2

1513473686
Report to moderator
1513473686
Hero Member
*
Offline Offline

Posts: 1513473686

View Profile Personal Message (Offline)

Ignore
1513473686
Reply with quote  #2

1513473686
Report to moderator
1513473686
Hero Member
*
Offline Offline

Posts: 1513473686

View Profile Personal Message (Offline)

Ignore
1513473686
Reply with quote  #2

1513473686
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513473686
Hero Member
*
Offline Offline

Posts: 1513473686

View Profile Personal Message (Offline)

Ignore
1513473686
Reply with quote  #2

1513473686
Report to moderator
1513473686
Hero Member
*
Offline Offline

Posts: 1513473686

View Profile Personal Message (Offline)

Ignore
1513473686
Reply with quote  #2

1513473686
Report to moderator
1513473686
Hero Member
*
Offline Offline

Posts: 1513473686

View Profile Personal Message (Offline)

Ignore
1513473686
Reply with quote  #2

1513473686
Report to moderator
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 04, 2017, 01:13:33 AM
 #2

reserved

fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 04, 2017, 01:13:41 AM
 #3

reserved

kopija
Sr. Member
****
Offline Offline

Activity: 272


View Profile
April 04, 2017, 05:41:23 AM
 #4

Thank you for contributing!
Regarding the need for dummy plugs, have you tried using  --allow-empty-initial-configuration in xorg.conf?
Quote
sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration
This allows me to run headless without the need for plugs of any kind.

we are nothing but a smart contracts on a cosmic blockchain
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 04, 2017, 10:43:19 AM
 #5

Thank you for contributing!
Regarding the need for dummy plugs, have you tried using  --allow-empty-initial-configuration in xorg.conf?
Quote
sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration
This allows me to run headless without the need for plugs of any kind.

Thanks kopija, I tested this out and it works.  Glad to have improvements from the community.  Grin

I will add this change to the next version.

kopija
Sr. Member
****
Offline Offline

Activity: 272


View Profile
April 05, 2017, 04:00:42 AM
 #6

The only downside is that you will be limited to VGA resolution when using remote VNC connection.
Dummy plug helps with that problem.

we are nothing but a smart contracts on a cosmic blockchain
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 05, 2017, 08:45:38 PM
 #7

The only downside is that you will be limited to VGA resolution when using remote VNC connection.
Dummy plug helps with that problem.

A dummy plug can always be used for that if desired.

laik2
Sr. Member
****
Offline Offline

Activity: 392


View Profile
April 06, 2017, 06:20:48 AM
 #8

Hi,
I haven't seen your modded 16.04 yet but I intend to, meanwhile here is something to replace stupid dummy requirements:

/etc/X11/xorg.conf

Quote
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 0 0
    Screen      2  "Screen2" 0 0
    Screen      3  "Screen3" 0 0
    Screen      4  "Screen4" 0 0
    Screen      5  "Screen5" 0 0
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
    Option         "Coolbits" "31
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "31"
    BusID          "PCI:2:0:0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "31"
    BusID          "PCI:3:0:0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "31"
    BusID          "PCI:4:0:0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
EndSection

Section "Device"
    Identifier     "Device4"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "31"
    BusID          "PCI:5:0:0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
EndSection

Section "Device"
    Identifier     "Device5"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "31"
    BusID          "PCI:6:0:0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Coolbits" "31"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Option         "Coolbits" "31"
    Option         "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Option         "Coolbits" "31"
    Option         "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Option         "Coolbits" "31"
    Option         "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier     "Screen4"
    Device         "Device4"
    Option         "Coolbits" "31"
    Option         "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier     "Screen5"
    Device         "Device5"
    Option         "Coolbits" "31"
    Option         "UseDisplayDevice" "none"
EndSection



Search on google for edid.bin, I can't remember where I got mine or I've generated it...

ZEC: t1KbbHtXqzSS6qHBaPZDKyWnzxhRjr9oCtW
Tidsdilatation
Full Member
***
Offline Offline

Activity: 238


www.Max.Lundh.co.uk - My website


View Profile WWW
April 06, 2017, 04:16:46 PM
 #9

Nice man!! Im running nvidia mining rig and i will def test this!!

fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 06, 2017, 07:17:08 PM
 #10

Thanks laik2 for adding an example xorg.conf file; but it is much easier to use kopija's suggestion as it makes all the needed changes to the existing v0012 xorg.conf file.

Tidsdilatation let me know how it works out.  

I made a video ~4mins demonstrating how to apply kopija's suggestion:

Quote
sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration

Note the root password for nvOC is:

  miner1

After applying this command a dummy plug should no longer be needed.  

I will include this modification in the next version; but I didn't think it was worth a whole new version by itself as the fix takes less than 3 minutes to apply.

Everyone who has tried nvOC; Please tell me what changes you would like for the next version.

kopija
Sr. Member
****
Offline Offline

Activity: 272


View Profile
April 08, 2017, 06:36:19 AM
 #11

edid.bin trick was required for headless setup before nvidia introduced --allow-empty-initial-configuration
i also tried playing with edid.bin to fix issues with VGA resolution on remote VNC connection, no luck
if anybody managed to fix it please share
also, how to set power limit on boot-up, so I do not have to do it manually after every restart?
thanks and have a nice day everybody

edit: mr. fullzero, have you considered using Xubuntu in your next version?
It is much less memory and CPU hungry than vanilla Ubuntu which eats almost 500MB more memory compared to Xubuntu
https://www.reddit.com/r/linux/comments/5kdq92/linux_distros_ram_consumption_9_distros_compared/
I am unsing it right now on an machine with 1GB of memory and all important stuff like graphics-drivers PPA and Nvidia overclocking work like a charm.

we are nothing but a smart contracts on a cosmic blockchain
philipma1957
Legendary
*
Offline Offline

Activity: 1946


A new tool for prediction https://bitvol.info/


View Profile
April 08, 2017, 06:49:09 AM
 #12

linux  nice.

I will test 1080 and 1080 ti cards on it.

I don't need the headless fix.

Please support sidehack with his new miner project Send to : 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
I mine alt coins with https://simplemining.net I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 08, 2017, 02:10:29 PM
 #13

edid.bin trick was required for headless setup before nvidia introduced --allow-empty-initial-configuration
i also tried playing with edid.bin to fix issues with VGA resolution on remote VNC connection, no luck
if anybody managed to fix it please share
also, how to set power limit on boot-up, so I do not have to do it manually after every restart?
thanks and have a nice day everybody

edit: mr. fullzero, have you considered using Xubuntu in your next version?
It is much less memory and CPU hungry than vanilla Ubuntu which eats almost 500MB more memory compared to Xubuntu
https://www.reddit.com/r/linux/comments/5kdq92/linux_distros_ram_consumption_9_distros_compared/
I am unsing it right now on an machine with 1GB of memory and all important stuff like graphics-drivers PPA and Nvidia overclocking work like a charm.


I used expect; see http://expect.sourceforge.net/

install it; then you can use the same method I did in oneBash to set the powerlimit automatically

I could make an Xubuntu version if there is enough interest.

fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 08, 2017, 02:31:26 PM
 #14

linux  nice.

I will test 1080 and 1080 ti cards on it.

I don't need the headless fix.

Phil, let me know if you have any problems.  I have to run to the post office before it closes, but I should be around the rest of the day.

I don't have a 1080 or 1080ti, so I am interested to see how far they can OC.  I am getting a 1080ti for my next card.

After looking at your build, I would not expect your cards to be able to OC by default with nvOC (as it currently is).  This is because you have no card in the 2nd pcie slot.  You should be able to get both your cards OCing by following the directions below.

Anytime a card isn't OCing with nvOC this is the simplest troubleshooting method:

attach a monitor or dummy plug to the card that isn't OCing
open Nvidia X Server Settings (click top icon on the taskbar (on the left) and select Nvidia X Server Settings)
select X server Display Configuration
(if you have used a dummy plug: look in the display area click each box that has a black boarder and change to enabled)
click Save to X Configuration File
save xorg  ( ensure Merge with existing file is checked and the field contains: /etc/X11/xorg.conf )
Note: you may need to browse an existing xorg file; in order to enable selecting Merge with existing file
password is: miner1
quit Nvidia X Server Settings (you must actually quit)
close mining process if open
logout
login

If you have multiple cards that aren't recognized this process can be repeated; or you can attach a dummy plug to every card other than the one with a monitor connected (plus enable each screen in Nvidia X Server Settings: click each box that has a black border and change to enabled) and complete the process above to patch all the cards.

kopija
Sr. Member
****
Offline Offline

Activity: 272


View Profile
April 08, 2017, 02:41:12 PM
 #15

What to put in the .sh script  for power limit adjustment so it sticks on reboot?
When I set the PL in CLI with nvidia-smi -pl it asks for sudo
Would nvidia-settings -pl command work in a script?
And which comand to put in the script?
How did you formulate it in OneBash?

BTW: here goes my vote for xubuntu!

we are nothing but a smart contracts on a cosmic blockchain
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 08, 2017, 05:33:04 PM
 #16

What to put in the .sh script  for power limit adjustment so it sticks on reboot?
When I set the PL in CLI with nvidia-smi -pl it asks for sudo
Would nvidia-settings -pl command work in a script?
And which comand to put in the script?
How did you formulate it in OneBash?

BTW: here goes my vote for xubuntu!

You have to use sudo; that is what I use expect for: to send the root password automatically in oneBash.sh.

this is the relevant section of oneBash.sh:
Quote
   # set wattage for powerlimit:
   if [ $POWERLIMIT == "YES" ]
   then
   sleep 4
   #change powerlimit by changing the number after -pl to the desired wattage
   expect -c 'spawn sudo nvidia-smi -pl 125
   expect "*password*:"
   send "miner1\r" '
   sleep 4
   fi

fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 13, 2017, 01:44:13 PM
 #17

Version v0013 is up with all member requested changes.  If you only mine ZEC; unless you want to use individual overclocks for each card this update is not necessary.

Change Log:
v0013 (current release)
  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

kopija
Sr. Member
****
Offline Offline

Activity: 272


View Profile
April 13, 2017, 04:08:25 PM
 #18

Version v0013 is up with all member requested changes.  If you only mine ZEC; unless you want to use individual overclocks for each card this update is not necessary.

Change Log:
v0013 (current release)
  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

Thanks for the update!
Suggestion for future version:
http://glances.readthedocs.io/en/stable/aoa/gpu.html
Currently the best monitoring tool for Linux, IMHO.

we are nothing but a smart contracts on a cosmic blockchain
fullzero
Legendary
*
Offline Offline

Activity: 1092



View Profile
April 13, 2017, 08:27:49 PM
 #19

Thanks for the update!
Suggestion for future version:
http://glances.readthedocs.io/en/stable/aoa/gpu.html
Currently the best monitoring tool for Linux, IMHO.

Glances looks good; I like the minimalism.  Python as well.  I'll look into it.

Also:

It has come to my attention you may encounter the following error when you select LBC or otherwise use ccminer:

error while loading shared libraries: libcudart.so.8.0:

to resolve this:

Quote
open a standard terminal: To open a standard terminal open the mining terminal, select the terminal, move the cursor to the top left, select file, open terminal, select Unnamed

and enter the following in the new terminal window then press enter:
Quote
sudo ldconfig /usr/local/cuda/lib64

password is:
  miner1


newmz
Sr. Member
****
Offline Offline

Activity: 243


View Profile
April 15, 2017, 11:21:27 AM
 #20

This is all very interesting to me because I currently use Windows 8.1 for my Nvidia Rig but in the past I have mined with my AMD rigs using EthOS and found it much more stable and reliable, and using much lower resources, etc - so a Linux solution for an Nvidia rig sounds great. I was considering trying the PiMP Nvidia version but when I tried that for my AMD rigs it confused the hell out of me.

Anyway, I have one big question because it doesn't seem clear to me from the small amount of info in this thread whether it will suit my rig. Reason being, my rig is currently 2 x  Gigabyte  gtx1070 G1 Gaming cards and 2 x Galax gtx 1060 6GB cards.

It seems from what I read above that when you set cc & mc overclock and powerlimit - this is one setting to apply to all cards on the rig. This is obviously suitable for the typical situation where people commonly use  multiple instances of 1 type of card on a rig, which I understand - people choose a GPU, buy however many of them and populate the rig with them.

What about a situation like mine though, where I have 2 of one GPU and 2 of another, so I need to be able to specify different OC and powerlimits for the different cards.

Currently in Windows 8.1 I just use MSI afterburner and set each card individually, so for example I mine ZEC and the 1070s are powerlimited to around 68%, core OC to +70 and mem OC to +700, while the 1060s are powerlimited to about 75%, core OC to +50 and me OC to +500. Using EWBF this is giving me approximately 1400sol/s using 500W at the wall.

Since the powerlimit in Linux seems to be set in watts rather than percent, one setting in a percentage (70% would probably work) but I would need to be able to set the 1070s to around 125W and the 160s to around 85W. The CC could all conceivably be set to +60 and MC to +500 or +600 but is there a way to set powerlimits individually for each card?
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 311 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!