getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
374 stars 156 forks source link

Display Bug #106

Closed giveen closed 10 years ago

giveen commented 10 years ago

I run a Thunder -x3 (28MH/s) and a Black Widow (14MH/s) for a total of 42MH/s. The Thunder is Zus0 and the BW is the Zus1 on the display. Hashing is fine but display is not doing it right.

In the first image, at the top, you can see Pool Rate is pretty close, not a big deal, but if you look down at device info, it shows it a much larger numbers.

hash1_bug

hash2_bug

PartTimeLegend commented 10 years ago

Try running the following in terminal.

cd /var/www/minera sudo git fetch --all sudo git reset --hard origin/master sudo ./upgrade_minera.sh

giveen commented 10 years ago

Done that, I'm already on the latest On Oct 4, 2014 2:11 PM, "Antony Bailey" notifications@github.com wrote:

Try running the following in terminal.

cd /var/www/minera sudo git fetch --all sudo git reset --hard origin/master sudo ./upgrade_minera.sh

— Reply to this email directly or view it on GitHub https://github.com/michelem09/minera/issues/106#issuecomment-57917041.

PartTimeLegend commented 10 years ago

What miner are you running?

giveen commented 10 years ago

Bfgminer. On Oct 4, 2014 2:57 PM, "Antony Bailey" notifications@github.com wrote:

What miner are you running?

— Reply to this email directly or view it on GitHub https://github.com/michelem09/minera/issues/106#issuecomment-57918288.

michelem09 commented 10 years ago

We need the command line you use to run bfgminer, I think you are missing the chips setting or you are using a wrong one.

You need to know how many chips have each single device and set them according, so for example you should have:

bfgminer --scrypt -S zus:X --set zus:chips=64 -S zus:Y --set zus:chips=128

For X3 should be 128 and for BlackWidow 64, but you should look at them because I don't really know how many chips have.

giveen commented 10 years ago

--set zus:clock=328 --set zus:chips=192 --scrypt I had it like this because I think I was using 'zus:all' but removed it.

I was taught from darkwinde (the original bfgminer port before official support) that you add the total amount of chips. Perhaps things are different with official support.

I've changed it now to -S zus:/dev/ttyUSB1 --set zus:chips=64 -S zus:/dev/ttyUSB0 --set zus:chips=128

Overall hashrate is now displaying correctly, down from 100MH/s to 44MH/s, but individual display is still off.

hash1_bug

hash2_bug

michelem09 commented 10 years ago

At this point I can confirm you it's not a MInera issue, cause the hardware hashrates come directly from bfgminer without any parsing/processing by Minera. Please check you put the right chips numbers or try to adjust the clocks, you should try to post something on bfgminer forum too. Feel free to reopen it if you need.

giveen commented 10 years ago

Just to close this up, it was an input error on my part. I talked to the bfgminer people and changed my code to this

--set zus:clock=328 --set zus@/dev/ttyUSB0:chips=64 --set zus@/dev/ttyUSB1:chips=128 --set zus:all

I also had USB0 and USB1 information backwards, as USB0 was the 64 (Black Widow) and the USB1 was the Thunder-x3

This corrected all display issues.

michelem09 commented 10 years ago

Thanks for feedback! As you can see configuring the right chips is absolutely needed for these devices to display a correct hardware hashrate