KlausT / ccminer

Software for mining various cryptocoins
GNU General Public License v3.0
403 stars 312 forks source link

rebuild for older cards. #242

Open Novicracker opened 6 years ago

Novicracker commented 6 years ago

How do I rebuild for older cards. I'm using 2 Geforece GT 610's and 2 Geforce GTX 760's on 2 different machines. And I would ;like to get them running. Just for the fun of the learning and satisfaction that they are doing something rather than sitting on a shelf collecting dust. lol. I'm no programmer. So How do I change the version of cuda that I can get the program to recognize the cards. I know they wont hash hard at all but it will be fun to learn this.

KlausT commented 6 years ago

GTX760 should work as it is. For the GT610 cards we have to build ccminer with CUDA 8 and add sm_21 support. Are you using Windows or are you using Linux?

Novicracker commented 6 years ago

I am using Windows 10 64-bit.

On Tue, May 1, 2018 at 1:07 PM, KlausT notifications@github.com wrote:

GTX760 should work as it is. For the GT610 cards we have to build ccminer with CUDA 8 and add sm_21 support. Are you using Windows or are you using Linux?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KlausT/ccminer/issues/242#issuecomment-385743353, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak4RJzd985S2YxuuzwYdgx3_qTLazYQ9ks5tuKRTgaJpZM4TuGiD .

Novicracker commented 6 years ago

Hey Klaust I'm not sure what sm_21 support is. Can you please explain it for me?

On Tue, May 1, 2018 at 11:12 PM, Novic Racker novicracker@gmail.com wrote:

I am using Windows 10 64-bit.

On Tue, May 1, 2018 at 1:07 PM, KlausT notifications@github.com wrote:

GTX760 should work as it is. For the GT610 cards we have to build ccminer with CUDA 8 and add sm_21 support. Are you using Windows or are you using Linux?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KlausT/ccminer/issues/242#issuecomment-385743353, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak4RJzd985S2YxuuzwYdgx3_qTLazYQ9ks5tuKRTgaJpZM4TuGiD .

KlausT commented 6 years ago

Try this version: ccminer-821-cuda80-with-sm21.zip Some algos will probably not work with your GT610.

The sm number is also called "compute capability" and is telling us what kind of hardware your card has. sm_30 are Kepler cards, sm_50/52 are Maxwell cards, sm_61 are Pascal cards, and so on.

Novicracker commented 6 years ago

thanks man!!!! Also the GTX 760 didn't run with the newest version. Ill try this one with it.

On Fri, May 4, 2018 at 12:17 AM, KlausT notifications@github.com wrote:

Try this version: ccminer-821-cuda80-with-sm21.zip https://github.com/KlausT/ccminer/files/1973322/ccminer-821-cuda80-with-sm21.zip Some algos will probably not work with your GT610.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KlausT/ccminer/issues/242#issuecomment-386507643, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak4RJycEzT7ZFx5E8Dt0n2pmbzMfhhJpks5tu-RkgaJpZM4TuGiD .

Novicracker commented 6 years ago

ok man I tried each device and no luck, according to Cuda Wiki the GT 610 has a Fermi processor and it supports Cuda 2.1 on its release. And the GTX 760 jas a Kepler processor and supports Cuda 3.0 on its release. https://en.wikipedia.org/wiki/CUDA I'm not sure if this helps or anything. I do appreciate all the help man. Once I get a real mining machine Ill have to donate come coin some coin.

On Fri, May 4, 2018 at 6:53 PM, Novic Racker novicracker@gmail.com wrote:

thanks man!!!! Also the GTX 760 didn't run with the newest version. Ill try this one with it.

On Fri, May 4, 2018 at 12:17 AM, KlausT notifications@github.com wrote:

Try this version: ccminer-821-cuda80-with-sm21.zip https://github.com/KlausT/ccminer/files/1973322/ccminer-821-cuda80-with-sm21.zip Some algos will probably not work with your GT610.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KlausT/ccminer/issues/242#issuecomment-386507643, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak4RJycEzT7ZFx5E8Dt0n2pmbzMfhhJpks5tu-RkgaJpZM4TuGiD .

