Bitcoin Forum
April 23, 2024, 01:53:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 »
  Print  
Author Topic: python OpenCL bitcoin miner  (Read 1238799 times)
ledskof
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 15, 2011, 06:19:30 AM
Last edit: January 15, 2011, 06:53:49 AM by ledskof
 #341

Everything is running great here except when I play a video my computer crashes.  I'm running a Radeon 6970 and as soon as I click on a video (youtube, etc) etc I get a hard lock.  If I turn off poclbm.exe no problems with the videos.  Has anyone had a similar experience?

I have exactly the same issue as you described: a complete freeze of all Windows (running Vista 64bit), not even ctrl-alt-del working anymore. And I suspect everything from Adobe: not only flash player but even opening a PDF in Acrobat Reader causes my system to freeze.

I had an ATI 4870 before which didn't show this problem.


Me too.  I have an ATI HD 6970 in a Windows 7 box.  Even at standard clock speeds, if I bring up a youtube video, the screen freezes and I can no longer toggle keyboard lights. iTunes still plays, but I haven't tested network services or anything yet.  Maybe there is some chance I could RDP into it, but I doubt it.

It's really annoying having to remember what not to do, but oh well.  I'm just waiting for the crashing to finally cause a problem with my 4 x SSD RAID 0.

I'm also finding that SDK v2.1 just isn't happening for me.  I removed all ATI related apps, used Driver Sweeper to clean up the remnants, and then went with the 12.10a hotfix + ATI Stream SDK v2.1.  When I run poclbm.exe, it gives the same error message it gives when the Stream SDK isn't installed at all.

I also tried this on a laptop with an ATI HD 5730 in it.  Same thing with poclbm not recognizing the Stream SDK v2.1.  Am I missing some step to get it working?  v2.3 works just fine for me, it's just that I'm assuming in light of people saying to run 2.1, that I would get more performance out of it.  I'm getting 290mhash/s right now by overclocking it to 920mhz.  Any higher seems to just crash it. I was a little too busy to tweak with it right now, so I haven't messed with the the memory clock or voltage much yet.
1713880422
Hero Member
*
Offline Offline

Posts: 1713880422

View Profile Personal Message (Offline)

Ignore
1713880422
Reply with quote  #2

1713880422
Report to moderator
1713880422
Hero Member
*
Offline Offline

Posts: 1713880422

View Profile Personal Message (Offline)

Ignore
1713880422
Reply with quote  #2

1713880422
Report to moderator
1713880422
Hero Member
*
Offline Offline

Posts: 1713880422

View Profile Personal Message (Offline)

Ignore
1713880422
Reply with quote  #2

1713880422
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713880422
Hero Member
*
Offline Offline

Posts: 1713880422

View Profile Personal Message (Offline)

Ignore
1713880422
Reply with quote  #2

1713880422
Report to moderator
1713880422
Hero Member
*
Offline Offline

Posts: 1713880422

View Profile Personal Message (Offline)

Ignore
1713880422
Reply with quote  #2

1713880422
Report to moderator
teknohog
Sr. Member
****
Offline Offline

Activity: 519
Merit: 252


555


View Profile WWW
January 15, 2011, 03:34:04 PM
 #342

v2.3 works just fine for me, it's just that I'm assuming in light of people saying to run 2.1, that I would get more performance out of it.

In my experience, 2.2 is the best. 2.1 used to have compilation problems with vectors, and 2.3 is a little slower (on a HD5770). These things really seem to be different for different setups, so there is no reason to follow an arbitrary rumour. Try them all and see what works best for you.

world famous math art | masternodes are bad, mmmkay?
Every sha(sha(sha(sha()))), every ho-o-o-old, still shines
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
January 15, 2011, 04:47:23 PM
 #343

When switching out the SDK, does one just need to copy in the library files, or does PyOpenCL need to be rebuilt?

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
ElectricGoat
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
January 15, 2011, 06:25:45 PM
 #344

Hi,

I don't have a big expensive graphic card, but I wanted to try anyway. For the record, I have a Radeon HD 5450, and I get a little below 11 Mhash/s with the default settings, plus maybe 2 Mhash/s with the i3 CPU (3.7 MHash/s with the CPU only). So, of course, it's not very impressive, and probably not worth mining with.
tmr0
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 16, 2011, 05:45:45 AM
 #345

You will have to wait.

Probably. But I would try to run it on testnet and see if anything gets accepted. On testnet, you should get a block after several minutes. If it works on testnet, it's just a matter of time (and luck) on "realnet".

Thanks for that tip, I called bitcoin with -testnet and -server and got results accepted fairly quickly.  I suspect something was not right with the way the bash script I wrote was launching poclbm.
tcatm
Sr. Member
****
Offline Offline

Activity: 337
Merit: 265


View Profile
January 16, 2011, 08:09:22 PM
 #346

fake-push and logging support: http://pastebin.com/J4qZRgXT
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
January 17, 2011, 02:17:49 PM
 #347

Hi,

I have nvidia Geforce 9400GT with latest drivers 260.99
I am running poclbm.exe -d0 --host=mining.bitcoin.cz --port=8332 --user=##### --pass=##### & i get around 2300+ khash/s
I tried with -w256 & get same result, If i go for low value i get less khash/s & if i try more than 256, even 257, it runs for 5 seconds & crashes
But i get more than 4000000khash/s that time. Only for 5 seconds.
I saw ati cards have ati stream sdk, which improves a lot to achieve more khash/s.
Is there some way to increase the khash/s of my graphics card.
It has CUDA= 3.2 & opencl=1.0
robmon
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
January 17, 2011, 06:30:56 PM
 #348

