Author Topic: Open source OpenCL GPU miner by girino - Binaries for win, linux, osx (1% fee)  (Read 36902 times)

0 Members and 1 Guest are viewing this topic.

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #29 on: January 16, 2014, 09:52:28 pm »
1350 cpm for 2x280x (vs abt 2200 on 1gh miner), driver crash after 15 min.

Any screenshot of crash so i can try to find out what happened?

Offline Aber

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #28 on: January 16, 2014, 08:35:08 pm »
1350 cpm for 2x280x (vs abt 2200 on 1gh miner), driver crash after 15 min.
« Last Edit: January 16, 2014, 09:16:06 pm by Aber »

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #27 on: January 16, 2014, 07:25:03 pm »
Hi

I build that and that work.
but perfomance not perfect. on my 7950 I get only ~715 cpm. 1gh binary miner get ~1000 cpm.
any ideas how to up speed?
my options -a gpuv4 -m 28

You can try the different algorithms, V3 and V2. Maybe one of them is best for your card. Also, if there is more than one card/GPU/OpenCLDevice, you should run more than one thread. (i am implementing code to select which GPUs you want it to run from the command line).

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #26 on: January 16, 2014, 07:22:46 pm »
[STATS] 2014-Jan-16 19:18:13 | 0.0 c/m | 0.0 sh/m | VL: 0 (0.0%), RJ: 0 (0.0%), ST: 0 (0.0%)
Platform: AMD Accelerated Parallel Processing
  Device: Tahiti
  Device: Tahiti
  Device: AMD Athlon(tm) X2 340 Dual Core Processor
Starting OpenCLMomentum V4
Device: Tahiti
Max work group size: 256
[STATS] 2014-Jan-16 19:18:42 | 0.0 c/m | 0.0 sh/m | VL: 0 (0.0%), RJ: 0 (0.0%), ST: 0 (0.0%)
[STATS] 2014-Jan-16 19:19:42 | 0.0 c/m | 0.0 sh/m | VL: 0 (0.0%), RJ: 0 (0.0%), ST: 0 (0.0%)


Ok after 5 minutes it started, let it run a bit

I think that only one card is working (got only, collision found.... By 0)

To mine on more than one card you should use more than one thread. In your case, -t 2 will do (-t 3 will use the CPU also, but using the CPU with openCL code is really slow). It takes some time in the first run because it has to compile the openCL code. After that the driver caches everything and any restart should be fast.

Offline Aber

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #25 on: January 16, 2014, 07:03:27 pm »
280x ~804

But is it now reconnecting from time to time
« Last Edit: January 16, 2014, 07:07:25 pm by Aber »

Offline renesoft

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #24 on: January 16, 2014, 06:57:25 pm »
Hi

I build that and that work.
but perfomance not perfect. on my 7950 I get only ~715 cpm. 1gh binary miner get ~1000 cpm.
any ideas how to up speed?
my options -a gpuv4 -m 28

Offline Aber

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #23 on: January 16, 2014, 06:06:53 pm »
[STATS] 2014-Jan-16 19:18:13 | 0.0 c/m | 0.0 sh/m | VL: 0 (0.0%), RJ: 0 (0.0%), ST: 0 (0.0%)
Platform: AMD Accelerated Parallel Processing
  Device: Tahiti
  Device: Tahiti
  Device: AMD Athlon(tm) X2 340 Dual Core Processor
Starting OpenCLMomentum V4
Device: Tahiti
Max work group size: 256
[STATS] 2014-Jan-16 19:18:42 | 0.0 c/m | 0.0 sh/m | VL: 0 (0.0%), RJ: 0 (0.0%), ST: 0 (0.0%)
[STATS] 2014-Jan-16 19:19:42 | 0.0 c/m | 0.0 sh/m | VL: 0 (0.0%), RJ: 0 (0.0%), ST: 0 (0.0%)


Ok after 5 minutes it started, let it run a bit

I think that only one card is working (got only, collision found.... By 0)






« Last Edit: January 16, 2014, 06:27:04 pm by Aber »

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #22 on: January 16, 2014, 05:23:11 pm »
Hi, I already installed the OpenCL Headers, but now I get this error:

/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
make: *** [ptsminer] Error 1

I'm using Ubuntu 13.10 64b, with AMD app SDK installed.

Thanks in advance.

I do not know where AMD installs libOpencl.so. If you know where AMD installed the SDK, the libraries should be on some subfolder called "lib/" or "lib64/", or even "lib/x86_64". Anyway, when you find the right folder, just point LD_LIBRARY_PATH to it like this:

export LD_LIBRARY_PATH=/PATH/TO/SDK/LIB/FOLDER:$LD_LIBRARY_PATH

where "/PATH/TO/SDK/LIB/FOLDER" is the folder you just found to contain libOpenCL.so

Offline GoldTiger69

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #21 on: January 16, 2014, 05:18:59 pm »
Hi, I already installed the OpenCL Headers, but now I get this error:

/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
make: *** [ptsminer] Error 1

I'm using Ubuntu 13.10 64b, with AMD app SDK installed.

Thanks in advance.

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #20 on: January 16, 2014, 05:01:36 pm »
i see ..
tho same problem using this:

 ./ptsminer -u x.x -p x -t 1 -m 28 -o http://ptsmine.beeeeer -q 1337 -a gpu

:)

comes to mind, what GPU do you have? does it have updated drivers? looks like the miner is not finding any GPU available and thus crashing. I'll see to it that it reports missing GPUs in a friendlier way.

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #19 on: January 16, 2014, 04:58:57 pm »
girino, iruu told me that the radeons before r9x didn't allow continuous buffers to be larger than 512 MB. Did you implement a work around for that?

Not really, but by using "-a gpuv4 -m 26" you can avoid this problem since only 2^26 * sizeof(*uint32_t) will be allocated.

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #18 on: January 16, 2014, 04:55:25 pm »
i see ..
tho same problem using this:

 ./ptsminer -u x.x -p x -t 1 -m 28 -o http://ptsmine.beeeeer -q 1337 -a gpu

:)

Those are not http protocols either. Try removing the "http://". Also, there's a missing bit on the domain name, should be: "ptsmine.beeeeer.org".

But in this case instead of a segfault you should have an "host not found" message. Can you please send the full output you get from the following command:

Code: [Select]
./ptsminer -u YOUR_ADDRESS -p x -t 1 -m 28 -o ptsmine.beeeeer.org -q 1337 -a gpu

thanks.

Offline mich431

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #17 on: January 16, 2014, 04:27:48 pm »
i see ..
tho same problem using this:

 ./ptsminer -u x.x -p x -t 1 -m 28 -o http://ptsmine.beeeeer -q 1337 -a gpu

:)

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #16 on: January 16, 2014, 04:12:36 pm »
it wont help you much more than what i already noted, but here you go (partial german output):

$ ./ptsminer -u x.x -p x -t 1 -m 28 -a gpu -o http://ypool.net -q 10034


But it WAS much help! The problem is, ypool does not use ptsminer protocol. This miner does not work with ypool, since it is based on ptsminer.

Offline mich431

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #15 on: January 16, 2014, 03:51:23 pm »
@ archit: your miner is also crashing on 2gb VRam... so the problem is not fixed to that... even tho a version that requires less vram would be awesome

@ girino:

it wont help you much more than what i already noted, but here you go (partial german output):

$ ./ptsminer -u x.x -p x -t 1 -m 28 -a gpu -o http://ypool.net -q 10034
********************************************
*** ptsminer - Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** performance improvements by girino
***    if you like, donate:
***    PTS: PkyeQNn1yGV5psGeZ4sDu6nz2vWHTujf4h
***    BTC: 1GiRiNoKznfGbt8bkU1Ley85TgVV7ZTXce
*** thanks to wjchen for SSE4 improvements.
***
*** press CTRL+C to exit
********************************************
using GPU
spawning 1 worker thread(s)
[WORKER0] Hello, World!
[WORKER0] GoGoGo!
Segmentation fault (Speicherabzug geschrieben)