Novicracker commented 6 years ago

I tried CCminer on the Cuda Developer Drivers I'm going to uninstall them and install the latest drivers and get back to you.

On Fri, May 4, 2018 at 9:08 PM, Novic Racker novicracker@gmail.com wrote:

ok man I tried each device and no luck, according to Cuda Wiki the GT 610 has a Fermi processor and it supports Cuda 2.1 on its release. And the GTX 760 jas a Kepler processor and supports Cuda 3.0 on its release. https://en.wikipedia.org/wiki/CUDA I'm not sure if this helps or anything. I do appreciate all the help man. Once I get a real mining machine Ill have to donate come coin some coin.

On Fri, May 4, 2018 at 6:53 PM, Novic Racker novicracker@gmail.com wrote:

thanks man!!!! Also the GTX 760 didn't run with the newest version. Ill try this one with it.

On Fri, May 4, 2018 at 12:17 AM, KlausT notifications@github.com wrote:

Try this version: ccminer-821-cuda80-with-sm21.zip https://github.com/KlausT/ccminer/files/1973322/ccminer-821-cuda80-with-sm21.zip Some algos will probably not work with your GT610.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KlausT/ccminer/issues/242#issuecomment-386507643, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak4RJycEzT7ZFx5E8Dt0n2pmbzMfhhJpks5tu-RkgaJpZM4TuGiD .

Novicracker commented 6 years ago

ok on the GTX 760 I am getting ERROR: no algo or invalid algo. I have the -a x16r set in the .bat file. So I'm guessing its not the -a setting but the actual algorithms that are built to run the card. So how would I compile the correct memory specific algos? if you can tell me what I need installed in VS Studio and how to set it up for this I will share my algo's so you can add them to your project.

KlausT commented 6 years ago

My ccminer version doesn't support x16r, that's only in tpruvot's version. I don't think you can add it yourself, it's not that easy to make the changes. But you could use the skein algo, that would run on your GT610 I think. If you only use the GTX760 you could use neoscrypt or lyra2v2.

KlausT commented 6 years ago

If you insist: Install Visual Studio 2015 Community Edition: https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o~msft~vscom~older-downloads Install CUDA 8.0: https://developer.nvidia.com/cuda-80-ga2-download-archive Now you can either fork my repository, or just download the source code.

Novicracker commented 6 years ago

In the install for Visual Studio there are other repositories will I need to install any of these or will a naked install do?

On Sat, May 5, 2018 at 8:59 AM, KlausT notifications@github.com wrote:

If you insist: Install Visual Studio 2015 Community Edition: https://my.visualstudio.com/Downloads?q=visual%20studio% 202015&wt.mc_id=o~msft~vscom~older-downloads https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o%7Emsft%7Evscom%7Eolder-downloads Install CUDA 8.0: https://developer.nvidia.com/cuda-80-ga2-download-archive Now you can either fork my repository, or just download the source code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KlausT/ccminer/issues/242#issuecomment-386807531, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak4RJ-eFTauV3QVsmeKb0MaUgYDCVaHkks5tvbAkgaJpZM4TuGiD .

Novicracker commented 6 years ago

I'm going to try and fork your repository and add the x16r algorithm. And see if I can get Cuda 7.5 to work with the GT 610 2g. Now when I add the x16r files into the build is there anything special I have to do to get the algo to be utilized by the main exe? I'm not a programmer so this is all new to me.

arman4343 commented 5 years ago

Thank you @KlausT How can I change the SM version from inside of VS? where you define SM in vs project? I can't find it.

KlausT commented 5 years ago

Project -> properties -> CUDA C/C++ -> Code Generation If you have more than one version of the CUDA Toolkit installed, then you can select one in Project -> Build Customizations

arman4343 commented 5 years ago

Thank you for your help @KlausT . I find it.