Author Topic: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES  (Read 11857 times)

0 Members and 1 Guest are viewing this topic.

Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #12 on: January 16, 2014, 09:59:47 pm »
THANK YOU.

I will do donation mining. Absolutely.
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 slothlike

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #11 on: January 16, 2014, 08:44:36 pm »
Hello.

I tried the compiled version. I get the error:

---------------------------
CUDAPTSWIN.exe - System Error
---------------------------
The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.

Windows 8 x64 | Phenom II X6 | Asus Geforce 660 GTX

Any ideea what should I do? Thanks.


Ah my apologies that means you need the microsoft visual c++ redistribute.  It can be found here.  Installing it should fix your problems. 
http://www.microsoft.com/en-au/download/details.aspx?id=30679

Offline coolisbad

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #10 on: January 16, 2014, 08:17:33 pm »
Hello.

I tried the compiled version. I get the error:

---------------------------
CUDAPTSWIN.exe - System Error
---------------------------
The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.

Windows 8 x64 | Phenom II X6 | Asus Geforce 660 GTX

Any ideea what should I do? Thanks.
« Last Edit: January 16, 2014, 08:22:09 pm by coolisbad »

Offline slothlike

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #9 on: January 16, 2014, 06:22:38 pm »
What sm are you suing? And you ares sure that a higher cm gives better performance?
sm30 it gives me 300 extra cpm not sure why.  sm35 drops it as well so it may be something specific to the gtx titan.

Offline slothlike

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #8 on: January 16, 2014, 06:21:47 pm »
please add cuda 2.1 version, 560ti
SM 2.0 version should work on your 560 ti but slower than the sm 30 version if you can run it at least in my testing:   https://dl.dropboxusercontent.com/u/33838/CUDAAPTSWINSM20.7z

Offline slothlike

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #7 on: January 16, 2014, 06:13:20 pm »
I won't add ypool.  Is there another pool you want.  Ypool has way too much of the market already.  Plus their fees are outrageous.

Offline electrocat

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #6 on: January 16, 2014, 01:39:34 pm »
Thanks for this, do you have any plans on adding in the ability to use other pools?
PTS: Ph8QzEozjW5GhuAvE6oaGfDsJKNDndQCZh

Offline guobacoo

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #5 on: January 16, 2014, 12:30:30 pm »
please add cuda 2.1 version, 560ti
« Last Edit: January 16, 2014, 12:52:54 pm by guobacoo »

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #4 on: January 16, 2014, 10:21:30 am »
What sm are you suing? And you ares sure that a higher cm gives better performance?

Offline slothlike

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #3 on: January 16, 2014, 10:01:42 am »
I pulled in his very latest changes from the 14th

"EDIT: Doesn't work for me on a GTX 560 ti"

The 560 ti is compute 2.0 not 3.0.  Only 660s and higher support Cuda 3.0.  If you want to give this build a go you can change the cuda architecture to 2.0 in the project properties under cuda.  Using Cuda 3.0 is a huge performance boost for those of us who have it.  I will try to make another build config in the project to support lower cuda versions for older cards.
« Last Edit: January 16, 2014, 10:06:29 am by slothlike »

Offline archit

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #2 on: January 16, 2014, 09:38:20 am »
Which commit is it based on?

EDIT: Doesn't work for me on a GTX 560 ti
« Last Edit: January 16, 2014, 09:51:14 am by archit »

Offline slothlike

  • Newbie
  • *
  • Posts: 14
    • View Profile
Windows PORT of DGA CUDAPTS gpu miner WITH SOURCECODE and SLN FILES
« Reply #1 on: January 16, 2014, 06:06:59 am »
---- UPDATE -----
I have changed the core gpu code a bit and have now managed to eek out about 10% more performance on sm35 devices (GTX titan, GTX 780, and GTX 780Ti, and some weird variant of the 640).  On my gtx titan I now average 2200 (overclocked) or 2000 cpm (stock).  My previous rates before the change were 2000 (overclocked) and 1800 (stock).    Anyways I still haven't made any improvement for older devices as I don't own them so I wasn't as interested in non sm35 devices.  I will send DGA a pull request to get the sm35 changes back ported to his code as well or maybe just submit a patch depending on what he prefers.   
Anyways my changes currently have caused some increased register pressure that I haven't been able to get rid of so I am sure it could get even faster.  Lastly I updated the donation to 2%.  1% for me and 1% for DGA.  As always looking forward to hearing feedback if this release works better for those of you with top end cards, as I don't have a 780 gtx or 780 ti to test on. 
Anyways the new sm35 binary can be downloaded below.  Or as always you can pull the updated  source from github and compile yourself.  If you incorporate these changes into your own miners I would love a small donation ;).  Pc9oQoKptcwnQMoTj3RBvHzDVxx97fu6Kq

Updated Binary for SM35:
https://dl.dropboxusercontent.com/u/33838/cudaptswin-0.2-SM35.7z



As a warning while it is stable right now and fast it does need some work to get threading to work.  If you have multiple devices you must specify a device number or it will crash.   Also please note that this miner appears to be the fastest windows one I have used thanks to DGA.  I get 1950 cpm on my titan with it.  I only get about 1500 cpm with abc's miner which was teh previous best miner I had seen for windows.  I have posted a rough draft of the windows README below.  This miner only works for the ptsweb.beeeeer.org pool (YPOOL controls way way too much of the network anyways, 51%+ is bad for PTS).  You do not need to register just use your address and they will send you pts every time you reach .1 pts. 
--Adam
 
PURPOSE:
The purpose of CUDAPTSWIN is that I got sick of seeing all these ports of DGA's code with no one releasing their source code nor how they got it to compile under windows.  So I decided to do it myself  (Note I also added my own address to the donation list feel free to take it out if you want when you build so this miner has a 1% fee with 2/3 going to DGA and 1/3 to me).  The most current windows code can always be found at:
https://github.com/acarasso/cudapts.git
I have changed as little code as possible as my intention is to continue to pull in DGA's improvments from the linux miner as he makes them and I will do my best to keep it up to date with his latest changes and any other changes people offer up that might improve performance.
BINARIES
The latest binary distribution can be found at:
https://dl.dropboxusercontent.com/u/33838/CUDAPTSWINx64sm30.zip
This binary is for x64 systems and requires compute 3.0 capability (gtx 650 and up I believe).  I currently get 1950 to 2000 cpm on my gtx titan with this release. 
Also you might need to download and install http://www.microsoft.com/en-au/download/details.aspx?id=30679.  It comes wtih most windows games though so if you have skyrim, or photoshop or a host of other programs installed already you probably won't need it.
IF YOU HAVE MORE THAN ONE CUDA DEVICE YOU MUST SPECIFY A DEVICE NUMBER like the example below (I broke threading when I ported it to windows and you will get an error if you don't, hopefully will fix that soon):
CUDAPTSWIN Pc9oQoKptcwnQMoTj3RBvHzDVxx97fu6Kq 0


REQUIREMENTS TO COMPILE. 
In order to compile this code yourself.  You will need the cuda sdk for windows 5.5.  You can get this from nvidia: https://developer.nvidia.com/cuda-toolkit
You will also need boost libraries and headers for windows:
http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html
I REALLY REALLY suggest downloading the binary release rather than compiling yourself as a self compile of boost takes days.  The binaries can be found here:
http://sourceforge.net/projects/boost/files/boost-binaries/1.55.0/
I put my version of boost in c:/local/boost_1_55_0/ and my project file expects it to be there.  If you move it you need to change 3 settings on the project.  Under Visual C++ Directories in the project config change add your boost header location to the header path.  Add your boost library location to the library path.  And Add your boost library path to the linker library path.
If you have any questions feel free to ask me and I will try to answer them.
« Last Edit: January 22, 2014, 09:59:44 am by slothlike »