Bitcoin Forum
April 19, 2024, 02:40:41 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 »
  Print  
Author Topic: BTCMiner - Open Source Bitcoin Miner for ZTEX FPGA Boards, 215 MH/s on LX150  (Read 161483 times)
Nachtwind
Hero Member
*****
Offline Offline

Activity: 700
Merit: 507



View Profile
July 20, 2012, 11:43:02 PM
 #461

Totally stupid question about the miner: Does it change the Mhz also upwards? I only see the speed increasing after starting it and then lowering it to a stable value it holds for days in a row, ignoring outside temperature or error rate..
Is that normal behaviour or is there a chance to make it increase speed by itself?
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713537641
Hero Member
*
Offline Offline

Posts: 1713537641

View Profile Personal Message (Offline)

Ignore
1713537641
Reply with quote  #2

1713537641
Report to moderator
vv01f
Sr. Member
****
Offline Offline

Activity: 314
Merit: 250


View Profile
July 21, 2012, 07:35:35 PM
 #462

ztex already discribed that in his threads, hashrate will be adjusted as error rate changes. Try typing c to set error rate to 0 and hashrate will rise and adjust again as errors occure. It will not make hashing more effective after all.

donations to me please send via bitcoin 1vvo1FDwSAwNdLVA1mFkM7v76XPZAAUfb
a good European exchange: bitcoin.de (ref-link)
Nachtwind
Hero Member
*****
Offline Offline

Activity: 700
Merit: 507



View Profile
July 22, 2012, 05:59:32 PM
 #463

ztex already discribed that in his threads, hashrate will be adjusted as error rate changes. Try typing c to set error rate to 0 and hashrate will rise and adjust again as errors occure. It will not make hashing more effective after all.

umm.... "type c"? i had so far the feeling the application wasnt exactly interactive.. and as of now i cant see anything change when typing c.

Thing just is it makes SOME difference here.. it adjusts up to 220MH when starting at night and keeping that way at colder temperatures but drops then, at day to 205 to 210MH at day without ever raising again when it gets colder.. thats what i find a bit odd.
randomguy7
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
July 22, 2012, 06:33:39 PM
 #464

...
umm.... "type c"? i had so far the feeling the application wasnt exactly interactive.. and as of now i cant see anything change when typing c.
...

Press enter after pressing c Wink.
vv01f
Sr. Member
****
Offline Offline

Activity: 314
Merit: 250


View Profile
July 22, 2012, 06:41:35 PM
 #465

Jap, confirmation via Enter is needed.

 Probavly ztex can state why the adjustment doesnt work like you - and also I would have - thougt.
You might solve it by patching (already was done) for repeatingly auto-reset error counters or a named pipe that resets via a cronjob or daemon-script.

donations to me please send via bitcoin 1vvo1FDwSAwNdLVA1mFkM7v76XPZAAUfb
a good European exchange: bitcoin.de (ref-link)
Nachtwind
Hero Member
*****
Offline Offline

Activity: 700
Merit: 507



View Profile
July 22, 2012, 08:26:43 PM
 #466

uh even after c + enter nothing happens 0o

though running the miner in cluser mode (-m c) seems to make it recalc the mhz time and again, though to a much lower hashing rate overall...



meh ><
ztex (OP)
Donator
Sr. Member
*
Offline Offline

Activity: 367
Merit: 250

ZTEX FPGA Boards


View Profile WWW
July 23, 2012, 08:09:15 AM
 #467

Totally stupid question about the miner: Does it change the Mhz also upwards? I only see the speed increasing after starting it and then lowering it to a stable value it holds for days in a row, ignoring outside temperature or error rate..
Is that normal behaviour or is there a chance to make it increase speed by itself?

The frequency calculation is is based on the maximum error rates. Use the "c" command (in cluster mode) in order to reset this.

BTW, those who want to periodically reset the counters (if it is done too often it reduces the overall hash rate, once per day is ok) just need to enter a crontab entry that sends the "c" command to the secondary command input (parameter -c, usually a named pipe):

Code:
00 22	* * 1-7		/bin/bash -c "echo d > <BTCMiner FIFO>"

