Bitcoin Forum

Other => Beginners & Help => Topic started by: adomaz on April 21, 2013, 02:43:17 PM



Title: Beginner's guide to mine LTC on nvidia (Windows)
Post by: adomaz on April 21, 2013, 02:43:17 PM
Maybe this will help someone. This is a step-by-step guide (intended for real beginners and command line haters) to mine Litecoin on nvidia, with Windows.

I mine using cudaminer on coinotron.com (http://coinotron.com), and all my sample lines will be for this combination.

-----
1. Get all the executables, extract them wherever you like:
Cudaminer thread: https://bitcointalk.org/index.php?topic=167229.0 (https://bitcointalk.org/index.php?topic=167229.0)

getwork>Stratum proxy: https://github.com/CryptoManiac/stratum-mining-proxy (https://github.com/CryptoManiac/stratum-mining-proxy)
This is required for pools that are Stratum-only, like coinotron.com. Beware that there is a very similar executable for bitcoin which does not work, since litecoin need scrypt support.. or something like that :)

-----
2. Register on coinotron.com (http://coinotron.com), create a worker in their system, set it to LTC and RBPPS (Round based pay per share). Note the workers name and its password (Which I will call workname and workpass below)

-----
3. Create .bat file to launch proxy.

Proxy: Open notepad, type mining_proxy -pa scrypt -o coinotron.com -p 3334, save file as proxy.bat in the same place where mining_proxy.exe is.

Launch proxy.bat and leave it running, allow it through the firewall if it asks.

-----
4. Autotune cuda miner to your videocard:

Create a .bat file with notepad with this:

cudaminer --device 0 -t 1 -o localhost:8332 -O workname:workpass


Save as autotune.bat
Free your computer of all GPU usage (media players, games, etc.) You can even reboot to be on the safe side. If you plan to overclock - now is the time, as autotune may find different numbers for that.
Launch autotune.bat and let it do its magic.
After a minute or a few you will see a line xxxx khash/s with configuration ***x*. This is the number you are interested in. Remember it.

-----
5. Create a .bat file with notepad to start your worker with this line:

cudaminer --no-autotune -l ***x* --device 0 -t 1 -o localhost:8332 -O workname:workpass Replace ***x* with the number you got from autotune.

Save as whatever you like, this will be your miner starter file.

-----
Notes: If you have multiple video cards, you select which one to use with the --device 0 command (change the number to whichever card you want to use). You should autotune each one separately.
I use separate miners because I keep one 24/7, and use the other (on my main card) only when it does not interfere with my graphics.

If you have SLI - disable it. Two separate cards do more work than SLI config.. I don't think that miners are even capable of using SLI's capabilites..

Save .bat files in the same folder as the executable it launches.

Launch cudaminer with -h command to see what else you can do there.

If you are getting errors in the miner that say something about JSON and 15 second retry, most likely proxy is not working properly or you have messed up worker name and password.

If you overclock and nvidia driver crashes during mining, most likely OC settings have been reset and need to be reapplied (at least this is true with MSI afterburner).

If you find this useful, feel free to put a donation to the wallets in my signature :)

If you see a way to improve this guide - tell me :)

I will watch this thread and try to answer your questions.









Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: robi on April 21, 2013, 03:30:55 PM
what is your card and what speed are you getting? people like to know what to expect despite the auto tune.




Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: BioTurboNick on April 21, 2013, 04:14:09 PM
Works great! I'm getting 8-10 kH/s on my laptop's 540M.


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: mdszy on April 21, 2013, 04:28:43 PM
I have a nvidia card and may have to try this.  I can't mine BTC very well because it's so slow.  But maybe can give it a shot.


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: angelafairie on April 21, 2013, 04:45:47 PM
I tried the LTC guiminer and had some errors. Probably because of drivers issues? It would not let me proceed.


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: SamuraiHP on April 21, 2013, 08:05:34 PM
is your computer usable while mining?

Or is there a way you can set the miner to not thrash the system for 100% of resources?


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: Morcor on May 23, 2013, 06:50:31 PM
dope guide my man and program was getting 54.4 khash/s using another miner and now im getting 93.4 khash/s with GTX 650 TI Boost thank you!~

was 84.3 but new drivers boosted it +10 it just came out today update update!


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: namecoin on May 30, 2013, 06:43:40 PM
Thanks for the guide.  That is great.   :)

Cudaminer currently does not work with stratum.  
If someone don't want to setup Stratum proxy, one can use p2pool.org's mining pool.  

Hope that helps.  It helped me since I am a newbie.  If someone has a better suggestion of mining pool, please post as well. 


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: escrow.ms on May 30, 2013, 06:45:43 PM
Thanks for guide man :)


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: JSMill on May 30, 2013, 07:13:31 PM
Thanks for the bump guys.  Great guide!


Title: Re: Beginner's guide to mine LTC on nvidia (Windows)
Post by: murmur on May 30, 2013, 09:11:20 PM
pretty helpful thx