-
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_conf.json decode failure #161
Comments
It says: "No JSON object could be decoded" so I would like to see mph_conf.json contents Please attach also 1bash contents, not here, upload it on pastebin |
By intuition, may be something is going wrong with OC settings. Nothing has changed from previous versions that can cause such an error. |
I used to get something similar when it couldnt get BTC value |
Yeah, this happens when the string he expects to be a valid JSON it is not. At line 14 of mph_switch it try to load mph_conf.json. Any param below I highlited in bold can be the culprit: { |
hear is my mph_conf.json file |
Got it, will fix asap. Just to make sure, I would like to see your 1bash settings also, please share on pastebin. |
Probably you are using simple ALGO_SPECIFIC OC without having specified oc values for all other algos, will do something to default all those to globals like has already been done for WTM_SWITCHING and NO switching. |
Thank you very much, I see you have all needed settings so I found what was wrong. The fix is ready, a new PR is on its way. |
@snippy62 are you fine with testing latest patches from my branch? I would like to get the fix tested before merging. You should do: |
yes for sure |
it did work but im still running into the problem of over clock ive set my oc to be 150 and 1400 in my 1 bash in all location I can see to edit I can see when launching it applys the oc than in another spot after the miner launches that it resets to 0 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) 2152 pts/25 S+ 0:00 tail -n 0 -f /home/m1/NVOC/mining/nvoc_logs/screenlog.0 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.00025666 BTC/day (2.08 USD/day) |
just thinking has to do with what u were just fixing or the same area anyway |
Check again you mph_conf.json, you should have values for each algo, if you see any 0 check the related setting. The second setting with value 0, should be related to a different algo. |
its still being created as 0 for a lot of them i tryed to del the file and let it recreate it with no luck "output_dir": "/home/m1/NVOC/mining", |
These values matches correctly what you have in 1bash you linked. Are you sure the second round of setting is not due to an occurring switch to some coin for which you have set OC to 0? |
@snippy62, OC values for mph and nice switch are the lower case settings, make sure you set them correctly, the upper case values are for wtm and no switching. |
@LuKePicci , we should add a comment in 1bash so users dont get mixed up. Isnt it possible to merge them all into uppercase ? so nice and mph read from those too? |
Wasn't that comment there already? It is possible, but mph and nicehash use different algo names w.r.t. names used by WTM and nvOC. For example I can put ETHASH_*_OVERCLOCK into salfter-like switchers but nicehash is calling it "daggerhashimoto", if users search for daggerhashimoto I think they won't end up in setting the ETHASH_* stuff. Same thing for other algos, I don't remember which one. |
I think only nicehash uses daggerhashimoto, rest are same. |
sorry had to work today so i went through and placed a difrent value on each and found that the daggerhashimoto is what its taking the value from evan though im mining at Mining pool hub so i was able to fix the OC issue ...... and BTW i did see the comet that says uppercase and lowercase but me not knowing nice hash would of never guessed that daggerhashimoto was my etash and your trying to make simple for everyday user :-) |
Yes, salfter switchers used to have different settings, I think if @LuKePicci could find a way to unify all of them would be great so that users only need to make changes to one set of OC values. |
WTM-> Ethash WTM-> Zhash WTM-> CNHeavy WTM-> CryptoNightV7 WTM-> Lyra2REv2 and so on... how could I do even a bit of magic to unify something? For sure there should be ethash_CORE_OVERCLOCK and ethash_MEMORY_OVERCLOCK and ethash_POERLIMIT_WATTS linked to MPH'ethash, originally in 2.0 there was daggerhashimoto for all salfter switchers but at the cost of having both it should be clear. I will do my best adding some more info in 1bash to help users avoid confusion but I can't see any viable magic here. |
Too many ... never thought so ... |
Can I drop Blake_Vanilla ? I don't see anymore in mph... |
It looks like mph removed its coin |
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)
The text was updated successfully, but these errors were encountered: