RaspberryPi litecoin CPU and GPU miner bounty


28 posts   Page 1 of 2   1, 2
by matthewh3 » Fri Apr 06, 2012 3:39 pm
I"m starting a bounty for someone to develop an optimised LTC miner for the RaspberryPi that mines on its ARM1176JZF-S CPU and its Broadcom VideoCore IV GPU ?

https://bitcointalk.org/index.php?topic=75590.0 (Original thread)

http://litecoin.org/ (Litecoin homepage)

https://github.com/pooler/cpuminer (Intel/AMD x86 CPU miner)

http://wiki.solidcoin.info/wiki/Reaper (GPGPU miner works for litecoin)

If you want to post on the original thread and your not already a member of that forum you will have to ask to be "whitelisted" in the newbie section of the forum.  Just state you are interested in developing this project for optimised RaspberryPi CPU/GPU miner
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by nick.mccloud » Fri Apr 06, 2012 6:52 pm
You should be aware that only Broadcom has the ability to code for the GPU - perhaps you could email them your request?
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by matthewh3 » Fri Apr 06, 2012 9:42 pm
nmcc said:


You should be aware that only Broadcom has the ability to code for the GPU – perhaps you could email them your request?


I cant code I'm only organising for a bounty to paid from donations for someone to take the project on.
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by plugwash » Fri Apr 06, 2012 10:36 pm
Point is you are putting the cart before the horse. We don't currently have any way to use the GPU for general purpose computing and we are unlikely to get one any time soon.
Forum Moderator
Forum Moderator
Posts: 2187
Joined: Wed Dec 28, 2011 11:45 pm
by matthewh3 » Fri Apr 06, 2012 10:48 pm
plugwash said:


Point is you are putting the cart before the horse. We don"t currently have any way to use the GPU for general purpose computing and we are unlikely to get one any time soon.


"its a complete implementation of OGL ES2.0, so does support shaders. What you do with them is up to you!"

http://www.raspberrypi.org/for.....n-the-r-pi

I"m just creating a bounty to tempt developers to take the project on if it ends up never started the donations will go to other litecoin/bitcoin projects.  Although an optimised CPU miner would receive at least a third of the bounty.  If someone was interested in taking the project on we could have it listed on - http://litebit.co/ - a major place for LTC/BTC support and access to donations.  We could also apply for Devcoin funding - https://en.bitcoin.it/wiki/Devcoin
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by nick.mccloud » Sat Apr 07, 2012 8:25 am
I'll put it another way:

The ONLY people that can write code that runs on the GPU is the manufacturer (Broadcom).

The manufacturer provides users info so we can make OpenGL API calls. We, the users, don't get to write any code that runs on the GPU. All we can do is send requests to draw stuff. We can try and fake some elements of parallel processing but there are inherent limitations that don't make it worthwhile.

I think your colleagues assement on your linked thread of Bitcointalk of this thread:

http://www.raspberrypi.org/for.....n-the-r-pi

pretty much sums up the situation - when you re-read it, bear in mind that JamesH is a Broadcom employee and therefore really knows his stuff about such things.

However, if there is going to be some money offered for anything, I'll start pledging for porting the X display driver to OpenGL ES for the RaspberryPi.
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by matthewh3 » Sat Apr 07, 2012 9:31 pm
nmcc said:


I'll put it another way:

The ONLY people that can write code that runs on the GPU is the manufacturer (Broadcom).

The manufacturer provides users info so we can make OpenGL API calls. We, the users, don't get to write any code that runs on the GPU. All we can do is send requests to draw stuff. We can try and fake some elements of parallel processing but there are inherent limitations that don't make it worthwhile.

I think your colleagues assement on your linked thread of Bitcointalk of this thread:

http://www.raspberrypi.org/for.....n-the-r-pi

pretty much sums up the situation - when you re-read it, bear in mind that JamesH is a Broadcom employee and therefore really knows his stuff about such things.

However, if there is going to be some money offered for anything, I'll start pledging for porting the X display driver to OpenGL ES for the RaspberryPi.


Yes I have started a bounty reciving donations in litecoins, bitcoins and namecoins which all can be sold for cash.  If you take the project on we can also list it on - http://litebit.co/ - a major place to ask for LTC/BTC donations and support.  We could also ask for Devcoin - https://en.bitcoin.it/wiki/Devcoin - funding and with this being an alt-currency opensource project I can see lots of votes coming our way.
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by teh_orph » Sun Apr 08, 2012 10:05 am
What exactly does "optimised" mean? If I can make a CPU version thats 10% faster than the stock version, do I win the cash?
User avatar
Posts: 345
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
by marked » Sun Apr 08, 2012 5:52 pm
Can the RasPi be run 24x7 at 100% CPU without destroying the chip and/or the memory through overheating considering the placement?

What, if any, effect would running 100%GPU (e.g. solely running video decoding) for several hours? would that be similar?

If cooling is required what, if any, options are there that can be used?

marked
Posts: 64
Joined: Fri Jul 29, 2011 4:25 pm
by abishur » Sun Apr 08, 2012 7:32 pm
marked said:


Can the RasPi be run 24x7 at 100% CPU without destroying the chip and/or the memory through overheating considering the placement?

What, if any, effect would running 100%GPU (e.g. solely running video decoding) for several hours? would that be similar?

If cooling is required what, if any, options are there that can be used?

marked



Do you damage your phone when you run it at high performance for prolonged periods of time?  (the answer is no :-P )

Passive cooling is all that is required to keep the board cool, running at full tilt nonstop might make it "hot" to the touch, but still be well below dangerous heat levels.  For anyone worried about it, a simple, small fan would provide all the airflow necessary to resolve even that issue. :-)
Dear forum: Play nice ;-)
User avatar
Forum Moderator
Forum Moderator
Posts: 4247
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
by SN » Sun Apr 08, 2012 10:30 pm
Ok i"m gonna be the one that asks "the stupid question" What is this thread all about? What is bitcoins and litecoins etc. . .
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?
User avatar
Posts: 1008
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
by matthewh3 » Sun Apr 08, 2012 11:50 pm
teh_orph said:


What exactly does "optimised" mean? If I can make a CPU version thats 10% faster than the stock version, do I win the cash?


If someone only makes an optimised CPU miner that they should be entitled to 33% of the bounty but I would like someone or a group of people to get together to take on the whole project CPU and GPU so a complete package can be created.  I think I had someone mention in taking on GPU part if you are both serious maybe you can get together to create the RaspberryPI litecoin miner project and apply for Devcoin funding - https://en.bitcoin.it/wiki/Devcoin - and create a project website/blog and get the project listed on - http://litebit.co/ - a major source of donations and support as the bounty isn't that big yet.  So if you're interested in taking on the CPU and/or GPU part please email me at matthewholt3@gmail.com and we can get a team together and apply for Devcoin funding and get the project listed -  http://litebit.co/
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by bruceberry » Mon Apr 09, 2012 8:01 am
nmcc said:


The manufacturer provides users info so we can make OpenGL API calls. We, the users, don't get to write any code that runs on the GPU.


This is not true.

OpenGL ES allows for programmable shaders that *could* be used for GPGPU. The problem with this approach is that it is serverely restricted in terms of what can actually be done. There's no double precision for a start, and I'm pretty sure you cant do integer arithmetic either.

However this does not make it impossible, but you'll get a lot less GFLOPS than if there was a working OpenCL implementation.

Personally I think it would be interesting to see how many coins/watt can be achieved with the R-Pi!
Posts: 28
Joined: Fri Mar 23, 2012 4:27 pm
by nick.mccloud » Mon Apr 09, 2012 8:19 am
bruceberry said:


nmcc said:


The manufacturer provides users info so we can make OpenGL API calls. We, the users, don't get to write any code that runs on the GPU.



This is a selective quote - if you read further I did mention other possibilities.
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by daveg » Mon Apr 09, 2012 10:14 am
SN said:


Ok i"m gonna be the one that asks "the stupid question" What is this thread all about? What is bitcoins and litecoins etc. . .



Glad I'm not the only one who hasn't a clue what it is.

Looked on the websites and it doesn't really tell you a lot.

Anyone care to explain what is or what it does please
User avatar
Posts: 128
Joined: Thu Dec 01, 2011 9:36 am
by hippy » Mon Apr 09, 2012 11:59 am
daveg said:

Anyone care to explain what is or what it does please

The simplistic explanation is that they are 'files' on your computer that have some monetary / exchange value. You can pass your files to others and receive such files yourself, just like coins. You can swap such files for physical coins and vice-versa.
Posts: 763
Joined: Fri Sep 09, 2011 10:34 pm
by bruceberry » Mon Apr 09, 2012 3:20 pm
Just in reply to MMC, I wasnt trying to start an argument, its just your post (yes ive read it all) makes it sound like GPGPU on raspberry pi is currently impossible. Which we both seem to agree isn't quite the case, its just impractical. However I for one would like to explore it more as a curiosity then a tool for real work.
Posts: 28
Joined: Fri Mar 23, 2012 4:27 pm
by matthewh3 » Tue Apr 10, 2012 11:31 am
daveg said:


SN said:


Ok i"m gonna be the one that asks "the stupid question" What is this thread all about? What is bitcoins and litecoins etc. . .


Glad I'm not the only one who hasn't a clue what it is.

Looked on the websites and it doesn't really tell you a lot.

Anyone care to explain what is or what it does please



Watch this short video to understand what bitcoin is -  http://www.weusecoins.com/ - this is the bitcoin wiki - https://en.bitcoin.it/wiki/Main_Page - Litecoin is like the silver to bitcoin gold and is more CPU friendly while BTC needs AMD GPU's or FPGA for efficient production this is the litecoin homepage -  http://litecoin.org/
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by matthewh3 » Thu Apr 12, 2012 6:31 pm
The project has been listed on litebit.co - http://litebit.co/project-item.....ltc-miner/ - are any devs coming forward so we can put in an application for Devcoin funding -  http://www.devtome.org/wiki/in.....oin_Bounty
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by teh_orph » Thu Apr 12, 2012 11:12 pm
Again I'm just wondering how much faster than the stock version must it be before a bounty pay-out is to be offered...
User avatar
Posts: 345
Joined: Mon Jan 30, 2012 2:09 pm
Location: London
by Joefish » Fri Apr 13, 2012 9:55 am
SN said:


Ok i"m gonna be the one that asks "the stupid question" What is this thread all about? What is bitcoins and litecoins etc. . .


The currency is an encrypted-file version of those "local currencies" some trading communities invent to track their bartering schemes and, as a handy offshoot, avoid paying tax on their exchange of currency for goods and services.  A legitimate business accepting bitcoins should evaluate their monetary value and declare the income for tax, but private exchanges go unrecorded.

The subtelty is that the coins are cryptographic keys discovered by repeatedly iterating an algorithm.  And the more coins are "mined", the more the verification algorithm shifts to make their discovery less likely.  Meaning that the earlier you got into the "mining" process, the more likely you were to obtain "free" currency.  Latecomers get less and less currency for the same effort.

Finally, the cost of the electricity and computing power to "mine" a coin will eventually, if it isn"t already, turn out to be more than its tradeable value, meaning it only becomes efficient if someone else is picking up the bill for the processing you"re doing to obtain the coin.

Now someone is trying to pool together a bounty in this currency for someone to write an optimised version of the 'mining' algorithm to run on the Raspberry Pi.  Of course if it was worth anyone's time and effort they could always offer the appropriate amount of cash.  And it doesn't address the point that if you can do it, why not just run it and generate your own rewards, since sharing it would devalue what you could achieve by running it yourself.

Of course, this is all my free and blinkered opinion.  Plenty of people are now queueing up to flame me as they find my lack of faith disturbing.  And it"s not as if the whole thing is any more crazy than a system of paper promisary notes no longer backed by quantities of the useless rare metal that they "promise to pay the bearer on demand" that can be loaned to 1000 people simultaneously anyway…
Posts: 95
Joined: Wed Jan 25, 2012 10:31 am
by matthewh3 » Thu Apr 19, 2012 10:55 pm
teh_orph said:


Again I'm just wondering how much faster than the stock version must it be before a bounty pay-out is to be offered...


If your willing to take the project on as a work in progress and especially the GPU side we can apply for DevCoin funding -  https://en.bitcoin.it/wiki/Devcoin -  where the team can keep 100% of the DevCoins.  BTW someone on bitcointalk.org - https://bitcointalk.org/index.php?topic=75590.0 - thinks they can get the CPU to 270h/s
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by CherryPie » Mon Apr 30, 2012 5:02 pm
As a word of caution, which I'm sure you all are smart enough to know in the first place but here goes anyway:

Being paid in these funds is a big risk in that you'll be working for near nothing (for the most part)... Devcoin is a shade this side of worthless, litecoin is heading that way quickly, namecoin was on its way there too before a recent unusual up swing but still not much better.  Bitcoin is the only one worth any decent considerable value (and yes you should tax the $$$ value you would get based on your local laws to be a good citizen...) and the only one worth really considering a donation in right now for your hard work....  I might venture to speculate that these other worthless near worthless coins will get the majority of donations well because they aren't much to loose lol.

Long story short, if you want paid make them donate in Bitcoin primarily and leave the rest as worthless knock-off's unfortunately you will probably see that the worthless knock-offs will likely give donations more freely.... I wonder why lol
Posts: 1
Joined: Mon Apr 30, 2012 3:55 pm
by matthewh3 » Mon Apr 30, 2012 5:21 pm
The project hasn't received many donations yet.  DevCoins may not be worth a lot but if you got accepted for funding you would gets lots of them.  There are people working on optimising the CPU already for the fun of it.  What we need is for someone to take on the mammoth task of hacking the GPU.  Surly then donations should flood in and you would get accepted for DevCoin funding.
Posts: 12
Joined: Sat Nov 26, 2011 5:47 pm
by TeslaUa » Wed Oct 24, 2012 11:38 am
With todays news http://www.raspberrypi.org/archives/2221 of opensourcing GPU drivers the challenge to mine with GPU is back on track :)
Posts: 1
Joined: Wed Oct 24, 2012 11:35 am