Author

Topic: [ mining os ] nvoc - page 243. (Read 418546 times)

full member
Activity: 144
Merit: 100
September 04, 2017, 01:48:12 PM
Just updated my USB to v19 and I cannot start mining.

I get this message

Code:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b81 (rev a1)
04:00.0 VGA compatible controller: NVIDIA Corporation Device 1b81 (rev a1)
05:00.0 VGA compatible controller: NVIDIA Corporation Device 1b81 (rev a1)
06:00.0 VGA compatible controller: NVIDIA Corporation Device 1b81 (rev a1)


Mon Sep  4 14:47:36 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.59                 Driver Version: 384.59                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:01:00.0  On |                  N/A |
| 50%   55C    P0    44W / 135W |    196MiB /  8113MiB |     21%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    Off  | 00000000:04:00.0 Off |                  N/A |
| 50%   58C    P0    48W / 135W |     19MiB /  8114MiB |      8%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    Off  | 00000000:05:00.0 Off |                  N/A |
| 50%   52C    P0    44W / 135W |     19MiB /  8114MiB |     17%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 1070    Off  | 00000000:06:00.0 Off |                  N/A |
| 50%   49C    P0    51W / 135W |     19MiB /  8114MiB |      9%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1067    G   /usr/lib/xorg/Xorg                             149MiB |
|    0      1614    G   compiz                                          43MiB |
|    1      1067    G   /usr/lib/xorg/Xorg                               7MiB |
|    2      1067    G   /usr/lib/xorg/Xorg                               7MiB |
|    3      1067    G   /usr/lib/xorg/Xorg                               7MiB |
+-----------------------------------------------------------------------------+

Power limit for GPU 00000000:01:00.0 was set to 135.00 W from 135.00 W.

Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.

Power limit for GPU 00000000:04:00.0 was set to 135.00 W from 135.00 W.

Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.

Power limit for GPU 00000000:05:00.0 was set to 135.00 W from 135.00 W.

Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.

Power limit for GPU 00000000:06:00.0 was set to 135.00 W from 135.00 W.

Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.

All done.

LAUNCHING:  IAmNotAJeep_and_Maxximus007_WATCHDOG

LAUNCHING:  Maxximus007_AUTO_TEMPERATURE_CONTROL

process in screen temp; attach with: screen -r temp


  Attribute 'GPUGraphicsClockOffset' (m1-desktop:0[gpu:0]) assigned value 100.


  Attribute 'GPUMemoryTransferRateOffset' (m1-desktop:0[gpu:0]) assigned value 850.


  Attribute 'GPUGraphicsClockOffset' (m1-desktop:0[gpu:1]) assigned value 100.


  Attribute 'GPUMemoryTransferRateOffset' (m1-desktop:0[gpu:1]) assigned value 850.


  Attribute 'GPUGraphicsClockOffset' (m1-desktop:0[gpu:2]) assigned value 100.


  Attribute 'GPUMemoryTransferRateOffset' (m1-desktop:0[gpu:2]) assigned value 850.


  Attribute 'GPUGraphicsClockOffset' (m1-desktop:0[gpu:3]) assigned value 100.


  Attribute 'GPUMemoryTransferRateOffset' (m1-desktop:0[gpu:3]) assigned value 850.


LAUNCHING:  Mining Process

process in screen miner; attach with: screen -r miner

^R


And nothing happens afterward. Any ideas what to do?
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
September 04, 2017, 10:53:17 AM
Is this correct for MPH_EQUIHASH ?

Coin:
Code:
COIN="MPH_EQUIHASH"

1bash:
Code:
MPH_WORKER="$WORKERNAME"
MPH_ADDRESS="papampi"
MPH_EQUIHASH_POOL="us-east.equihash-hub.miningpoolhub.com"
MPH_EQUIHASH_PORT="20570"
3main:
Code:
if [ $COIN == "MPH_EQUIHASH" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

MPHADDR="$MPH_USERNAME.$MPH_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $MPH_EQUIHASH_POOL --user $MPHADDR --pass z --port $MPH_EQUIHASH_PORT --api 0.0.0.0:42000  --log 2 --logfile ewbf.log;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi



And this one

coin:
Code:
COIN="ZPOOL_EQUIHASH"

1bash:
Code:
# ZPOOL uses your BTC_ADDRESS
ZPOOL_EQUIHASH_POOL="equihash.mine.zpool.ca"
ZPOOL_EQUIHASH_PORT="2142"

3main:
Code:
if [ $COIN == "ZPOOL_EQUIHASH" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

ZPOOLADDR="$BTC_ADDRESS.$WORKERNAME"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $ZPOOL_EQUIHASH_POOL --user $ZPOOLADDR --pass c=btc --port $ZPOOL_EQUIHASH_PORT --api 0.0.0.0:42000  --log 2 --logfile ewbf.log;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

Yep, both are perfect, I will integrate these two to my updates, if that's ok with you Smiley

Sure, why not
We are all here to help make nvOC become the best mining OS.
full member
Activity: 378
Merit: 104
nvOC forever
September 04, 2017, 10:22:57 AM
Is this correct for MPH_EQUIHASH ?

Coin:
Code:
COIN="MPH_EQUIHASH"

1bash:
Code:
MPH_WORKER="$WORKERNAME"
MPH_ADDRESS="papampi"
MPH_EQUIHASH_POOL="us-east.equihash-hub.miningpoolhub.com"
MPH_EQUIHASH_PORT="20570"
3main:
Code:
if [ $COIN == "MPH_EQUIHASH" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

MPHADDR="$MPH_USERNAME.$MPH_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $MPH_EQUIHASH_POOL --user $MPHADDR --pass z --port $MPH_EQUIHASH_PORT --api 0.0.0.0:42000  --log 2 --logfile ewbf.log;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi



And this one

coin:
Code:
COIN="ZPOOL_EQUIHASH"

1bash:
Code:
# ZPOOL uses your BTC_ADDRESS
ZPOOL_EQUIHASH_POOL="equihash.mine.zpool.ca"
ZPOOL_EQUIHASH_PORT="2142"

3main:
Code:
if [ $COIN == "ZPOOL_EQUIHASH" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

ZPOOLADDR="$BTC_ADDRESS.$WORKERNAME"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $ZPOOL_EQUIHASH_POOL --user $ZPOOLADDR --pass c=btc --port $ZPOOL_EQUIHASH_PORT --api 0.0.0.0:42000  --log 2 --logfile ewbf.log;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

Yep, both are perfect, I will integrate these two to my updates, if that's ok with you Smiley
full member
Activity: 378
Merit: 104
nvOC forever
September 04, 2017, 10:21:25 AM
Possible to mine nicehash equihash only?

When will KMD be integrated?

Guide to add  KMD

Code:
COIN="KMD"

Add coin details

Code:
KMD_WORKER="xxxx"
KMD_ADDRESS="xxxxxx"
KMD_POOL="kmd.suprnova.cc"
KMD_PORT="6250"


Add this to 3main file in right place:

Code:
if [ $COIN == "KMD" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/KMD/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/KMD/v3_4/miner'
fi

KMDADDR="$KMD_ADDRESS.$KMD_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $KMD_POOL --user $KMDADDR --pass z --port $KMD_PORT;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi


@fullzero I'm getting prepared all the coins (stuck with cryptonight algo coins ATM), will share once its ready.

I have a question, what coins can we mine with ethminer (all 3 versions 11, 12dev, genoil) ?

Can we mine any ethash coin using ethminer?? My point is when we mine any ethash like EXP, UBQ, MUSIC, SOIL its better mine then with 0 fee uing ethminer?

I've tried to mine SOIL, but no success so far with ethminer, if someone succeeded using ethminer for any ethash, can you please share your 1bash and 3main, would like to integrate it with my version.

Thanks.


Thanks a lot for all the new coins.
Since you getting warm on adding coins, is it ok if we ask for more?
I think its good to have more ZPOOL algos like neoscrypt, equihash, myr-gr, ...

@fullzero, Is it possible to add links for new coins in OP
I think there are so many new, but hard to find in thread.

You are welcome  Cool

Leave fullzero alone & pour all the COIN requests towards me  Grin

What ever the coins I've added on this topic, added all of them to my 1bash and 3main, will share it fullzero probably tomorrow evening (hopefully).


Awesome, Then I will wait till tomorrow and add them all.
So we gonna have more Zpool algos from you?


Yeah I will do ZPOOL algos as well, but only in the next version!
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
September 04, 2017, 09:51:38 AM
Is this correct for MPH_EQUIHASH ?

Coin:
Code:
COIN="MPH_EQUIHASH"

1bash:
Code:
MPH_WORKER="$WORKERNAME"
MPH_ADDRESS="papampi"
MPH_EQUIHASH_POOL="us-east.equihash-hub.miningpoolhub.com"
MPH_EQUIHASH_PORT="17023"
3main:
Code:
if [ $COIN == "MPH_EQUIHASH" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

MPHADDR="$MPH_USERNAME.$MPH_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $MPH_EQUIHASH_POOL --user $MPHADDR --pass z --port $MPH_EQUIHASH_PORT --api 0.0.0.0:42000  --log 2 --logfile ewbf.log;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi



And this one

coin:
Code:
COIN="ZPOOL_EQUIHASH"

1bash:
Code:
# ZPOOL uses your BTC_ADDRESS
ZPOOL_EQUIHASH_POOL="equihash.mine.zpool.ca"
ZPOOL_EQUIHASH_PORT="2142"

3main:
Code:
if [ $COIN == "ZPOOL_EQUIHASH" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

ZPOOLADDR="$BTC_ADDRESS.$WORKERNAME"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $ZPOOL_EQUIHASH_POOL --user $ZPOOLADDR --pass c=btc --port $ZPOOL_EQUIHASH_PORT --api 0.0.0.0:42000  --log 2 --logfile ewbf.log;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
newbie
Activity: 54
Merit: 0
September 04, 2017, 09:44:48 AM
Forgive me if this questions has been answered already !

How can i have different worker names per system? i use 1 pastebin for all rigs.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
September 04, 2017, 09:25:48 AM
Possible to mine nicehash equihash only?

When will KMD be integrated?

Guide to add  KMD

Code:
COIN="KMD"

Add coin details

Code:
KMD_WORKER="xxxx"
KMD_ADDRESS="xxxxxx"
KMD_POOL="kmd.suprnova.cc"
KMD_PORT="6250"


Add this to 3main file in right place:

Code:
if [ $COIN == "KMD" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/KMD/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/KMD/v3_4/miner'
fi

KMDADDR="$KMD_ADDRESS.$KMD_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $KMD_POOL --user $KMDADDR --pass z --port $KMD_PORT;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi


@fullzero I'm getting prepared all the coins (stuck with cryptonight algo coins ATM), will share once its ready.

I have a question, what coins can we mine with ethminer (all 3 versions 11, 12dev, genoil) ?

Can we mine any ethash coin using ethminer?? My point is when we mine any ethash like EXP, UBQ, MUSIC, SOIL its better mine then with 0 fee uing ethminer?

I've tried to mine SOIL, but no success so far with ethminer, if someone succeeded using ethminer for any ethash, can you please share your 1bash and 3main, would like to integrate it with my version.

Thanks.


Thanks a lot for all the new coins.
Since you getting warm on adding coins, is it ok if we ask for more?
I think its good to have more ZPOOL algos like neoscrypt, equihash, myr-gr, ...

@fullzero, Is it possible to add links for new coins in OP
I think there are so many new, but hard to find in thread.

You are welcome  Cool

Leave fullzero alone & pour all the COIN requests towards me  Grin

What ever the coins I've added on this topic, added all of them to my 1bash and 3main, will share it fullzero probably tomorrow evening (hopefully).


Awesome, Then I will wait till tomorrow and add them all.
So we gonna have more Zpool algos from you?
full member
Activity: 378
Merit: 104
nvOC forever
September 04, 2017, 09:21:33 AM
Possible to mine nicehash equihash only?

When will KMD be integrated?

Guide to add  KMD

Code:
COIN="KMD"

Add coin details

Code:
KMD_WORKER="xxxx"
KMD_ADDRESS="xxxxxx"
KMD_POOL="kmd.suprnova.cc"
KMD_PORT="6250"


Add this to 3main file in right place:

Code:
if [ $COIN == "KMD" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/KMD/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/KMD/v3_4/miner'
fi

KMDADDR="$KMD_ADDRESS.$KMD_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $KMD_POOL --user $KMDADDR --pass z --port $KMD_PORT;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi


@fullzero I'm getting prepared all the coins (stuck with cryptonight algo coins ATM), will share once its ready.

I have a question, what coins can we mine with ethminer (all 3 versions 11, 12dev, genoil) ?

Can we mine any ethash coin using ethminer?? My point is when we mine any ethash like EXP, UBQ, MUSIC, SOIL its better mine then with 0 fee uing ethminer?

I've tried to mine SOIL, but no success so far with ethminer, if someone succeeded using ethminer for any ethash, can you please share your 1bash and 3main, would like to integrate it with my version.

Thanks.


Thanks a lot for all the new coins.
Since you getting warm on adding coins, is it ok if we ask for more?
I think its good to have more ZPOOL algos like neoscrypt, equihash, myr-gr, ...

@fullzero, Is it possible to add links for new coins in OP
I think there are so many new, but hard to find in thread.

You are welcome  Cool

Leave fullzero alone & pour all the COIN requests towards me  Grin

What ever the coins I've added on this topic, added all of them to my 1bash and 3main, will share it fullzero probably tomorrow evening (hopefully).

full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
September 04, 2017, 08:47:32 AM
Possible to mine nicehash equihash only?

When will KMD be integrated?

Guide to add  KMD

Code:
COIN="KMD"

Add coin details

Code:
KMD_WORKER="xxxx"
KMD_ADDRESS="xxxxxx"
KMD_POOL="kmd.suprnova.cc"
KMD_PORT="6250"


Add this to 3main file in right place:

Code:
if [ $COIN == "KMD" ]
then

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/KMD/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/KMD/v3_4/miner'
fi

KMDADDR="$KMD_ADDRESS.$KMD_WORKER"

screen -dmS miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $KMD_POOL --user $KMDADDR --pass z --port $KMD_PORT;

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi


@fullzero I'm getting prepared all the coins (stuck with cryptonight algo coins ATM), will share once its ready.

I have a question, what coins can we mine with ethminer (all 3 versions 11, 12dev, genoil) ?

Can we mine any ethash coin using ethminer?? My point is when we mine any ethash like EXP, UBQ, MUSIC, SOIL its better mine then with 0 fee uing ethminer?

I've tried to mine SOIL, but no success so far with ethminer, if someone succeeded using ethminer for any ethash, can you please share your 1bash and 3main, would like to integrate it with my version.

Thanks.


Thanks a lot for all the new coins.
Since you getting warm on adding coins, is it ok if we ask for more?
I think its good to have more ZPOOL algos like neoscrypt, equihash, myr-gr, ...

@fullzero, Is it possible to add links for new coins in OP
I think there are so many new, but hard to find in thread.
member
Activity: 117
Merit: 10
September 04, 2017, 07:31:23 AM
This is the scheme of my setup. Is a box 44cm wide x 32cm high and gpus are setup on two levels one on top of other. (1060 3Gb gpu)
There is a raspberry pi wich allows me to reset/poweroff-on and control the inside temps using 5 sensors DS18B20.
12 fans push fresh air inside the box. They feed on an external psu. Temps with power limite 92W are 57-68ºC.
By the way I had a big cpu load (5-14) when I had power limit to 72W. Once set to 92W got down to 1.5-2.2 (yes I know no good yet, but much better).
I use a celeron g3900, looking forward to upgrade to I3.
I post this hoping the schematic helps others like me who have their rig in remote locations.
Here the code bits for temps, poweron/off and reset.

Hey man, that's a very nice DIY project you have there! And great schematics btw, thanks for sharing. I'm wondering, how much did it cost overall (Pi + fans + sensors and parts)? Did you try integrating it with nvOC's auto temp control, which uses the GPUs internal temp sensors, instead of relying on the DS18B20?

I'm facing some heating issues here, as the days are becoming hotter, so I'm thinking about what to do. I don't want to leave an A/C on all day, because of energy costs, so probably will need something to suck the hot air from the GPUs to the outside during the day, and reverse direction at night, when it's colder outside. Your project really gives some ideas... Smiley

Glad to be usefull. The pi 50€, pi kit 15€, 5 sensors with wire integrated about 19€ from amazon (I think), two channel relay 5€, other wires etc about 5€. I got the fans for free from a friend.
Hope this week I will finish my telegram script which should be easily integrated in nvOC (I don't use it yet but I follow it close). I will code the bit relative to external sensors to send alerts/poweroff the box in case the internal temp raises to much so could be integrated and tested in nvOC by any mates around here if it looks usefull.

Yeah, you could relay on external sensors's temp and a relay to manege those fans to push/get fresh air in/out of the room. I guest the fans you'll use should turn in both directions (I don't now if this is possible for the fans you need).
 
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
September 04, 2017, 03:11:20 AM
So I make some changes for a new telegram alert system
The 30 min telegram notification is good but it gets annoying over time and I had to mute it.
I created a new telegram-alert to pass me alerts from IAmNotAJeep_and_Maxximus007_WATCHDOG
First create a new bot as explained on OP call it Mining Alerts (or whatever you like)
Make new telegram-alert file in m1 home and put these inside :

telegram-alert:
Code:
#!/bin/bash
# Telegram Info Script
# By BaliMiner et al...
# for nvOC by fullzero
# ref: http://bernaerts.dyndns.org/linux/75-debian/351-debian-send-telegram-notification
#

source ~/1bash

CHATID=$TELEGRAM_CHATID
APIKEY=$TELEGRAM_ALERT_APIKEY

SYSTEM_BOOT_TIME=$(uptime -s)
GPU_COUNT=$(nvidia-smi -L | tail -n 1| cut -c 5 |awk '{ SUM += $1+1}  ; { print SUM }')
STARTING_MINER=$(tail -n50 /home/m1/5_restartlog | grep Starting | tail -n 1)
LOST_GPU=$(tail -n50 /home/m1/5_restartlog | grep Lost| tail -n 1)
REBOOT_ALERT=$(tail -n50 /home/m1/5_restartlog | grep 'reboot in' |tail -n 1)
UTILIZATION_LOW_REBOOTING=$(tail -n50 /home/m1/5_restartlog | grep 'low: reviving' |tail -n 1)
UTILIZATION_LOW_RESTART_3MAIN=$(tail -n50 /home/m1/5_restartlog | grep 'low: restart' |tail -n 1)
LOW_UTILIZATION=$(tail -n50 /home/m1/5_restartlog | grep 'Low Utilization' |tail -n 1)
FAILURES_REINIT=$(tail -n50 /home/m1/5_restartlog | grep 'Before reinit')



SYSTEM_UP_TIME=$(uptime -p)
REBOOT_REQUIRED=$(/home/m1/reboot-required)
GPU_UTILIZATIONS=$(tail -n 30 5_restartlog | grep 'GPU UTILIZATION' | awk '{gsub(/GPU UTILIZATION:  /,"")}1' | tail -n 1)


TEMP=$(/usr/bin/nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)
PD=$(/usr/bin/nvidia-smi --query-gpu=power.draw --format=csv,noheader)
FAN=$(/usr/bin/nvidia-smi --query-gpu=fan.speed --format=csv,noheader)
TEMP_FAN_POWER=$(tail  -n 30 6_autotemplog  | grep GPU | awk '{gsub(/:/,": ")}1' |tail -n $GPU_COUNT)


LF=$'\n'


MSG=" Worker: $WORKERNAME
Boot Time: $SYSTEM_BOOT_TIME
GPU Count: $GPU_COUNT
GPU Utilization:
$GPU_UTILIZATIONS
$STARTING_MINER
$LOW_UTILIZATION
$FAILURES_REINIT
$UTILIZATION_LOW_RESTART_3MAIN
$LOST_GPU
$REBOOT_ALERT
$UTILIZATION_LOW_REBOOTING
"

/usr/bin/curl -m 5 -s -X POST --output /dev/null https://api.telegram.org/bot${APIKEY}/sendMessage -d "text=${MSG}" -d chat_id=${CHATID}

In your 1bash add a line bellow APIKEY=$TELEGRAM_APIKEY and add your new alert api key

Code:
   TELEGRAM_ALERT_APIKEY="aaaaaaaaaaaaaaaaaaa:bbbbbbbbbbbb-cccccccccccccccccccccccc"

And here is my modified  IAmNotAJeep_and_Maxximus007_WATCHDOG for telegram alerts:

Code:
#!/bin/bash

# Miner restart script V002
# By Maxximus007 && IAmNotAJeep
# for nvOC by fullzero
# Modified by papampi for telegram-alerts

export DISPLAY=:0

# Creating a log file to record restarts
LOG_FILE="/home/m1/5_restartlog"
if [ -e "$LOG_FILE" ] ; then
  #Limit the logfile, just keep the last 2K
  LASTLOG=$(tail -n 2K $LOG_FILE)
  echo $LASTLOG
  echo ""
fi

echo "$(date) - Starting miner restart script." | tee -a ${LOG_FILE}
echo "" | tee -a ${LOG_FILE}
bash '/home/m1/telegram-alert'
# Give oneBash time to start to prevent reboot
echo "$(date) - waiting 70 seconds before going 'on watch'" | tee -a ${LOG_FILE}
sleep 60

THRESHOLD=90
RESTART=0
GPU_COUNT=$(nvidia-smi --query-gpu=count --format=csv,noheader,nounits | tail -1)
COUNT=$((6 * $GPU_COUNT))

while true
do
sleep 10  # sleep 60
#IAmNotAJeep MOD from V002
  JEEP=0
#IAmNotAJeep MOD from V002
  GPU=0
  REBOOTRESET=$(($REBOOTRESET + 1))

#IAmNotAJeep MOD from V002
  echo ""
  echo "      GPU_COUNT: " $GPU_COUNT | tee -a ${LOG_FILE}

#IAmNotAJeep MOD from V002

  UTILIZATIONS=$(nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits)
  echo ""
  echo "GPU UTILIZATION: " $UTILIZATIONS | tee -a ${LOG_FILE}
  echo "" | tee -a ${LOG_FILE}




numtest='^[0-9]+$'
  
  for UTIL in $UTILIZATIONS
  do
    if ! [[ $UTIL =~ $numtest ]]
    then
        # Not numeric so: Help we've lost a GPU, so reboot
        echo "$(date) - Lost GPU so restarting system. Found GPU's:" | tee -a ${LOG_FILE}
        echo "" | tee -a ${LOG_FILE}
bash '/home/m1/telegram-alert'
        #Hope PCI BUS info will help find the faulty GPU
        nvidia-smi --query-gpu=gpu_bus_id --format=csv | tee -a ${LOG_FILE}
        echo "reboot in 10 seconds" | tee -a ${LOG_FILE}
        echo ""| tee -a ${LOG_FILE}
bash '/home/m1/telegram-alert'
        sleep 10
        sudo reboot
    fi

    # If utilization is lower than threshold count them:
    if [ $UTIL -lt $THRESHOLD ]
    then
      echo "$(date) - GPU under threshold found" | tee -a ${LOG_FILE}
      echo "" | tee -a ${LOG_FILE}
bash '/home/m1/telegram-alert'
      COUNT=$(($COUNT - 1))
      #IAmNotAJeep MOD from V002
      JEEP=$(($JEEP + 1))
      #IAmNotAJeep MOD from V002
    fi
    GPU=$(($GPU + 1))
  done

#IAmNotAJeep MOD from V002
if [ $JEEP -gt 0 ]
 then

  if [ $COUNT -le 0 ]
  then
    INTERNET_IS_GO=0
    if nc -vzw1 google.com 443;
    #if nc -vzw1 $POOL 80;
    then
    INTERNET_IS_GO=1
    fi
    echo ""
    if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
    then
      echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE}
      echo "" | tee -a ${LOG_FILE}
 bash '/home/m1/telegram-alert'
      sleep 10
      sudo reboot
    fi
    echo "$(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE}
    # If miner runs in screen 'miner' kill the screen to be sure it's gone
    pkill -e miner
bash '/home/m1/telegram-alert'
    # Best to restart oneBash - settings might be adjusted already
    target=$(ps -ef | awk '$NF~"3main" {print $2}')
    kill $target | tee -a ${LOG_FILE}
    echo "" | tee -a ${LOG_FILE}
    RESTART=$(($RESTART + 1))
    REBOOTRESET=0
    COUNT=$GPU_COUNT
    # Give oneBash time to restart to prevent reboot
    sleep 60
  #fi
  else
  echo "$(date) - Low Utilization Detected: 3main will reinit if there are 6 consecutive failures" | tee -a ${LOG_FILE}
  echo ""
  echo "                  "$COUNT "Failures Before reinit"  | tee -a ${LOG_FILE}
bash '/home/m1/telegram-alert'
#IAmNotAJeep MOD from V002
  fi

else
#IAmNotAJeep MOD from V002
  COUNT=$((6 * $GPU_COUNT))
  echo "$(date) - 5 by 5: REMEMBER TO THANK IAmNotAJeep and Maxximus007"
#IAmNotAJeep MOD from V002
fi

  # No need for a reboot after a while
  if [ $REBOOTRESET -gt 5 ]
  then
    RESTART=0
    REBOOTRESET=0
  fi
done


This is how it looks like when there is a gpu under threshold :

Quote
Worker: nv102
Boot Time: 2017-09-04 12:17:17
Miner Uptime:    02:45:07
GPU Count: 7
GPU Utilization:
99 83 99 99 98 99 99



Mon Sep  4 15:03:53 IRDT 2017 - GPU under threshold found


Mon Sep  4 15:03:56 IRDT 2017 - Low Utilization Detected: 3main will reinit if there are 6 consecutive failures
                  41 Failures Before reinit


Hopefull we get more/better integration for alerts from fullzero, Maxximus and IAmNotAJeep.
Thanks all.

full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
September 04, 2017, 02:55:50 AM
getting this error, it will launch ZECminer ewbf and instant close and restart all this terminal stuff.



Install libutempter

Code:
sudo apt install libutempter0
newbie
Activity: 54
Merit: 0
September 04, 2017, 02:50:42 AM
getting this error, it will launch ZECminer ewbf and instant close and restart all this terminal stuff.
https://imgur.com/ZAW1C9i
https://imgur.com/BdQkNgd
https://imgur.com/vXNtpCp
newbie
Activity: 28
Merit: 0
September 04, 2017, 12:05:54 AM
Ok - so my rig stops applying fan % correctly once i get to more than 11 cards.
once i connect the 12th and/ or 13th card to the ASROCK pro btc board - it wont apply the fan % to all the card / regulate auto temp at all. and the computer becomes almost un-usable due to how slow the UI is.

any idea whats up?
running 8GB DDR4 ram
128gb SSD
Celeron G3930 processor
member
Activity: 119
Merit: 10
September 03, 2017, 10:20:03 PM
This is the scheme of my setup. Is a box 44cm wide x 32cm high and gpus are setup on two levels one on top of other. (1060 3Gb gpu)
There is a raspberry pi wich allows me to reset/poweroff-on and control the inside temps using 5 sensors DS18B20.
12 fans push fresh air inside the box. They feed on an external psu. Temps with power limite 92W are 57-68ºC.
By the way I had a big cpu load (5-14) when I had power limit to 72W. Once set to 92W got down to 1.5-2.2 (yes I know no good yet, but much better).
I use a celeron g3900, looking forward to upgrade to I3.
I post this hoping the schematic helps others like me who have their rig in remote locations.
Here the code bits for temps, poweron/off and reset.

Hey man, that's a very nice DIY project you have there! And great schematics btw, thanks for sharing. I'm wondering, how much did it cost overall (Pi + fans + sensors and parts)? Did you try integrating it with nvOC's auto temp control, which uses the GPUs internal temp sensors, instead of relying on the DS18B20?

I'm facing some heating issues here, as the days are becoming hotter, so I'm thinking about what to do. I don't want to leave an A/C on all day, because of energy costs, so probably will need something to suck the hot air from the GPUs to the outside during the day, and reverse direction at night, when it's colder outside. Your project really gives some ideas... Smiley
newbie
Activity: 28
Merit: 0
September 03, 2017, 08:14:01 PM
Ok - found an issue.

I've tried setting "manual fan speed"
and played around with the maximus auto fan control - but some of my cards just dont want to run the fan speed i set in 1Bash.

When i was running off 1PSU with 8 cards it ran perfectly.

I just added a second PSU to my ASROCK BTC PRO board to run 13 cards and 4/ 13 of the cards wont adjust their fan speed correctly.

EDIT: With every restart its getting less and less stable - fan speeds are NOT changing on majority of cards now.
member
Activity: 155
Merit: 12
Crypto Mining Hardware for Sale
September 03, 2017, 07:05:24 PM
Anone managed to start NVOC version 19 with built-in  VGA? I heared this version finally have a fix, for using on rigs built on GP106-100 GPUs
newbie
Activity: 16
Merit: 0
September 03, 2017, 04:53:07 PM
Hi there nvoc-ers !

I may be stupid or definitely not paying enough attention to something as i can't for sake of me to be able to make AsRock H110 to recognize 13 x 1060 6GB GPU's. Tried with nvoc17, then 18, then 19..does not see the gpu on the last pciex slot.
It mines beautifully with 12 GPU's but there is no way i can make it see all the 13 GPU's.
The rig is built using a G4560, i tried using an i3... same result.
2 x Corsair 1000 W PSU's powering 6 gpu + mobo + risers and the 2nd powering 7 gpu's

Any hints ?
I struggled with this for a very long time. For me, it came down to a bad riser. I could have sworn I had tested and replaced them all, but this past weekend I started with one, and kept adding 1, one boot at a time, until I got to 13 working. I swear I did this a few times, but i find the pic-e risers LOVED to come loose as well, and may have had bad luck swapping a bad riser for a bad riser.

Aside from that, if you haven't, I would make sure the the 2 molex connectors on the motherboard are each connected to the separate power supplies.

Also, I noticed you have all risers on one PSU. I believe I have read that you should not have more than 2 per connector - I am unsure how many connectors are on those corsairs, but it might be worth trying splitting them up if you haven't.

Let me know if you get anywhere with this.


I put 3 risers per 1 connector - works fine

Hello guys and thank you for your answers !

Regarding the risers there are lots of urban legends, they draw up to 25 - 30 W each, measured for 24h continously, on 3 different rigs, one with 1060, one 1070 and one 1080ti's. Surprisingly the 1080Ti's draw a steady 25 W, no fluctuations as 1070's or 1060's.
As long as the rail supports it and the sum of the draw of the risers do not exceed the rated wire, you can add as many as you want.

Apparently the motherboard has a issue with the last pciex slot, as i replaced the mobo and it worked from the first boot. Switched it back to the old mobo and the same problem with the 13th card not being recognised was identified. I changed the risers with new ones, tested with the 2nd board in parallel, the same card and same riser, its final: the mobo might have a defective pciex port. I suspect a mechanical issue since the riser doesn't get powered by the mobo.

Thank you again for your support !
newbie
Activity: 35
Merit: 0
September 03, 2017, 02:37:32 PM
Interesting. Thank you - I will try that.

I guess I will need to learn how to SSH.

Also increase your powerlimit; 75 is very low for a 1060.  I recommend moving it up to 100; then you can bump it down if it is stable without issue.  Will probably be stable until around 85-90 watts or lower.
Fullzero, what do you think is the lowest powerlimit that most 1080 Ti cards can handle? I also have stability problems and have to check this one.

Will I have to change the script of Maxximus007_AUTO_TEMPERATURE_CONTROL to enforce this lowest powerlimit?

In v0019 auto_temp will use the target temperature and general power limit specified in 1bash; no other settings are required.  When mining ethash I use 175 powerlimit with 1080tis; if mining zec I use 225.
Thanks for the info.
My starting power limit iz 200 for zec. If i have a room temp at about 30 deg celsius, autotemp lowers the powerlimit to 170 on some cards. The problem probably starts when the room temp goes to 35 celsius. At this point the maxximus autotemp probably lowers power to around 150w and freezes the system. I dont have continuous access to the rigs so i will have to configure rigs for remote access to confirm this theory.

I could then change maxximus autotemp script, that the power stays at 170, but the the temp would go higher. That is probably not wise, I will probably have to replace the cards that have this temp problems.

You might want to try using some active cooling.  I use serverfans on most of my 1080tis: see hawkfish007 https://bitcointalksearch.org/user/hawkfish007-352509 for some cost effective ones.  A 22$ box fan from amazon or walmart will also work well.
Fullzero, thanks you for your help. I contacted hawkfish007 regarding serverfans. I already use a box fan, it helps a little.
full member
Activity: 200
Merit: 101
September 03, 2017, 01:11:06 PM
I edited this on my previous reply while you were replying, not sure if you noticed:

Oh, one more thing... On the Asrock 13 gpu board, the PCIe slots on the board are so close, the small riser boards that plug to the motherboard might be touching each other and create short circuits. What I did is: I cut the excessive lenght of the soldered pins of the USB connector on the back side of that small board; used heat-shrink tube (1.5 inch wide) and wrapped the small boards where they could touch eachother, making sure the pins that plug to the PCIe slots are not covered. I would suggest that everyone usung the Asrock 13 GPU board do this to prevent problems... the heat-shrink tube is about 5-6 bucks and it's quete long, I don't remember exactly but it was at least 4 feet long. I got it from Sayal in Toronto but I am sure you can find one in electronic shops or even Home Depot.

I had put heat resistant electrical tape on the back side of each of the small riser parts that plug into those slots (not initially, but as I have gone through this process). Would that have a similar impact to what you describe?

yes, as long as they are insulated it is fine. the heat-shrink is more permanent and clean solution
Jump to: