Bitcoin Forum
July 27, 2017, 09:00:36 AM *
News: BIP91 seems stable: there's probably only slightly increased risk of confirmations disappearing. You should still prepare for Aug 1.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 »  All
  Print  
Author Topic: Open Source XPM (Primecoin) GPU Miner & Pool xpmforall.org  (Read 53196 times)
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
October 22, 2014, 08:54:25 PM
 #1

This is a new thread of fastest open source primecoin miner, product of merge
 - madMAx's miner: https://github.com/madMAx43v3r/xpmclient
 - xpmclminer: https://github.com/eXtremal-ik7/xpmminer

Old discussion is here: https://bitcointalk.org/index.php?topic=602292.0
Github repository: https://github.com/eXtremal-ik7/xpmclient
OS Supported: Windows, Linux
Current stable release (version 9.4.1): https://www.dropbox.com/s/2976f8tnhc6p4pj/xpmclient_v9.4.1.tar.gz?dl=0
Current Beta release (version 10.1): http://coinsforall.io/distr/xpmclient_v10.1beta.tar.gz

Quote
Some results:
Radeon R9 290X @ 1000/1250 (stock) - 15.05 CPD
  R9 290X @ 1040/1500 - 15.5CPD
Radeon R9 290 @ 947/1250 (stock) - 13.6 CPD
Radeon R9 280X @ 1000/1250 (stock) -9.45 CPD
  R9 280X @ 1100/1500 - 10.4CPD

NVidia GeForce GTX 750Ti: 1.7x CPD
NVidia GeForce GTX 1070: 9.5 CPD

GPUs supported:
  - AMD GCN cards: R9 2xx, HD79xx, HD78xx, HD77xx; Catalyst versions 14.4 - 14.7 recommended. Don't use 14.12 and later drivers, it 60-70% slower than previous versions

Added in 10.0beta (miner not optimized for this cards, too slow):
  - AMD HD5xxx, HD6xxx cards
  - NVidia Maxwell cards: GeForce GTX 750Ti, GeForce GTX 9xx, GeForce Titan X

Pool mining:

Current miner protocol is compatible with original madMAx's pool (https://github.com/madMAx43v3r/xpmpool) Working instance of this pool available at http://xpmforall.org

To start mining:
 - Put your addess to config.txt:

Quote
server = "xpmforall.org";
port = "6666";

# Your XPM payout address
address = "AMgtSW8ge2mvqxaiWo11GqTKx6rQ2J57yA";

 - Configure your GPUs (edit corefreq, memfreq, powertune and fanspeed parameters)
 - Run xpmclient in Linux or xpmclient.exe in Windows
 - Put you address to 'Your Address' field on web site for monitoring workers and payments

Pool system: PPLNS (Pay Per Last N Shares); accounting procedure uses all your shares received during last hour. Pool fee is 4% now. Mining calculator included!
If you want to help decentralize primecoin mining and support open source, welcome!

Solo mining:

https://bitcointalk.org/index.php?topic=602292.msg6881582#msg6881582
Quote
The solo-mining server code is at: https://github.com/madMAx43v3r/xpmserver

The solo-mining server binaries can be downloaded at:
For Windows: https://mega.co.nz/#!hRAmGRAQ!cbYlm-meXprzImw-vQ5COnBQiWtgPFXJeJtTs-041AI
For Linux: https://mega.co.nz/#!NZAHWC6b!FyeF6aKZ32KPs_Ns0NwZsEGaOWkNAlwfSz76hO-Dg_k
Note: The windows version crashes on shutdown, have not been able to fix this.

The binary zips also include a README.txt you should check out to get started.

EDIT: If you have dynamic ip: There is a bug somewhere in the bitcoin network code that can cause the server to loose all connections to the network after your external ip has changed. It will still show 8 or more connections but if you look in debug.log you will no longer see new blocks or transactions. In this case you need to restart the server.
The chance of this bug to happen is around 50%. So be careful, if your external ip changes and you don't check the server and the bug has happend you will produce 100% orphan blocks.

Open source ZEC/XPM mining pool: http://coinsforall.io
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1501146036
Hero Member
*
Offline Offline

