Giter Club home page Giter Club logo

nvoc_by_fullzero_community_release's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvoc_by_fullzero_community_release's Issues

source 0algo_id missing?

Hi guys, I don't know if I failed a git pull, merge or whatever, but miner doesn't start.
In fact, I need to add source "${NVOC}/0algo_id" to 0miner.

Found error with CPU miner

the built in CPU miner that is mining for xmr is using old algo simple fix was to add v7 too the end of the algo in the dont know if this was just me or it has been adressed made the change in 3main
guake -n $HCD -r plusCPU -e "$HCD -a cryptonight -o stratum+tcp://$XMR_POOL:$XMR_PORT -u $XMRADDR -p x -t $threadCOUNT"
else
screen -c ${NVOC}/screenrc-miner -dmS plusCPU $HCD -a cryptonight -o stratum+tcp://$XMR_POOL:$XMR_PORT -u $XMRADDR -p x -t $threadCOUNT

and change too

  guake -n $HCD -r plusCPU -e "$HCD -a cryptonightv7 -o stratum+tcp://$XMR_POOL:$XMR_PORT -u $XMRADDR -p x -t $threadCOUNT"
else
  screen -c ${NVOC}/screenrc-miner -dmS plusCPU $HCD -a cryptonightv7 -o stratum+tcp://$XMR_POOL:$XMR_PORT -u $XMRADDR -p x -t $threadCOUNT

MPH Switch not working

not to sure what details i need to place hear but the mph switch not working geting this error

LAUNCHING: SALFTER_MPH_SWITCHING (will launch miner)

python2.7: can't open file '"/home/m1/NVOC/testing/mph_switch"': [Errno 2] No such file or directory

cat: /home/m1/NVOC/testing/current-profit: No such file or directory

mining process in Guake Tab

have confirmed that its not just me geting the error plz let me know what other info is required

nvOC_Ver="nvOC v0019-2.1 - Community Release" # Do not edit this
nvOC_1bash_ver="v0019-2.1.0029" # Do not edit this

OC & PL settings for UNDEFINED algo always apply when salfter auto switcher in use

when running the MPH switcher for the over clock i have set to algo specific like suggested i can see in my terminal window that it applies the value but when the switcher starts it resets the value to 0 unsure if i have made an error somewhere this is the log that made me be leave it was an issue with the switcher also i do have my power set to 150 so dont know why it reverts back to 100 aswell

LAUNCHING: WTM PROFIT CHECK

Auto Start Miner Set to YES

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

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

LAUNCHING: MINER WATCHDOG (LOCAL)

process in screen wdog, guake terminal Tab (f12), 'nvOC wdog-log'

LAUNCHING: SALFTER_MPH_SWITCHING (will launch miner)

Power limit for GPU 00000000:01:00.0 was set to 100.00 W from 150.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.

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

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

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

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

ethereum (Ethash): 0.00026278 BTC/day (2.03 USD/day)
ethereum-classic (Ethash): 0.00024685 BTC/day (1.90 USD/day)
musicoin (Ethash): 0.00020619 BTC/day (1.59 USD/day)
digibyte-skein (Skein): 0.00019015 BTC/day (1.47 USD/day)
expanse (Ethash): 0.00017562 BTC/day (1.35 USD/day)

NICE_"some algo" not working correctly

Hi guys,

  1. NICE_EQUIHASH, ETHASH, etc are not working for me. Miner keeps restarting. Log shown invalid parameters for miner (actually epty parameters). It helped me to unify NICE_... and NICE-... which are used in 1bash and 0miner. After change from NICE-... to NICE_... miners are working well (some).

  2. NICE_... mining options are not working together with WTM_SWITCHING. I assume there is problem with parsing JSON for these, sice it does not contain directly name of the coin. I have to check WTM_SWITCHING option and how it works.

  3. TPccminer does not work for me for lyra2rev2. I tried NICE_LYRA2REV2. Miner keeps restarting without much mentioned in screen log. Tried ASccminer and this one seems to work well. Any suggestions on what to check?

defalt for cpu miner wrong

when trying to run the CPU miner it tryes to launch it from
/home/m1/NVOC/mining/cpuOPT/cpuminer
when it should be
/home/m1/NVOC/mining/miners/cpuOPT/cpuminer
just changed the 0miner to be
HCD="${NVOC}/miners/cpuOPT/cpuminer"
from
HCD="${NVOC}/cpuOPT/cpuminer"

Avoid using gnome-terminal profile as auto-launch method

As discussed during last weeks, nvOC should not depend on gnome-terminal to automatically launch 2unix on startup. This makes quite hard to set different path to 2unix in case nvOC scripts/repos are installed/cloned in custom locations. Additionally, it may create problems into choosing a different desktop manager where gnome-terminal is not the default terminal emulator (e.g. lubuntu).

Let's discuss here any possible alternative and how it will change current nvOC user experience.

typo

fresh pull and geting this error in 0miner

/home/m1/NVOC/mining/0miner: line 176: syntax error near unexpected token elif' /home/m1/NVOC/mining/0miner: line 176: elif [[ $EQUIHASH_MINER == BMINER ]]'

MPH Switch: NameError: name 'output_dir' is not defined

i beleave this is an error on my part and not related too MPH Switch not working #117 but now when i run with new pull i get

File "/home/m1/NVOC/Testing1/mph_switch", line 123, in
subprocess.call(("screen -c "+str(output_dir)+"/nvoc_logs/screenlog.0 -dmS miner "+coin).split(" "))
NameError: name 'output_dir' is not defined

it keeps repeating the process with same resalt

i was able to bring up that line in the WTM file im still learning but it looks ok to me??

launch new miner
subprocess.call(("screen -c "+str(output_dir)+"/nvoc_logs/screenlog.0 -dmS miner "+coin).split(" "))

Software info:
Report ver : v0019-2.1.0012
nvOC path : /home/m1/NVOC/Testing1
nvOC (1bash) : nvOC v0019-2.1 - Community Release
nvOC (3main) : nvOC v0019-2.1 - Community Release
1bash ver : v0019-2.1.0029
3main ver : v0019-2.1.0022
5watchdog ver : v0019-2.1.020
6tempcontrol v: v0019-2.1.0006
wtm switch ver: v0019-2.1.0021
Kernel : 4.4.0-128-generic
OS : Ubuntu 16.04.4 LTS
System : (gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
nvidia driver : 390.67

Hardware info:
Motherboard : Gateway DX4840
BIOS ver. : P01-A4 02/15/2011
CPU Model : Core(TM) i3 CPU 550 @ 3.20GHz
CPU Cores : 4 (Cores + Threads)
Mem Total : 3971400 kB
Mem Free : 2609808 kB
Swap Total : 0 kB
Swap Free : 0 kB
Ethernet : Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

CUDA SDK version
nvcc path : /usr/local/cuda-8.0/bin/nvcc
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

nvoc.service systemd's log
● nvoc.service - nvOC Service
Loaded: loaded (/etc/systemd/system/nvoc.service; static; vendor preset: enabled)
Active: inactive (dead)

HDD and Partion info:
NAME SIZE FSTYPE TYPE ROTA HOTPLUG TRAN VENDOR MODEL REV MOUNTPOINT
sda 232.9G disk 1 0 sata ATA Hitachi HTS54252 C31P
├─sda1 9M vfat part 1 0
└─sda2 232.9G ext4 part 1 0 /

VGA info:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c02 (rev a1)

Local git branch and submodules status:

19-2.1...origin/19-2.1
M 1bash.template
ee963aa25b6b8d4f8299a2d5f13749fc6bdee498 miners (heads/19-2.1)

19-2.1...origin/19-2.1
-cd6fab68823e247bb84dd1fa0448d5f75ec4917d ANXccminer/src
-aafe2d19b6d9eb07d942d70ced3049e9aed1c241 ASccminer/src
-31865e0b846ad98e2ce99aeb9b28bb51d3be22db KTccminer-cryptonight/src
-c5ab73837c8024f1e6b8fe7ad46e6881fb8366e6 KTccminer/src
-7d41d49b92db27b9ab80270adaa92f6b06d1ef78 KXccminer/src
-78dad7dd659eae72a07d2448de62b1946c1f2b41 MSFTccminer/src
-8affcb9cd09edd917d33c1ed450f23400f571bdb NAccminer/src
-9e86bdd24ed7911b698f1d0ef61a4028fcbd13c5 SPccminer/src
c800f1a803e1b2074ed2a7c15023c096d0772048 SUPRminer/src (1.5)
-a81ab0f7a557a12a21d716dd03537bc8633fd176 TPccminer/src
bfd1c002f98f2d63f2174618838afc28cf4ffffe cpuOPT/src (v3.8.8.1)
-48b170a5828256600ca71e66d4c114af4e114236 vertminer/src
c0ab1734332d6472225d8ac7394f6fcba71aabc9 xmr-stak/src (2.4.4)

1bash settings:
1bash version .............: v0019-2.1.0029
LOCAL or REMOTE ...........: LOCAL
TEAMVIEWER started ........: YES
SSH daemon started ........: YES
SLOW_USB_KEY_MODE .........: NO
SRR .......................: NO

Watchdog ..................: YES
SYSRQ Reboot ..............: NO
Watchdog Cycle ............: 15
GPU Utilization Threshold .: 70
Alternate Pool ............: NO

Temp Control ..............: YES
MANUAL_FAN ................: NO
TARGET_TEMP ...............: 65
__FAN_ADJUST ..............: 5
POWER_ADJUST ..............: 5
ALLOWED_TEMP_DIFF .........: 2
RESTORE_POWER_LIMIT .......: 85
MINIMAL_FAN_SPEED .........: 50
MAXIMAL_FAN_SPEED .........: 95

CLEAR_LOGS_ON_BOOT ........: NO
AUTO_UPDATE ...............: STABLE
AUTO_REBOOT ...............: NO
_Parallax_MODE (upPaste)...: NO

TELEGRAM_MESSAGES .: NO
TELEGRAM_ALERTS ...: NO

HEADLESS MODE:.............: NO
GPUPowerMizerMode_Adjust...: NO
ETH Pill ..................: NO

POWERLIMIT MODE ...........: GLOBAL
Power Limit WATTS .........: 130
OVERCLOCK MODE ............: NO

GLOBAL WORKERNAME .........: YES
AUTO WORKERNAME ...........: HOST
WORKERNAME ................: 072
plusCPU ...................: NO

COIN ......................:
ALGO ......................: SKEIN
MINER .....................: TPccminer
ZPOOLPASS .................: hidden_pass...,
WORKER ................:
ADDRESS ...............: ...
POOL ..................:
PORT ..................:
SKEIN INTENSITY ..........: 0

[/code]

Still unable to run MPH: wrong path to miners

so when i try to run MPH im now not geting any errors and its running a repeat loop checking most profitable but without ever running a miner. did a little pokeing aroung and might have found the issue with the mph_conf.json file it looks like all the miner exacutexe try and run from home/m1/NVOC/Testing1/KTccminer/ccminer when in fact they should run from a folder miners after the Testing1 directory home/m1/NVOC/Testing1/minersKTccminer/ccminer this may not be the problem just somthing that i observed

Copy of my miner Location
/home/m1/NVOC/Testing1/miners/SPccminer/ccminer

Copy of my mph_conf.json (removed my user name and miner name )
{
"output_dir": "/home/m1/NVOC/Testing1",
"user_name": "**",
"miner_name": "
",
"card_type": "nvidia",
"currency": "USD",
"pwrcost": 0.10,
"min_profit": 0.0,
"miners":
{
"Blake-Vanilla":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a vanilla -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 12.3, "power": 0.389
},
"Cryptonight":
{
"bin": "/home/m1/NVOC/Testing1/KTccminer-cryptonight/ccminer -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.000002, "power": 0.325
},
"Equihash":
{
"bin": "/home/m1/NVOC/Testing1/zec/v3_4/miner --eexit 3 --fee 0 --pec --server {HOST} --user {NAME}.{MINER} --pass z --port {PORT}",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.000001140, "power": 0.397
},
"Ethash":
{
"bin": "/home/m1/NVOC/Testing1/eth/ethminer/latest/ethminer -S {HOST}:{PORT} -O {NAME}.{MINER}:x -U",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.087, "power": 0.397
},
"Groestl":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a groestl -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.0853, "power": 0.392
},
"Keccak":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a keccak -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 1.45, "power": 0.391
},
"Lyra2RE2":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a lyra2v2 -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.081, "power": 0.386
},
"Myriad-Groestl":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a myr-gr -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.158, "power": 0.391
},
"NeoScrypt":
{
"bin": "/home/m1/NVOC/Testing1/KTccminer/ccminer -a neoscrypt -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.002160, "power": 0.397
},
"Qubit":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a qubit -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.0509, "power": 0.382
},
"Scrypt":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a scrypt -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.00224, "power": 0.403
},
"Sia":
{
"bin": "/home/m1/NVOC/Testing1/SPccminer/ccminer -a sia -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 3.700, "power": 0.403
},
"Skein":
{
"bin": "/home/m1/NVOC/Testing1/ASccminer/ccminer -a skein -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.835, "power": 0.383
},
"X11":
{
"bin": "/home/m1/NVOC/Testing1/TPccminer/ccminer -a x11 -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
"power_limit": [200,90], "gpu_oc": [70,40], "mem_oc": [150,0], "fan": 0,
"speed": 0.0327, "power": 0.403
}
}
}

[code]

Software info:
Report ver : v0019-2.1.0012
nvOC path : /home/m1/NVOC/Testing1
nvOC (1bash) : nvOC v0019-2.1 - Community Release
nvOC (3main) : nvOC v0019-2.1 - Community Release
1bash ver : v0019-2.1.0030
3main ver : v0019-2.1.0023
5watchdog ver : v0019-2.1.020
6tempcontrol v: v0019-2.1.0006
wtm switch ver: v0019-2.1.0021
Kernel : 4.4.0-128-generic
OS : Ubuntu 16.04.4 LTS
System : (gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
nvidia driver : 390.67

Hardware info:
Motherboard : Gateway DX4840
BIOS ver. : P01-A4 02/15/2011
CPU Model : Core(TM) i3 CPU 550 @ 3.20GHz
CPU Cores : 4 (Cores + Threads)
Mem Total : 3971404 kB
Mem Free : 1984452 kB
Swap Total : 0 kB
Swap Free : 0 kB
Ethernet : Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

CUDA SDK version
nvcc path : /usr/local/cuda-8.0/bin/nvcc
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

nvoc.service systemd's log
● nvoc.service - nvOC Service
Loaded: loaded (/etc/systemd/system/nvoc.service; static; vendor preset: enabled)
Active: inactive (dead)

HDD and Partion info:
NAME SIZE FSTYPE TYPE ROTA HOTPLUG TRAN VENDOR MODEL REV MOUNTPOINT
sda 232.9G disk 1 0 sata ATA Hitachi HTS54252 C31P
├─sda1 9M vfat part 1 0 /media/m1/12D3-A8691
└─sda2 232.9G ext4 part 1 0 /

VGA info:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c02 (rev a1)
03:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

Local git branch and submodules status:

19-2.1...origin/19-2.1

+239b91c350c3341ee38239b2b8277524cdde80f2 miners (remotes/origin/19-2.1)

HEAD (no branch)

cd6fab68823e247bb84dd1fa0448d5f75ec4917d ANXccminer/src (heads/master)
aafe2d19b6d9eb07d942d70ced3049e9aed1c241 ASccminer/src (1.5.3-tpruvot-81-gaafe2d1)
31865e0b846ad98e2ce99aeb9b28bb51d3be22db KTccminer-cryptonight/src (2.06)
c5ab73837c8024f1e6b8fe7ad46e6881fb8366e6 KTccminer/src (1.4.6-tpruvot-1293-gc5ab738)
7d41d49b92db27b9ab80270adaa92f6b06d1ef78 KXccminer/src (0.1)
78dad7dd659eae72a07d2448de62b1946c1f2b41 MSFTccminer/src (2.2.5-rvn)
8affcb9cd09edd917d33c1ed450f23400f571bdb NAccminer/src (v2.2-mod-r2)
9e86bdd24ed7911b698f1d0ef61a4028fcbd13c5 SPccminer/src (1.5.81)
c800f1a803e1b2074ed2a7c15023c096d0772048 SUPRminer/src (1.5)
a81ab0f7a557a12a21d716dd03537bc8633fd176 TPccminer/src (2.2.5-tpruvot)
-bfd1c002f98f2d63f2174618838afc28cf4ffffe cpuOPT/src
+3042aa21bedf15d9b9333750331d317705e2118d vertminer/src (v1.0-beta.1-4-g3042aa2)
c0ab1734332d6472225d8ac7394f6fcba71aabc9 xmr-stak/src (2.4.4)

1bash settings:
1bash version .............: v0019-2.1.0030
LOCAL or REMOTE ...........: LOCAL
TEAMVIEWER started ........: YES
SSH daemon started ........: YES
SLOW_USB_KEY_MODE .........: NO
SRR .......................: NO

Watchdog ..................: YES
SYSRQ Reboot ..............: NO
Watchdog Cycle ............: 15
GPU Utilization Threshold .: 70
Alternate Pool ............: NO

Temp Control ..............: YES
MANUAL_FAN ................: NO
TARGET_TEMP ...............: 65
__FAN_ADJUST ..............: 5
POWER_ADJUST ..............: 5
ALLOWED_TEMP_DIFF .........: 2
RESTORE_POWER_LIMIT .......: 85
MINIMAL_FAN_SPEED .........: 50
MAXIMAL_FAN_SPEED .........: 95

CLEAR_LOGS_ON_BOOT ........: NO
AUTO_UPDATE ...............: STABLE
AUTO_REBOOT ...............: NO
_Parallax_MODE (upPaste)...: NO

TELEGRAM_MESSAGES .: NO
TELEGRAM_ALERTS ...: NO

HEADLESS MODE:.............: NO
GPUPowerMizerMode_Adjust...: NO
ETH Pill ..................: NO

POWERLIMIT MODE ...........: GPU_SPECIFIC
GPU0 Power Limit ..........: 200
GPU1 Power Limit ..........: 90
OVERCLOCK MODE ............: GPU_SPECIFIC
GPU0 Core Overclock ........: 70
GPU0 Memory Overclock ......: 150
GPU1 Core Overclock ........: 40
GPU1 Memory Overclock ......: 0

GLOBAL WORKERNAME .........: YES
AUTO WORKERNAME ...........: CUSTOM
WORKERNAME ................: Snippy6
plusCPU ...................: NO

COIN ......................:
ALGO ......................: CRYPTONIGHTHEAVY
MINER .....................: xmr-stak
ZPOOLPASS .................: hidden_pass...,
WORKER ................:
ADDRESS ...............: ...
POOL ..................:
PORT ..................:
CRYPTONIGHTHEAVY INTENSITY ..........: 0

[/code]
one other thing i just noticed might be related when i ran for the reprot there is a protion of the Local git branch and submodules status: that is red........ origin/19-2.1 and HEAD (no branch) are both in red

Killing 3main fails to restart nvOC when zhash ewbf is mining

I just noticed something strange before starting my tests for my last PR. Killing 3main usually restart the whole nvOC logic successfully (I tested and still works with ethminer),
This is not the case with new ewbf for Zhash, 3main restarts correctly, but it gets stuck somewhere and does not kill the currently running ewbf instance. I think WTM_SWITCHING killing of 3main works anyway. Seems just an issue with 3main getting stuck.

Did somebody else notice such behavior?

WTM_SWITCHER not sorting

WTM_SWITCHER python is not sorting the coins correct

m1@m1-desktop-100:~$ python2.7 NVOC/mining/WTM_SWITCHER  NVOC/mining/WTM_1.json
Can not get data from coindesk.com
Trying to get data from coinbase.com
8233.86
BTC PRICE: 8233.86 USD
BTG 2.17 USD
MUSIC 2.36 USD
BTX 2.37 USD
EXP 2.07 USD
VIVO 1.10 USD
ZCL 1.93 USD
XVG 1.58 USD
GBX 1.32 USD
BSD 1.64 USD
KMD 1.39 USD
XZC 1.38 USD
New profits
BTG: 84 %
MUSIC: 92 %
BTX: 92 %
EXP: 80 %
VIVO: 43 %
ZCL: 75 %
XVG: 62 %
GBX: 51 %
BSD: 64 %
KMD: 54 %
XZC: 54 %

WTM_SWITCHER output_dir error

Tried to test the latest wtm switcher python and it gives me this error:

m1@m1-desktop-101:~$ python2.7 test_wtm 
Traceback (most recent call last):
  File "test_wtm", line 32, in <module>
    outputDir=cfg["output_dir"]
KeyError: 'output_dir'

guake VS screen

I understand the rationale behind showing active jobs into gueke tabs while nvOC is set in LOCAL mode. I noticed salfter switchers always run in screen and then gets attached to a guake tab if LOCAL mode. Is it reasonable to do the same with all jobs currently opened in Guake or there is something bad with that solution?

Why 0miner, 5watchdog and 7telegram are handled differently?

NVOC path variable not set when upPASTE is used

I tried the new 1.9.2.1 script and end up in a endless loop as the NVOC variable did not get set.

I started with nvOC-V0019-2.0-10GB_Auto_Expand.img

Then I ran this:
#!/bin/bash
echo "Making directory /home/m1/miners..."
mkdir /home/m1/miners
mkdir /home/m1/miners/ewbf
mkdir /home/m1/miners/dstm
cd /home/m1/miners
echo "Copying miners..."
cp -r /home/m1/zec/v3_3 ewbf
cp -r /home/m1/zec/v3_4 ewbf
cp -r /home/m1/zec/zm dstm
cp -r /home/m1/eth/ .
cp -r /home/m1/TPccminer .
cp -r /home/m1/MSFTccminer .
cp -r /home/m1/KTccminer .
cp -r /home/m1/vertminer .
cp -r /home/m1/NAccminer .
cp -r /home/m1/KTccminer-cryptonight .
cp -r /home/m1/ANXccminer .
cp -r /home/m1/SPccminer .
cp -r /home/m1/xmr .
cp -r /home/m1/ASccminer .
cp -r /home/m1/KXccminer .
cp -r /home/m1/KXccminer-skunk .
cp -r /home/m1/pasc .
cp -r /home/m1/cpuOPT .

rm -r /home/m1/zec
rm -r /home/m1/eth
rm -r /hone/m1/TPccminer
rm -r /home/m1/MSFTccminer .
rm -r /home/m1/KTccminer .
rm -r /home/m1/vertminer .
rm -r /home/m1/NAccminer .
rm -r /home/m1/KTccminer-cryptonight .
rm -r /home/m1/ANXccminer .
rm -r /home/m1/SPccminer .
rm -r /home/m1/xmr .
rm -r /home/m1/ASccminer .
rm -r /home/m1/KXccminer .
rm -r /home/m1/KXccminer-skunk .
rm -r /home/m1/pasc .
rm -r /home/m1/cpuOPT .

Next I download the ZIP of the 1.9.2.1 and unzipped the contents into my /home/m1 directory
Then I rebooted

It did not work.

I then added this line to my /etc/environment
NVOC="/home/m1"

Then rebooted again and now it works.

Jim (Falcon)

Headless mode , p104, p102 issue

@doftorul posted this in discord:

setting HEADLESS_MODE has no effect
what i mean is, xorg gets regenerated after every reboot
i'll download the latest commits and try again, however, in its current state it does not work with p104 or P102
one important thing to note is the HEADLESS should not be forced upon the user
xorg should be generated using the intel graphic card as a renderer
and this will not affect in any way the p104 or P 102 cards
another thing of note is that the P104 and P102 cards use PerfMode 1 for overclocking
so in 3main the TI should be set 1 instead of 2 or 3
$TI
if i comment everything related to xorg or overclocking from 3main, it works as it should
generating the xorg.conf using:
sudo nvidia-xconfig -enable-all-gpus -cool-bits=28 --allow-empty-initial-configuration
and overclocking with
sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffset[1]=100' -a '[gpu:0]/GPUMemoryTransferRateOffset[1]=1200'
so, i think we need to rewrite the entire logic behind the testing of tempa for 1050, 1050 Ti, P106, P104, P102

WTM_top_coin file not found on first switcher run

When trying to run WTM_SWITCHING i get this error
I think maybe WTM_top_coin file name switched to current-profit. I could be wrong i did reinstall from git and was able to reprodue the same error

WhatToMine.com Auto Switch v0019-2.1.0021 by papampi

/home/m1/NVOC/test2/8wtm_auto_switch: line 83: /home/m1/NVOC/test2/WTM_top_coin: No such file or directory
Miner not running

Miner still not running, waiting ...

Miner still not running, waiting ...

Miner still not running, waiting ...

Check last top coin and change if not in coin list any more
FIRST_COIN="$(echo "$WTM_AUTO_SWITCH_COINS" | awk -F'[_;]' '{print $1}')"
TOP_COIN=$(sed 's/:[0-9]*//' < ${NVOC}/WTM_top_coin)
if [ ! $(echo "$WTM_AUTO_SWITCH_COINS" | grep "$TOP_COIN") ]
then
echo "Last top coin not in current coin list any more, Switch to 1st coin"
echo " " > ${NVOC}/WTM_top_coin
echo "$FIRST_COIN:100" > ${NVOC}/WTM_top_coin

salfter's switchers custom fan management conflicting with tempcontrol fan settings

Getting this error with mph_switch, any idea why?

m1@m1-desktop-100:~$ python2.7 mph_switch mph_conf.json 
Traceback (most recent call last):
  File "mph_switch", line 14, in <module>
    cfg=json.loads(open(sys.argv[1]).read())
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

mph_conf.json:

{
  "output_dir": "/home/m1/",
  "user_name": "papampi",
  "miner_name": "nv100",
  "card_type": "nvidia",
  "currency": "USD",
  "pwrcost": "0.01",
  "min_profit": "1",
  "miners":
  {
    "Blake-Vanilla":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a vanilla -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 12.3, "power": 0.389
    },
    "Cryptonight":
    {
      "bin": "/home/m1/miners/KTccminer-cryptonight/ccminer -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.000002, "power": 0.325
    },
    "Equihash":
    {
      "bin": "/home/m1/miners/ewbf/v3_4/miner --eexit 3 --fee 0 --pec --server {HOST} --user {NAME}.{MINER} --pass z --port {PORT}",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.000001140, "power": 0.397
    },
    "Ethash":
    {
      "bin": "/home/m1/miners/ethminer/latest/ethminer -S {HOST}:{PORT} -O {NAME}.{MINER}:x -U",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.087, "power": 0.397
    },
    "Groestl":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a groestl -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.0853, "power": 0.392
    },
    "Keccak":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a keccak -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 1.45, "power": 0.391
    },
    "Lyra2RE2":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a lyra2v2 -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.081, "power": 0.386
    },
    "Myriad-Groestl":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a myr-gr -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": , "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.158, "power": 0.391
    },
    "NeoScrypt":
    {
      "bin": "/home/m1/miners/KTccminer/ccminer -a neoscrypt -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.002160, "power": 0.397
    },
    "Qubit":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a qubit -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.0509, "power": 0.382
    },
    "Scrypt":
    {
      "bin": "/home/m1/SPccminer/ccminer -a scrypt -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.00224, "power": 0.403
    },
    "Sia":
    {
      "bin": "/home/m1/miners/SPccminer/ccminer -a sia -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 3.700, "power": 0.403
    },
    "Skein":
    {
      "bin": "/home/m1/miners/ASccminer/ccminer -a skein -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.835, "power": 0.383
    },
    "X11":
    {
      "bin": "/home/m1/miners/TPccminer/ccminer -a x11 -o stratum+tcp://{HOST}:{PORT} -u {NAME}.{MINER} -p x",
      "power_limit": [100,78,78], "gpu_oc": 100, "mem_oc": 100, "fan": 0,
      "speed": 0.0327, "power": 0.403
    }
  }
}

