Bitcoin Forum
March 29, 2024, 02:40:10 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ... 417 »
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining  (Read 417927 times)
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 02, 2017, 06:41:12 PM
 #1421

So I have 3x SATA cables/branches with 3x SATA connectors on each. I attached 2x GPUs (which are on 16x USB risers with molex connectors. These risers have molex to sata extenders ) per branch so I dont overload a single branch (3rd SATA connector on each branch is not attached to anything, except one on which I plugged the SSD with nvOC on it). One branch with molex connectors is plugged into the two molex slots on MB.

Alright having 2x per SATA is a good rule thumb. How much power draw per card? And how much from the wall?

1050tis use 68 watts + from the riser; even 1 sata per riser will most likely not be stable:

with 1050tis you need to use pcie 6 pin powered risers and plug the 6 pin pcie cable directly into the riser.

If you are using molex risers one per cable (from the psu to directly plugged into the riser) might be ok; but you really want to use the 6 pin pcie for these.

1711680010
Hero Member
*
Offline Offline

Posts: 1711680010

View Profile Personal Message (Offline)

Ignore
1711680010
Reply with quote  #2

1711680010
Report to moderator
1711680010
Hero Member
*
Offline Offline

Posts: 1711680010

View Profile Personal Message (Offline)

Ignore
1711680010
Reply with quote  #2

1711680010
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711680010
Hero Member
*
Offline Offline

Posts: 1711680010

View Profile Personal Message (Offline)

Ignore
1711680010
Reply with quote  #2

1711680010
Report to moderator
1711680010
Hero Member
*
Offline Offline

Posts: 1711680010

View Profile Personal Message (Offline)

Ignore
1711680010
Reply with quote  #2

1711680010
Report to moderator
1711680010
Hero Member
*
Offline Offline

Posts: 1711680010

View Profile Personal Message (Offline)

Ignore
1711680010
Reply with quote  #2

1711680010
Report to moderator
smokinggun46
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 02, 2017, 06:48:07 PM
 #1422

anyone having issues where, after imaging the USB (Sandisk extreme 32 GB, recommended on here), the USB location disappears from file explorer?  Its still there when I run diskpart.
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 02, 2017, 07:18:08 PM
 #1423

anyone having issues where, after imaging the USB (Sandisk extreme 32 GB, recommended on here), the USB location disappears from file explorer?  Its still there when I run diskpart.

If you are having weird issues after imaging I recommend doing a full format (not a quick format) of the USB to FAT32 default allocation size and then imaging it again.
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
July 02, 2017, 07:58:02 PM
Last edit: July 02, 2017, 09:03:19 PM by salfter
 #1424

Is IPv6 properly configured in the stock nvOC setup?  I first noticed an issue when trying to apt-get upgrade and the update host resolved to an IPv6 address: updates refused to install.  At first, I just worked around it with the instructions at https://unix.stackexchange.com/questions/9940/convince-apt-get-not-to-use-ipv6-method to force apt-get to use IPv4 only.

I then set about writing a mining switcher.  Getting the current dollars-per-BTC rate from Coinbase was no problem...one line of Python.  Getting current profitability from NiceHash was a bit more problematic.  Guess what?  api.coinbase.com is IPv4-only, but api.nicehash.com is offered on IPv4 and IPv6.  urllib (and most other Python libraries) prefers IPv6 over IPv4, if IPv6 is available.

ifconfig shows that my nvOC box is getting both IPv4 and IPv6 addresses assigned to it by my router, but any attempt at ping6ing known-working IPv6 hosts (api.nicehash.com, ipv6.google.com, alfter.us) fails as "address unreachable." The Windows 10 box through which I'm typing this message, OTOH, gets through to all of those hosts fine (Windows uses ping for both IPv4 and IPv6, and also appears to prefer IPv6 if available), so my network supports IPv6.  (This Windows 10 box can also boot into Gentoo Linux, and IPv6 works there as well.)

According to https://wiki.ubuntu.com/IPv6, IPv6 is supposed to work out of the box.  Has something been done in the nvOC configuration to disable it, and if so, how would one back out these changes so it works again?  I normally use Gentoo, so I'm not too familiar with how Ubuntu manages things.  The aforementioned wiki page links to another page that describes disabling IPv6, but none of that appears to have been done.  I could shut off IPv6 at the router, but I'd rather not have to do that.

Edit: For the time being, I've put api.nicehash.com's IPv4 address in /etc/hosts as a workaround.  It'll break as soon as NiceHash decides to move it to a different IP address, but it'll work for now.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
gig410
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 02, 2017, 09:04:25 PM
 #1425

My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?
xleejohnx
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


View Profile
July 02, 2017, 09:20:57 PM
 #1426

My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?

run this code line and you are golden on space

Code:
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")


As I see a super coin as the super highway and alt coins as taxis and trucks needed to move transactions. ~philipma1957
gig410
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 02, 2017, 09:54:35 PM
 #1427

My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?

run this code line and you are golden on space

Code:
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")




that worked. Thank you so much!


heavyinbitcoin12
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 02, 2017, 11:09:24 PM
 #1428

Any good tips or video to get some type of screenshare working? I know it has teamviewer but it says something about daemon not found. Also i know chrome remote desktop doesnt work unfortunately. This is my first non windows experience.

Using Putty as you recomended I got to the point where i could edit the stats but i want to see the miner like a full screenshare.

Thanks so much for what youve done. I have a rig mining to you ethereum (100mh)
DJ ACK
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
July 03, 2017, 12:07:42 AM
Last edit: July 03, 2017, 12:22:26 AM by DJ ACK
 #1429

My hats off to fullzero!  Thank you for taking the time to put together and maintaining this amazing build.  Back in the BTC days I was stuck with Win 7 and finally dived back in when ETH started it's journey to the moon.  Win7 gave me plenty of instability issues, Win10 gave me low hash rates, Xubuntu gave me plenty of instability as well, specifically with GPUs falling off the bus.  Additionally Xubuntu did not utilize the second CPU core, which made a Kaby Lake CPU run 15-20 degrees hotter.  Under your build, the one Kaby Lake CPU I have runs nice and cool using both cores.  nvOC gave me a completely worry free and easy to use solution.  Again, I thank you!   Here is my current setup

7 Rigs total

OS Build: Yours!  nvOc v0017
MSI Z170 Gaming M5 motherboards w/ May 2017 BIOS
Celeron G3900 Skylake CPUs (except 1 Kaby Lake)
8GB of Corsair DDR4
Samsung EVO 750 SSD (overkill, but this was before I was on nvOC)
33 x Gigabyte 1050Ti (stock boost clock 1506) - 12.5Mh/s ea. on these with no oneBash changes
2 x ZOTAC 1070 Amp Editions - still testing these.  I should be able to bump the mem up by 650Mhz, but they are running much hotter than in Win10.  I did the fuzzy %/TDP math and set them at 105W, but no difference.  Work in progress.
1 x EVGA Classified 980Ti (why not, just collecting dust).
TP Link Smart Plugs for emergency shutdown or cluster power cycle
3 x 15 Amp Circuits
Shelly SSH App for iPhone

Total cranking out an average of 500Mh/s