Posts: 1501146036

View Profile Personal Message (Offline)

Ignore
1501146036
Reply with quote  #2

1501146036
Report to moderator
1501146036
Hero Member
*
Offline Offline

Posts: 1501146036

View Profile Personal Message (Offline)

Ignore
1501146036
Reply with quote  #2

1501146036
Report to moderator
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
October 28, 2014, 09:52:32 PM
 #2

New version 9.4 with next speedup: https://www.dropbox.com/s/ny027u62vbeb2u5/xpmclient_v9.4.tar.gz?dl=0
Quote
Radeon R9 290X @ 1000/1250 (stock) - 14.9 CPD
  R9 290X @ 1040/1500 - 15.35CPD
Radeon R9 290 @ 947/1250 (stock) - 13.2 CPD
Radeon R9 280X @ 1000/1250 (stock) - 9.35 CPD
  R9 280X @ 1100/1500 - 10.25CPD

Open source ZEC/XPM mining pool: http://coinsforall.io
qaz6767
Full Member
***
Offline Offline

Activity: 138


View Profile
October 31, 2014, 07:23:27 AM
 #3

Hello

I am tested miner 9.4ver :

rig1:

14.6 driver
6x280x
1100/1600 clock

 62.4 cpd

rig2:

14.6  driver
4x290
1000/1300 clock

 54.6 cpd

I invite everybody to the pool! Do not regret!
capler
Member
**
Offline Offline

Activity: 112


View Profile
October 31, 2014, 12:01:44 PM
 #4

cmake ../xpmclient -DInstallPrefix=/opt/x86_64-Linux-static -DSTATIC_BUILD=1 -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so

Code:
Building for Linux
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CZMQ_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
CZMQ_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
GMP_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
GMP_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
PROTOBUF_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
PROTOBUF_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
SODIUM_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
ZMQ_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
ZMQ_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient

-- Configuring incomplete, errors occurred!

I'm can't building
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
October 31, 2014, 12:26:31 PM
 #5

You have no installed libraries: czmq, zmq, gmp, protobuf, sodium. What OS do you use ?

Open source ZEC/XPM mining pool: http://coinsforall.io
capler
Member
**
Offline Offline

Activity: 112


View Profile
October 31, 2014, 04:17:44 PM
 #6

You have no installed libraries: czmq, zmq, gmp, protobuf, sodium. What OS do you use ?
I'm used ubuntu 13.10 and 14.04
this https://github.com/zeromq/czmq building and install

Code:
git clone git://github.com/jedisct1/libsodium.git
cd libsodium
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd ..

git clone git://github.com/zeromq/libzmq.git
cd libzmq
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd ..

git clone git://github.com/zeromq/czmq.git
cd czmq
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd ..

gmp and protobuf installed, but not work
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
October 31, 2014, 04:47:57 PM
 #7

capler
Show cmake output after installing all required libraries.
gmp and protobuf can be installed using apt-get (sudo apt-get install libprotobuf-dev libgmp-dev).

Open source ZEC/XPM mining pool: http://coinsforall.io
capler
Member
**
Offline Offline

Activity: 112


View Profile
October 31, 2014, 04:53:47 PM
 #8

Code:
Уже установлена самая новая версия libgmp-dev.
Уже установлена самая новая версия libprotobuf-dev.

Code:
git clone https://github.com/eXtremal-ik7/xpmclient.git
cd xpmclient

followed by

Code:
cmake ../xpmclient -DInstallPrefix=/opt/x86_64-Linux-static -DSTATIC_BUILD=1 -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so

and obtain

Quote
Building for Linux
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CZMQ_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
CZMQ_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
GMP_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
GMP_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
PROTOBUF_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
PROTOBUF_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
SODIUM_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient
ZMQ_INCLUDE_DIRECTORY
   used as include directory in directory /home/user/xpmclient
   used as include directory in directory /home/user/xpmclient
ZMQ_LIBRARY
    linked by target "xpmclient" in directory /home/user/xpmclient

-- Configuring incomplete, errors occurred!
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
October 31, 2014, 05:10:24 PM
 #9

capler
Ok, check a PM.

---
Clean current directory and run cmake with another arguments
Quote
rm -rf *
cmake ../xpmclient -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so

Open source ZEC/XPM mining pool: http://coinsforall.io
capler
Member
**
Offline Offline

Activity: 112


View Profile
October 31, 2014, 05:40:56 PM
 #10

capler
Ok, check a PM.

---
Clean current directory and run cmake with another arguments
Quote
rm -rf *
cmake ../xpmclient -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so

Code:
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PROTOBUF: /usr/local/lib/libprotobuf.so  
Building for Linux
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/xpmclient

then make
Code:
[ 89%] Building CXX object CMakeFiles/xpmclient.dir/baseclient.cpp.o
In file included from /home/user/xpmclient/baseclient.h:16:0,
                 from /home/user/xpmclient/baseclient.cpp:10:
/home/user/xpmclient/protocol.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^
/home/user/xpmclient/protocol.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers.  Please
  ^
/home/user/xpmclient/protocol.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^
make[2]: *** [CMakeFiles/xpmclient.dir/baseclient.cpp.o] Ошибка 1
make[1]: *** [CMakeFiles/xpmclient.dir/all] Ошибка 2
make: *** [all] Ошибка 2

protoc --version
Code:
libprotoc 2.4.1
capler
Member
**
Offline Offline

Activity: 112


View Profile
November 01, 2014, 07:06:26 AM
 #11

I'm build  Cheesy
test 2x280x
Code:
[GPU 0] T=65C A=97% E=0 primes=0.105061 fermat=745312/sec cpd=10.55/day
[GPU 1] T=68C A=97% E=0 primes=0.105087 fermat=742278/sec cpd=10.53/day
(ST/INV/DUP): 10568x 7ch(11/0/61) 1095x 8ch(2/0/7) 111x 9ch(0/0/0) 10x 10ch(1/0/0) 1x 11ch(0/0/
and 1x7950
Code:
[GPU 0] T=69C A=97% E=0 primes=0.105094 fermat=634269/sec cpd=9.01/day
(ST/INV/DUP): 2493x 7ch(6/0/13) 282x 8ch(0/0/4) 33x 9ch(0/0/0) 2x 10ch(0/0/0)

Still need a lot of work, some cards crashing. I do not understand the parameters in config.txt
How to get away from this problem  Huh May be install OpenCL 2.0 driver http://support.amd.com/en-us/kb-articles/Pages/OpenCL2-Driver.aspx  Huh
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
November 01, 2014, 08:32:17 AM
 #12

test 2x280x
Code:
[GPU 0] T=65C A=97% E=0 primes=0.105061 fermat=745312/sec cpd=10.55/day
[GPU 1] T=68C A=97% E=0 primes=0.105087 fermat=742278/sec cpd=10.53/day
(ST/INV/DUP): 10568x 7ch(11/0/61) 1095x 8ch(2/0/7) 111x 9ch(0/0/0) 10x 10ch(1/0/0) 1x 11ch(0/0/
and 1x7950
Not bad for R9 280X, what gpu/mem clocks ?

Still need a lot of work, some cards crashing. I do not understand the parameters in config.txt
I think, it's hardware problem, may be too much overclocking.
All parameters in config.txt are optimal now for difficulty 10.xxx (except GPU clocks Smiley ).

Open source ZEC/XPM mining pool: http://coinsforall.io
capler
Member
**
Offline Offline

Activity: 112


View Profile
November 01, 2014, 08:54:22 AM
 #13

rig 1 Ubuntu 14.04 14.6 beta
Gigabyte 280x 1160/1500  10.50-11 cpd , Msi 280x gpu engine 1000-1150 all crash  Angry
Quote
[GPU 0] T=70C A=97% E=0 primes=0.104349 fermat=755938/sec cpd=10.00/day
[GPU 1] T=60C A=96% E=0 primes=0.105224 fermat=756476/sec cpd=10.88/day
[GPU 2] crashed!       <--MSI  950/1375 second PSU line 12v down to 10.5v
[GPU 3] T=69C A=97% E=0 primes=0.105336 fermat=750069/sec cpd=10.90/day

rig 2 Ubuntu 13.10 14.6 beta
Gigabyte 7950 1080/1250  8.9-9.2 cpd , sapphire 7950 set engine 1080 resets itself  to 997 and work unstable 5.3-5.7 cpd  Angry

whether it is necessary to give the command
Quote
export GPU_MAX_ALLOC_PERCENT=100 && export GPU_USE_SYNC_OBJECTS=1

rig1 ./xpmclient -b
GPU_0,1,3
Quote
Tahiti; 32 compute units
square 320 bits: 27.724ms (4841.211M ops/sec)
square 320 bits: 26.811ms (5006.069M ops/sec)
multiply 320 bits: 34.716ms (3866.163M ops/sec)
square 352 bits: 34.480ms (3892.626M ops/sec)
multiply 352 bits: 41.952ms (3199.317M ops/sec)
Fermat tests 320 bits: 57.030ms (2.298M ops/sec)
Fermat tests 352 bits: 72.789ms (1.801M ops/sec)

 *** hashmod benchmark ***
 MHash per second: 509.536
 Hash per iteration: 31.672 (0.000378 %)
 Hashes by multipliers count:
   * [9] 1.781 (5.624%)
   * [10] 12.516 (39.517%)
   * [11] 14.719 (46.473%)
   * [12] 2.531 (7.992%)
   * [13] 0.125 (0.395%)

average size: 29.909

 *** sieve (check) benchmark ***
 * [OK] found candidates by CPU: 7395 by GPU: 7402
 * [OK] invalid candidates: 0
 * [OK] CPU/GPU candidates difference: 0

 *** sieve (performance) benchmark ***
 * scan speed: 81.629 G
 * iteration time: 6.744ms
 * candidates per second: 1043816.846
 * candidates per iteration: 7039.48 (2978.11 320bit, 4061.37 352bit)
 * 320bit/352bit ratio: 0.733/1
GPU_2 MSI second PSU
Quote
Tahiti; 32 compute units
square 320 bits: 39.612ms (3388.310M ops/sec)
square 320 bits: 38.666ms (3471.208M ops/sec)
multiply 320 bits: 49.922ms (2688.549M ops/sec)
square 352 bits: 49.463ms (2713.498M ops/sec)
multiply 352 bits: 60.468ms (2219.649M ops/sec)
Fermat tests 320 bits: 82.296ms (1.593M ops/sec)
Fermat tests 352 bits: 104.735ms (1.251M ops/sec)

 *** hashmod benchmark ***
 MHash per second: 354.119
 Hash per iteration: 29.297 (0.000349 %)
 Hashes by multipliers count:
   * [9] 1.531 (5.227%)
   * [10] 11.188 (38.187%)
   * [11] 13.844 (47.253%)
   * [12] 2.641 (9.013%)
   * [13] 0.078 (0.267%)
   * [14] 0.016 (0.053%)

average size: 30.830

 *** sieve (check) benchmark ***
 * [OK] found candidates by CPU: 7144 by GPU: 7151
 * [OK] invalid candidates: 0
 * [OK] CPU/GPU candidates difference: 0

 *** sieve (performance) benchmark ***
 * scan speed: 60.899 G
 * iteration time: 9.040ms
 * candidates per second: 813201.710
 * candidates per iteration: 7351.02 (2677.56 320bit, 4673.45 352bit)
 * 320bit/352bit ratio: 0.573/1
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
November 04, 2014, 02:05:51 PM
 #14

Quote from: capler
Gigabyte 280x 1160/1500  10.50-11 cpd , Msi 280x gpu engine 1000-1150 all crash
Miner users report about VRM overheating, check your VRM temperature.

Service release v9.4.1 with minor changes: https://www.dropbox.com/s/2976f8tnhc6p4pj/xpmclient_v9.4.1.tar.gz?dl=0
Quote
Update benchmarks (multiply benchmarks now show real mutliplication speed).
+1-2% up performance, R9 290X shows 15.05 - 15.1CPD.

Open source ZEC/XPM mining pool: http://coinsforall.io
capler
Member
**
Offline Offline

Activity: 112


View Profile
November 04, 2014, 06:08:56 PM
 #15

Thanks  Smiley
280x
Quote
GPU 0] T=67C A=97% E=0 primes=0.105866 fermat=745643/sec cpd=11.39/day
[GPU 1] T=61C A=96% E=0 primes=0.105566 fermat=747511/sec cpd=11.10/day
[GPU 2] T=60C A=98% E=0 primes=0.105129 fermat=549695/sec cpd=7.83/day
[GPU 3] T=65C A=96% E=0 primes=0.105504 fermat=748005/sec cpd=11.04/day
GPU 0: core=1160MHz mem=1500MHz powertune=20 fanspeed=90
GPU 1: core=1160MHz mem=1500MHz powertune=20 fanspeed=80
GPU 2: core=800MHz mem=1250MHz powertune=20 fanspeed=80
GPU 3: core=1160MHz mem=1500MHz powertune=20 fanspeed=90
1100/1250 - 10.5 cpd
eXtremal
Sr. Member
****
Online Online

Activity: 387


View Profile
November 04, 2014, 07:34:48 PM
 #16

I think 11.39 cpd is not real for R9 280X. Look at "primes" value:
Quote
[GPU 0] T=78C A=95% E=0 primes=0.105011 fermat=1079239/sec cpd=15.20/day
GPU 0: core=1000MHz mem=1250MHz powertune=20 fanspeed=80
(ST/INV/DUP): 2695x 7ch(0/0/8) 305x 8ch(1/0/0) 23x 9ch(0/0/0) 4x 10ch(0/0/0)

~0.105000 is a normal value for miner version 9.4.1
R9 280X @ 1160/1500 must show ~10.9CPD.

Open source ZEC/XPM mining pool: http://coinsforall.io
capler
Member
**
Offline Offline

Activity: 112


View Profile
November 04, 2014, 07:48:51 PM
 #17

You all right
this 9.4.1
Quote
[GPU 0] T=64C A=97% E=0 primes=0.104980 fermat=724085/sec cpd=10.17/day
[GPU 1] T=63C A=97% E=0 primes=0.104901 fermat=755293/sec cpd=10.53/day
[GPU 2] T=65C A=97% E=0 primes=0.104995 fermat=740458/sec cpd=10.42/day
GPU 0: core=1110MHz mem=1250MHz powertune=20 fanspeed=90
GPU 1: core=1160MHz mem=1250MHz powertune=20 fanspeed=85
GPU 2: core=1130MHz mem=1250MHz powertune=20 fanspeed=90
(ST/INV/DUP): 3120x 7ch(1/0/7) 346x 8ch(0/0/3) 26x 9ch(1/0/0) 2x 10ch(0/0/0)
Very hot coins  Wink  Hot electrical wires Grin
Please add fan & temp auto adjust adl
BanditryAndLoot
Member
**
Offline Offline

Activity: 70

Activity: 350


View Profile
November 04, 2014, 08:43:50 PM
 #18

Who owns http://xpmforall.org/  ?

And it's only at the end of fall, that we discover it was naught but the wind that knew when one particular leaf was to fall from one particular tree, only to land in one distinct spot .. to be left for an eternity, and waste its time in a wait sublime. C0A2A1C4
LongAndShort
Legendary
*
Offline Offline

Activity: 966


View Profile
November 04, 2014, 08:55:54 PM
 #19


eXtremal runs that pool, works fine for me btw, plenty of payouts
BanditryAndLoot
Member
**
Offline Offline

Activity: 70

Activity: 350


View Profile
November 04, 2014, 09:03:41 PM
 #20


eXtremal runs that pool, works fine for me btw, plenty of payouts

Thanks! I just wanted to make sure that he was getting the fee I'm paying! Cheesy

And it's only at the end of fall, that we discover it was naught but the wind that knew when one particular leaf was to fall from one particular tree, only to land in one distinct spot .. to be left for an eternity, and waste its time in a wait sublime. C0A2A1C4
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!