Not the right algo

elif [[ $COIN == MONERO || $COIN == MPH_CRYPTONIGHTV7 ]]
then
ALGO=CRYPTONIGHTV7
elif [[ $COIN == XMR || $COIN == LUX || $COIN == FLM ]]
then
ALGO=PHI

Hi there!
I think there's a problem here.
First of all, "Monero" is not defined elsewhere. Next, XMR (so, Monero) is not PHI.

mph_conf.json decode failure

LAUNCHING: MINER WATCHDOG (LOCAL)

process in screen wdog, guake terminal Tab (f12), 'nvOC wdog-log'

LAUNCHING: SALFTER_MPH_SWITCHING (will launch miner)

2152 pts/25 S+ 0:00 tail -n 0 -f /home/m1/NVOC/mining/nvoc_logs/screenlog.0
mining process in Guake Tab

Traceback (most recent call last):
File "/home/m1/NVOC/mining/mph_switch", line 14, in
cfg=json.loads(open(sys.argv[1]).read())
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

ethereum (Ethash): 0.00025662 BTC/day (2.10 USD/day)
monacoin (Lyra2RE2): 0.00023514 BTC/day (1.93 USD/day)
ethereum-classic (Ethash): 0.00023106 BTC/day (1.89 USD/day)
musicoin (Ethash): 0.00020873 BTC/day (1.71 USD/day)

8wtm_auto_switch : syntax error in expression

"/home/m1/NVOC/mining/8wtm_auto_switch: line 135: ((: 100
94: syntax error in expression (error token is "94")
Mining ETH (ETHASH) for 0 minutes, continue mining ETH for 1195 more seconds

Web info not showing correct OC value

In 19-2.0 web info used to show applied OC and PL if algo specific was set and it was changing with each algo.
Now in 2.1 it only shows the global values.

cpuOPT miner fails to compile

get an error that says "dose not appear to contain cmakelists.txt
specify --help for usage or press the help button on the cmake GUI"
make :*** No rule to make target 'install'. Stop.
This is when trying to compile after running the upgrade comand and it upgrads the miners the i choose C to compile cpuminer

Use ubuntu-2d session

Hi, I think Unity - 3D is totally useless for mining.
I think you just have to change one line:
In /home/m1/.dmrc
Session=ubuntu-2d

nvOC patch comand Brakes Ubuntu

running the patch comand updates libcuda1-390 nvidia -387 nvidia -390 nvidia-opencl-icd-390 after the patch comand and the upgrade system boots to the loging screen when i enter the password it starts to load into the desktop and than wants the password again simple guy like me just redownload the image and burn to hdd and copy my one bash to the drive and load tryed to just see if it a glitch but once again it updated on fresh install and broke the OS obvisley easy fix is not to do patch but if option is there i always like being upto date

${NVOC}/nvoc_logs location

We should change nvoc_logs location in screenrc config files
from:
${NVOC}/nvoc_logs
to:
/home/m1/nvoc_logs
As its a tmpfs location added in fstab.
tmpfs /home/m1/nvoc_logs tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0
If users use default /home/m1 location there is no problem, but if use other locations, it will write logs to HDD/SSD/USB and lower device lifespan.

@LuKePicci , you got better idea for this?

GPU_OFFSET question

Regarding the two ALGO_SPECIFIC_with_GPU_OFFSET and GLOBAL_with_GPU_OFFSET modes, does this how they work?
ALGO_SPECIFIC_with_GPU_OFFSET: Set Algo Specific values then add plus/minus values for individual GPUs
And same for Global with offset ...

webinfo problem

If I open web page from local machine, clearinfo and minerinfo are not clickable, anyone else has the issue ?
They both work fine from remote.

Unified watchdog and temp control

@leenoox Had an idea long ago for a unified watchdog and tempcontrol
I think we can have it for the cases that use both and reduce nvidia-smi calls which both scripts use it.
Something like:

if [ $MINER_WATCHDOG == "YES" && $MINER-TEMPCONTROL == "YES" ]
then
HCD="${NVOC}/7watchdog_tempcontrol"

Any ideas ?

MPH auto switch fails on XMR

i cant figure it out still not working to me i looks like it all going good check the price and then launches in my case XMR and says launching in glake but the mesage there is

m1@m1-desktop:$ tail -n 0 -f /home/m1/NVOC/Testing1/nvoc_logs/screenlog.0
tail: cannot open '/home/m1/NVOC/Testing1/nvoc_logs/screenlog.0' for reading: No such file or directory
tail: no files remaining

to me the error is when the MPH switch is launching the miner but im just a guy trying to learn and cant find the error i did a fresh install with latest pull and still would not work

per ALGO power and overclock

Some algos do not have options for power limit and overclocking. for instance PHI. no big deal since it is easy to add.

bash nvOC upgrade not working

when i tryed to upgrade to latest just now i got error

m1@m1-desktop:~$nvOC upgrade
Warnings:

  • your customized 1bash settings won't be affected, but you will have
    have to create a new one starting from 1bash.template if it gets
    updated during this upgrade, otherwise you will get a warning each
    time nvOC restarts
  • the upgrade will fail safely if you made conflicting customizations
    to any other nvOC script: if it happens you need either to run this
    script with restore command or manually manage this by git commands.

Do you want to continue (y/N)? y
Checking for nvOC updates...
fatal: Not a git repository (or any of the parent directories): .git
m1@m1-desktop:~/NVOC/test2$

Miner fails, followed by 3 attempts to restart (the miner) but still fails and forces a system reboot

Hi,

If the miner fails, the system tries to restart 3main but doesn't restart.
This process is repeated 3 times unsuccesfully and then the system is rebooting and rig continues as expecting.
If during the recycling (of the 3 attempts) of restarting 3main I kill the process with nvOC stop, processing stops, then i execute nvOC start and the miner restarts successfully.
Seems that I'm facing a bug/defects somewhere here. Any advise will be really helpfull

Cheers
:)

Telegram messages not sent when they become too long

When the message becomes too long the call to telegram api starts to fail and no more messages are sent. I'd suggest to either send a shorter tail of logs while also truncating in any case the message if too long.

Problem with SPECIFIC_OC by algo

I have problems with Powerlimit settings :

i will repost that i posted to you on BTcTalk and discord :

BTCTalk :

Neoscrypts overclocks settings are not correct, but i'm unable to understand where. It assign 78 instead of 120 on Powerlimit. Can you help me to fix this pb.

Discord :
I observed that powerlimit for neoscrypt is 78 in the logs and in 3main starting console. Exactly what you use for skunk in specific algo for your 1060s.
Can you correct this because i'm not familiar with your scripts and leenoox or others scripts

Refomulate :
 I'd look on logs to see this pb, and i know my two GTX1070s Cards can mine more than 1100 MH/s with more powerlimit of 120, but i see 78w instead of 120 that i define in 1bash.
I searched this PL in 1bash and find this is your skunk OC settings that was applied.

I read the scripts but i'm not quite familiar with theses new scripts.

So Where and Why ???

Otherwise, Good job for Wdog_control, autotemp_control too and the others scripts for WTM.
More efficient and more controls. Really bravo !

Pending patches

I détect a character number "5" at the end of line 657, is this normal ?

X11_POWERLIMIT_WATTS=$pwr_lim_daggerhashimoto5

Apply GPU0 OC 2 times

On 3main restart it apply OC to GPU0 2 times, is this normal?
Also there is a break after GPU1, I think it expand with more cards, I only tested on 3 card rig.

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

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

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

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

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

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



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

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

m1@m1-desktop-100:~$./nvOC gpuinfo
ID  |  PS  |  T°  |  FAN  |  LOAD  |  POWER / LIMIT / MAX  |  GPUCLOCK  |  MEMCLOCK  |  VENDOR - MODEL
0   |  P2  |  58  |  50   |  98    |  98 / 100 / 100       |  1556      |  4201      |  ASUS - GeForce GTX 1070
1   |  P0  |  53  |  50   |  100   |  78 / 78 / 78         |  1506      |  4404      |  GIGABYTE - P106-100
2   |  P0  |  60  |  50   |  93    |  79 / 78 / 78         |  1493      |  4404      |  GIGABYTE - P106-100

Rig stuck in DNS resolve problem...

My internet went down for 5 minutes and after it came back some of my rigs got stuck in a name resolution problem.
Miner log:

Cannot resolve 'europe.ethash-hub.miningpoolhub.com'
ETH: Stratum - Cannot connect to europe.ethash-hub.miningpoolhub.com:20535
ETH: Stratum - Failed to connect, retry in 5 sec...
Cannot resolve 'europe.ethash-hub.miningpoolhub.com'
ETH: Stratum - Cannot connect to europe.ethash-hub.miningpoolhub.com:20535
ETH: Stratum - Failed to connect, retry in 5 sec...
Cannot resolve 'europe.ethash-hub.miningpoolhub.com'
ETH: Stratum - Cannot connect to europe.ethash-hub.miningpoolhub.com:20535
ETH: Stratum - Failed to connect, retry in 5 sec...

Watchdog log:

WARNING: Mon Jun 11 22:26:08 +0430 2018 - Internet is down, checking again in 30 seconds...
nc: getaddrinfo: Temporary failure in name resolution
nc: getaddrinfo: Temporary failure in name resolution
WARNING: Mon Jun 11 22:27:18 +0430 2018 - Internet is down, checking again in 30 seconds...
nc: getaddrinfo: Temporary failure in name resolution
nc: getaddrinfo: Temporary failure in name resolution
WARNING: Mon Jun 11 22:28:28 +0430 2018 - Internet is down, checking again in 30 seconds...
nc: getaddrinfo: Temporary failure in name resolution
nc: getaddrinfo: Temporary failure in name resolution
WARNING: Mon Jun 11 22:29:38 +0430 2018 - Internet is down, checking again in 30 seconds...

I knew internet was up because I was connected to the rigs via ssh from home, then I restarted miner on one of them and it solved the problem. this happened on 5 rigs and all with same symptom.
So I thought we should change how watchdog check network and react.
May be 1st ping check google dns, then check google.com with "nc" and if ping was up but nc couldn't resolve restart miner or ...

Any better idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.