Future additions include adding 2 more cards (one for the 7th slot and hopefully at least 1 more on the m.2 slot).  I would try for a 9th card, but I heard the second m.2 slot will not hash (even though I'm going to try).  And I will be adding a couple more 1070s to the 7th rig cluster. Grin




philipma1957
Legendary
*
Offline Offline

Activity: 4074
Merit: 7591


'The right to privacy matters'


View Profile WWW
July 03, 2017, 01:31:19 AM
 #1430

@ fullzero  

here is a really detailed build of the nvoc0017  with 2 nvidia 1070's on a

GIGABYTE GA-Z270P-D3 LGA1151 Intel Z270 2-Way Crossfire ATX DDR4 Motherboard.

to all this is a solid board  really good

I tested stable up to 5 amd rx 480's  on win 10 and smos
I tested stable up to 4 1080 ti's on win 10 and win 7  tested up to 3 on nvoc

I am sure it will do 5  on all of the above well maybe not win 7.  I just did not test that high on all os's

https://bitcointalk.org/index.php?topic=1998198.0

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 03, 2017, 01:56:27 AM
 #1431

Is IPv6 properly configured in the stock nvOC setup?  I first noticed an issue when trying to apt-get upgrade and the update host resolved to an IPv6 address: updates refused to install.  At first, I just worked around it with the instructions at https://unix.stackexchange.com/questions/9940/convince-apt-get-not-to-use-ipv6-method to force apt-get to use IPv4 only.

I then set about writing a mining switcher.  Getting the current dollars-per-BTC rate from Coinbase was no problem...one line of Python.  Getting current profitability from NiceHash was a bit more problematic.  Guess what?  api.coinbase.com is IPv4-only, but api.nicehash.com is offered on IPv4 and IPv6.  urllib (and most other Python libraries) prefers IPv6 over IPv4, if IPv6 is available.

ifconfig shows that my nvOC box is getting both IPv4 and IPv6 addresses assigned to it by my router, but any attempt at ping6ing known-working IPv6 hosts (api.nicehash.com, ipv6.google.com, alfter.us) fails as "address unreachable." The Windows 10 box through which I'm typing this message, OTOH, gets through to all of those hosts fine (Windows uses ping for both IPv4 and IPv6, and also appears to prefer IPv6 if available), so my network supports IPv6.  (This Windows 10 box can also boot into Gentoo Linux, and IPv6 works there as well.)

According to https://wiki.ubuntu.com/IPv6, IPv6 is supposed to work out of the box.  Has something been done in the nvOC configuration to disable it, and if so, how would one back out these changes so it works again?  I normally use Gentoo, so I'm not too familiar with how Ubuntu manages things.  The aforementioned wiki page links to another page that describes disabling IPv6, but none of that appears to have been done.  I could shut off IPv6 at the router, but I'd rather not have to do that.

Edit: For the time being, I've put api.nicehash.com's IPv4 address in /etc/hosts as a workaround.  It'll break as soon as NiceHash decides to move it to a different IP address, but it'll work for now.

I didn't change any IPv6 settings with nvOC.  I'm not sure what the problem might be.  If you figure it out let me know, so I can apply it for the next version.

The cmd:

Code:
sudo dhclient -v -r

(might help solve the problem, but probably not)

there is a website:

test-ipv6.com

it attempts to help you identify the source of IPv6 problems; it might help, but probably will only tell you what you already know.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 03, 2017, 01:57:27 AM
 #1432

My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?
run this code line and you are golden on space
Code:
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")
that worked. Thank you so much!

Thanks for helping xleejohnx

gig410 what version are you using?
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 03, 2017, 02:10:09 AM
 #1433

Any good tips or video to get some type of screenshare working? I know it has teamviewer but it says something about daemon not found. Also i know chrome remote desktop doesnt work unfortunately. This is my first non windows experience.

Using Putty as you recomended I got to the point where i could edit the stats but i want to see the miner like a full screenshare.

Thanks so much for what youve done. I have a rig mining to you ethereum (100mh)

Thanks for the hashes heavyinbitcoin12.  Smiley

I just uploaded a new oneBash that will make using teamviewer slightly easier.

To use teamviewer:

in oneBash set:
Code:
TEAMVIEWER="YES"

If you update you oneBash to the one called:

Newest_oneBash

that is linked at the top of the OP

teamviewer will start with the mining process.

make a free account with teamviewer.

Let me know if this works.
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 03, 2017, 02:19:23 AM
 #1434

My hats off to fullzero!  Thank you for taking the time to put together and maintaining this amazing build.  Back in the BTC days I was stuck with Win 7 and finally dived back in when ETH started it's journey to the moon.  Win7 gave me plenty of instability issues, Win10 gave me low hash rates, Xubuntu gave me plenty of instability as well, specifically with GPUs falling off the bus.  Additionally Xubuntu did not utilize the second CPU core, which made a Kaby Lake CPU run 15-20 degrees hotter.  Under your build, the one Kaby Lake CPU I have runs nice and cool using both cores.  nvOC gave me a completely worry free and easy to use solution.  Again, I thank you!   Here is my current setup

7 Rigs total

OS Build: Yours!  nvOc v0017
MSI Z170 Gaming M5 motherboards w/ May 2017 BIOS
Celeron G3900 Skylake CPUs (except 1 Kaby Lake)
8GB of Corsair DDR4
Samsung EVO 750 SSD (overkill, but this was before I was on nvOC)
33 x Gigabyte 1050Ti (stock boost clock 1506) - 12.5Mh/s ea. on these with no oneBash changes
2 x ZOTAC 1070 Amp Editions - still testing these.  I should be able to bump the mem up by 650Mhz, but they are running much hotter than in Win10.  I did the fuzzy %/TDP math and set them at 105W, but no difference.  Work in progress.
1 x EVGA Classified 980Ti (why not, just collecting dust).
TP Link Smart Plugs for emergency shutdown or cluster power cycle
3 x 15 Amp Circuits
Shelly SSH App for iPhone

Total cranking out an average of 500Mh/s

Future additions include adding 2 more cards (one for the 7th slot and hopefully at least 1 more on the m.2 slot).  I would try for a 9th card, but I heard the second m.2 slot will not hash (even though I'm going to try).  And I will be adding a couple more 1070s to the 7th rig cluster. Grin

Glad its working for you.   Smiley

I don't have any Gigabyte 1050Tis; but I imagine they are similar to the EVGA Ti SC.  I would recommend trying these settings for Ethash using genoil:

POWERLIMIT="YES"     

POWERLIMIT_WATTS=53 (or lowest)

__CORE_OVERCLOCK=-200  (or lowest)
MEMORY_OVERCLOCK=1000  (then bump up until you get a softcrash)


fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 03, 2017, 02:25:57 AM
 #1435

@ fullzero  

here is a really detailed build of the nvoc0017  with 2 nvidia 1070's on a

GIGABYTE GA-Z270P-D3 LGA1151 Intel Z270 2-Way Crossfire ATX DDR4 Motherboard.

to all this is a solid board  really good

I tested stable up to 5 amd rx 480's  on win 10 and smos
I tested stable up to 4 1080 ti's on win 10 and win 7  tested up to 3 on nvoc

I am sure it will do 5  on all of the above well maybe not win 7.  I just did not test that high on all os's

https://bitcointalk.org/index.php?topic=1998198.0

Phil,

Thanks for making a Guide I will link it in the OP.   Smiley

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
July 03, 2017, 02:39:18 AM
 #1436

Newest_oneBash link is up on the OP.

xleejohnx made an SRR implementation for rxOC and nvOC:

it has an SRR switch that works with the SRR file linked next to it.

download SRR and extract it, move it to the:

Code:
/home/m1

folder (the home folder)

set:

Code:
SRR="YES"

in oneBash  and it will launch with the mining process in a guake terminal tab

Make sure you thank xleejohnx for making the implementation and tytanick for making the SRR.   Smiley

Added the following coin selections:
Code:
DMD  GRS  ZPOOL_LYRA2V2  ZPOOL_BLAKE2S

added auto launch of teamviewer GUI when set to YES

added lspci and nvidia settings output to the top of the mining process

I changed the autonaming scheme to be nv<rig_host_address>:

worker names will default to nvXYZ your rig host address (last 3 digits of rig IP)

if your rig host address is less than 100 it will default to nv-XY or nv-X


philipma1957
Legendary
*
Offline Offline

Activity: 4074
Merit: 7591


'The right to privacy matters'


View Profile WWW
July 03, 2017, 02:43:16 AM
 #1437

@ fullzero  

here is a really detailed build of the nvoc0017  with 2 nvidia 1070's on a

GIGABYTE GA-Z270P-D3 LGA1151 Intel Z270 2-Way Crossfire ATX DDR4 Motherboard.

to all this is a solid board  really good

I tested stable up to 5 amd rx 480's  on win 10 and smos
I tested stable up to 4 1080 ti's on win 10 and win 7  tested up to 3 on nvoc

I am sure it will do 5  on all of the above well maybe not win 7.  I just did not test that high on all os's

https://bitcointalk.org/index.php?topic=1998198.0

Phil,

Thanks for making a Guide I will link it in the OP.   Smiley



 I tried to  keep it at newbie level .

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
July 03, 2017, 02:52:31 AM
 #1438

This afternoon, I knocked together a simple profitability auto-switcher that works with nvOC and NiceHash:

https://gitlab.com/salfter/nvoc-nicehash-switcher

It might also work if you're mining elsewhere, though profitability is determined by NiceHash (as exposed through their API).  It's a Python script that gathers information about what's profitable and calls shell scripts to reconfigure overclocking settings and launch miners on a per-algorithm basis.  It replaces oneBash for normal operation; oneBash is only needed for initial setup or to add/remove GPUs (it manages /etc/X11/xorg.conf).

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
July 03, 2017, 03:04:41 AM
 #1439

I didn't change any IPv6 settings with nvOC.  I'm not sure what the problem might be.  If you figure it out let me know, so I can apply it for the next version.

The cmd:

Code:
sudo dhclient -v -r

(might help solve the problem, but probably not)

As you guessed, it didn't help.

Quote
there is a website:

test-ipv6.com

it attempts to help you identify the source of IPv6 problems; it might help, but probably will only tell you what you already know.

I tried bringing this up in Links, but it needs JavaScript to work.  I'd need to move the rig closer to where I can plug in a monitor, keyboard, and mouse to see what SJWfox says...maybe tomorrow, as I also want to move nvOC off of an SD card in a USB reader stick to the mining rig's M.2 SATA SSD.

In the meantime, I've gotten enough of a workaround set up that (1) apt-get upgrade works and (2) I have an auto-switcher up and running, as mentioned in my previous post.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
smokinggun46
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 03, 2017, 04:11:35 AM
 #1440

I noticed a second terminal can be run that auto executes the onebash script, essentially running two (?) instances of ewbf miner on the same PC.  Sol/s drops 30%, but i exited the second one before seeing any results.  I might test it out more later, i wonder if i can run 2 instances, but at 70% solo rate; which still nets 40% more. 

I'm sure people here and full zero mustk now this doesn't work in the way i'm thinking.
Pages: « 1 ... 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ... 417 »
  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!