Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: gateway on July 13, 2013, 12:47:55 AM



Title: [XPM] BFGMiner Prime Branch
Post by: gateway on July 13, 2013, 12:47:55 AM
So some of us on #eligius-prime with the help of Luke were able to get what we think is bfgminer prime working, how ever the people testing it so far none of us have found a block so a word of caution.

I thought in the spirit of sharing I would let you guys know how I was able to get up and runnning, NOTE you do need to know how to compile BFGMiner, I cannot help you with any compile issues ..

Requirements:
primecoind running

Then

Get the latest code from git..

git clone -b prime https://github.com/luke-jr/bfgminer.git

make this change >> http://pastebin.com/XSTTRNF9 << src/libblkmaker/base58.c around line 120

This allows you to use your primecoin wallet address instead of having to convert that to a btc wallet address.

Once compiled and primecoind is set up and running.. use this command line in bfgminer..

./bfgminer -a prime -S noauto -S cpu:auto -o localhost:9912 -u primecoinrpc -p {rpcpassword} --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log

you dont need the debug at the end but gives you an idea of data coming though..

THIS is WIP, I would ask anyone to help optmized, fix, or make adjustments..

cheers..

here is my miner running.. no block found yet tho.. we did test it on testnet and it did fine blocks fyi..

http://new.tinygrab.com/b5f5d645206c253a526da5f022dd0171e6ac0a64e3.png







Title: Re: [XPM] BFGMiner Prime Branch
Post by: Zalfrin on July 13, 2013, 01:08:52 AM
Thanks, I'll give it a try here in a little bit.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Sunny King on July 13, 2013, 01:15:06 AM
Good job! I will look into API support tomorrow.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: gateway on July 13, 2013, 01:28:53 AM
Good job! I will look into API support tomorrow.

That would be great.

Btw I just relaying the info from most of the people who worked on it :P no credit here outside of sharing :)


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on July 13, 2013, 02:09:31 AM
we got currently 2 main problems:
worksize is too small, atm my i7-2700K requests 23k work/s, setting a queue of 512 helps a little but thats it...
GBT bugged (dunno if primecoind or bfgminer), it dosnt know when a new block is found on the network, so it will calculate for exactly 120 seconds and then the 120 seconds --expiry kick in and bfgminer knows about the new blocks therefore missing 15-25 blocks. setting --expiry to 1-5 works tough.

current stage:
http://www.darkgamex.ch/upload/qA5Bvj798f4EcErbpi0W/bfgminer-prime.png


Title: Re: [XPM] BFGMiner Prime Branch
Post by: lishbtc on July 13, 2013, 02:38:32 AM
Compiled but getting ./bfgminer: -a: unrecognized option - is -a prime the correct syntax as per the OP?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: kendog77 on July 13, 2013, 02:44:17 AM
You have to enable CPU mining in the configure step.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: kendog77 on July 13, 2013, 02:51:11 AM
we got currently 2 main problems:
worksize is too small, atm my i7-2700K requests 23k work/s, setting a queue of 512 helps a little but thats it...
GBT bugged (dunno if primecoind or bfgminer), it dosnt know when a new block is found on the network, so it will calculate for exactly 120 seconds and then the 120 seconds --expiry kick in and bfgminer knows about the new blocks therefore missing 15-25 blocks. setting --expiry to 1-5 works tough.

current stage:
http://www.darkgamex.ch/upload/qA5Bvj798f4EcErbpi0W/bfgminer-prime.png