Nachtwind
Hero Member
*****
Offline Offline

Activity: 700
Merit: 507



View Profile
July 23, 2012, 08:17:34 AM
 #468

Ohh, now i get it. Well, since i dont run the cluster mode i will simply keep to my old habit of restarting the miner midday and midnight ><
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
July 24, 2012, 10:46:54 AM
 #469

festure request:


Hi i was wondering i you could add a line to the output of BTCMiner. I would really want it to display the pool I'm currently mining at Smiley

ztex (OP)
Donator
Sr. Member
*
Offline Offline

Activity: 367
Merit: 250

ZTEX FPGA Boards


View Profile WWW
July 25, 2012, 08:44:11 AM
 #470

Hi i was wondering i you could add a line to the output of BTCMiner. I would really want it to display the pool I'm currently mining at Smiley

This information does not fit into a line because pool server varies from minter to miner.

The currently used pool can be derived from the messages. If a pool server is not available it is disabled for 60s, the next one is used and a warning is printed. If you see no such messages the primary pool is used.

The currently used pools are also reported in the block log.


gr0bi42
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile WWW
July 31, 2012, 01:10:58 PM
 #471

Hi,

I've added some nice feature to BTCMiner. Most wanted feature by myself: a builtin HTTP-Server to monitor my FPGA-Cluster via Webbrowser (iPad@Home and iPhone@Street).

New Features:
- builtin HTTP-Server (select with -m h)
- some very basic and braindead builtin webpages to show cluster state
- pool switching via http
- autoreset error counter (option -ac)
- do not log to file (option -nolog). Important to me, because the cluster is running from a tiny embedded ssd.
- some fixes

Source and more infos: https://github.com/gr0bi42/BTCMiner

Builtin webpages are: /pools, /miner and /json. All other URL's are forwarded to the filesystem (local dir). Maybe someone starts more fancy webpages using /json, Javascript...

Commandline options: -host, -user and -pass are gone. Use -o <poolname> <poolurl> <user> <pass> instead. Multiple -o enable the pool switching via http.

Example:
Code:
java -cp ZtexBTCMiner.jar BTCMiner -m h -id fpga1 -p 8001 -o Deepbit http://pit.deepbit.net:8332 user pass -o Slush http://api.bitcoin.cz:8332 user pass -b Eligius http://ra.mining.eligius.st:8337 1Btf3BqUegfe5iFdWsgfBf1Ew3YsAvsrLT x

URL to open in browser:
Code:
http://<your ip address here>:8001/pools

Donations are welcome: 1Btf3BqUegfe5iFdWsgfBf1Ew3YsAvsrLT
gr0bi42
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile WWW
July 31, 2012, 04:51:02 PM
 #472

Hi,

here comes the binary for the "lazy" people. Feel free to trust me, if not, compile the source by yourself.

You can find the "Ready-to-use" jar-file in the Download section on Github: https://github.com/gr0bi42/BTCMiner/downloads

The direct Link: https://github.com/downloads/gr0bi42/BTCMiner/ZtexBTCMiner_20120731.jar

Donations are welcome: 1Btf3BqUegfe5iFdWsgfBf1Ew3YsAvsrLT
antirack
Hero Member
*****
Offline Offline

Activity: 489
Merit: 500

Immersionist


View Profile
August 01, 2012, 12:25:44 PM
Last edit: August 01, 2012, 03:08:58 PM by antirack
 #473

Here is something I wanted to ask for a long time. What happens if BTCMiner outputs the following. Is it stuck in an unlimited loop and no work (on the other boards in the cluster) gets done?

Code:
(Re)Scanning bus ... 
ztex_ufm1_15y1-6401-01-03: New device: bitfile=ztex_ufm1_15y1   f_default=200.00MHz  f_max=248.00MHz  HpC=1.0H
ztex_ufm1_15y1-6401-01-03: MAC address: 0004a36df2b5
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Retrying it ...
Warning: High speed FPGA configuration failed, trying low speed mode:Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Trying low speed mode
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning (try 1): error sending control message: Connection timed out
ztex_ufm1_15y1-6401-01-03: Error configuring FPGA 0: bus=001  device=123: sendFpgaData: error sending control message: Connection timed out
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Retrying it ...
Warning: High speed FPGA configuration failed, trying low speed mode:Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Trying low speed mode
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222): Retrying it ...
ztex_ufm1_15y1-6401-01-03: Error configuring FPGA 1: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high (size=4220313 ,  0 bytes got lost;  checksum=3 , should be 3;  INIT_B_HIST=222)
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Retrying it ...
Warning: Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Retrying it ...
Warning: High speed FPGA configuration failed, trying low speed mode:Error uploading bitstream: FPGA configuration failed: DONE pin does not go high, possible USB transfer errors (INIT_B_HIST=222): Trying low speed mode

Edit: Clarified my question. I'd like to know if the rest of the cluster is basically dead when this happens or if there is still work done in the background.
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
August 01, 2012, 03:02:23 PM
 #474

Nothing will Happen. U Need to Report the board to get it working again

ztex (OP)
Donator
Sr. Member
*
Offline Offline

Activity: 367
Merit: 250

ZTEX FPGA Boards


View Profile WWW
August 02, 2012, 07:33:17 AM
 #475

Edit: Clarified my question. I'd like to know if the rest of the cluster is basically dead when this happens or if there is still work done in the background.

In rescan mode no results are read our and no work is submitted. But the FPGA's are still computing. If rescanning only takes a few seconds usually no computation time is lost.

BTW, the board 0004a36df2b5 was not produced by me. The errors are probably caused by an power supply problem.  You should first check whether the output voltages of the voltage regulators are o.k.


ztex (OP)
Donator
Sr. Member
*
Offline Offline

Activity: 367
Merit: 250

ZTEX FPGA Boards


View Profile WWW
August 02, 2012, 07:38:25 AM
 #476

I've added some nice feature to BTCMiner. Most wanted feature by myself: a builtin HTTP-Server to monitor my FPGA-Cluster via Webbrowser (iPad@Home and iPhone@Street).

New Features:
- builtin HTTP-Server (select with -m h)
- some very basic and braindead builtin webpages to show cluster state
- pool switching via http
- autoreset error counter (option -ac)
- do not log to file (option -nolog). Important to me, because the cluster is running from a tiny embedded ssd.
- some fixes

Source and more infos: https://github.com/gr0bi42/BTCMiner

Thanks for the work. I plan to transfer some of the new features (not all, e.g. -host, -user and -pass are retained for backward compatibility, logging is mandatory for error tracking) in to the main branch. Especially I like the HTTP server.

robertrex
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 05, 2012, 12:19:02 PM
 #477

Is there any guide about how got get the USB drivers/connection to work?

The BTC Miner says "No device found" and in devices it says "Unkonown device"
OS: Win 7 x64

/Robert
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
August 05, 2012, 02:30:08 PM
 #478

there is and its easy:
DL the Ztex SDK and let windows search for the driver of that unknown device (you have to point it to the ztex directory -> i dont remeber the full path, but it had something to do with libusb ..... <- Smiley

robertrex
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 05, 2012, 07:45:19 PM
Last edit: August 05, 2012, 07:58:18 PM by robertrex
 #479

there is and its easy:
DL the Ztex SDK and let windows search for the driver of that unknown device (you have to point it to the ztex directory -> i dont remeber the full path, but it had something to do with libusb ..... <- Smiley

What am I missing... ?

I try to update the driver to the Unknownd device with the driver in the SDK "ztex-120412\ztex\libusb-win32\ztex.inf"

https://dl.dropbox.com/u/704649/ztex%20driver.png

but only get a message that
"The folder doesn't contain any driver that is campatible with the device. If there is a driver in the folder, check that the driver is designed för Windows x64 based computers."

https://dl.dropbox.com/u/704649/ztex%20driver2.png

Any suggestions...?
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
August 05, 2012, 08:01:37 PM
Last edit: August 05, 2012, 08:17:26 PM by BR0KK
 #480

Did you install libusb files correctly?


It has to look like this:

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!