Author

Topic: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net - page 168. (Read 409641 times)

sr. member
Activity: 384
Merit: 250
Do others get a lot of orphan blocks?
Both on GPU and now on FPGA I seem to generate as many orphans as good blocks

I get hardly any (touch wood). Though I am in the UK so BlueDragon's servers are local.
My config ...
addnode=162.243.133.80
addnode=162.243.14.130
addnode=146.185.135.24
sr. member
Activity: 384
Merit: 250
Getting many "Overflow nonce", but working.

You're welcome. Overflow nonce is normal, it just means new work is being sent to the fpga (I think I'll comment that warning out, it was useful in testing but does not belong in the production code, not that this is production quality, just a hack to get it off the ground ATM).
member
Activity: 93
Merit: 10
Thank you.

Getting many "Overflow nonce", but working.
legendary
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
Do others get a lot of orphan blocks?
 Both on GPU and now on FPGA I seem to generate as many orphans as good blocks
Code:
"false","2013-11-19T10:04:04","Mined","","BpjkZnsiYovkHU1eDnupEy9QMneobxjNCT","25.00155392","c142f7ca43a87d54c9bdeeb39418200a7787eb1f07911ea11c68b624c3b6ceb8-000"
"false","2013-11-19T06:05:30","Mined","","BfZNoibZ6WuH5AcLdriwbMZkNQS8SBYDnA","25.00155389","e295e8b9fd518c1f67f05722e11ed6256f4d89a41467e0db8186ded91f9a7377-000"
"false","2013-11-18T23:05:39","Mined","","BjxL5SVg7NsaTjmMQdyeFneAPhoPS5Y2ZU","25.00155386","66cc6a41684514a9449428fdc3a956623c72cdfe23a77d3072dbaef2203f2e5e-000"
"false","2013-11-18T21:48:02","Mined","","Bk2wVXkDSYScPqpbV2jd3ZzBJ4kxJwPPNr","25.00155383","81704736744766eb277b7e7828401567996180c4a8ee3025f3bdb10687130b17-000"
"false","2013-11-18T20:53:59","Mined","","BeyCZdCdjAgHCE1AthB4T7iu3H2LUhkBvd","25.0015538","5ac91a50b348473f094d3d1ffd0600a283a524be11f65f5151eb00ba7e78346d-000"
"false","2013-11-18T20:39:38","Mined","","BnWpAZABWhsim5RBkDqeqzj6dCTu8gMrYA","25.00155378","e041f5c1c2d4ef051ae4b497f299e81e2c6f0f9c36ab81605e65b2d151711b3b-000"
"false","2013-11-18T17:19:09","Mined","","BoZyAytjcaaxqBVkQGe7nJebJg2PpUG6uA","25.00091309","b1b452f0ea8052e487a58a47f48508f9f6e74819d00fbe801ea9aeb9f7af5f14-000"
"false","2013-11-18T17:10:25","Mined","","Bf7TQobwB3RcV6Gx4iH5fzbru4U8ZKZYEd","25.00091302","70df69b3bb067c7dcdbf7bc3402ec23829e5dac2e7565ae0c42192c914de4871-000"
"false","2013-11-18T16:07:05","Mined","","Bmi3Lmt1SzB3QkcxurQFkBzVmsVRNT4KEv","25.00121218","ffc85fab9abab1780124f32eba7a2ceef4f6e0566e53d62c59a01453d9d25875-000"
"false","2013-11-18T13:32:07","Mined","","BoPFmb4iMxuRfgEbeRq1ES28uXmNTZ8KWr","25.00102177","83748c616db8b17234f7bef57418420d6c2679ea0397a49fc6035336a353907a-000"
"false","2013-11-18T13:03:29","Mined","","BquJuckpz4uE86yQ1LY5UUmcNQBheCad75","25.00123327","7b78b0a83f83fcb4fc866b4fd0e8a2bb281607b752498d73401f44e7bfb010b5-000"
"true","2013-11-18T11:03:38","Mined","","BiL1sLSSpmGAmSB4qnHAe8kTcwL9K92mMU","25.00130313","759b334f446363642a0f48ae40d2301e3b299c9fde9122cc9dfb4d6917b24ab0-000"
"true","2013-11-18T10:32:46","Mined","","Bpvgo6xuCZpiXTVebL7ooeu3sp2Ee9nC8B","25.00128494","781ac6a39c4e0a6c6ef2acdab4ea4cbf6d77c3bd3a169506fc171324cc28285f-000"
"true","2013-11-18T09:53:20","Mined","","BfVptN1Wa4bLSEQUPT9H5saojLepsPRJn2","25.00128467","583962c1e1e22ab77412bdb70170ae0c745d49c5ee8d2a8c13f06279780fe1c8-000"
"false","2013-11-17T22:38:08","Mined","","BouMKXtXjVzVqQqE4W7NKriVnSesB3tjmc","25.00121731","0402e531ff1f92ee243999f1f7f8b34e0a041febb7ce6d8caa35b1b3263937cd-000"
"false","2013-11-17T22:35:42","Mined","","BagftrS2EwbVyEgojfs4kme1RphNKY7X5Y","25.00121729","a72fc8997d84895766f77732a3be298c812d6cba2ede91851021d0723c4cd392-000"
"true","2013-11-17T18:00:39","Mined","","BbxmnaNRonVfp2eSisT2PYLPQiK5eepU3f","25.00120922","183820e4250d3f8778fc3e9d342cee0213fe73f6c679e65f14a3e8af0f2b9c0d-000"
"true","2013-11-13T06:00:30","Mined","","BiYtP65T6odyWh6G7axchuRi3ivTv8mmS7","25.00088686","016d8c85f6200f8e4d5321313cbc0f8dea0d186aead9856ae1a23532363c9c3b-000"
"true","2013-11-13T04:25:17","Mined","","Bdp8t45z997VTGifjxD5yAjesChGnan4oD","25.00112325","c8d86c08ed8b30d1bfa4bf6ea947756e7e3587bfc099ea32b5be2ec16582a315-000"
"true","2013-11-13T01:26:18","Mined","","BrSnARpTfnJ616eCuRZ6cWq9exjHCP4gAx","25.00120181","a288836bd0b720fdf5e1d8bd377eb90742022fc125e4cec41c52ff5201566206-000"


sr. member
Activity: 384
Merit: 250
to use it i need the mod cgminer version?
Wath usb drive you are using, having last night some trouble to get it running on my new (old) PC. usblib0 driver finds it but doesnt flash the bitstream.... using winusb and bfgminer finds it but doesn't use it... *g*

how does the running command look at you? cgminer.exe -o bla -p bla -s auto -blake  ......?

Thanks to answer my maybe stupid questions Wink

Questions are fine, it just shows up the gaps in my instructions. I'll update the original announcement at https://bitcointalksearch.org/topic/m.3559938 to make it a bit clearer, but for now for windows you need ...

If you've not already done so, download zadig_v2.0.1.160.7z from http://sourceforge.net/projects/libwdi/files/zadig/
You'll need 7zip to unzip it http://www.7-zip.org/download.html
Plug in the ztex board, if its not been used before windows will fail to install the driver, so run zadig
Device ID 221A-0100 "Unknown device #1", edit to "ZTEX Module" and install default WinUSB
If it has been installed before with the default ztex driver, you still need to run zadig and install WinUSB (I'm not quite sure about this step as I've not done it since I've run cgminer from the outset, but it is required).

Download the official cgminer 3.1.1 sources from https://github.com/ckolivas/cgminer/archive/v3.1.1.zip and unzip it.
You just need the bitstreams folder, but the sources are useful should you want to compile it.

Download my dependancies from https://www.dropbox.com/s/xa01f9hhakpsexv/cgminer-3.1.1-blakefpga.zip and unzip it.
Now copy the bitstreams folder from the official version to my version as cgminer-3.1.1-blakefpga\bitstreams

Download https://www.dropbox.com/s/ak7jqi0mnd4j1zp/cgminer.exe and put it in the cgminer-3.1.1-blakefpga folder.
This link will change if I release new versions, best to check the README at https://github.com/kramble/FPGA-Blakecoin-Miner/tree/master/cgminer/cgminer-3.1.1

Download https://www.dropbox.com/s/vk3k5sb64b8641o/ztex_ufm1_15y1-v06ad-2core-ucf-140MHz-fmax-147-fixed.bit
Rename this to ztex_ufm1_15y1.bit and copy it into cgminer-3.1.1-blakefpga\bitstreams overwriting the original version.

Edit cgminer-3.1.1-blakefpga\runblake.bat and set the username:password to be the same as the rpcuser and rpcpassword you set in blakecoin.conf. If your blaconind/blakecoin-qt is running on a different computer then change localhost too.

Now just run runblake.bat (either double click it, or run it from a command prompt). It will write to log.txt which you can open in notepad or other editor to review the messages.

Good Luck.
member
Activity: 93
Merit: 10
to use it i need the mod cgminer version?
Wath usb drive you are using, having last night some trouble to get it running on my new (old) PC. usblib0 driver finds it but doesnt flash the bitstream.... using winusb and bfgminer finds it but doesn't use it... *g*

how does the running command look at you? cgminer.exe -o bla -p bla -s auto -blake  ......?

Thanks to answer my maybe stupid questions Wink
sr. member
Activity: 266
Merit: 250

Works perfectly on my setup at 2x raspberry-pi:

3x Ztex 1.15y (original, manual max clock 196Mhz to avoid HW errs and increase stability): 4.580Gh/s
1x Ztex 1.15y (Asia clone with cooling problems, running at max clock 168Mhz): 1.2Gh/s

One r-pi can't handle 4 boards or at least not this combination.

Thanks for the good work!!!
sr. member
Activity: 384
Merit: 250
I now have a ztex bitstream that loads on all four devices https://www.dropbox.com/s/vk3k5sb64b8641o/ztex_ufm1_15y1-v06ad-2core-ucf-140MHz-fmax-147-fixed.bit

It turns out to have been a missing bitgen parameter after all. It was documented clearly at http://wiki.ztex.de/doku.php?id=en:ztex_boards:ztex_fpga_boards:porting_to_1_15y (which took a bit of finding)

Quote
Unused I/O's that are connected to FX2 outputs must float. This also includes I2C signals. It is recommended to let all unused I/O's float.

And a bit more research to find out exactly how to implement this ...
-g UnusedPin:Pullnone

I also added this as I found it in an .xise settings file from an earlier version ...
-g ConfigRate:26
sr. member
Activity: 274
Merit: 254
[WTS] 1000 BLC for Litecoin/Bitcoin, PM me with offers, thanks
member
Activity: 93
Merit: 10
go on Smiley

i am gettting a old celeron PC for the fpga board soon. then i use it for Blace mining too.
sr. member
Activity: 384
Merit: 250
loading the Bitcoin stream to 4. failes sometimes with lates version here, too.  :/

Must be a bug.

Yep, its suspiciously consistent. My current thinking is that the controller firmware is interacting with the fpga bitstream in a way that is not documented in the published code/specification. To confirm this I think I'm going to have to build the bitcoin firmware and bitstream from the official sources and see whether it replicates this behavior. This is somewhat of a distraction from the blake work (not least because its yet another toolchain I need to get to grips with). Still, its all good learning experience I suppose Wink
member
Activity: 93
Merit: 10
Quote
to try to sort out this problem with loading the fourth device.

loading the Bitcoin stream to 4. failes sometimes with lates version here, too.  :/

Must be a bug.
sr. member
Activity: 384
Merit: 250
can i  use the bitstream for the ZTEX 1.15y with the stock java miner? Or do i have to use the cgminer?
If only cgminer, i need a second PC for that, or my Bitcoin miner will try to use the fpga for btc  *g*

The ztex BTCMiner will need patching to mine Blake (need to find/write a blake hash module in java). Unfortunately java programming is somewhat outside my comfort zone, but it looks like I'm going to have to go there anyway to try to sort out this problem with loading the fourth device. Another option may be to use MPBM though I haven't patched the ztex driver yet.

There are only so many hours in the day, and I think my time is better spent working on the verilog rather than Java/C++/Python as I'm very much an amateur programmer (not that I'm much better at verilog), so if there are any willing experts out there, your help will be much appreciated  Smiley
member
Activity: 93
Merit: 10
can i  use the bitstream for the ZTEX 1.15y with the stock java miner? Or do i have to use the cgminer?
If only cgminer, i need a second PC for that, or my Bitcoin miner will try to use the fpga for btc  *g*
legendary
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
Now mining on a FPGA

found one block on slowest bitsteam

(5s):532.7M (avg):639.6Mh/s | A:1  R:0  HW:6  U:0.0/m  WU:8.4/m

loaded fastest and let it run awhile found 2 more (1 looks like it's an orphan)

(5s):1.661G (avg):1.485Gh/s | A:2  R:0  HW:28  U:0.0/m  WU:19.0/m

nice speed improvement with minor HW error increase
sr. member
Activity: 494
Merit: 250
[WTS]8900 BLC=2btc

anyone interest, please contact me
sr. member
Activity: 384
Merit: 250
Thanks for all your help.
 Embarrassed hope others here learn from seeing my mistakes.

No problem, its good to see my efforts appreciated Grin And no worries about mistakes, we're all learning as we go, its fun!

Try out the latest version https://www.dropbox.com/s/bbevqb8792emll9/CM1-hv-v04a-175MHz-ucf-150-fmax-161.bit which should be twice as fast. Unfortunately I tend to have the USB drop out after a few hours mining which needs a complete power cycle to fix, hope yours works better.

Regards
Mark (who's bed beckons, past midnight GMT here, G'Night)
legendary
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
Whoo hoo

yes I did see all lights come on and green blue fade out
fixed CM22 to COM22 no error msg now

I'm going to let it hash for a while before trying a higher speed .bit file

Thanks for all your help.
 Embarrassed hope others here learn from seeing my mistakes.
sr. member
Activity: 384
Merit: 250
flip switch 3 back while still on and connected to virtual box?

Yep, its what works for me (the actual timing does not seem to be too critical, but I like to be methodological). Don't power off at any stage or you'll have to start from scratch. It seems to be important to unplug, pause and replug the USB after shutting down the VirtualBox instance.

When you run the xc3sprog, after the 20 second programming delay, can you confirm you see all three red/yellow/green LED's and the green fades to black after a few seconds?

PS, just saw your new post. Bingo! We're mining Blake. I think you've got a typo there with CM22 though, try COM22. (And yes, the cgminer display is very crude in -T mode).
legendary
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
no good.

just in case flipped each switch back and forth to make sure all in correct positions (power off)

Doing reload again

flip switch 3 back while still on and connected to virtual box?

I think that was my issue
flipped sw3 before exiting virt box got  blinking red light

looks like it is running
Code:
[2013-11-17 16:18:16] Started cgminer 3.1.1
 [2013-11-17 16:18:16] Icarus Detect: Failed to open \\.\CM22
 [2013-11-17 16:18:16] Probing for an alive pool
 [2013-11-17 16:18:17] Network diff set to 1.92K
 [2013-11-17 16:18:17] No suitable long-poll found for http://127.0.0.1:8772
 [2013-11-17 16:18:35] Icarus 1 nonce = 0x0adba83d = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:18:35] hash 738ef5039cd7f7bed161ecaa9edba2a71f8500e9389a0306735f29d800000000
 [2013-11-17 16:18:36] Icarus 1 nonce = 0x069e0ad8 = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:18:36] hash f1d19bd9092d2f26a412a11f99e64a9951c2fab2f1054d28a5377d8600000000
 [2013-11-17 16:18:45] Icarus 2 nonce = 0x0a164792 = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:18:45] hash 861adae86b7bc574db7f86c5a5def42b31e99dad9d60858976db8caa00000000
 [2013-11-17 16:19:16] Icarus 2 nonce = 0x03e56f3d = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:19:16] hash 6a8b8ca88146052fa971a59c3479cca53fda649b75492427fae6aedf00000000
 [2013-11-17 16:19:16] Icarus 2 nonce = 0x032bf91e = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:19:16] hash 0696f7a524c80be9cdf652409ff29976f905ae53f4520fce062e67df00000000
 [2013-11-17 16:19:18] Icarus 1 nonce = 0x88a81ede = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:19:18] hash 46feca49756c1785ab27d000dd2ef10ce46120dea898770c3591db7500000000
 [2013-11-17 16:19:49] Icarus 0 nonce = 0x8856b1f6 = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:19:49] hash c2a2c7984d5e09c5f9b035f3de3eaea2f8e813d6275e87fae9e2bc1c00000000
 [2013-11-17 16:19:51] Icarus 1 nonce = 0x0d6b4ad9 = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:19:51] hash de42615da65ab0cc596ec83a114c259de9a5039822ebaeeaab27794d00000000
 [2013-11-17 16:19:52] Icarus 1 nonce = 0x85395e36 = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:19:52] hash bb39cf006f0057a25fa76fde304d5200990f0ef33e8907e5f1d2208300000000
 [2013-11-17 16:19:52] Icarus 1 Re-estimate: Hs=6.236893e-009 W=2.228861e-002 read_count=267 fullnonce=26.810s
 [2013-11-17 16:20:04] Icarus 1 nonce = 0x3781cca4 = 0x00000000 hashes (0.000000s)
 [2013-11-17 16:20:04] hash feb4854a54eff0e0fde6393687e23920d08d2bb7b56ca91a53e8f32c00000000

 Grin Grin Grin
Jump to: