yuzi-co / Forager

Advanced multi-algo profit switching miner
GNU General Public License v3.0
24 stars 14 forks source link

Gminer 1.31 with grin31 support #85

Closed alucard20724 closed 5 years ago

alucard20724 commented 5 years ago

Gminer 1.31 with grin31 support

alucard20724 commented 5 years ago

cuckatoo31 not displaying, nor recording hashrate in forager. forager is just showing 0 h.

gminer 1.31 and nicehash shows that i'm mining 0.65 G/s for 1080ti, which should show up as 0.6 h on forager, as cuckaroo29 shows up as 7 G/s on gminer which is 7h on forager.

yuzi-co commented 5 years ago

G/s = Graphs/s like Sol/s for Equihash which both are like Hash/s

its not Gigahash )

alucard20724 commented 5 years ago

i'm just posting what is displayed in the miner window. i didn't say gigahash. what i posted are what the miner reports and what nicehash reports. Both gminer and nicehash reports G/s...... not GH/s nor Ghash/s

yuzi-co commented 5 years ago

I understand. Basically it's Graphs. which is like Solutions for Equihash and Hashes for all others. Forager is displaying all of them as h/s for simplicity.

alucard20724 commented 5 years ago

forager needs to be adjusted to show less than 1 G/s, which is less than 1 h/s, otherwise cuckatoo31 and other miners of similar speeds will not work with forager.

maybe changing forager to show 0.0 h/s or 0.00 h/s

yuzi-co commented 5 years ago

The numbers from the API are saved in decimal format and displayed with 4 digit precision. Can you verify what do you see in the API when the miner is running? try http://127.0.0.1:4068/stat and post here

alucard20724 commented 5 years ago

{"uptime":611,"server":"stratum://grincuckatoo31.usa.nicehash.com:3372","user": "itsasecret-NVIDIA","algorithm":"Cuckatoo 31 \"Grin\"","electricity":0.032,"total_accepted_shares":2,"total_rejected_shares":0,"devices":[{"gpu_id":0,"bus_id":"0000:01:00.0","name":"MSI GeForce GTX 1080 Ti 11GB","speed":0.60,"accepted_shares":2,"rejected_shares":0,"temperature":62,"temperature_limit":90,"power_usage":192}],"speedRatePrecision":2,"speedUnit":"G/s","powerUnit":"G/W"}

yuzi-co commented 5 years ago

So speed is reported as "speed":0.60, this is exactly what Forager records

alucard20724 commented 5 years ago

during benchmarking, it's displaying 0 and never finishing the benchmark.

alucard20724 commented 5 years ago

image

alucard20724 commented 5 years ago

image 1

alucard20724 commented 5 years ago

it looks like the HashRate file is never being created because the LocalSpeed is being displayed as "0 h".

yuzi-co commented 5 years ago

Seems so, and I fail to understand why it doesn't detect the hashrate. There should be no problem reading and recording any decimal number, no matter how small

Assuming the miner is reporting the hashrate, I would say that maybe the APi request fails, but I that you have benchmarks for Cuckaroo29 for the same miner, so it should work... Can you try setting in config.ini ForceDynamicPorts = Enabled

alucard20724 commented 5 years ago

i did the ForceDynamicPorts = Enabled in config.ini and restarted forager. same results.

maybe changing the localSpeed to display 0.0 h instead of 0 h could possibly fix

yuzi-co commented 5 years ago

The display is automatically formatted. If it shows 0 h, then it didn't detect speed for some reason

alucard20724 commented 5 years ago

I recommend doing a version release to 19.02. I just noticed that version 19.01.1 does not have the "Gminer" api in the include.ini file. Didn't notice this before because all the version of gminer work without the "gminer" api. I'd rather work with a baseline rather than an ever changing master file

yuzi-co commented 5 years ago

I wasn't planning to post a release until I finish a big rewrite that I am working on, but there you are :)

alucard20724 commented 5 years ago

thanks... once i get time to play with it, hopefully it will resolve the problem.

I'm starting to suspect that there may be issues with gminer api, when i added the gminer api to the include.ini file, then by invidia system wouldn't display the hashrate for cuckaroo29 in forager, however when i removed it, forager would display the hashrate for cuckaroo29. regardless of either setup, neither would display the hashrate in forager from cuckatoo31.. This is why i'm starting to suspect the gminer api.

alucard20724 commented 5 years ago

@yuzi-co it works with version 19.02.. so i'm closing this out.

alucard20724 commented 5 years ago

@yuzi-co it works with version 19.02.. so i'm closing this out.