Bitcoin Forum
August 21, 2017, 10:47:50 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [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 ... 136 »
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining v0018  (Read 159704 times)
fullzero
Legendary
*
Offline Offline

Activity: 1022



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):
Genoil has no fee; Claymore's miner has a fee; EWBF v0.3.4 has a fee; while v0.3.3 defaults to 0 fee.

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


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

DMD     GRS  ZPOOL_LYRA2V2   ZPOOL_BLAKE2S  
ZEC     ZCOIN  HUSH   ZEN  ZCL
NICE_ETHASH     ETH    MUSIC  ETC  EXP  DCR  PASC
MONA     VTC    DGB    SIA  FTC  LBC
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  




Newest IAmNotAJeep_and_Maxximus007_WATCHDOG DOWNLOAD Link




bug_fix_1bash + updated upPASTE file, updated AUTOTEMP, older WATCHDOG, updated 2unix DOWNLOAD Link

bug_fix_1bash changes List Link




v2 Alexis78 and Tpuvot 2.2 ccminer clients with replacement bash DOWNLOAD Link





v0018 DEMO VIDEO Link





How to Restore / Backup a Primary Partition Link






ASRock H110 PRO BTC+ I have confirmed that v0018 supports 13x GPUs out the box with no bios changes Link





BIOSTAR TB250-BTC PRO I have confirmed that v0018 supports 12x GPUs with 2x Bios changes ( however; 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 )Link






If your v0018 rig doesn't appear to be mining; read this Link





VoskCoin's v0017 Guide Video Link


v0017 Download Link provided by VoskCoin ensure you verify the zip hash

How to verify the v0017 hash Link


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


VoskCoin's Wifi Mining Link



nvOC uses EWBF, Genoil, Claymore, sgminer, and ccminer (tpruvot / sp-hash / alexis) 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

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

Try: [OS] ocFACTORY easy-to-use Linux Imaging Solution v0011 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:

v0018
  re - added SSD / HDD support
  updated driver to: 384.47
  added CLAYMORE 9.7
  added plus integrated SRR support: Thanks xleejohnx  Grin
  added plus integrated IAmNotAJeep_and_Maxximus007_WATCHDOG: Thanks IAmNotAJeep  and  Maxximus007  Grin
  added plus integrated Maxximus007_AUTO_TEMPERATURE_CONTROL: Thanks Maxximus007  Grin
  added plus integrated SALFTER_NICEHASH_PROFIT_SWITCHING: Thanks salfter  Grin
  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_  Smiley
  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  Smiley
  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)

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



Try: [OS] ocFACTORY easy-to-use Linux Imaging Solution v0011 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.


NOTE:  I have tested etcher on windows and confirmed it is not working correctly with v0018

For now I recommend only using hddrawcopy when imaging on Windows.



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


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

If you are using OSX:  v0018 has been reported to have problems extracing with some programs: Please use Keka (http://www.kekaosx.com/en/) to extract v0018 on OSX

v0018 is 15.6gb

WARNING:  Ensure you remove all other drives from your rig before booting nvOC for the first time: otherwise the first partition might be zeroized: see this Link


nvOC_v0018 Google Drive Link use this image for all mobos
 Note this image is hosted by damNmad; Google has removed my link; I will inquire as to why.


nvOC_v0018 MEGA Link use this image for all mobos



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

To verify the downloaded zip see this post Link


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.  I recommend you get a 32gb USB key; as most USB keys marketed as 16gb are not ACTUALLY 16gb.


I recommend these very fast HQ USB keys $22 fastest (in actual usage) I have tested so far:

https://www.amazon.com/SanDisk-Extreme-Flash-Drive-SDCZ80-032G-GAM46/dp/B00KT7DXIU


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 384.47 Driver.

the root password for nvOC is:

    miner1


Known Limitations and Issues:

Please let me know if there are any issues with this version not OCing cards with 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.

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/

use a 15.5gb image

add global pool syntax switch for alternating between / and . between address and worker

test DMD and ZCOIN for "low difficulty share" rejection problems

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

tutorial on adding new coins

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

add GPU variant xmr-stak-nvidia

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 UBIQ coin selection

Test MUSIC with: musicoin.nomnom.technology:9999  /  musicpool.rig-share.com' <45.55.22.26> port 8008

fix MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER" some pools use . not  /

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

1503312470
Hero Member
*
Offline Offline

Posts: 1503312470

View Profile Personal Message (Offline)

Ignore
1503312470
Reply with quote  #2

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

Posts: 1503312470

View Profile Personal Message (Offline)

Ignore
1503312470
Reply with quote  #2

1503312470
Report to moderator
1503312470
Hero Member
*
Offline Offline

Posts: 1503312470

View Profile Personal Message (Offline)

Ignore
1503312470
Reply with quote  #2

1503312470
Report to moderator
1503312470
Hero Member
*
Offline Offline

Posts: 1503312470

View Profile Personal Message (Offline)

Ignore
1503312470
Reply with quote  #2

1503312470
Report to moderator
fullzero
Legendary
*
Offline Offline

Activity: 1022



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

reserved

fullzero
Legendary
*
Offline Offline

Activity: 1022



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

reserved

kopija
Sr. Member
****
Offline Offline

Activity: 243


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: 1022



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: 243


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: 1022



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: 280


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
Member
**
Offline Offline

Activity: 90


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: 1022



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: 243


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: 1834


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: 1022



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: 1022



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: 243


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: 1022



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: 1022



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: 243


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: 1022



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
Full Member
***
Offline Offline

Activity: 221


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 ... 136 »
  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!