Bitcoin Forum
December 02, 2016, 06:17:02 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 »
  Print  
Author Topic: X6500 Custom FPGA Miner  (Read 207951 times)
shad
Full Member
***
Offline Offline

Activity: 148


View Profile
February 08, 2012, 06:56:51 PM
 #561

had MPBM running over night without problems on openWRT



@Shad:
 Very exciting news!!! That would be awesome (mining via an X6500 through a router is a huge WIN in terms of energy savings!)

there is some work to do to make it perfect, daemon(ize) it, webpage or sendmail option to keep an eye on it,
i reduced powerusage of the hole minig system about 11Watt with switching from celeron900 to arm-router

15dUzJEUkxgjrtcvDSdsEDkXu7E7RCbNN3
1480702622
Hero Member
*
Offline Offline

Posts: 1480702622

View Profile Personal Message (Offline)

Ignore
1480702622
Reply with quote  #2

1480702622
Report to moderator
1480702622
Hero Member
*
Offline Offline

Posts: 1480702622

View Profile Personal Message (Offline)

Ignore
1480702622
Reply with quote  #2

1480702622
Report to moderator
1480702622
Hero Member
*
Offline Offline

Posts: 1480702622

View Profile Personal Message (Offline)

Ignore
1480702622
Reply with quote  #2

1480702622
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480702622
Hero Member
*
Offline Offline

Posts: 1480702622

View Profile Personal Message (Offline)

Ignore
1480702622
Reply with quote  #2

1480702622
Report to moderator
1480702622
Hero Member
*
Offline Offline

Posts: 1480702622

View Profile Personal Message (Offline)

Ignore
1480702622
Reply with quote  #2

1480702622
Report to moderator
fizzisist
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
February 08, 2012, 09:55:59 PM
 #562

@Fizzisist:
Sorry to bombard you with so many questions; is what theseven proposing possible and will it cause any damage to the unit to draw power from the molex connector while powering the unit from the barrel connector? I'm using the 12v 2a barrel connector on cablesauraus's website.

I think this is a fantastic idea, and it appears to work perfectly. I took the Molex-to-fan adapter that came with a fan and switched the 12V pin over to 5V according to this guide and it works like a charm when powering the board from Cablesaurus' 12V wall wart. I don't see any way that this could be harmful to the board. Here's a pic:



Note the big black mark on that fan connector to remind me that the 5V and 12V rails are swapped.

nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 09, 2012, 12:23:59 AM
 #563

@Fizzisist and Theseven:

You guys are freaking great! I just did the 4-molex change and things are looking good! No more extra clunk AC molex adapter to power my fan! If only putting together a enclosure were so easy XD! Thanks once again!!!

@Fizzisist:
Sorry to bombard you with so many questions; is what theseven proposing possible and will it cause any damage to the unit to draw power from the molex connector while powering the unit from the barrel connector? I'm using the 12v 2a barrel connector on cablesauraus's website.

I think this is a fantastic idea, and it appears to work perfectly. I took the Molex-to-fan adapter that came with a fan and switched the 12V pin over to 5V according to this guide and it works like a charm when powering the board from Cablesaurus' 12V wall wart. I don't see any way that this could be harmful to the board. Here's a pic:
Note the big black mark on that fan connector to remind me that the 5V and 12V rails are swapped.
coblee
Donator
Legendary
*
Offline Offline

Activity: 1078


firstbits.com/1ce5j


View Profile WWW
February 09, 2012, 01:47:09 AM
 #564

I think we can all agree that MPBM is awesome! I think MPBM will become our recommended miner, and we will support and develop it into the future. We'll most likely be phasing out development on x6500-miner over time.

Good decision. With the normal x6500 miner, I was only able to do 355 mhash/s with the 200mhz bitstream. With MPBM, it's showing me 393 mhash/s for the past day. This is running on a Mac and measured using Eclipse's share count. I'm not sure why it's so much better, but I'm not complaining!

nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 09, 2012, 02:16:15 AM
 #565

@Coblee:
What kind of cooling setup do you have and what getwork interval did you have with the old miner? I epoxied my heatsinks, have an active 120mm fan over my X6500 and ran it with a getwork (-i) of 14 getting. I'm finding I get a steady 390-410mh/s (but usually 400). I 'm going to try out MPBM on the weekend when I get a chance.

Good decision. With the normal x6500 miner, I was only able to do 355 mhash/s with the 200mhz bitstream. With MPBM, it's showing me 393 mhash/s for the past day. This is running on a Mac and measured using Eclipse's share count. I'm not sure why it's so much better, but I'm not complaining!
coblee
Donator
Legendary
*
Offline Offline

Activity: 1078


firstbits.com/1ce5j


View Profile WWW
February 09, 2012, 03:11:24 AM
 #566

@Coblee:
What kind of cooling setup do you have and what getwork interval did you have with the old miner? I epoxied my heatsinks, have an active 120mm fan over my X6500 and ran it with a getwork (-i) of 14 getting. I'm finding I get a steady 390-410mh/s (but usually 400). I 'm going to try out MPBM on the weekend when I get a chance.

Good decision. With the normal x6500 miner, I was only able to do 355 mhash/s with the 200mhz bitstream. With MPBM, it's showing me 393 mhash/s for the past day. This is running on a Mac and measured using Eclipse's share count. I'm not sure why it's so much better, but I'm not complaining!

I have epoxied my heatsinks also and have an active 120mm fan over 2 stacked x6500. I have getwork of 15. At first I thought the epoxy wasn't put on correctly so heat wasn't dissipating properly. But seeing that I'm getting much better results with MPBM makes me think the default x6500 miner wasn't efficient. It might also just be not efficient on a Mac.

nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 09, 2012, 06:23:15 AM
 #567

@ Coblee:

I tried cooling from the side (i.e making a wind tunnel) but I found that I still got a lot of errors after a while (both dupes and stales after 6+ hours were above 4%). Now I've gotten some criticism that I put on too much epoxy / thermal grease (I used both, see the pictures from page 28) but I found that cooling from the side just wasn't as efficient as cooling from directly above (*think of the way CPUs are cooled, fan are placed directly on top of the heat sinks and blow cool air directly onto the heatsink as well as the rest of the on-board components). With this method of cooling I've managed to successfully get around 380 - 420 mh/s as displayed by the miner. I've noticed that my pool mh/s rate went from 370-500 mh/s varying every hour and  number of stales & shares. I also tend to end up with around 0.3-0.5% stales and shares after 24 /48 hours. I would give the over the top method of cooling a try to see if it helps with the cooling for both of the units (*i.e maybe get two 120mm fans, one for each X6500). You may want to consider powering your fans the way mentioned in the post above (shoutouts to Theseven and Fizzisist for pointing out that the onboard molex can supply power if you are using a barrel connector).

Another thing I've found with the X6500 is that it does not like to be on a shared USB port or hub. I tried syncing my phone while mining and it dropped my hashing speed to 250-300 mh/s each time and i had to unplug my X6500 / reload the bitstream and then re-run the miner to get back to +400 mh/s speeds. Speeds also seemed to suffer when I tried using an angled mini USB connector; it admittedly was quite old and was meant for an old motorola razr.

Hope this info helps you out! Let me know if the over the top method of cooling helps with your hashing power!


Cheers,

nbtcminer


I have epoxied my heatsinks also and have an active 120mm fan over 2 stacked x6500. I have getwork of 15. At first I thought the epoxy wasn't put on correctly so heat wasn't dissipating properly. But seeing that I'm getting much better results with MPBM makes me think the default x6500 miner wasn't efficient. It might also just be not efficient on a Mac.
tgmarks
Donator
Hero Member
*
Offline Offline

Activity: 490


View Profile
February 09, 2012, 03:52:41 PM
 #568

@ Coblee:

With this method of cooling I've managed to successfully get around 380 - 420 mh/s as displayed by the miner. I've noticed that my pool mh/s rate went from 370-500 mh/s varying every hour and  number of stales & shares. I also tend to end up with around 0.3-0.5% stales and shares after 24 /48 hours.

I get these same numbers with a single 80mm fan directly on top of the factory heatsinks without changing anything like thermal epoxy.

nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 09, 2012, 05:06:19 PM
 #569

@tgmarks:
That's great! Whats the CFM rating for your fan? I always found the 80mm fans to be a bit loud (thats why I went with a 120mm).

Cheers,

nbtcminer

I get these same numbers with a single 80mm fan directly on top of the factory heatsinks without changing anything like thermal epoxy.
nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 11, 2012, 05:20:22 PM
 #570

Hey All!


Just wanted to make a post about MPBM and how I got it working for my X6500. Hope this helps others who want to test out MPBM and can even help tweak it for the X6500:

(*Note: This guide is in draft form and there may some bugs I have to work out. Keep in mind I'm doing this for the sake of the X6500 and getting more people to use MPBM so that we can make it work better.)

What I'm running:
-Windows 7 64-Bit
- 1 x X6500

Here what you'll need (I going to assume you have version 0.3 of the standard miner already):
- Theseven's Modular Python Bitcoin Miner. You can get it here: https://github.com/TheSeven/Modular-Python-Bitcoin-Miner
- Python 2.6.7 (MPBM is now compatible with it and it it used for the standard X6500 miner). You can get it here: http://www.activestate.com/activepython/downloads
- FTDI D2XX Drivers for the X6500. (It'll work and won't break the old standard X6500 miner). You can get it here: http://www.ftdichip.com/Drivers/D2XX.htm
- PyUSB 1.6 and 1.0a (I have 1.6 installed so I can run the standard miner and 1.0a get "USB" directory should copied into the MPBM miner directory (i.e C:\MPBM\USB) You can get both: Here (1.6) http://bleyer.org/pyusb/ and 1.0a here http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download
- Windows curses for python. You can get it here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
- Ztexmerge 200mhz Bitstream (or lower if your card can't handle it. Place the Bitstream file "ztexmerge_200mhz.bit" into "mpbm\worker\fpgamining\".). You can get it Here:http://fpgamining.com/bitstreams/


Instructions Con't:



Once you've gone through all this, you'll now need to configure MPBM for your X6500 and mining pool:

1.) Goto the directory root directory of MPBM (i.e C:\MPBM) and locate a file titled "default_config.py". Copy this file into the folder again and rename it "config.py"
2.) Open up the “config.py” file with a text editor (notepad or the python editor)
3.) Scroll down to the # List of workers # part of the file. This is where you’ll enter your information in. Look for the following line:
Code:
  # X6500 hotplug worker
  { \
    # Worker module
    "type": worker.fpgamining.x6500hotplug.X6500HotplugWorker, \
  }, \
4.) You going to want to change this to:
Code:
  # Single X6500 worker
  { \
    "type": worker.fpgamining.x6500.X6500Worker, \
    "deviceid": "EnterYourSerialHere", \
    "useftd2xx": True, \
    "firmware": "worker/fpgamining/ztexmerge_200mhz.bit", \
    "takeover": True, \
#    "uploadfirmware": True, \
  }, \
(Thanks to Theseven and  Coblee for figuring this one out)

At this point you should test out MPBM to make sure it's working. Doing so will do 2 things:
1.)   Ensure that you installed all the right software and that you’ve configured your miner correctly.
2.)   Mining for a while to test (10-30mins) will generate some BTC for the developer of the software (Theseven) so he can continue developing the software. Or you can simply donate some BTC to: 13NuRX6rdE4Do4vddzhfKK7FqmGSTMcjYh

To run the MPBM software you’ll need to do the following:
1.) In the “Search for Programs and Files” field type: CMD. Click and open the program.
2.) From here you’ll need to right click on the top bar of the CMD window and select :”Properties”.
3.) Another window titled “Windows Command Processor” Properties should appear, select the “Layout” tab.
4.) You’ll see the following here: “Screen Buffer Size” and “Window Size”, change the width to “175” for both and the height to “40” for both.
5.) Click on the “ok” button and go back to the command prompt.

At this point you just simply need to get into the MPBM directory and type: miner.py
nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 11, 2012, 05:20:58 PM
 #571

Instructions Continued: How to configure MPBM for your pool:

Once you've tested MPBM to be working, you can now enter your own pool information:

1.) Open up the "config.py" file and scroll down to the # List of work sources # section of the file.
2.) From here you'll need to look for the following code:
Code:
 # Sample pool entry (BTCMP)
      # Please leave this entry active to support further development of this software (see above)
      { \
        # Pool interface module
        "type": pool.theseven.bcjsonrpc.JSONRPCPool, \
        # Display name of the pool (default: host name)
        "name": "BTCMP (demo)", \
        # Priority (default: 1)
        "priority": 10, \
        # Host name of the pool
        "host": "rr.btcmp.com", \
        # HTTP port of the pool (default: 8332)
        "port": 7332, \
        # HTTP authentication user name (default: no authentication)
        "username": "TheSeven.worker", \
        # HTTP authentication password (default: empty)
        "password": "TheSeven", \

You can choose to leave this pool active (there are two more under this entry) or modify it to your own needs. Here what you should change it to:
Code:
{ \
        # Pool interface module
        "type": pool.theseven.bcjsonrpc.JSONRPCPool, \
        # Display name of the pool (default: host name)
        "name": "PoolName ", \
        # Priority (default: 1)
        "priority": 1000, \
        # Host name of the pool
        "host": "btcguild.com", \
        # HTTP port of the pool (default: 8332)
        "port": 8332, \
        # HTTP authentication user name (default: no authentication)
        "username": "Miner_Name", \
        # HTTP authentication password (default: empty)
        "password": "Password", \

Hit the save button and restart the miner.py to see if everything is working.

I hope that this point you’ve all got it working. If not, feel free to post here or in the main MPBM thread for help.


Cheers,
nbtcminer
TheSeven
Hero Member
*****
Offline Offline

Activity: 504


FPGA Mining LLC


View Profile WWW
February 11, 2012, 06:07:46 PM
 #572

Thanks a lot for writing this guide!

Just some quick corrections:

- PyUSB 1.6 and 1.0a (I have 1.6 installed so I can run the standard miner and 1.0a get "USB" directory should copied into the MPBM miner directory (i.e C:\MPBM\USB) You can get both: Here (1.6) http://bleyer.org/pyusb/ and 1.0a here http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download
PyUSB (I'll call that 1.6 thing PyD2XX for clarity) isn't needed if you use the "useftd2xx": True and "takeover": False flags.
Also, PyUSB 1.0.0a isn't strictly neccessary, PyUSB 0.4.3 should work as well (and is shipped with some linux distributions, so this might be easier for some people).

- Ztexmerge 200mhz Bitstream (or lower if your card can't handle it. Place the Bitstream file "ztexmerge_200mhz.bit" into "mpbm\worker\fpgamining\".). You can get it Here:http://fpgamining.com/bitstreams/
If you save it as "x6500.bit" instead, you won't need to specify the firmware path in the configuration file.

4.) You going to want to change this to:
Code:
 # Single X6500 worker
  { \
    "type": worker.fpgamining.x6500.X6500Worker, \
    "deviceid": "EnterYourSerialHere", \
    "useftd2xx": True, \
    "firmware": "worker/fpgamining/ztexmerge_200mhz.bit", \
    "takeover": True, \
#    "uploadfirmware": True, \
  }, \
"takeover" might not work correctly when using D2XX. This combination is just an experimental hack. I'd probably remove the takeover flag and, if you ever get "device is in use" issues after MPBM was killed in a non-clean fashion, just re-plug the boards.
Commenting "uploadfirmware" here but telling people to place the bit file in the firmware folder might cause some confusion.
Also, just using the hotplug worker might be better (it supports the same flags, but you might need to set "takeover": False explicitly if PyUSB isn't installed), because it currently has better error recovery mechanisms.

1.) In the “Search for Programs and Files” field type: CMD. Click and open the program.
Might be worth mentioning Windows+R. Or even better, open the command prompt in the correct directory directly by shift-clicking on the directory and choosing "open command prompt here" (only on win7).

My tip jar: 13kwqR7B4WcSAJCYJH1eXQcxG5vVUwKAqY
fizzisist
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
February 11, 2012, 10:19:04 PM
 #573

Thanks nbtcminer for this thorough guide! This will be very helpful for everyone.

TheSeven, a correction to your corrections. Wink The default path for the firmware is mpbm\worker\fpgamining\firmware\x6500.bit.

I should point out that this guide is best if you want to be able to use x6500-miner and mpbm side by side on the same windows system.
I'd be curious to see thirdlight's non-useftd2xx windows guide, which he says will break the x6500-miner dependencies. Using pyusb instead of "PyD2XX" should be a bit faster and less prone to bugs, I believe. Also, coblee's Mac guide would be sweet!

Maybe we should create a wiki at the Github repo? nbtcminer, would you mind having your guide included there (after including TheSeven's corrections)?

nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 11, 2012, 10:31:26 PM
 #574

@ Fizzisist:

I don't mind, go for it!


Cheers,

nbtcminer

Thanks nbtcminer for this thorough guide! This will be very helpful for everyone.

TheSeven, a correction to your corrections. Wink The default path for the firmware is mpbm\worker\fpgamining\firmware\x6500.bit.

I should point out that this guide is best if you want to be able to use x6500-miner and mpbm side by side on the same windows system.
I'd be curious to see thirdlight's non-useftd2xx windows guide, which he says will break the x6500-miner dependencies. Using pyusb instead of "PyD2XX" should be a bit faster and less prone to bugs, I believe. Also, coblee's Mac guide would be sweet!

Maybe we should create a wiki at the Github repo? nbtcminer, would you mind having your guide included there (after including TheSeven's corrections)?
thirdlight
Sr. Member
****
Offline Offline

Activity: 281



View Profile
February 12, 2012, 09:53:10 AM
 #575

I'd be curious to see thirdlight's non-useftd2xx windows guide
I'll try to put something together a bit later.  Smiley
check_status
Full Member
***
Offline Offline

Activity: 196


Web Dev, Db Admin, Computer Technician


View Profile
February 13, 2012, 02:18:39 AM
 #576

Would these waterblocks work?
http://www.ebay.com/itm/RC-180A-Watercool-Brushless-Motor-ESC-SEAKING-SL165-/250874714680?pt=Radio_Control_Parts_Accessories&hash=item3a694c5a38#ht_4816wt_1144

For Bitcoin to be a true global currency the value of BTC needs always to rise.
If BTC became the global currency & money supply = 100 Trillion then ⊅1.00 BTC = $4,761,904.76.
P2Pool Server List | How To's and Guides Mega List |  1EndfedSryGUZK9sPrdvxHntYzv2EBexGA
nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 13, 2012, 01:50:11 PM
 #577


@ check_status:

There was a post by Langyi the hardware guy for the x6500 who said that watercooling would probably work but you would still need some air cooling to keep the other components cool.
nbtcminer
Sr. Member
****
Offline Offline

Activity: 247


View Profile
February 14, 2012, 03:34:48 PM
 #578

@Fizzisist:

Any update on when Rev 3.0 will be out and available?
nelisky
Legendary
*
Offline Offline

Activity: 1554


View Profile
February 14, 2012, 03:38:31 PM
 #579

watching
fizzisist
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
February 14, 2012, 09:54:02 PM
 #580

@Fizzisist:

Any update on when Rev 3.0 will be out and available?

We're looking at about 3 weeks right now, if everything goes perfectly. Unfortunately, nothing ever does Wink, so let's call it 4 weeks. Smiley

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!