-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPH auto switch fails on XMR #137
Comments
The problem is that the xmr miner has changed from previous release to support criptonightv7, as I pointed out in #133 there is also the CNheavy miner which is binded to xmrig, but I don't know if the current cryptonightv7 miner, which is xmr-stack, is compatible with CNheavy also. BTW this should be a problem with cryptonight only (and xmr of course). The error of screenlog not found is probably due to the miner not starting and not generating any log. |
is it posable to remove one algo from the MPH script ...... i tryed to remove it from the mph_conf.json but it just recreats the algo inside the file |
You can't right know, but if I got a bit of time I can try moving those json templates outside of 3main to allow using customized json settings when they exists. I just pushed a corrective commit for XMR in mph_switch in #136, but I can't test it so we will wait for your feedback. |
Still cant get it to launch it is somthing to do with the end of the script the first is a sample of just runnung a coin in this cash MPH_EQUIHASH but when i run the auto switcher after it says launching miner it starts the loop again and i cant see it evan try to launch the mining program is there a debug mode ware i can see the complete output of what is happening ? if not that would be a cool and handy (Switcher Output) mining process in Guake Tab (Auto switch tab in my guake tab ) m1@m1-desktop:$ tail -n 0 -f /home/m1/NVOC/Test2/nvoc_logs/screenlog.0 therre is no file in that location by that name process in screen temp, guake terminal Tab (f12), 'nvOC temp-log' LAUNCHING: WTM PROFIT CHECK Auto Start Miner Set to YES Sun Jul 15 17:15:00 MST 2018 - Miner is running, 3main killing miner LAUNCHING: MINER
Miner output: ./nvOC miner-log
2018-07-15 05:15:04 PM|# zm 0.6.1 so as u can see its like my miner dose not even try to open after it determins what coin to mine |
Try launching yourself the miner from the command line to see what's going wrong using the command line you see from the log:
|
@LuKePicci i was playing with that install and broke it so had to start fresh i think i got it This is a new fresh install downloaded than burned on to a hdd than ran nvOC upgrade
[code] Software info: Hardware info: CUDA SDK version nvoc.service systemd's log HDD and Partion info: VGA info: Local git branch and submodules status: release...origin/releaseM 1bash.template HEAD (no branch)cd6fab68823e247bb84dd1fa0448d5f75ec4917d ANXccminer/src (heads/master) 1bash settings: Watchdog ..................: YES Temp Control ..............: YES CLEAR_LOGS_ON_BOOT ........: NO TELEGRAM_MESSAGES .: NO HEADLESS MODE:.............: NO POWERLIMIT MODE ...........: GLOBAL GLOBAL WORKERNAME .........: YES COIN ......................: [/code] WORK IN PROGRESS! Report script (beta release) *** If posting the Report on bitcointalk.org forum please copy everything m1@m1-desktop:~/NVOC/mining$ |
Two quick notes:
|
thanks for the advice that is way easier to do it that way than what i have been doing still unable to use sulfers auto switch the only thing i can figure out is that when it tryes to launch from mph_switch there is no heavycoin info in the mph_json folder and on my generated report it says my algo ALGO ......................: CRYPTONIGHTHEAVY so im guessing there is the problem becasue when i jump over and check my glake it says there has been no file to open witch to me is because it dont know how to deal with ALGO ......................: CRYPTONIGHTHEAVY |
on another note why this error |
Because probably you have not created the required service user for installing nvOC as a system service, it is an alternative way of running nvOC suitable for different scenarios, if you don't need it don't care. For more info read #62 . |
CNheavy is not supported by mph_switch and mph itself,, but the switcher should avoid taking into account unconfigured algos, so I'm not sure what's wrong with it. |
@snippy62 I noticed your last test was with no COIN set, I found a bug which lead to selecting the last algo in 0algo_id when COIN was "", that's why it was trying to mine CNheavy. Actually neither mph nor the mph_witch has nothingo to do with CNheavy, the only salter-like switcher compatible with CNheavy is programatic_switch. |
If i selected mph_switch what should i select as the coin instead if "" |
If you select AUTO_SWITCH="SALFTER_MPH_SWITCHING" then the COIN value can be anything since it is ignored, but if you set AUTO_SWITCH="NO" or whatever is not a valid auto switcher name it will mine COIN. That's why in #146 I both took care of handling COIN="" when no valid auto switcher is selected and of adding AUTO_SWITCH variable value to nvOC report. |
Could you verify what you have set as AUTO_SWITCH value in 1bash? |
yes i do i did apply your changes and now its not registering properly so my glake is still showing that there is no file to open view the miner AUTO_SWITCH ...............: SALFTER_MPH_SWITCHING AUTO_SWITCH ...............: SALFTER_MPH_SWITCHING But all times i did have Auto_SWITCH set to salfter_mph_switching but as the reprots reflect was not registering it before as it is now so its geting closer |
What if set coin to one that is supported, likie ETH, ZEC,... |
Send here the output of gnome-terminal. The problem was there already but the issue with wrong empty coin identification was probably only affecting the report if you correctly set AUTO_SWITCH. |
So if i set to ZEC the tail end of the report looks like it pulling all the seting form the 1bash defalt ZEC setting witch are all valid and should start a mining process AUTO_SWITCH ...............: SALFTER_MPH_SWITCHING But my gnome-terminal still produces on my AUTO_SWITCH tab |
I think thats correct because salfter miners are not running in screen mode, they have their own launch sequence. |
@LuKePicci And I think "-c" is to define the path to screen config file not the output log |
May be it should be changed to: |
@snippy62 |
the last line in terminal is if i go by watchdog GPU utilazation is 0 an both video cards for mining and will reboot loop trying to fix with no luck OG FILE: (Showing the last 10 recorded entries) Tue Jul 17 10:02:26 MST 2018 - Miner is running, 3main killing miner Tue Jul 17 10:08:35 MST 2018 - [INFO] - Watchdog is starting Tue Jul 17 10:08:37 MST 2018 - [INFO] - Installed GPUs: 2, Connected GPUs: 2 Connection to google.com 443 port [tcp/https] succeeded! Note that when it did run until 10:02:22 AM is when i was running with Auto switch off so did not start mining |
@papampi you missed /nvoc_logs/ in the path edit: nope, you put the config, that's right |
It does not need nvoc_logs path in screen command, screen -c "+str(outputDir)+"/screenrc-miner is pointing to miner screen config file which it has it |
But who is executing the edit: got it, I was looking at the REMOTE mode code |
Dont know who is executing that tail, but screen command should be: |
Yes, absolutely, check if this error exists also in other salfters switchers. |
Same bug in nice and programitic |
@snippy62 Test and see if it works |
LAUNCHING: SALFTER_MPH_SWITCHING (will launch miner) File "/home/m1/NVOC/mining/mph_switch", line 129 |
add 2 spaces before the line: |
ok you have modified that line in a syntactically incorrect way, check the last commit in #146 to see how it should look |
IT WORKS !!!!!!!! |
My test rig only has 1060 3gig so its failing miner because not enough ram for the ethash but its running so i will move the changes to my other rig and test But im able to see it running the miner cu 10:29:03|cuda-1 | Set Device to current |
just want to say thank @LuKePicci and @papampi i feel like this is a great acomplishment for me ive been trying to get this to work for ever and not really knowing anything i have lurned so much Thanks |
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
The text was updated successfully, but these errors were encountered: