Bitcoin Forum
August 29, 2025, 01:52:58 AM *
News: Latest Bitcoin Core release: 29.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 1239553 times)
qed
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
April 22, 2011, 10:53:49 PM
 #761

The if (H == 0) modification fixed my crossfire issue. Now all the GPUs are used at 97%-99%, before i had 1 GPU at 99% one at around 94% and one at around 85%.

Mobile App (Android)

Monitor miners, exchange rates and Bitcoin network stats.
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2349


Eadem mutata resurgo


View Profile
April 22, 2011, 11:01:42 PM
 #762


The if (H == 0) modification fixed my crossfire issue. Now all the GPUs are used at 97%-99%, before i had 1 GPU at 99% one at around 94% and one at around 85%.

Wow, really? How could that be I wonder?

Did you do anything else besides pasting in the above section of code?

nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 22, 2011, 11:31:24 PM
 #763

hmmm imana try and see if it fixed my too, brb

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 22, 2011, 11:37:26 PM
 #764

It MAY have lowered the amplitude of the problem, but not by much, it still requires -f 60 for it to be somewhat stable

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
qed
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
April 23, 2011, 12:37:33 AM
Last edit: April 23, 2011, 06:36:27 AM by qed
 #765


The if (H == 0) modification fixed my crossfire issue. Now all the GPUs are used at 97%-99%, before i had 1 GPU at 99% one at around 94% and one at around 85%.

Wow, really? How could that be I wonder?

Did you do anything else besides pasting in the above section of code?

I just made all the 3 changes posted, that's it. I'm using 3 hd 6950 on windows 7 64 bit.

Mobile App (Android)

Monitor miners, exchange rates and Bitcoin network stats.
LobsterMan
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
April 23, 2011, 01:37:31 AM
 #766

I just installed the 270.61 nvidia drivers, and it seems to make the drivers crash each time I exit poclbm by clicking the x, if I ctrl-c they seem to exit fine most of the time. Nothing serious yet, but I keep getting these in my system event log:

"Display driver nvlddmkm stopped responding and has successfully recovered."



have you done any overclocking?

No  Undecided
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
April 23, 2011, 02:00:32 AM
 #767

I just installed the 270.61 nvidia drivers, and it seems to make the drivers crash each time I exit poclbm by clicking the x, if I ctrl-c they seem to exit fine most of the time. Nothing serious yet, but I keep getting these in my system event log:

"Display driver nvlddmkm stopped responding and has successfully recovered."



have you done any overclocking?

No  Undecided
you using flag -f1 or fxxx?

Completely remove driver using driver sweeper & install again with CUDA.
kindle
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
April 23, 2011, 03:44:53 AM
 #768

Just curious did anyone manage to mine a successful block with the (H == 0)  mod?

nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 23, 2011, 06:23:28 AM
 #769

Just curious did anyone manage to mine a successful block with the (H == 0)  mod?

deepbit's pool is seeing the right hashrate so I am being paid in that way :p

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2349


Eadem mutata resurgo


View Profile
April 23, 2011, 06:40:27 AM
 #770


The if (H == 0) modification fixed my crossfire issue. Now all the GPUs are used at 97%-99%, before i had 1 GPU at 99% one at around 94% and one at around 85%.

Wow, really? How could that be I wonder?

Did you do anything else besides pasting in the above section of code?

I just made all the 3 changes posted, that's it. I'm using 3 hd 6950 on windows 7 64 bit.

Besides pasting in the
#ifdef VECTORS
   if (H.x == 0)
-------
loop, what other 2 changes did you make exactly?

nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 23, 2011, 06:42:19 AM
 #771


The if (H == 0) modification fixed my crossfire issue. Now all the GPUs are used at 97%-99%, before i had 1 GPU at 99% one at around 94% and one at around 85%.

Wow, really? How could that be I wonder?

Did you do anything else besides pasting in the above section of code?

I just made all the 3 changes posted, that's it. I'm using 3 hd 6950 on windows 7 64 bit.

Besides pasting in the
#ifdef VECTORS
   if (H.x == 0)
-------
loop, what other 2 changes did you make exactly?

H.y == 0
H == 0
 Undecided

I believe he didn't paste but just manually change the 3 things (H.x == 0 and the 2 above)

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2349


Eadem mutata resurgo


View Profile
April 23, 2011, 10:47:40 AM
 #772


Okay, I tested the H == 0 mod on linux ubuntblow 10.10, HD5970 and it is 1-2% SLOWER. (Wonder why it is faster on Win?)

... poclbm fork for Win users ... ?

nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 23, 2011, 04:13:11 PM
 #773

yup I am on win 7 64 bit

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
drgr33n
Sr. Member
****
Offline Offline

Activity: 308
Merit: 251



View Profile
April 23, 2011, 05:24:10 PM
 #774


Okay, I tested the H == 0 mod on linux ubuntblow 10.10, HD5970 and it is 1-2% SLOWER. (Wonder why it is faster on Win?)

... poclbm fork for Win users ... ?

It's not just windows. Its running around 5000kh/s faster on my debian server.
djex
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
April 23, 2011, 05:32:22 PM
 #775


Okay, I tested the H == 0 mod on linux ubuntblow 10.10, HD5970 and it is 1-2% SLOWER. (Wonder why it is faster on Win?)

... poclbm fork for Win users ... ?

I have a Ubuntu 10.10 box and it gets about 1.1Mh/s faster with this mod.

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
April 23, 2011, 05:42:52 PM
 #776

I made the modification and my 5870s went from 363 mHash/sec and 361 mHash/sec to 370 even on both.  Ubuntu 10.10.

RIP BTC Guild, April 2011 - June 2015
bolapara
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
April 23, 2011, 06:04:28 PM
 #777


Okay, I tested the H == 0 mod on linux ubuntblow 10.10, HD5970 and it is 1-2% SLOWER. (Wonder why it is faster on Win?)

... poclbm fork for Win users ... ?

I have a Ubuntu 10.10 box and it gets about 1.1Mh/s faster with this mod.

Ubuntu 10.10, 5870, and this mod consistently knocks me down 5MH/s.
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2349


Eadem mutata resurgo


View Profile
April 23, 2011, 09:45:31 PM
 #778

What the heck ... it must be the SDK or fglrx driver version.

ubuntu 10.10 (x86_64)
ATIstreamSDK 2.1
fglrx driver 11.2
HD 5970

H == 0 mod
SLOWER 1-2% (4-5 Mhas/s)


eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
April 24, 2011, 01:11:43 AM
 #779

My results (+7 mHash/sec per GPU) were from:

Ubuntu 10.10 (x86_64)
ATIStream SDK 2.1
fglrx driver 11.3
HD 5870s

RIP BTC Guild, April 2011 - June 2015
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
April 24, 2011, 01:23:36 AM
 #780

poclbm_py2exe_20110325.7z
If i just edit the bitcoinminer.cl in the above zip file, from
this
Code:
#ifdef VECTORS
if (belowOrEquals(H.x, targetH, G.x, targetG))
{
output[OUTPUT_SIZE] = output[nonce.x & OUTPUT_MASK] = nonce.x;
}
else if (belowOrEquals(H.y, targetH, G.y, targetG))
{
output[OUTPUT_SIZE] = output[nonce.y & OUTPUT_MASK] = nonce.y;
}
#else
if (belowOrEquals(H, targetH, G, targetG))
{
output[OUTPUT_SIZE] = output[nonce & OUTPUT_MASK] = nonce;
}
#endif
}


to this
Code:
#ifdef VECTORS
if (H.x == 0)
{
output[OUTPUT_SIZE] = output[nonce.x & OUTPUT_MASK] = nonce.x;
}
else if (H.y == 0)
{
output[OUTPUT_SIZE] = output[nonce.y & OUTPUT_MASK] = nonce.y;
}
#else
if (H == 0)
{
output[OUTPUT_SIZE] = output[nonce & OUTPUT_MASK] = nonce;
}
#endif
}

& RUN pocblm.exe with options to mine in a pool, will i may get more hash?
Or i have to compile something?
Using windows & have zero programming knowledge.
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!