Pages:
Author

Topic: [XPM] Working on a GPU miner for Primecoin, new thread :) - page 27. (Read 166583 times)

hero member
Activity: 1426
Merit: 506
The hell is a gandolf?

You mean Gandalf?
A f*ckin wizard.
Well reaper says he's coming 1500 times a second. Apparently not a wizard in bed.
member
Activity: 93
Merit: 10
Who know what I must put in primecoin_address???
If I put anything different to mu1DxMiRUgzjNrVyVeHeRhqDm3XVK12SK2 it does not work...
But it seems working well if I leave it unchanged, curious because all addresses I generate begins with A key.
WHAT IS mu1DxMiRUgzjNrVyVeHeRhqDm3XVK12SK2 Huh ?
newbie
Activity: 16
Merit: 0
The hell is a gandolf?

You mean Gandalf?
A f*ckin wizard.
hero member
Activity: 868
Merit: 500
CryptoTalk.Org - Get Paid for every Post!
hero member
Activity: 1426
Merit: 506
The hell is a gandolf?
newbie
Activity: 16
Merit: 0
Win7 x64 2xHD5970 - works, still no blocks found
Win8 x64 1xHD5870 - works, still no blocks found
newbie
Activity: 49
Merit: 0
In reaper.conf:

Delete: Device 1
tried - no effect

strangely, removing device from conf changed nothing
does 'reaper.exe' read the confs at all?  Huh
newbie
Activity: 53
Merit: 0
Okay, so the way I got it working is kinda weird - first, to generate the kernel modules,  I had to disable the gpu fermet test. then reaper crashes with 'fractional assert'. Next, I changed it back to enable the gpu fermet test. Then reaper runs without issue. Aggression does not seem to affect how aggressive the miner is, however, so my computer is really not usable while mining. speed does not seem to be much better - perhaps ~2x faster than on CPU alone. I suppose a lot of optimization is coming and various fixes for the weirdness to get it working on all platforms. It also only seems to detect one GPU, unless it's seeing both GPU's as a single OpenCL device? Two kernels appear to get generated, so I'm really not sure what's going on.
newbie
Activity: 49
Merit: 0
reaper.conf
try:
platform 0 <-- change to 1 if you have working integrated gpu
device 0

tried - no effect  Embarrassed
full member
Activity: 210
Merit: 100
I not use any kind of messenger beware of scammers
paulthetafy/entz I got that fixed..

edit base58.c in the libblkmaker dir and add these middle lines:
perfect, thanks!
full member
Activity: 182
Merit: 100
Swiss Money all around me!
Guys, anyone please help to figure out the reasons of this  Huh

Quote
\|||||||||||||||||||||/
-  Reaper v13 32-bit  -
-    PRIME BETA 1     -
-   coded by mtrlt    -
/|||||||||||||||||||||\


Warning: unknown property "#mine" in configuration file.
Warning: unknown property "opencldebug" in configuration file.
Warning: unknown property "use_gpu" in configuration file.
Warning: unknown property "use_gpu_fermat_test" in configuration file.
I'm now mining primecoin!
GeneratePrimeTable() : setting nSievePercentage = 15, nSieveSize = 25165824
Share thread started
GeneratePrimeTable() : prime table [1, 25165824] generated with 1575661 primes
Available CPU mining algorithms: hp7
Using default: hp7
Creating 4 CPU threads.
1...2...3...4...done
List of platforms:
        0       AMD Accelerated Parallel Processing
Using platform number 0

Using devices 0, 1
OpenCL device 0........
Program built from saved binary.
Building kernel CalculateMultipliers
Building kernel Sieve
Building kernel Combine
Building kernel Fermat
OpenCL device 1........
2013-09-02 23:57:53 Error: Error getting OpenCL device info

Googling for the bolded line gives no clue...

In reaper.conf:

Delete: Device 1
legendary
Activity: 1901
Merit: 1024
reaper.conf
try:
platform 0 <-- change to 1 if you have working integrated gpu
device 0
member
Activity: 113
Merit: 10
Its only detecting one device and it's not using the device it is detecting. I'd say drivers.
newbie
Activity: 49
Merit: 0
Guys, anyone please help to figure out the reasons of this  Huh

Quote
\|||||||||||||||||||||/
-  Reaper v13 32-bit  -
-    PRIME BETA 1     -
-   coded by mtrlt    -
/|||||||||||||||||||||\


Warning: unknown property "#mine" in configuration file.
Warning: unknown property "opencldebug" in configuration file.
Warning: unknown property "use_gpu" in configuration file.
Warning: unknown property "use_gpu_fermat_test" in configuration file.
I'm now mining primecoin!
GeneratePrimeTable() : setting nSievePercentage = 15, nSieveSize = 25165824
Share thread started
GeneratePrimeTable() : prime table [1, 25165824] generated with 1575661 primes
Available CPU mining algorithms: hp7
Using default: hp7
Creating 4 CPU threads.
1...2...3...4...done
List of platforms:
        0       AMD Accelerated Parallel Processing
Using platform number 0

Using devices 0, 1
OpenCL device 0........
Program built from saved binary.
Building kernel CalculateMultipliers
Building kernel Sieve
Building kernel Combine
Building kernel Fermat
OpenCL device 1........
2013-09-02 23:57:53 Error: Error getting OpenCL device info

Googling for the bolded line gives no clue...
jr. member
Activity: 59
Merit: 10
I feel like some of the folks here owe mtrlt some apologies for getting their pitchforks out...

lol
sr. member
Activity: 415
Merit: 250
paulthetafy/entz I got that fixed..

edit base58.c in the libblkmaker dir and add these middle lines:

      case   0:  // Bitcoin pubkey hash
      case  23:  // Primecoin pubkey hash
      case 111:  // Testnet pubkey hash

and

      case   5:  // Bitcoin script hash
      case  83:  // Primecoin script hash
      case 196:  // Testnet script hash

So, look up those bitcoin/testnet lines and add the primecoin one. Then compile Smiley (I had problems with this myself - was really convinced I fixed it earlier but I guess I included an unedited lib after all)

Also, for those who like it, here's my primecoin.conf

Quote
host 127.0.0.1
port 11082
user bazkie
pass *some password*

protocol primecoin

use_gpu true
use_gpu_fermat_test false
sievesize 320000
sievepercentage 8
roundsievepercentage 40
opencldebug false
worksize 256
getwork_rate 4000
aggression 16
threads_per_gpu 1
sharethreads 6
#lookup_gap 2
vectors 1
gpu_thread_concurrency 4800
cpu_mining_threads 4

primecoin_address *my address*

Not sure if all of these things work, for example, I think "roundsievepercentage" may actually do nothing in reaper. Other things, I'm not sure if they have to do with CPU, GPU, or both.

I disabled the gpu fermat test, because it will make everything terribly slow - I guess that part is very beta? In fact, enabling GPU makes things only slightly faster at all. Not sure if this is faster or slower than the 'standard' high performance miner, because there's no non-arbitrary numbers to compare. Haven't found a block so far..
full member
Activity: 168
Merit: 100
I feel like some of the folks here owe mtrlt some apologies for getting their pitchforks out...
sr. member
Activity: 383
Merit: 250
this is like a treasure hunt  Grin
full member
Activity: 210
Merit: 100
I not use any kind of messenger beware of scammers
So  can compile under linux.  If I run with use_gpu_fermat_test true then I get 0 fermats/s.
Either way, the biggest issue is that if I use anything other than the example address for primecoin_address in primecoin.conf then reaper crashes with an Invalid Address error.  Any ideas?
I am having the same issue when compiling from the source. The build docs mention needing a "prime branch" version of libblkmaker. Possible the zip file listed is still the bitcoin version?

With my windows build if I use the two libblkmaker dlls from the win32-binary directory (vs compiled/include) it works just fine. Further pointing to an issue with those libraries. No help for linux though =/
Self compiled version is a lot more stable...
legendary
Activity: 934
Merit: 1000
red@red:~/Downloads/bitcoin-libblkmaker/bitcoin-libblkmaker$ make
.deps/base58.Plo:1: *** multiple target patterns.  Stop.
run the 'autogen.sh' script in that dir first Smiley
rm .debs/* fixes that.. then the autogen.sh -> ./configure -> make clean && make && make install
Pages:
Jump to: