Bitcoin Forum
June 23, 2024, 07:41:48 PM *
News: Voting for pizza day contest
 
   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 »
  Print  
Author Topic: [XPM] Working on a GPU miner for Primecoin, new thread :)  (Read 166553 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
tbly13
Jr. Member
*
Offline Offline

Activity: 59
Merit: 10


View Profile
September 02, 2013, 07:35:12 PM
 #281

I feel like some of the folks here owe mtrlt some apologies for getting their pitchforks out...

lol
webwolf86
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
September 02, 2013, 08:03:20 PM
 #282

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...
k0vic
Member
**
Offline Offline

Activity: 113
Merit: 10



View Profile
September 02, 2013, 08:06:19 PM
 #283

Its only detecting one device and it's not using the device it is detecting. I'd say drivers.

LTC- LKNm2UVuBgMLJNPU7pV5cgQnGx6PWGk7Ju
BTC- 1NHcECfk8oxJe83m9bPME2cdUCY72vuA2Y
reb0rn21
Legendary
*
Offline Offline

Activity: 1898
Merit: 1024


View Profile
September 02, 2013, 08:07:32 PM
 #284

reaper.conf
try:
platform 0 <-- change to 1 if you have working integrated gpu
device 0

              ▄▄▄ ▀▀▀▀▀▀▀▀▀ ▄▄▄
           ▄▀▀    ▄▄▄▄▄▄▄▄▄    ▀▀▄
        ▄▀▀  ▄▄▀█          ▀█▀▄▄  ▀▀▄
      ▄▀▀ ▄▄▀    ▀▀▄▄▄▄▄▄▄▀▀    ▀▄▄ ▀▀▄
     █   █            ▀            █   █
   ▄▀ █  ▀▄▄                     ▄█▀  █ ▀▄
  ▄▀ ▄▀ █▄ ▀▀▀██▄▄▄       ▄▄▄██▀▀  ██ ▀▄ ▀▄
  ▀▄▀▀▄ ██ ▄▄▄▄▄▄  ▀▄   ▄▀  ▄▄▄▄▄▄ ██ ▄▀▀▄▀
 ██   █ ██ ▀▄    ▀▄ █   █ ▄▀    ▄▀ ██ █  ▀██
 █  ▄█  ▀█  ▀▀▀▀▀▀▀ █   █ ▀▀▀▀▀▀▀  █   █▄  █
█▀ █  █  █          █   █          █  █  █ ▀▀
 █▀  ▄▀  █▀▄        █   █        ▄▀█  ▀▄  ▀█
 ▄  █▀   █ ▀█▄      ▀   ▀      ▄█▀ █  ▄▀█  ▄
 █▄▀  █  █                         █  █  ▀▄█
 ▀▄  █   ▀█        ▄▄▀▄▀▄▄        █▀   █  ▄
  ▀▄▀▀  █▄ █     ▀█  ▀▀▀  █▀     █ ▄█ ▄▀▀▄▀
   ▀ ▄  ██ █▀▄     ▀▀▄▄▄▀▀     ▄▀█ ██ ▀▄ ▀
    ▀█  ██ █ █▀▄    ▄▄▄▄▄    ▄▀█ █ ██  █▀
      ▀▄ ▀ █ █ ██▄         ▄██ █ █ ▀ ▄▀
        ▀▄ █ █ █ ▀█▄     ▄█▀ █ █ █ ▄▀
          ▀▀▄█ █    ▀▀▀▀▀    █ █▄▀▀
              ▀▀ ▄▄▄▄▄▄▄▄▄▄▄ ▀▀
   
..I  D  E  N  A..
   
Proof-of-Person Blockchain

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 3 2 2

..N  O  D  E  S..
   
                ██
                ██
                ██
                ██
                ██
         ▄      ██      ▄
         ███▄   ██   ▄███
          ▀███▄ ██ ▄███▀
            ▀████████▀
              ▀████▀
                ▀▀
██▄                            ▄██
███                            ███
███                            ███
███                            ███
 ███▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
  ▀▀██████████████████████████▀▀
   
D O W N L O A D

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    .REQUEST INVITATION.
iANDROID
Full Member
***
Offline Offline

Activity: 182
Merit: 100


Swiss Money all around me!


View Profile
September 02, 2013, 08:12:42 PM
 #285

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
Entz
Full Member
***
Offline Offline

Activity: 210
Merit: 100


I not use any kind of messenger beware of scammers


View Profile
September 02, 2013, 08:13:55 PM
 #286

paulthetafy/entz I got that fixed..

edit base58.c in the libblkmaker dir and add these middle lines:
perfect, thanks!

webwolf86
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
September 02, 2013, 08:15:36 PM
 #287

reaper.conf
try:
platform 0 <-- change to 1 if you have working integrated gpu
device 0

tried - no effect  Embarrassed
akspa
Newbie
*
Offline Offline

Activity: 53
Merit: 0



View Profile WWW
September 02, 2013, 08:21:33 PM
 #288

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.
webwolf86
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
September 02, 2013, 08:31:51 PM
 #289

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
mallory303
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
September 02, 2013, 08:45:07 PM
 #290

Win7 x64 2xHD5970 - works, still no blocks found
Win8 x64 1xHD5870 - works, still no blocks found
BChydro
Hero Member
*****
Offline Offline

Activity: 1426
Merit: 506


View Profile
September 02, 2013, 08:45:56 PM
 #291

The hell is a gandolf?
FiiNALiZE
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500

CryptoTalk.Org - Get Paid for every Post!


View Profile
September 02, 2013, 08:48:48 PM
 #292

The hell is a gandolf?


 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
mallory303
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
September 02, 2013, 08:52:33 PM
 #293

The hell is a gandolf?

You mean Gandalf?
A f*ckin wizard.
rgzen
Member
**
Offline Offline

Activity: 93
Merit: 10



View Profile
September 02, 2013, 08:55:21 PM
 #294

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 ?
BChydro
Hero Member
*****
Offline Offline

Activity: 1426
Merit: 506


View Profile
September 02, 2013, 09:05:04 PM
 #295

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.
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
September 02, 2013, 09:18:47 PM
 #296

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 ?
You need to modify the blkmaker source to allow XPM addresses to be added.  I dont have the source handy now (ipad) but it was talked about earlier in this thread.  there is a case statement where you need to add cases for the XPM addresses, i remember the cases were 23 and 83, just cant remember what file Smiley  just search or ask in #mxcnow or #primecoin
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
September 02, 2013, 09:26:26 PM
 #297

Has anyone found a block yet?  Or even worked out how fast is it?  I haven't mined a block and in my testing it is a little slower with 2 x 7950 than just running HP10 on the CPU on the same machine.  I'm hoping I have some config wrong somewhere, but I've tried everything I can think of.  I'm NOT running the fermat test on the GPU as that is slower again.
webwolf86
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
September 02, 2013, 09:36:12 PM
 #298

finally got it to work - thanks to iANDROID, reb0rn21, k0vic for your help!
was editing the wrong confs initially  Roll Eyes

BUT! now it says

Quote
Using device 0
OpenCL device 0........
Program built from saved binary.
Building kernel CalculateMultipliers
Building kernel Sieve
Building kernel Combine
Building kernel Fermat
done
Error adding block template: Missing 'bits'
Program built from saved binary.
Building kernel CalculateMultipliers
Building kernel Sieve
Building kernel Combine
Building kernel Fermat
Error adding block template: Missing 'bits'
0 fermats/s, 0 gandalfs/s.
0 TOTAL
0 fermats/s, 0 gandalfs/s.
0 TOTAL
Error adding block template: Missing 'bits'
0 fermats/s, 0 gandalfs/s.
0 TOTAL
0 fermats/s, 0 gandalfs/s.
0 TOTAL
Error adding block template: Missing 'bits'

the heck is block template ? Huh
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
September 02, 2013, 09:45:19 PM
 #299

Getting an app crash after a few seconds of starting mining...don't get it.

Any clues?

AdvocateOne
Newbie
*
Offline Offline

Activity: 95
Merit: 0


View Profile
September 02, 2013, 09:53:44 PM
 #300

Guys I'm trying to compile this on ubuntu and getting "asking for OpenCL = OPENCL_LIBRARY-NOTFOUND"

I have opencl installed and $AMDAPPSDKROOT defined.  Any ideas?

Same here on arch...
Any solution?
Just solved. Only have to add this text into CMakeLists.txt:
Code:
FIND_LIBRARY( OPENCL_LIBRARY NAMES OpenCL PATH
        $ENV{OPENCL_LIB_DIR}
        $ENV{HOME}/.local/lib
        /usr/lib
        /usr/lib64
        /usr/local/lib
        /usr/local/cuda/lib64
        /usr/local/cuda/lib
)

test it paulthetafy, let we see if works for you too... Cool
Okay this didnt work for me.  in IRC mtrlt said that I need libOpenCL.a, which I don't have.  There is some suggestion that the latest AMDAPP doesn't come with the .a, only the .so.  If anyone has libOpenCL.a please can you PM me or put it up somewhere so I can DL it?

Same problem.  I get the OPENCL_LIBRARY-NOTFOUND message.  Adding the text above to my CMakeLists.txt file did not resolve the problem.  I've searched Google for hints on how to get the libOpenCL.a file, but it must be a well-protected secret because I can't find any useful directions.  Any luck yet?
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 »
  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!