Author Topic: Donations to open source a GPU Protoshares miner (PTS)  (Read 73881 times)

0 Members and 1 Guest are viewing this topic.

Offline bolvan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #178 on: February 05, 2014, 07:50:57 am »
It crashes on my system.

Ubuntu 12.04.03 x86.
GTX 470
nvidia driver 304
cuda toolkit 5.0

Code: [Select]
user@host:~/bitcoin/build/cudapts-src/src$ gdb ./cudapts
Reading symbols from /home/k/bitcoin/build/cudapts-src/src/cudapts...(no debugging symbols found)...done.
(gdb) run  PuhdpvPc1rpe9yfYeGKJ5r8tqLaAPoERMm 0
Starting program: /home/k/bitcoin/build/cudapts-src/src/cudapts PuhdpvPc1rpe9yfYeGKJ5r8tqLaAPoERMm 0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
********************************************
*** cudapts - Nvidia PTS Pool Miner v0.8 GPU0.2 <experimental>
*** by dga - based on ptsminer.
*** If you like this software, please consider sending tips to:
*** PTS:  Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc
*** BTC:  17sb5mcCnnt4xH3eEkVi6kHvhzQRjPRBtS
*** Your donations will encourage further optimization and development
***
*** press CTRL+C to exit
********************************************
spawning 1 worker thread(s)
[New Thread 0xb7c3bb40 (LWP 24369)]
[WORKER0] starting
[New Thread 0xb67dbb40 (LWP 24370)]
Initializing.  Device has 14385152 free of 1341718528 total bytes of memory
Could not malloc dev_data (2)
[WORKER0] GoGoGo!
connecting to 54.201.26.128:1337
Mining for approx 20 seconds to support further development
Payments to: Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc
[MASTER] work received - sharetarget: 00ffffffffffffffffffffffffffffffffffffffffffffffffffffffbeefde4d
[WORKER] collision found: 1600286575 <-> 1600286575 #86764 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #86764 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #86962 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #86962 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #87008 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #87008 @ 1391584732 by 0
[WORKER] collision found: 59 <-> 41 #87996 @ 1391584732 by 0
[WORKER] collision found: 1718960741 <-> 1919439973 #89792 @ 1391584732 by 0
[WORKER] collision found: 3073675520 <-> 3073673448 #91980 @ 1391584732 by 0
[WORKER] collision found: 4201475 <-> 4201475 #93708 @ 1391584732 by 0
[WORKER] collision found: 4201475 <-> 4201475 #93708 @ 1391584732 by 0
[WORKER] collision found: 4201475 <-> 4201475 #94564 @ 1391584732 by 0
[WORKER] collision found: 4201475 <-> 4201475 #94564 @ 1391584732 by 0
[WORKER] collision found: 210885635 <-> 210885635 #101250 @ 1391584732 by 0
[WORKER] collision found: 210885635 <-> 210885635 #101250 @ 1391584732 by 0
[WORKER] collision found: 268442624 <-> 268442624 #102428 @ 1391584732 by 0
[WORKER] collision found: 268442624 <-> 268442624 #102428 @ 1391584732 by 0
[WORKER] collision found: 3073797752 <-> 3073797592 #104010 @ 1391584732 by 0
[WORKER] collision found: 1970495300 <-> 1970495297 #107318 @ 1391584732 by 0
[WORKER] collision found: 262143 <-> 196607 #107692 @ 1391584732 by 0
[WORKER] collision found: 32 <-> 120 #112028 @ 1391584732 by 0
[WORKER] collision found: 3073902016 <-> 4294967295 #114450 @ 1391584732 by 0
[WORKER] collision found: 3073902016 <-> 4294967295 #114700 @ 1391584732 by 0
[WORKER] collision found: 1768710495 <-> 0 #115340 @ 1391584732 by 0
[WORKER] collision found: 184550144 <-> 185602560 #125122 @ 1391584732 by 0
[WORKER] collision found: 134224931 <-> 134224931 #130044 @ 1391584732 by 0
[WORKER] collision found: 134224931 <-> 134224931 #130044 @ 1391584732 by 0
[WORKER] collision found: 81920 <-> 82432 #134816 @ 1391584732 by 0
[WORKER] collision found: 3739081947 <-> 3739081947 #139488 @ 1391584732 by 0
[WORKER] collision found: 3739081947 <-> 3739081947 #139488 @ 1391584732 by 0
[WORKER] collision found: 3049009188 <-> 3049009188 #141254 @ 1391584732 by 0
[WORKER] collision found: 3049009188 <-> 3049009188 #141254 @ 1391584732 by 0
[WORKER] collision found: 3049013860 <-> 3049013860 #141294 @ 1391584732 by 0
[WORKER] collision found: 3049013860 <-> 3049013860 #141294 @ 1391584732 by 0
[WORKER] collision found: 1852404853 <-> 1852404853 #142318 @ 1391584732 by 0
[WORKER] collision found: 1852404853 <-> 1852404853 #142318 @ 1391584732 by 0
[WORKER] collision found: 3066482000 <-> 3066482000 #144614 @ 1391584732 by 0
[WORKER] collision found: 3066482000 <-> 3066482000 #144614 @ 1391584732 by 0
[WORKER] collision found: 4201475 <-> 4201475 #145772 @ 1391584732 by 0
[WORKER] collision found: 4201475 <-> 4201475 #145772 @ 1391584732 by 0
[WORKER] collision found: 35940 <-> 35940 #146050 @ 1391584732 by 0
[WORKER] collision found: 35940 <-> 35940 #146050 @ 1391584732 by 0
[WORKER] collision found: 130877512 <-> 130877512 #146652 @ 1391584732 by 0
[WORKER] collision found: 130877512 <-> 130877512 #146652 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #147004 @ 1391584732 by 0
[WORKER] collision found: 1600286575 <-> 1600286575 #147004 @ 1391584732 by 0
[WORKER] collision found: 3073755672 <-> 3073755672 #147962 @ 1391584732 by 0
[WORKER] collision found: 3073755672 <-> 3073755672 #147962 @ 1391584732 by 0
[WORKER] collision found: 3491847427 <-> 3491847427 #150440 @ 1391584732 by 0
[WORKER] collision found: 3491847427 <-> 3491847427 #150440 @ 1391584732 by 0
[WORKER] collision found: 2684427267 <-> 2684427267 #150476 @ 1391584732 by 0
[WORKER] collision found: 2684427267 <-> 2684427267 #150476 @ 1391584732 by 0
[WORKER] collision found: 9437345 <-> 9437345 #150648 @ 1391584732 by 0
[WORKER] collision found: 9437345 <-> 9437345 #150648 @ 1391584732 by 0
[WORKER] collision found: 1768697142 <-> 1768697142 #150936 @ 1391584732 by 0
[WORKER] collision found: 1768697142 <-> 1768697142 #150936 @ 1391584732 by 0
[WORKER] collision found: 20640 <-> 20640 #150982 @ 1391584732 by 0
[WORKER] collision found: 20640 <-> 20640 #150982 @ 1391584732 by 0
[WORKER] collision found: 3071296615 <-> 3071296615 #151188 @ 1391584732 by 0
[WORKER] collision found: 3071296615 <-> 3071296615 #151188 @ 1391584732 by 0
[WORKER] collision found: 436207674 <-> 436207674 #151410 @ 1391584732 by 0
[WORKER] collision found: 436207674 <-> 436207674 #151410 @ 1391584732 by 0
[WORKER] collision found: 32388 <-> 32388 #151664 @ 1391584732 by 0
[WORKER] collision found: 32388 <-> 32388 #151664 @ 1391584732 by 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c3bb40 (LWP 24369)]
0x0806c5f4 in void protoshares_process_512<2097152, -2097152, 21, (SHAMODE)0>(blockHeader_t*, CBlockProvider*, unsigned int, GPUHasher*, unsigned long long*) ()
(gdb) bt
#0  0x0806c5f4 in void protoshares_process_512<2097152, -2097152, 21, (SHAMODE)0>(blockHeader_t*, CBlockProvider*, unsigned int, GPUHasher*, unsigned long long*) ()
#1  0x0806cc1b in void CWorkerThread::mineloop<2097152, -2097152, 21, (SHAMODE)0>() ()
#2  0x0806d65d in CWorkerThread::run() ()
#3  0xb7faa1cc in ?? () from /usr/lib/libboost_thread.so.1.48.0
#4  0xb7f2dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0xb7d69bae in clone () from /lib/i386-linux-gnu/libc.so.6
(gdb)

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #177 on: February 04, 2014, 12:37:20 pm »
dga, will you further improve it?

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #176 on: February 04, 2014, 12:30:17 pm »
dga, where do I have to look in code to modify it so it can run on 512 MB cards?

You'd have to substantially change it - its basic step is that it computes all of the hashes (which require 512MB) and then does some work on them.  This isn't a tuning parameter, it's fundamental to the current design.

Offline Instigater

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #175 on: February 04, 2014, 09:29:10 am »
dga, where do I have to look in code to modify it so it can run on 512 MB cards?

Offline Instigater

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #174 on: January 30, 2014, 07:14:38 am »
GT630 rev.2 GK208 384 cores, 902/1600Mhz ~110cpm

Offline jae208

  • Hero Member
  • *****
  • Posts: 525
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #173 on: January 25, 2014, 09:26:16 pm »
can you mine protoshares with AMD GPU?
http://bitsharestutorials.com A work in progress
Subscribe to the Youtube Channel
https://www.youtube.com/user/BitsharesTutorials

Offline sgtstedanko

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #172 on: January 22, 2014, 06:15:33 pm »
I'd be curious on how's it work here  :D

http://www.nvidia.com/object/gpu-test-drive.html

Offline dongboy

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #171 on: January 22, 2014, 05:01:18 am »
How 512mb memory support

Offline mmao

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #170 on: January 18, 2014, 02:36:03 pm »
I compiled cudapts on a Laptop with fx2800M nvidia card,
but the program aborted when I run it:
Code: [Select]
%./cudapts Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc 0 sse4
********************************************
*** cudapts - Nvidia PTS Pool Miner v0.8 GPU0.2 <experimental>
*** by dga - based on ptsminer.
*** If you like this software, please consider sending tips to:
*** PTS:  Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc
*** BTC:  17sb5mcCnnt4xH3eEkVi6kHvhzQRjPRBtS
*** Your donations will encourage further optimization and development
***
*** press CTRL+C to exit
********************************************
spawning 1 worker thread(s)
[WORKER0] starting
Initializing.  Device has 950116096 free of 1073020928 total bytes of memory
[WORKER0] GoGoGo!
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  Host not found (authoritative)
Aborted (core dumped)

it turned out to be a network problem, it works after I PINGed beeeer pool,
the speed is around 102-105 cpm:
Code: [Select]
[MASTER] submitted share -> SHARE
[STATS] 2014-Jan-18 22:28:17 | 105.4 c/m | 0.8 sh/m | VL: 1 (100.0%), RJ: 0 (0.0%), ST: 0 (0.0%)
[MASTER] work received - sharetarget: 03ffffffffffffffffffffffffffffffffffffffffffffffffffffffbeefde4d
[WORKER] collision found: 55070148 <-> 55597815 #314 @ 1390055418 by 0
[MASTER] submitted share -> REJECTED
[STATS] 2014-Jan-18 22:30:06 | 103.0 c/m | 0.7 sh/m | VL: 1 (50.0%), RJ: 1 (50.0%), ST: 0 (0.0%)
[WORKER] collision found: 38377421 <-> 57999410 #368 @ 1390055468 by 0
[MASTER] submitted share -> REJECTED
[STATS] 2014-Jan-18 22:30:40 | 102.3 c/m | 0.8 sh/m | VL: 1 (33.3%), RJ: 2 (66.7%), ST: 0 (0.0%)

Offline mmao

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #169 on: January 18, 2014, 02:24:21 pm »
I compiled cudapts on a Laptop with fx2800M nvidia card,
but the program aborted when I run it:
Code: [Select]
%./cudapts Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc 0 sse4
********************************************
*** cudapts - Nvidia PTS Pool Miner v0.8 GPU0.2 <experimental>
*** by dga - based on ptsminer.
*** If you like this software, please consider sending tips to:
*** PTS:  Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc
*** BTC:  17sb5mcCnnt4xH3eEkVi6kHvhzQRjPRBtS
*** Your donations will encourage further optimization and development
***
*** press CTRL+C to exit
********************************************
spawning 1 worker thread(s)
[WORKER0] starting
Initializing.  Device has 950116096 free of 1073020928 total bytes of memory
[WORKER0] GoGoGo!
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  Host not found (authoritative)
Aborted (core dumped)

Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #168 on: January 17, 2014, 09:00:45 pm »
hi. How to use cudapts to connect to ypool.net?

EDIT: That may not work: does ypool use a different work-sharing protocol?

I detail a hack here:

https://bitsharestalk.org/index.php?topic=2338.msg28809#msg28809

--but I suggest using beeeeer.org, as (last I heard) ypool had vastly more than 51% of all hashing power going for this coin.
« Last Edit: January 17, 2014, 09:02:34 pm 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 dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #167 on: January 16, 2014, 01:16:47 am »

I have a dual GTX690 rig that's currently doing about 3600 c/m.  I like it.

Dear dga,

There are 2 GPU on 1 card GTX690 and it' s mean that 1 card GTX690 get 3600 c/m ? Or you use 2 card GTX690 to get 3600 c/m?

Two cards.  One GTX690 gets 900 cpm on each of its chips, for a total of about 1800cpm per card.

Offline intelle

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #166 on: January 16, 2014, 01:07:42 am »

I have a dual GTX690 rig that's currently doing about 3600 c/m.  I like it.

Dear dga,

There are 2 GPU on 1 card GTX690 and it' s mean that 1 card GTX690 get 3600 c/m ? Or you use 2 card GTX690 to get 3600 c/m?


Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #165 on: January 15, 2014, 07:58:31 pm »
Quote
Maybe this post from iruu could point you in the right direction? . . .

Also, I have no idea whether it may help, but you're free to look at the Visual Studio project source files I posted in this archive:

https://www.dropbox.com/s/q9u4r8sy0zsgf7j/cudaPTSwin.7z

This got all of the files to compile, it's just that the miner doesn't seem to properly communicate with a mining pool. With a traffic monitor, you can see traffic sending out from it, but it seems that no traffic is sent back from the pool; it also eventually throws an error which I looked up and which has to do with not connecting to a network.

A hosts file hack which has been used for other miners also works for this (or, it might, if this miner worked :) ), which allows you to redirect a miner hard-coded to one pool to mine at another (of the same coin and protocol). It's hard-coded right now to beeeeer.org, but by using this hack:

https://bitsharestalk.org/index.php?topic=1921.msg22358#msg22358

You can get it to try connecting to e.g. mmcpool.1gh.com. Er, if that pool uses the same port :/

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 earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #164 on: January 15, 2014, 07:38:39 pm »
... I suggest we take Daves gpuhash kernel code which is relatively self contained and easy to get to compile under visual studio and then merge it in with the source for https://github.com/jh000/jhProtominer here. I have gotten the kernel to compile no problem. If anyone who is more familiar with the protoshares algorithm is willing to point me in the right direction of what function call I need to replace with a call to daves kernel I will happily give it a shot and put up a github link with the code...

Maybe this post from iruu could point you in the right direction?

https://bitsharestalk.org/index.php?topic=2225.msg26559#msg26559

If you'd like to PM me with a link to your source archive, I could poke around in it . . . my intent is to create something that we'd release open-source (if we get it working).
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