Pages:
Author

Topic: Using poclbm With The phatk Kernel - page 2. (Read 13230 times)

member
Activity: 84
Merit: 10
June 23, 2011, 06:28:04 PM
#34
I have had a lot of trouble with phoenix. The biggest issue being that it oftens gets stuck on "[0 Khash/sec] blah blah" and never reconnects to the server. This is especially bad when I have torrents running, even when I limit torrent traffic. The only reason I put up with it is because phoenix supports the phatk kernel, which gets me an extra 20MH/s per card.

Well, I got tired of it, so I forked poclbm and hacked it to support phatk. Here's my fork:

https://github.com/progranism/poclbm

So far so good, poclbm is happily running without any issues whereas my phoenix instances are freezing up  Tongue MH/s is about the same. 339 MH/s instead of the 340 MH/s I get on phoenix. Close enough.

Lemme know if this helps anyone else.  Smiley

I never had a problem with phoenix locking up...
Every how much time it should happen?
newbie
Activity: 15
Merit: 0
June 23, 2011, 05:39:42 PM
#33
Hi,
fpgaminers version of merging his phatk branch with luke-jr's branch seems to miss some of luke-jr's patches, and github shows conflicts. So I gave it a shot myself and made a new version. Because patches often didn't apply, I had to merge manually. So here it is:

→ Now you can choose between the original poclbm kernel and phatk via command line (-P or --phatk)
→ It has all of luke-jr's improvements, including more detailed statistics (with some cosmetic changes by myself)
→ Some other very minor improvements

Here is the patch that is meant to be applied to fpgaminer's fpgaminer-poclbm branch.

Get his branch via
Code:
git clone git://github.com/progranism/poclbm fpgaminer-poclbm
and apply the diff with
Code:
patch -p1 

Have fun!
newbie
Activity: 15
Merit: 0
June 23, 2011, 05:33:21 PM
#32
With this version over regular poclbm, my HD5830s get about 10mhash/sec more per card.

But there's just one problem, I keep getting long polling exceptions working off BTCGuild USWest such as:

Code:
23/06/2011 15:18:44, long poll exception:
Traceback (most recent call last):
  File "BitcoinMiner.pyc", line 350, in longPollThread
  File "BitcoinMiner.pyc", line 308, in request
  File "httplib.pyc", line 950, in getresponse
  File "httplib.pyc", line 390, in begin
  File "httplib.pyc", line 348, in _read_status
  File "socket.pyc", line 395, in readline
timeout: timed out

Sometimes it will reconnect and recover, sometimes it doesn't bother and just sits there idle, until I notice that the miner has been disconnected for a few hours. This doesn't happen with regular poclbm.
hero member
Activity: 988
Merit: 1000
June 23, 2011, 05:45:39 AM
#31
Thank you so much,
I haven't coded in 20years, things have gotten easier since then.

Looks great and working nicely.
hero member
Activity: 560
Merit: 517
June 23, 2011, 01:24:11 AM
#30
Quote
How do I implement this in Ubuntu 10.10, SDK-2.1 and Cat-11.2?

From memory, so I may mis-type something

Code:
git clone git://github.com/progranism/poclbm fpgaminer-poclbm
cd fpgaminer-poclbm
git checkout with-luke-jr-mods
./poclbm.py
hero member
Activity: 988
Merit: 1000
June 23, 2011, 12:05:17 AM
#29
Merged in Luke-Jr's work on poclbm. I put it on a different branch in my fork: https://github.com/progranism/poclbm/tree/with-luke-jr-mods

Seems to work just great  Cheesy

How do I implement this in Ubuntu 10.10, SDK-2.1 and Cat-11.2?
newbie
Activity: 20
Merit: 0
June 22, 2011, 11:49:43 PM
#28
+1 for a sticky. This is working great for me with ~same Mh (maybe 1-2% slower) as phoenix/phatk in Win7 64-bit, yet with CPU essentially at idle instead of 1 core maxed. System is noticeably quieter and I expect it uses less energy as well. Will be sending you some BTC if it proves to be stable with low reject rate.

Highly recommended for ATI users, especially in these hot months where every watt counts.
member
Activity: 70
Merit: 10
June 22, 2011, 11:34:33 PM
#27
my 6970 gets +1mhash improvement (over phoenix) using -f0 flag with your build. interesting.. but every mhash helps
hero member
Activity: 686
Merit: 501
Stephen Reed
June 22, 2011, 11:08:00 PM
#26
I'm running poclbm with a hash rate of 202 MH/sec per overclocked 5770.  Can I expect better with phatk?

When I tried phoenix my rigs had higher CPU utilization and became unstable.
newbie
Activity: 56
Merit: 0
June 22, 2011, 02:36:55 PM
#25
This thread needs a bright shiny gold star. Thanks for this. Working fine for me, Windows 7 64bit.
full member
Activity: 129
Merit: 100
June 22, 2011, 11:40:58 AM
#24
Alright, here's a stab in the dark for the Windows version:

Binary: http://www.bitcoin-mining.com/poclbm-with-phatk-lukejr-win32-20110620a.zip

Source: http://www.bitcoin-mining.com/poclbm-with-phatk-lukejr-src-20110620a.zip

The source archive includes the code, and a folder called "win32" which is what I used to build the EXE from using py2exe, in case you want to do it yourself or use the python code directly.

Please note: This worked on my Windows 7 64-bit machine, but I only have an nVidia on here so I couldn't do a full test. I also don't have a "clean" Windows machine without Python and other installed dependencies on it, so I don't know if the above zip has all the dependencies packed in. Just let me know if it doesn't work Smiley


VirusTotal Results:
http://www.virustotal.com/file-scan/report.html?id=84149252dfa3967569a44afacfc78c912284af1105598fb3eca2e54f12d862df-1308618791
http://www.virustotal.com/file-scan/report.html?id=206672d8d24a35ba4ed9884016f2c802358bd11f4c328dcf529bd2733e14b57c-1308618794


Awesome, thanks, i don't know if I have python installed... this build works about the same speed as guiminer - the new stats from Luke-Jr are pretty neat.
legendary
Activity: 1379
Merit: 1003
nec sine labore
June 22, 2011, 02:57:22 AM
#23
Quote
poclbm does not work, it gives an error about access rights and I did not bother to look at it more deeply.

I've made a few more tests with your work and it always freezes or traps after a few minutes of work. The longest run has been less than half an hour.
Did you chmod +x poclbm.py?

yes, but it gave same error


Quote
Either way, sounds like your setup doesn't like poclbm for some reason. I can't think of anything else to try. I normally don't develop GPU miners  Tongue

Me neither Smiley

Anyway, thanks for helping me.

spiccioli.
hero member
Activity: 560
Merit: 517
June 22, 2011, 02:25:05 AM
#22
Quote
poclbm does not work, it gives an error about access rights and I did not bother to look at it more deeply.

I've made a few more tests with your work and it always freezes or traps after a few minutes of work. The longest run has been less than half an hour.
Did you chmod +x poclbm.py?

Either way, sounds like your setup doesn't like poclbm for some reason. I can't think of anything else to try. I normally don't develop GPU miners  Tongue

Quote
works great in win7 32bit
better than phoenix

send you 0.1
Thank you, wahbasah. That is very much appreciated. I hope it helps you make more Bitcoins  Cheesy

full member
Activity: 154
Merit: 100
June 21, 2011, 02:43:53 PM
#21
Hi guys! fpgaminer's fork is working with lvlrdka22's frontend as a compliment. You might try it. Works well, too. This is for windows.  Wink
http://forum.bitcoin.org/index.php?topic=10264.msg259277#msg259277
newbie
Activity: 6
Merit: 0
June 21, 2011, 10:02:51 AM
#20
Working fine in Windows 7 64-bit. I'm getting about the same hash rate, but enjoying luke-jr's improved status messages nonetheless.
newbie
Activity: 29
Merit: 0
June 21, 2011, 08:12:54 AM
#19
works great in win7 32bit
better than phoenix

send you 0.1
legendary
Activity: 1379
Merit: 1003
nec sine labore
June 21, 2011, 07:04:50 AM
#18
Quote
Sadly it causes a kernel trap after a few minutes of work, I'm using it onto a LinuxCoin pc with two 5850s which has been working ok with phoenix (apart from the hang problem) for more than three weeks.
Woah, weird. Have you ever run poclbm on that machine before?


Hi fpgaminer,

poclbm does not work, it gives an error about access rights and I did not bother to look at it more deeply.

I've made a few more tests with your work and it always freezes or traps after a few minutes of work. The longest run has been less than half an hour.

So I decided to go back to phoenix.

Best regards.

spiccioli.

ps. I'm running a 2x5850s rig with linuxcoin 0.2a as operating system and I start two instances of poclbm, one for each gpu, inside a screen session like this:

DISPLAY=:0 ./poclbm.py -v -d 0 -a 2 --user=... --pass=... -o api.bitcoin.cz --backup=user:[email protected]:8332

My 5850s are running 885/295 (core/mem) at 1.08V and produce around 350Mh each.
full member
Activity: 154
Merit: 100
June 21, 2011, 03:27:45 AM
#17
Hi! I have it now up and running in windows7x64 (I downloaded the binary) and I have about the same hashrate on my 5850 (381 with Phoenix+phatk)960/300/1.174v. No 1 Mhash difference. Haven't had any stales yet. Will be monitoring for the next hours/days.

I hope this gets integrated to the major GUI miners/frontend. This is just great! Thank you for your work!  Grin
c_k
donator
Activity: 242
Merit: 100
June 20, 2011, 10:34:46 PM
#16
Ah, with Python 2.7 this looks better than Python 3.2 however it also seems to need the PyOpenCL module to run Undecided
hero member
Activity: 560
Merit: 517
June 20, 2011, 08:28:14 PM
#15
Alright, here's a stab in the dark for the Windows version:

Binary: http://www.bitcoin-mining.com/poclbm-with-phatk-lukejr-win32-20110620a.zip

Source: http://www.bitcoin-mining.com/poclbm-with-phatk-lukejr-src-20110620a.zip

The source archive includes the code, and a folder called "win32" which is what I used to build the EXE from using py2exe, in case you want to do it yourself or use the python code directly.

Please note: This worked on my Windows 7 64-bit machine, but I only have an nVidia on here so I couldn't do a full test. I also don't have a "clean" Windows machine without Python and other installed dependencies on it, so I don't know if the above zip has all the dependencies packed in. Just let me know if it doesn't work Smiley


VirusTotal Results:
http://www.virustotal.com/file-scan/report.html?id=84149252dfa3967569a44afacfc78c912284af1105598fb3eca2e54f12d862df-1308618791
http://www.virustotal.com/file-scan/report.html?id=206672d8d24a35ba4ed9884016f2c802358bd11f4c328dcf529bd2733e14b57c-1308618794
Pages:
Jump to: