Author Topic: Open source OpenCL GPU miner by girino - Binaries for win, linux, osx (1% fee)  (Read 36293 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 #59 on: January 20, 2014, 12:24:41 am »
Only beeer works

Won't connect to there either

Quote
./ptsminer -u * -a gpuv3 -d 0 -m 25 -t 1
*********************************************************
*** GPU PTS miner by girino v0.2.1 Alpha 2 <experimental>
*** based on Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** GPU support and 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
Available devices:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Pitcairn
  Device 01: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Adjusting num threads to match device list: 1
Initializing GPU...
Initing device 0.
Starting OpenCLMomentum V3
Device 00: Pitcairn
Max work group size: 256
Device 0 Inited.
All GPUs Initialized...
spawning 1 worker thread(s)
[WORKER0] Hello, World!
[WORKER0] GoGoGo!
connecting to 54.201.26.128:1337
no connection to the server, reconnecting in 10 seconds

Does any other miner connects? Are you not behind a firewall or something?

(BTW, it works with other pools that support the same protocol as beeeeer.org. I've tried http://ptspool.com/ and http://54.238.185.113/ both work great. not sure if 1GH supports this protocol.) Does this protocol have a name at all?

Offline dwrjones87

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #58 on: January 19, 2014, 10:51:27 pm »
Only beeer works

Won't connect to there either

Quote
./ptsminer -u * -a gpuv3 -d 0 -m 25 -t 1
*********************************************************
*** GPU PTS miner by girino v0.2.1 Alpha 2 <experimental>
*** based on Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** GPU support and 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
Available devices:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Pitcairn
  Device 01: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Adjusting num threads to match device list: 1
Initializing GPU...
Initing device 0.
Starting OpenCLMomentum V3
Device 00: Pitcairn
Max work group size: 256
Device 0 Inited.
All GPUs Initialized...
spawning 1 worker thread(s)
[WORKER0] Hello, World!
[WORKER0] GoGoGo!
connecting to 54.201.26.128:1337
no connection to the server, reconnecting in 10 seconds

Offline Aber

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #57 on: January 19, 2014, 10:48:57 pm »
Only beeer works

Offline dwrjones87

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #56 on: January 19, 2014, 10:31:46 pm »
Code: [Select]
./ptsminer -u ***** -p ***** -a gpu -d 0 -o mining.ypool.net -q 10034 -m 27 -t 1
*********************************************************
*** GPU PTS miner by girino v0.2.1 Alpha 2 <experimental>
*** based on Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** GPU support and 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
Available devices:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Pitcairn
  Device 01: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Adjusting num threads to match device list: 1
Initializing GPU...
Initing device 0.
Starting OpenCLMomentum V4
Device 00: Pitcairn
Max work group size: 256
ERROR: -61, CL_INVALID_BUFFER_SIZE, if size is 0.Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than the CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in the table of allowed values for param_name for clGetDeviceInfo for all devices in context.
ptsminer: OpenCLObjects.cpp:373: OpenCLBuffer* OpenCLContext::createBuffer(size_t, cl_mem_flags, void*): Assertion `_MY_ERR_X == 0' failed.
Aborted (core dumped)

I have used all of the gpuv options, and none of them work. Looking in to it it would seem my graphics card only has 1GB of VRAM, although I do have 16GB of system RAM. For some reason I though it was 3 :S

You might try -gpuv3 -m 26. This works for me on my old Geforce board. Seems that some cards do not allow to alloc contigous space of more than 512 MB. gpuv3 does not use any extra memory besides the hash table, so using it with -m 26 should guarantee you are bellow 512 Mb.

if 26 does not work, try 25. I do not recommend less that that, since it will become very inefficient.

That's the mining working with 25 now thanks :)

However, it doesn't seem able to connect to any pools...
« Last Edit: January 19, 2014, 10:37:28 pm by dwrjones87 »

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #55 on: January 19, 2014, 10:16:54 pm »
Hi. thank you!
can you release any windows binary for test?
cygwin installing taking a lot of time.

It may be that installing mingw by itself:

http://www.mingw.org/

--and using its provided virtual shell and gcc compiler (with appropriate exported path changes) will do the trick. I've only thought of this as I'm halfway through the seemingly eternal cygwin install myself . . .

This might do, but should need an entirelly new makefile. mingw and cygwin have very different paths and libs... It's always a pain to port from one to the other. (I use cygwin because it's closer to linux, and since my time with the windows machine is limited, it is faster to port)

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #54 on: January 19, 2014, 10:13:38 pm »
Code: [Select]
./ptsminer -u ***** -p ***** -a gpu -d 0 -o mining.ypool.net -q 10034 -m 27 -t 1
*********************************************************
*** GPU PTS miner by girino v0.2.1 Alpha 2 <experimental>
*** based on Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** GPU support and 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
Available devices:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Pitcairn
  Device 01: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Adjusting num threads to match device list: 1
Initializing GPU...
Initing device 0.
Starting OpenCLMomentum V4
Device 00: Pitcairn
Max work group size: 256
ERROR: -61, CL_INVALID_BUFFER_SIZE, if size is 0.Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than the CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in the table of allowed values for param_name for clGetDeviceInfo for all devices in context.
ptsminer: OpenCLObjects.cpp:373: OpenCLBuffer* OpenCLContext::createBuffer(size_t, cl_mem_flags, void*): Assertion `_MY_ERR_X == 0' failed.
Aborted (core dumped)

I have used all of the gpuv options, and none of them work. Looking in to it it would seem my graphics card only has 1GB of VRAM, although I do have 16GB of system RAM. For some reason I though it was 3 :S

You might try -gpuv3 -m 26. This works for me on my old Geforce board. Seems that some cards do not allow to alloc contigous space of more than 512 MB. gpuv3 does not use any extra memory besides the hash table, so using it with -m 26 should guarantee you are bellow 512 Mb.

if 26 does not work, try 25. I do not recommend less that that, since it will become very inefficient.

Offline dwrjones87

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #53 on: January 19, 2014, 07:39:56 pm »
Code: [Select]
./ptsminer -u ***** -p ***** -a gpu -d 0 -o mining.ypool.net -q 10034 -m 27 -t 1
*********************************************************
*** GPU PTS miner by girino v0.2.1 Alpha 2 <experimental>
*** based on Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** GPU support and 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
Available devices:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Pitcairn
  Device 01: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Adjusting num threads to match device list: 1
Initializing GPU...
Initing device 0.
Starting OpenCLMomentum V4
Device 00: Pitcairn
Max work group size: 256
ERROR: -61, CL_INVALID_BUFFER_SIZE, if size is 0.Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than the CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in the table of allowed values for param_name for clGetDeviceInfo for all devices in context.
ptsminer: OpenCLObjects.cpp:373: OpenCLBuffer* OpenCLContext::createBuffer(size_t, cl_mem_flags, void*): Assertion `_MY_ERR_X == 0' failed.
Aborted (core dumped)

I have used all of the gpuv options, and none of them work. Looking in to it it would seem my graphics card only has 1GB of VRAM, although I do have 16GB of system RAM. For some reason I though it was 3 :S
« Last Edit: January 19, 2014, 07:51:58 pm by dwrjones87 »

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #52 on: January 19, 2014, 12:08:47 pm »
Yeah it is, windows binary with ypool support under going test

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #51 on: January 19, 2014, 12:06:40 pm »
error: illegal implicit conversion between two pointers with different address spaces

It seems that ctx_update is declared as

void ctx_update(sha512_ctx * ctx,
                global uint8_t    * string, uint32_t len)

but when an int declared in the cl code is passed to this function it gives the error. If I remove the global part it has problem with global char* message parameter

I was doing some changes yesterday. Should be corrected by now.

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #50 on: January 19, 2014, 08:21:12 am »
Windows executable under testing :D  :o

Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: Open source OpenCL GPU miner by girino
« Reply #49 on: January 19, 2014, 07:33:41 am »
Hi. thank you!
can you release any windows binary for test?
cygwin installing taking a lot of time.

It may be that installing mingw by itself:

http://www.mingw.org/

--and using its provided virtual shell and gcc compiler (with appropriate exported path changes) will do the trick. I've only thought of this as I'm halfway through the seemingly eternal cygwin install myself . . .
« Last Edit: January 19, 2014, 07:38:06 am by earthbound »
I think I'm not alone when I say I'd like to see more and more planets fall under the ruthless dominion of our solar system. -Jack Handey

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #48 on: January 19, 2014, 05:42:29 am »
error: illegal implicit conversion between two pointers with different address spaces

It seems that ctx_update is declared as

void ctx_update(sha512_ctx * ctx,
                global uint8_t    * string, uint32_t len)

but when an int declared in the cl code is passed to this function it gives the error. If I remove the global part it has problem with global char* message parameter


Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #47 on: January 17, 2014, 01:04:15 pm »
Got it finally

just added a new option "-list-devices" that simply list all devices and quit. That way there's no need to try to run it the first time just to find what are the devices numbers. Just "-list-devices" and choose the ones you want.

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #46 on: January 17, 2014, 12:39:27 pm »
Got it finally

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: Open source OpenCL GPU miner by girino
« Reply #45 on: January 17, 2014, 12:36:38 pm »
I still can't understand it.

Let's say I have 2 platforms and I want to select device 0 on platform 1. What would I use?

just run it the first time, note the numbers that appear in front of the devices you want to use, than use those numbers. Example, with my old desktop:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Intel(R) Core(TM)2 CPU          4300  @ 1.80GHz
Platform 01: NVIDIA CUDA
  Device 01: GeForce 8400GS

If i want to use my GeForce 8400GS, I just :
Code: [Select]
./ptsminer -u xxxxx -a gpu -device 01

if you know exactly how many devices you have on each platform, no need to run the first time, just do the math: if platform 0 has 3 devices, first device on platform 1 is "3".