Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - girino

Pages: 1 2 3 [4] 5
46
@girino

During the compiling process I received some warnings

  format/%d0 expects argument of type /int0

several times. The program finishes compiling and will run. It receives work from beeeeer but when the STATS come up they are all 0.0's. Any suggestions?

wait some minutes. The openCL code takes some time to compile on AMD cards. I am working on it.

47
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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?

48
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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).

49
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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.

50
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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

51
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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.

52
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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.

53
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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.

54
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« 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.

55
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« on: January 16, 2014, 03:34:49 pm »
That's a very good suggestion and i might implement it in a later version. Or someone else might do it, since the project is open source. Now, for the moment being, I don't have this option and if you really want to make this work, i need you to send me the exact parameters AND the exact output of the program. So please, please, pretty please, pretty pretty please, be so kind as to send me a screenshot or to copy and paste the contents of your terminal.

56
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« on: January 16, 2014, 02:34:27 pm »
i get segmentation faults... any idea why?

happens with any setting .. using cygwin under win7 64bit with an ATI card (Vram 512 mb) - from what i understand at least the normal mode should work....

or is there a chance to get windows binaries maybe? :)

can you post the output of the program and the parameters used to launch it? Did you try with the latest version or some previous one? Are you using cygwin 32 or 64 bits? What about the SDK?

57
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« on: January 16, 2014, 11:51:33 am »
What's the memory requirement for v4?

1.3 Gb. Not sure how much of it is allocated in main memory and how much in the graphic card, but my 32 bit Linux with an old GeForce couldn't run it.

58
BitShares PTS / Re: Open source OpenCL GPU miner by girino
« on: January 16, 2014, 10:53:20 am »
What's gpuv2, gpuv3, gpuv4 and gpuv5?

hidden options for testing different algorithms.

v4 is faster but uses huge ammounts of memory (3 passes: 1 precalculates all the hashes, 2 fills the hash table, and 3 finds collisions).
v3 is slower but uses way less memory (calculates the hash and populates the DB in the same step).
v2 is even slower (does everything in a single step, just like the original algorithm from ptsminer).
v5 is garbage (i as experimenting with binary search instead of hash table, but sorting is still too slow).

Default is gpuv4, which should work for all high end GPUs.

59
I have posted some time ago in the beeeeer.org thread about my OpenCL version of ptsminer, and now I think it is mature enough to be "released". So here it goes. You can find it at the following address:

http://github.com/girino/ptsminer

Binaries are available here: https://www.dropbox.com/sh/n4ta5olqp2g5i9l/xkr0sCTrUu

This is even faster than the old version. (it is faster than CUDA miners on amazon ec2). Same options are available. Added the new modes: gpuv7 (default), gpuv8 and gpuv9 (low memory version). gpuv7 is generally faster, but choose the one most apropriate for you.

This is an experimental miner, use at your own risk. Fully open source, no hidden "mining for the author" tricks. So please, donate some PTS if you like it or if it is useful to you. Edit: There is a 1% fee now. (30 seconds every hour or so). You can still remove it in the source code and recompile.

It is preconfigured to mine at beeeeer.org pool, but this can be changed with the -o command line switch.

Since this is a modified CPU miner, default is to mine using CPU. To mine using GPU, use the "-a gpu" switch.

Please read installation instructions, and good luck.

Edit: Added the option "-device" where you can choose which devices will be used. Use a comma separated list, with no spaces, like this:

Code: [Select]
./ptsminer -u PkyeQNn1yGV5psGeZ4sDu6nz2vWHTujf4h  -a gpu -device 0,3,4

The old way (assigning threads sequentially to each device) still works, so if you want to use the first devices or all of them you can still use "-t" option instead.

60
hi again - sorry im total noob in this... now i get another error (cygwin - win 7 64 - amd sdk installed):

$ make -f makefile.cygwin
g++   -o ptsminer  obj/cpuid.o obj/sha512_avx.o obj/sha512_sse4.o obj/sha512.o obj/sph_sha2.o obj/sph_sha2big.o obj/CProtoshareProcessor.o obj/AbstractMomentum.o obj/OpenCLMomentum2.o obj/OpenCLMomentumV3.o obj/OpenCLMomentumV4.o obj/OpenCLObjects.o obj/sha_utils.o obj/fileutils.o obj/sha2.o obj/main_poolminer.o  -Wl,-Bdynamic -l boost_system-mt -l boost_filesystem-mt -l boost_program_options-mt -l boost_thread-mt -l boost_chrono-mt -Wl,-Bdynamic -l z -l dl -l pthread -L/opt/AMD_SDK/lib/x86_64 -lOpenCL
/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lOpenCL
collect2: Fehler: ld gab 1 als Ende-Status zurück
makefile.cygwin:156: recipe for target 'ptsminer' failed
make: *** [ptsminer] Error 1

any idea?

thanks for your time

Needs to set the lib path correctly. Either
Code: [Select]
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/cygdrive/c/path/to/SDK/lib/x86_64

where /path/to/SDK points to the folder where the SDK is installed, or (what i did):

Code: [Select]
ln -s /cygdrive/c/path/to/SDK /opt/AMD_SDK

Pages: 1 2 3 [4] 5