I'm experiencing the same problems. There are constant staged work underruns, and new network blocks don't show up in bfgminer until they expire.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: lishbtc on July 13, 2013, 02:52:24 AM
thank you sir, will try that


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on July 13, 2013, 03:32:38 AM
more info for sunny, invalidates the GBT things somewhat:
Code:
<Luke-Jr> K1773R: Gateway69: GBT needs *zero* modification on primecoind
<Luke-Jr> although he *could* send a coinbase with it, then --coinbase-addr wouldn't be required
<Luke-Jr> (but that's not as simple as it seems)
<Luke-Jr> if --scan-time and --expiry don't work for solo mining, I'd appreciate if someone could fix it
<Luke-Jr> since that would affect Bitcoin too, I'd need to get it into main bfgminer asap
<K1773R> Luke-Jr: ACK


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 13, 2013, 03:43:30 AM
i compiled it for winblows with that change but no love....

just crashes with "bfgminer.exe has stopped working"

log -> http://pastebin.com/8X17SkFD

edit: win8 x64 amd fx-6100 (6 core)


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Joe_Bauers on July 13, 2013, 04:16:34 AM
Pretty sweet so far. I'm getting about 400 pps per core on shit old HW.  No blocks yet though...   :-\
Thanks to Luke and others for their work   8)


Title: Re: [XPM] BFGMiner Prime Branch
Post by: tinnvec on July 13, 2013, 05:05:41 AM
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing


Title: Re: [XPM] BFGMiner Prime Branch
Post by: gateway on July 13, 2013, 05:08:30 AM
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing

git clone -b prime

?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 13, 2013, 05:10:47 AM
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing

git clone -b prime

?

I thought the same thing but it appears in there after running ./autogen.sh


Title: Re: [XPM] BFGMiner Prime Branch
Post by: tinnvec on July 13, 2013, 05:13:53 AM
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing

git clone -b prime

?

I thought the same thing but it appears in there after running ./autogen.sh

Thanks! I'm pretty used to using git so I wasn't sure how I'd messed that up. Makes perfect sense now


Title: Re: [XPM] BFGMiner Prime Branch
Post by: torbank on July 13, 2013, 05:14:24 AM
Anyone know why bfgminer is almost always working on blocks that are older than the local primecoind block?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: torbank on July 13, 2013, 05:18:54 AM
By my estimates, both of my miners are working on the current block only about 10% of the time.

Why the delay before bfgminer catches up to primecoind?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: paulthetafy on July 13, 2013, 05:32:47 AM
Can --coinbase-addr be any address you own (like in a main wallet) or does it have to be from the local primecoind accounts?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: paulthetafy on July 13, 2013, 06:53:21 AM
Any update on the staged work underrun issue?  I get it continually, even with a queue of 512-1024 (haven't tested higher).  No found blocks yet on live network


Title: Re: [XPM] BFGMiner Prime Branch
Post by: shinkicker on July 13, 2013, 07:55:53 AM
Great news, but surey we need SK to first expose the Getblocktemplate API?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 13, 2013, 09:14:10 AM
So, I got BFG miner built successfully.

I am on windows 8 BTW.  Any help as to get bfg miner up and running.

I tried to setup primecoin.conf file with

Quote
rpcuser=username
rpcpassword=password
rpcallowip=*
daemon=1
server=1

Running Primecoin using

Quote
primecoin-qt -server

Then I tried running bfgminer with the switches in cmd prompt, but it will not run with the switches.

Quote
bfgminer -o http://localhost:8332 -u username -p password --expiry 1 --scantime 3

Running bfgminer by itself it will ask for pool address (http://localhost:8332), username and password, but it will not start up, Pool setup failed.

Any help or ideas?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 13, 2013, 09:41:28 AM
did you build with ./confgure  --enable-cpumining ?


the command to run it on windows would be this but it just crashes for me on win 8 here

bfgminer.exe -a prime -S noauto -S cpu:auto -o localhost:9912 -u username -p password --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 13, 2013, 09:42:28 AM
did you build with ./confgure  --enable-cpumining ?


the command to run it on windows would be this but it just crashes for me on win 8 here

bfgminer.exe -a prime -S noauto -S cpu:auto -o localhost:9912 -u username -p password --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log

Yes, I built it with ./configure --enable-cpumining.
Made some progress with your command line though, I was trying port 8332.

Now I am getting invalid coinbase address though, it doesn't seem to like mine :(.  The wallet address is the receiving address, right?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 13, 2013, 09:48:33 AM
did you make the edit linked to pastebin in the first post?

make this change >> http://pastebin.com/XSTTRNF9 << src/libblkmaker/base58.c around line 120

This allows you to use your primecoin wallet address instead of having to convert that to a btc wallet address.


need to run autogen.sh before that file will show up


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 13, 2013, 10:11:17 AM
Quote
need to run autogen.sh before that file will show up

Hm...

Making progress but still crashed, here is the log.  Error said no suitable long poll found though.

Quote
[2013-07-13 04:10:14] setrlimit: Not supported by platform
 [2013-07-13 04:10:14] Started bfgminer 3.1.2
 [2013-07-13 04:10:14] GeneratePrimeTable() : prime table [1, 1000000] generated with 78498 primes
 [2013-07-13 04:10:14] CPU 0 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] CPU 1 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] CPU 2 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] CPU 3 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] Probing for an alive pool
 [2013-07-13 04:10:14] Popping work to stage thread
 [2013-07-13 04:10:14] Testing pool http://localhost:9912
 [2013-07-13 04:10:14] Calculating midstate locally
 [2013-07-13 04:10:14] Learned that block id 9de445a1 is height 27819
 [2013-07-13 04:10:14] Successfully retrieved and deciphered work from pool 0 http://localhost:9912
 [2013-07-13 04:10:14] Pushing pooltest work to base pool
 [2013-07-13 04:10:14] Selected getblocktemplate protocol for pool 0
 [2013-07-13 04:10:14] Network difficulty changed to 0 (  inf?h/s)
 [2013-07-13 04:10:14] Pool 0 http://localhost:9912 alive
 [2013-07-13 04:10:14] New block: ...9de445a1 # 27819 diff 0 (  inf?h/s)
 [2013-07-13 04:10:14] No suitable long-poll found for http://localhost:9912
 [2013-07-13 04:10:14] Pushing work to getwork queue (queued=N)
 [2013-07-13 04:10:14] Popping work to stage thread
 [2013-07-13 04:10:15] Waking up thread 0
 [2013-07-13 04:10:15] Waking up thread 1
 [2013-07-13 04:10:15] Waking up thread 2
 [2013-07-13 04:10:15] Waking up thread 3
 [2013-07-13 04:10:15] Popping ping in miner thread
 [2013-07-13 04:10:15] 0 gpu miner threads started
 [2013-07-13 04:10:15] Popping ping in miner thread
 [2013-07-13 04:10:15]  [2013-CPU 007-13 04:10:15]: Popping work Po fropping ping in miner thread
 [2m get queu01e3-07-1 to get work [20133-07-13 04 04:1:10:150:
 [215] 01Popping]  piCPU 2: Po3-07-13 0pping work from get q4:10:15] ngCPU 1: P in  [miner thread
2opping wor013-07-13 04:10:15] ueue k from get queue to get work
Sto geuccessfully rolled t work
 [2013-07-1 [2013-03ext 04:10:15] 7-4 1ranonce to 3 04:10:15]cpu  dataminer threads starteCPU 3: Popping d, using SHA256 'prwork frid 1ime' algorithm.
om get queue to get work

 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 2
 [2013-07-13 04:10:15] Pushing cloned available work to stage thread
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] CPU 0: Got work from get queue to get work for thread 0
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 3
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 4
 [2013-07-13 04:10:15] Pushing cloned available work to stage thread
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] CPU 1: Got work from get queue to get work for thread 1
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 5
 [2013-07-13 04:10:15] Generated work from latest GBT job in get_work_thread with 32766 seconds left
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] Creating extra submit work thread
 [2013-07-13 04:10:15] CPU 3: Got work from get queue to get work for thread 3
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 6
 [2013-07-13 04:10:15] Generated work from latest GBT job in get_work_thread with 32766 seconds left
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] CPU 2: Got work from get queue to get work for thread 2
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 7
 [2013-07-13 04:10:15] Generated work from latest GBT job in get_work_thread with 32766 seconds left
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue


Title: Re: [XPM] BFGMiner Prime Branch
Post by: eule on July 13, 2013, 10:14:50 AM
Let it run overnight on an old i7 on linux, got one rejected block.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 13, 2013, 10:15:32 AM
Oh and for those of you struggling with the error gmp.h not found on windows minGW, install it with this line of code:

mingw-get install mingw32-gmp


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 13, 2013, 10:21:27 AM
yep looks like my windows 8 log ->>http://pastebin.com/8X17SkFD

garbled bit looks a bit strange


Title: Re: [XPM] BFGMiner Prime Branch
Post by: eCoinomist on July 13, 2013, 10:25:45 AM
bookmarking


Title: Re: [XPM] BFGMiner Prime Branch
Post by: n4ru on July 13, 2013, 11:32:35 AM
Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: svirus on July 13, 2013, 11:57:41 AM
I now trying ... 8x300 pps (Intel Xeon E3 1245v2 3.8GHz)
one hour and nothing :/


Title: Re: [XPM] BFGMiner Prime Branch
Post by: oroqen on July 13, 2013, 12:07:19 PM
Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
It did return blocks on testnet when I tried it, but out of the 20 odd accepted and 50 odd rejected only 8 blocks showed up as immature and 3 orphans.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: super3 on July 13, 2013, 02:29:15 PM
Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
It did return blocks on testnet when I tried it, but out of the 20 odd accepted and 50 odd rejected only 8 blocks showed up as immature and 3 orphans.
Well that is promising at least.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Lauda on July 13, 2013, 04:41:11 PM
Hopefully you can get this to work, I'd help but too busy at the time.
Keep up the great work  8)


Title: Re: [XPM] BFGMiner Prime Branch
Post by: blastbob on July 13, 2013, 05:09:04 PM
Can --coinbase-addr be any address you own (like in a main wallet) or does it have to be from the local primecoind accounts?

It can be any address. You don't have to own it either. Feel free to use AWoLFSojTZoPwqbCwwNqryQdmedD14NGYy

I am pretty sure you have to use an address that is in the daemon wallet your are solo mining to.. Atleast on current available code.

Else it will not show up in transaction logs.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on July 13, 2013, 10:35:24 PM
Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
It did return blocks on testnet when I tried it, but out of the 20 odd accepted and 50 odd rejected only 8 blocks showed up as immature and 3 orphans.
set --expiry 1 should fix this problem!


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 13, 2013, 10:38:34 PM
would love to hear from anyone who has it working on win 8 x64


Title: Re: [XPM] BFGMiner Prime Branch
Post by: torbank on July 13, 2013, 10:50:32 PM
Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Mirenaut on July 13, 2013, 10:57:44 PM
Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?

Maybe it updates less often. I see it halted at some point, then it updates and it's in sync again. Just now it actually jumped one block "in front" of the daemon so it seems as if primecoind lagged 1 block.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Kavre on July 13, 2013, 11:12:06 PM
Any help, can't compile properly


configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+     >:(


apt-get install uthash-dev update
Reading package lists... Done
Building dependency tree
Reading state information... Done
uthash-dev is already the newest version.

1.8.2 version

How to get version 1.9.2+ if it says is already the newest version.   :(




Title: Re: [XPM] BFGMiner Prime Branch
Post by: MashRinx on July 14, 2013, 03:47:14 AM
did you build with ./confgure  --enable-cpumining ?


the command to run it on windows would be this but it just crashes for me on win 8 here

bfgminer.exe -a prime -S noauto -S cpu:auto -o localhost:9912 -u username -p password --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log

Yes, I built it with ./configure --enable-cpumining.
Made some progress with your command line though, I was trying port 8332.

Now I am getting invalid coinbase address though, it doesn't seem to like mine :(.  The wallet address is the receiving address, right?

I got this error and then I realized I had deleted and re-pulled the source and had not gone back in and made the edits to base58.c in the OP.  Recompiling with that code copied in and hopefully that will resolve...

EDIT:  no, that wasn't it.  I'm still getting the invalid coinbase addr error.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 14, 2013, 03:59:09 AM
did you build with ./confgure  --enable-cpumining ?


the command to run it on windows would be this but it just crashes for me on win 8 here

bfgminer.exe -a prime -S noauto -S cpu:auto -o localhost:9912 -u username -p password --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log

Yes, I built it with ./configure --enable-cpumining.
Made some progress with your command line though, I was trying port 8332.

Now I am getting invalid coinbase address though, it doesn't seem to like mine :(.  The wallet address is the receiving address, right?

I got this error and then I realized I had deleted and re-pulled the source and had not gone back in and made the edits to base58.c in the OP.  Recompiling with that code copied in and hopefully that will resolve...

EDIT:  no, that wasn't it.  I'm still getting the invalid coinbase addr error.


If you don't replace the library folder it will not be updated.  Be sure to move the library folder over from the BFGminer build to the final folder you will run the required files in.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 14, 2013, 04:48:10 AM
96red did u get it working on windows 8?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 14, 2013, 04:49:28 AM
96red did u get it working on windows 8?

Nope


Title: Re: [XPM] BFGMiner Prime Branch
Post by: swordfish6975 on July 14, 2013, 05:10:14 AM
Nope

dam -  we need a expert i think


Title: Re: [XPM] BFGMiner Prime Branch
Post by: torbank on July 14, 2013, 05:13:30 AM
Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?

Maybe it updates less often. I see it halted at some point, then it updates and it's in sync again. Just now it actually jumped one block "in front" of the daemon so it seems as if primecoind lagged 1 block.

Since I'm not seeing the corresponding "New block detected on network" message, I can't assume this.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: paulthetafy on July 14, 2013, 05:39:10 AM
Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?
this is covered in this thread https://bitcointalk.org/index.php?topic=254462.20 (https://bitcointalk.org/index.php?topic=254462.20) along with a few other issues


Title: Re: [XPM] BFGMiner Prime Branch
Post by: torbank on July 14, 2013, 05:48:12 AM
Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?
this is covered in this thread https://bitcointalk.org/index.php?topic=254462.20 along with a few other issues

I went over that again just to be sure and I don't see any solution there.

If you meant adding "--scan-time", that didn't change anything.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on July 14, 2013, 06:18:12 AM
Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?
this is covered in this thread https://bitcointalk.org/index.php?topic=254462.20 along with a few other issues

I went over that again just to be sure and I don't see any solution there.

If you meant adding "--scan-time", that didn't change anything.
for the real thing: https://bitcointalk.org/index.php?topic=255358.msg2718956#msg2718956

--expiry 1 is it ;)
if you dont do that, you will only notice blocks every 120 seconds as --expiry is default to 120.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: torbank on July 14, 2013, 06:28:43 AM
--expiry 1 is it ;)
if you dont do that, you will only notice blocks every 120 seconds as --expiry is default to 120.

Excellent, thank you.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: 96redformula on July 14, 2013, 06:34:07 AM
So has anybody found a block using BFGminer?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: mika1977 on July 14, 2013, 06:48:12 AM
How to use BFG miner on windows 7 x64? Thanx in advance.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: gateway on July 14, 2013, 07:03:00 PM
Good job! I will look into API support tomorrow.

Had any chance this weekend to work on an API?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Luke-Jr on July 15, 2013, 10:18:59 PM
How to use BFG miner on windows 7 x64? Thanx in advance.

First, you compile it for Windows x64.
+1


Title: Re: [XPM] BFGMiner Prime Branch
Post by: de_xt on July 15, 2013, 11:14:06 PM
Here is another XPM standalone CPU miner if somebody wants to test it (I think it's based on pooler's cpuminer):

https://github.com/jh000/jhPrimeminer


Title: Re: [XPM] BFGMiner Prime Branch
Post by: alexxy on July 15, 2013, 11:27:11 PM
Here is another XPM standalone CPU miner if somebody wants to test it (I think it's based on pooler's cpuminer):

https://github.com/jh000/jhPrimeminer


Its WIN32 only and its non portable because of heavy usega of win32 api


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on July 16, 2013, 06:31:47 AM
Here is another XPM standalone CPU miner if somebody wants to test it (I think it's based on pooler's cpuminer):

https://github.com/jh000/jhPrimeminer

this has nothing to do with this, get off


Title: Re: [XPM] BFGMiner Prime Branch
Post by: achillez on July 18, 2013, 03:10:19 AM
any news on the bfgminer code? seems like this hasn't gone much further


Title: Re: [XPM] BFGMiner Prime Branch
Post by: drummerjdb666 on July 18, 2013, 03:18:45 AM
Maybe it has and instead of posting they are all freaking out about the amount of blocks they are finding without us?  lol


Title: Re: [XPM] BFGMiner Prime Branch
Post by: dego on July 18, 2013, 10:22:04 AM
has anyone been able to find a XPM block with bfgminer?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Beaflag VonRathburg on July 18, 2013, 12:23:33 PM
has anyone been able to find a XPM block with bfgminer?

Bump x2, also interested.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Vannicke on July 18, 2013, 12:43:49 PM
has anyone been able to find a XPM block with bfgminer?

Bump x2, also interested.

Bump x3, though i imagine the coders are all asleep atm.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: jubalix on July 18, 2013, 01:36:54 PM
src/libblkmaker/base58.c

did not find in repo or after git

where is base58.c?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: oroqen on July 18, 2013, 01:45:08 PM
src/libblkmaker/base58.c

did not find in repo or after git

where is base58.c?
run autogen.sh it should pull down libblkmaker


Title: Re: [XPM] BFGMiner Prime Branch
Post by: jubalix on July 18, 2013, 02:33:13 PM
src/libblkmaker/base58.c

did not find in repo or after git

where is base58.c?
run autogen.sh it should pull down libblkmaker

did this and it got stuck at

20: ./autogen.sh: autoreconf: not found


Title: Re: [XPM] BFGMiner Prime Branch
Post by: Gnaffel on July 19, 2013, 03:41:13 AM
run ./autogen.sh in the bfgminer source dir

then you will find the base58.c in the libblkmaker dir


Title: Re: [XPM] BFGMiner Prime Branch
Post by: willphase on July 19, 2013, 09:32:23 AM
has anyone been able to find a XPM block with bfgminer?

Yes, on mainnet.  But it was on a heavily modified bfgminer talking to a modified primecoind.  The variance on solo mining is so large that I'm still not able to make an accurate determination on whether bfgminer is faster than running native primecoind - the speed at which I can mine on testnet certainly indicates that it is, but on mainnet it seems really slow (but maybe it is just the huge difficulty now)

Will


Title: Re: [XPM] BFGMiner Prime Branch
Post by: erk on July 19, 2013, 08:57:15 PM
has anyone been able to find a XPM block with bfgminer?

Yes, on mainnet.  But it was on a heavily modified bfgminer talking to a modified primecoind.  The variance on solo mining is so large that I'm still not able to make an accurate determination on whether bfgminer is faster than running native primecoind - the speed at which I can mine on testnet certainly indicates that it is, but on mainnet it seems really slow (but maybe it is just the huge difficulty now)

Will
Anyone tried to mine with ypool.net instead of primecoind?



Title: Re: [XPM] BFGMiner Prime Branch
Post by: Beaflag VonRathburg on July 19, 2013, 11:39:22 PM
^ Yes, I have been the past few days and I've made a total of 1.904398 with 5 machines running. I'm about to give up on it and play my chances solo mining.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: woodrake on July 20, 2013, 04:55:55 PM
For reference, with about 60 quad-core Xeons running primecoind (solo mining) I've found over 100 XPM in the last week.

Not quite sure what this fork gets you over just using primecoind itself to mine?

Kate.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: LZ on July 26, 2013, 02:29:32 AM
It seems that it works okay... But hp8 gives much more pps. So bfgminer should be optimized too. :-\

https://cloudflare-ipfs.com/ipns/lzsaver.eth/share/pics/bfgminer.png


Title: Re: [XPM] BFGMiner Prime Branch
Post by: wibtc on July 26, 2013, 02:35:55 AM
For reference, with about 60 quad-core Xeons running primecoind (solo mining) I've found over 100 XPM in the last week.

Not quite sure what this fork gets you over just using primecoind itself to mine?

Kate.

It means one quad-core Xeon may find one block in 6 weeks?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: maco on July 26, 2013, 03:57:17 AM
How is progress going so far?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: maco on July 26, 2013, 03:58:11 AM
It seems that it works okay... But hp8 gives much more pps. So bfgminer should be optimized too. :-\

https://dl.dropboxusercontent.com/u/10683110/bfgminer.png

LZ, last I checked from IRC, they stopped working on this... is it back?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: LZ on July 26, 2013, 05:00:58 AM
Are you about bfgminer or about primecoin-hp? The first one seems to be not under development anymore - that's right.


Title: Re: [XPM] BFGMiner Prime Branch
Post by: fr00p on July 27, 2013, 01:24:17 PM
Hi,

when i try to 'make' bfgminer i get this:

Code:
bfgminer-deviceapi.o: In function `add_cgpu':
/home/user1/bfgminer/deviceapi.c:621: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:623: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
bfgminer-driver-cpu.o: In function `cpu_detect':
/home/user1/bfgminer/driver-cpu.c:789: undefined reference to `_serial_detect'
/home/user1/bfgminer/driver-cpu.c:787: undefined reference to `_serial_detect'
collect2: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/user1/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user1/bfgminer'
make: *** [all] Error 2

any help on that?


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on July 27, 2013, 01:40:09 PM
Hi,

when i try to 'make' bfgminer i get this:

Code:
bfgminer-deviceapi.o: In function `add_cgpu':
/home/user1/bfgminer/deviceapi.c:621: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:623: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
bfgminer-driver-cpu.o: In function `cpu_detect':
/home/user1/bfgminer/driver-cpu.c:789: undefined reference to `_serial_detect'
/home/user1/bfgminer/driver-cpu.c:787: undefined reference to `_serial_detect'
collect2: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/user1/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user1/bfgminer'
make: *** [all] Error 2

any help on that?
dont deactivate GPU/others, its a bug


Title: Re: [XPM] BFGMiner Prime Branch
Post by: xelite on July 31, 2013, 07:34:27 PM
Hi
Please help me:
Code:
  CC       bfgminer-driver-cpu.o
  CC       bfgminer-fpgautils.o
In file included from fpgautils.c:775:0:
iospeeds.h: In function «tiospeed_t»:
iospeeds.h:34:1: error: «B4000000» undeclared (first use in this function)
iospeeds.h:34:1: : each undeclared identifier is reported only once for each function it appears in
iospeeds.h:37:1: error: «B3500000» undeclared (first use in this function)
Makefile:1133: recipe for target `bfgminer-fpgautils.o' failed
make[2]: *** [bfgminer-fpgautils.o] Error 1
make[2]: Leaving directory `/build/bfgminer'
Makefile:1419: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/bfgminer'
Makefile:670: recipe for target `all' failed
make: *** [all] Error 2


Title: Re: [XPM] BFGMiner Prime Branch
Post by: fr00p on August 10, 2013, 05:33:09 PM
Hi,

when i try to 'make' bfgminer i get this:

Code:
bfgminer-deviceapi.o: In function `add_cgpu':
/home/user1/bfgminer/deviceapi.c:621: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:623: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
bfgminer-driver-cpu.o: In function `cpu_detect':
/home/user1/bfgminer/driver-cpu.c:789: undefined reference to `_serial_detect'
/home/user1/bfgminer/driver-cpu.c:787: undefined reference to `_serial_detect'
collect2: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/user1/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user1/bfgminer'
make: *** [all] Error 2

any help on that?
dont deactivate GPU/others, its a bug

Hi,

i nearly forgot to answer.

This worked, thanks for your help. :)


Title: Re: [XPM] BFGMiner Prime Branch
Post by: K1773R on August 10, 2013, 06:19:28 PM
Hi,

when i try to 'make' bfgminer i get this:

Code:
bfgminer-deviceapi.o: In function `add_cgpu':
/home/user1/bfgminer/deviceapi.c:621: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:623: undefined reference to `detectone_meta_info'
/home/user1/bfgminer/deviceapi.c:622: undefined reference to `detectone_meta_info'
bfgminer-driver-cpu.o: In function `cpu_detect':
/home/user1/bfgminer/driver-cpu.c:789: undefined reference to `_serial_detect'
/home/user1/bfgminer/driver-cpu.c:787: undefined reference to `_serial_detect'
collect2: ld returned 1 exit status
make[2]: *** [bfgminer] Error 1
make[2]: Leaving directory `/home/user1/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user1/bfgminer'
make: *** [all] Error 2

any help on that?
dont deactivate GPU/others, its a bug

Hi,

i nearly forgot to answer.

This worked, thanks for your help. :)
np, if you got some spare coins, tip me if you want to :P