I was happily mining avg 148 000 khash/s with my 5770 but after reading the original post a little closer and trying the Known best settings I instantly juiced it up to 170 000 khash/s! Important lesson learned, read things thoroughly or don't bother at all.   Grin

Quote
Known best settings
(please PM better/best settings for your platform)
Windows 7 64, Stream 2.2, AMD 5[7-8]70
use '-v -w 128' with '-f 30' on 5770 (160 MHash), '-f 5' on 5870 (318 MHash)
ledskof
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 20, 2011, 01:45:37 AM
 #349

I'm getting about 295M with a 6970.  Anyone doing better with a 6970?
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
January 20, 2011, 03:58:41 AM
 #350

robmon, dial up your core clock to 950 MHz.  I'm getting 185 Mhash/s on a 5770.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
geebus
Sr. Member
****
Offline Offline

Activity: 258
Merit: 250



View Profile WWW
January 21, 2011, 10:59:29 PM
 #351

I'm having an odd issue, seeing if anyone else has seen it...

On my HD6950 running m0mchill's miner, I get ~300Mhash/s and it runs relatively well until I open any other program that uses video acceleration, at which point, my display freezes. To elaborate, my PC doesn't freeze. I can remote desktop into the box, and likewise view my account activity on Slush's pool and see I'm still submitting shares, but the display itself is frozen. Running puddinpop's rpcminer I see the same situation, but his will eventually crash, driver will reset and I get a nice event viewer log for atiocl.dll crashing.

Running Windows 7 Ultimate x86, Sapphire HD6950 (tried with BIOS mod to 6970 as well) with Catalyst 10.12a and Stream SDK 2.3. This configuration seems the most stable out of all, but still occurs.

I've also tried the following:
Catalyst 10.10 / Stream 2.1
Catalyst 10.12 / Stream 2.2
Catalyst 10.12 / Stream 2.3
Catalyst 10.12a / Stream 2.2
Catalyst 11.1a / Stream 2.3

Issue occurs regardless of driver/stream configuration. I am running HDMI digital out on my card.

I don't know if this is an issue of how the OpenCL miners are handling the calls to atiocl.dll, a digital-out issue, or a driver/stream config issue. Any help would be greatly appreciated though.

Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
January 22, 2011, 04:21:10 PM
 #352

Hi geebus.  I suspect this is an OpenCL issue since I see the same behavior on Linux.  Have you tried backing the clocks down?  Others have reported that things are more stable if not overclocking.  I decided to just dedicate some machines to mining.  They tend to be unstable even when browsing flash-enabled web pages.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
January 24, 2011, 10:49:31 AM
 #353

I made some pool related changes - socket timeout is now 5 seconds to avoid solving some jobs more than once. Exception handling should be somewhat better too.

BitLex
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
January 24, 2011, 02:03:27 PM
 #354

sad that it still doesn't run both 5970 cores,
i'm still forced to use poclbm_py2exe_20101126 on GPU2 (which runs fine, except it crashes, or just stops working from time to time, at least on the pool).

tcatm
Sr. Member
****
Offline Offline

Activity: 337
Merit: 265


View Profile
January 25, 2011, 05:27:10 AM
Last edit: January 25, 2011, 06:22:22 AM by tcatm
 #355


http://pastebin.com/v98gWWLc (port of ArtForz's code)

567 Mhash/s on a 5970 @ 725 MHz

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
January 25, 2011, 02:42:59 PM
 #356

Updated to use ArtForz kernel. Lowered default 'frames' to 30.

I am seeing biggest improvement on linux, Stream 2.1, 2x5970 - ~5%

Thanks ArtForz, tcatm

bitcoin2
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 26, 2011, 03:42:16 PM
 #357

On testnet I got only a "invalid or state" error message. Has anybody successfully mined a Block with the new Software?
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
January 26, 2011, 05:20:23 PM
 #358

Ok, just confirmed... latest version is good only with 'difficulty = 1'. Working properly only on slush's pool.

Please revert to previous version for mining solo. I'm working on a fix.

Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
January 26, 2011, 08:13:58 PM
 #359

Hello all,

New here to the BC scene, I've everything setup successfully with the pOpenCL miner, but have just 2 questions if anyone could fill me in I wasnt able to find much information on:

1) What exactly is the -w / workspace variable doing? I understand where it's pulling the value from in OpenCL, but how does adjusting this effect the process?
2) I've tuned the -w variable down as best I know how to attempt using BC, (running @ -w 62) so I can try to run this in the background while working. It's using 100% of the CPU. Not a huge problem I just saw someone here mentioning it shouldn't be that high? Any ideas on what might be the cause?

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://bitcointalk.org/index.php?topic=6128.0
brocktice
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250


Apparently I inspired this image.


View Profile WWW
January 26, 2011, 09:20:59 PM
 #360

Ok, just confirmed... latest version is good only with 'difficulty = 1'. Working properly only on slush's pool.

Please revert to previous version for mining solo. I'm working on a fix.

My fork has been reverted.

http://media.witcoin.com/p/1608/8----This-is-nuts

My #bitcoin-otc ratings: http://bitcoin-otc.com/viewratingdetail.php?nick=brocktice&sign=ANY&type=RECV

Like my post? Leave me a tip: 15Cgixqno9YzoKNEA2DRFyEAfMH5htssRg
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 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!