Author Topic: [GUIDE] How to mine LiteCoins from scratch! Both cgminer and GUIminer version  (Read 197354 times)

Offline WeMineLTC

  • Donator
  • Jr. Member
  • ***
  • Posts: 156
    • WeMineLTC
Note before starting!! To begin with, thank you for almost 100k views!! Secondly, keep in mind that this guide will work on ALL pools, not just WeMineLTC.com ! For the sake of this guide we will use
 WeMineLTC.com in the while proccess, but all the steps, from configuring your miners to chose a mining program, apart from the ports and urls who change, are 100% identical for every other LiteCoin pool!
You can check a list of other litecoin pools here -->  https://litecoin.info/Mining_pool_comparison     
As per litecoin wiki says,  "If possible, please help the network by mining with a pool that doesn't have a large part of the network hashrate." Do your own research and pick the one that fills your needs :)

OK, and since we got this cleared, lets go to our guide!!

Hello all! We decided to make a step by step guide, with pictures as well, since more and more people were requesting it(so many new people jump in the LTC train since the price skyrocketed). So, here
we go! A detailed guide from scratch, hand by hand from downloading your wallet to start mining litecoins!  Let us start!

1. First things first, DOWNLOAD and install the latest version of the LiteCoin wallet! Grab it from the official site AND ONLY! Link -->  www.litecoin.org



  We repeat: AVOID online wallets, exchanges, hell, even pools to store your coins! ALWAYS HAVE YOUR COINS in your wallet, and make sure you backup your wallet as well!! Grabbed the wallet? Installed?
Awesome =D Now run it, let it sync(it could take several hours to do the first sync, dont worry) and find your unique LiteCoin address in the Receive tab! It should be something like this:



 Copy and paste your address somewhere, preferably with the copy address button! We are going to need in abit later :)   Lets move to step 2!

2. You will need some descent GPUs to mine LiteCoins. In theory, you could mine with CPUs as well(heck, you could even mine with your mobile phone) but its highly NOT recommended. The difficulty now is
SO HIGH and your hashrate will be SO LOW that you will end up burning electricity for nothing. While both AMD and NVIDIA cards can mine litecoins, we highly suggest AMD, since they mine faster. LOT
faster. Our two personal favourites are the GigaByte 7950 card and the HIS 7950 ones, but literally any model/brand will do the job. Got the cards? Great! Lets go to step 3!

3. VERY IMPORTANT!! Many people skip this 3rd step, and they end up having extremely bad results...   So, here we go, with bold letters.
 Download  AMD Catalyst 13.1 Software Suite Vista/7 64-bit AMD   AND AMD APP SDK v2.8
Link for AMD Catalyst 13.1 is here--->  http://www.techpowerup.com/downloads/2196/amd-catalyst-13-1-software-suite-vista-7-64-bit/
 and for AMD APP SDK v2.8 is here-->http://developer.amd.com/amd-license-agreement/?f=AMD-APP-SDK-v2.8-Windows-64.exe.
If for any reason the links go offline, just google them and grab them from there. Install first the AMD Catalyst drivers, reboot, install the AMD SDK 2.8, reboot again. You are set.
 On our way to step 4!

4. Drivers installed, well done! Now we must create an account on the pool we want to use. For this example, we will use our pool, https://www.WeMineLTC.com.
Sit down tight, this may take few minutes!

First of all, we visit the pools' page. You should see smth like this



Click Register. You will be redirected to a page that looks like this



After filling everything correctly,you should see a screen like this



Login with the new credentials you just created, by filling your username/password upper left on the dashboard

 

After logging in, go to account details



There, you will need to request for an email code verification, in order to protect your account AND setup
your payout address(remember in Step1, we created our unique payment address!)! Put your PIN and ask for an email confirmation!



You should see this on the upper screen



After asking for the confirmation, go to your email you used for your registration. You should have an email there from WeMineLTC. open it.





Perfect! Now we have the code! Lets go back to the Account Details page and lets put our payment address now



If done correctly, you should see this!



Now, lets go create our first worker. Go to My Account--> My workers



Set the password for your miner(doesnt have to be something difficult, 1234 will do just fine), leave the difficulty settings as is, and hit Update.





That will do you in case you have one pc. In case you have more than one, you can create multiple workers, one for each PC, or you could point them all to the same worker, wont make any real difference.
 usually people set one miner account per PC because it makes monitoring easier! Lets move to the next step!


5. To actually mine LiteCoins, we need a mining software. At the moment, there are two that we could use. CGMiner and GUIminer. With simple words we could say GUIminer is cgminer with graphics, and
cgminer is abit more"advanced" than GUIminer. More experienced users prefer cgminer while less experienced ones go for the GUIminer. We will cover both, so you can make your own choice :) Before we
proceed though, go to Getting Started-->New user info and you should see this screen with the pools' current mining servers.

 



Make sure to check all the time this page, among with site news since more and more servers are been added!

For our example, we will use the first one, Stratum Server (World Wide): stratum+tcp://stratum2.wemineltc.com:3335(this is an old server now, and not used anymore! Now we will use stratum+tcp://global.wemineltc.com:3334 instead, which you will find in the getting started page !)

GUIminer version: First of all, be aware that GUIminer was originally developed to mine BITCOINS, and not LITECOINS.
What we will actually work with to mine litecoins is called GUIminer Alpha. Thats the one you need!
The original GUIminer CANNOT mine litecoins!
Ok, since we got that clear, lets start!

At first, we need to download latest version.
You can find latest version here --> https://bitcointalk.org/index.php?topic=150331.0
Download and extract somewhere(for example, your desktop). You will end up with something like this:



Locate guiminer.exe and run it. GUIminer will run, and will give you some fields to complete. In host, we put the server we chose WITHOUT HTTPS or tcp://  or port. So we will put global.wemineltc.com
in Port we will put 3334, in username field we put our workers name(in our example, Tutorial.1) and the password we created for it( in our case, 1234). We make sure that the stratum box is ALWAYS on
YES and we can select from some pre-defined settings for our GPUs! In our case, our miner has 2x GigaByte 7950 cards, so we selected that one, and it fills all the other fields like thread
concurrency,worksize, vectors etc automatically.So we end up to something like this:



If you cannot see your card there listed, you can check the mining comparison wiki for litecoin and grab the settings for your cards here -->  https://litecoin.info/Mining_hardware_comparison
Thats it! Hit Start, wait few seconds and you should see in awhile GUIminer counting shares.



 Congratulations, you are mining litecoins!

CGMiner version : for the most experienced users, and the ones that want some more"flexibility" and stats, cgminer is the key! It may look abit more"complicated, but it really isnt that much when
someone explains you what on Earth it is, and how to use it! So lets start!

Go here --> http://ck.kolivas.org/apps/cgminer/3.5/ and get 3.5 version  Author has deleted all the windows binaries from his server! I have uploaded the 3.5 windows version of cgminer on
megaupload for you here -->  https://mega.co.nz/#!1d11xbAb!uUOGzb_WKWkO9xmJ8ZtYEpA-brjY_RZc2nkRmuM1hog
Alternatively, you can download it here -->  https://github.com/kanoi/cgminer-binaries/blob/master/3.5.0/cgminer-3.5.0-windows.zip?raw=true


Save to desktop, and extract.
Navigate in the folder, right click and create a new text document.



In the first two lines, paste those commands:
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

And after that, this:
cgminer --scrypt -o stratum+tcp://global.wemineltc.com:3334 -u Tutorial.1 -p 1234 --thread-concurrency 24000 --lookup-gap 0 --gpu-engine 1100 --gpu-memclock 1250 --gpu-powertune 20 -w 256 -I 19 -g 1
After you write that, click Save As--> from the save as type select All Files and name it My Miner.bat Reason we name it with a .bat extension, is to make it executable and run cgminer with the
parameters we wrote. Actually what we did here, is we give cgminer the command to run, in scrypt mode(thats the one litecoin uses), to connect in the server we said we would
use(stratum+tcp://stratum2.wemineltc.com:3335) , following by some parameters, like our username (-u), our miners password (-p), the thread concurrency of our cards, the look-gap command, where we
want the gpu engine to run, where its memory clock, if we want to use the powertune option and how much, the workload(w), the Intensity of the card(I) and the number of threads per gpu(g). Those are
the best settings that worked for us, for our GigaByte 7950s. You should find your own settings, again from the awesome guide over the litecoin hardware comparison wiki here -->  https://litecoin.info/Mining_hardware_comparison  !



Thats it! Double click the My Miner.bat and you are mining litecoins!




For any feedback/suggestions/help, remember we also have a dedicated forum at www.WeMineCryptos.com plus you can always get a hold of us in our chat here--> http://www.wemineltc.com/userirc !

Happy mining and welcome aboard!

PLEASE NOTE IN OUR EXAMPLE WE USED AN OLD SERVER WHICH IS FULL BY NOW! ALWAYS CHECK THE GETTING STARTED PAGE TO SEE THE LIST OF AVAILABLE SERVERS AND PICK ONE!
« Last Edit: February 21, 2014, 11:11:20 AM by WeMineLTC »
[PPLNS] [POOL] www.wemineltc.com [STRATUM] [Donation Only] [VARDIFF]

Offline bluedolfie

  • Newbie
  • *
  • Posts: 1
Nice guide dude!

it helped me a lot helping other people getting their first steps into ltc mining,...

i'll be sending more here, love how you mspaint away your steps like i do for retired customers :D

millions times thanks and good luck with the mining!

Offline KCV

  • Newbie
  • *
  • Posts: 2
Wow....Man....Now I know what is the meaning for SPOON FEEDING....lol

Ty very much.. I uninstalled all the GUI and AMD drivers.

Now my GUminer is working. Can see the confirmed shares.

One quick question :-

     I am just trying Radeon HD 6450.

     My hash rate is 24-29Kh.

     I was getting the same when i was test cpu mining.

     Thought at least there will some diff.

Any idea.

Thanks.
KC.

Offline WeMineLTC

  • Donator
  • Jr. Member
  • ***
  • Posts: 156
    • WeMineLTC
That sounds about right :) Unf 6450 is "abit" outdated hehe
[PPLNS] [POOL] www.wemineltc.com [STRATUM] [Donation Only] [VARDIFF]

Offline Shimple

  • Jr. Member
  • **
  • Posts: 41
Great guide. This will definitely help many people out! Go LTC ;)

Quote
One quick question :-

     I am just trying Radeon HD 6450.

     My hash rate is 24-29Kh.

     I was getting the same when i was test cpu mining.

     Thought at least there will some diff.

Some cards are not the best for mining... Lol.

That card gets anywhere between 16-28 depending on which model/brand you use.

Offline user112233

  • Newbie
  • *
  • Posts: 6
Hi. 
I can't get this to work with cgminer 3.5.  It just crashes.  I did everything as said in your tutorial(simple enough).  I've a sapphire 6950.  any ideas?

Offline AdsoLite

  • Newbie
  • *
  • Posts: 1
Thanks!!. Really helpful guide...

I just have a question... i'm new and I'd like to try my old Graphic card ATI HD4870 to learn how to mine...and look if I like it!. Should I download also the two files you said in your tutorial? (AMD Catalyst and AMD APP SDK), or those are just for the GPUs you are using?

Thanks!

Offline WeMineLTC

  • Donator
  • Jr. Member
  • ***
  • Posts: 156
    • WeMineLTC
You should download them for any type of AMD GPU you will use! :) So YES, download them :)
[PPLNS] [POOL] www.wemineltc.com [STRATUM] [Donation Only] [VARDIFF]

Offline WeMineLTC

  • Donator
  • Jr. Member
  • ***
  • Posts: 156
    • WeMineLTC
Hi. 
I can't get this to work with cgminer 3.5.  It just crashes.  I did everything as said in your tutorial(simple enough).  I've a sapphire 6950.  any ideas?

I guess you havent put the right inputs for your graphic cards! Which miner guide you tried? The GUIminer or the cgminer? Chekc the sites i adviced in the guide to find your ideal settings!
[PPLNS] [POOL] www.wemineltc.com [STRATUM] [Donation Only] [VARDIFF]

Offline user112233

  • Newbie
  • *
  • Posts: 6
This is what my start.bat file looks like for cgminer.

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o stratum+tcp://stratum2.wemineltc.com:3335 -u miner.1 -p x -I 19 --shader 1536

I've a sapphire 6950 dirt 3 edition lol.  its default 800 core and memory 1250.  shaders unlocked(requires toggling a switch).   I referred to this page https://litecoin.info/Mining_hardware_comparison for what to put in start.bat file for my card. 

I also tried guiminer as well, and chose default for 6950.  but after pressing start, it waits for a few seconds, then a notification pops up "cgminer has stopped working." outta nowhere, just like the cgminer crash i get.  and the guiminer keeps saying connecting but never connects.  can't seem to get either of above to work. 

Offline WeMineLTC

  • Donator
  • Jr. Member
  • ***
  • Posts: 156
    • WeMineLTC
This is what my start.bat file looks like for cgminer.

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o stratum+tcp://stratum2.wemineltc.com:3335 -u miner.1 -p x -I 19 --shader 1536

I've a sapphire 6950 dirt 3 edition lol.  its default 800 core and memory 1250.  shaders unlocked(requires toggling a switch).   I referred to this page https://litecoin.info/Mining_hardware_comparison for what to put in start.bat file for my card. 

I also tried guiminer as well, and chose default for 6950.  but after pressing start, it waits for a few seconds, then a notification pops up "cgminer has stopped working." outta nowhere, just like the cgminer crash i get.  and the guiminer keeps saying connecting but never connects.  can't seem to get either of above to work.

Try this for cgminer, in your .bat ;)

cgminer --scrypt -o stratum+tcp://stratum2.wemineltc.com:3335 -u miner.1 -p x -I 19 -g 1 -w 256 --thread-concurrency 7040 --gpu-engine 945 --gpu-memclock 1350

Give it a go! Also which version of cgminer you using?
[PPLNS] [POOL] www.wemineltc.com [STRATUM] [Donation Only] [VARDIFF]

Offline user112233

  • Newbie
  • *
  • Posts: 6
Hi.
I tried
cgminer --scrypt -o stratum+tcp://stratum2.wemineltc.com:3335 -u miner.1 -p x -I 19 -g 1 -w 256 --thread-concurrency 7040 --gpu-engine 945 --gpu-memclock 1350

but it did not work.  :(
I've tried everything on cgminer 3.5.0 (took link from OP) and cgminer 2.11.3.  same crash on both

this is what I get from crash details:

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   cgminer.exe
  Application Version:   0.0.0.0
  Application Timestamp:   52483164
  Fault Module Name:   cgminer.exe
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   52483164
  Exception Code:   c0000005
  Exception Offset:   00032efd
  OS Version:   6.1.7601.2.1.0.256.1
  Locale ID:   1033
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789
« Last Edit: November 27, 2013, 01:10:45 PM by user112233 »

Offline WeMineLTC

  • Donator
  • Jr. Member
  • ***
  • Posts: 156
    • WeMineLTC
try uninstall all AMD drivers, and reinstall them from scratch. There smth wrong with your drivers :)
[PPLNS] [POOL] www.wemineltc.com [STRATUM] [Donation Only] [VARDIFF]

Offline user112233

  • Newbie
  • *
  • Posts: 6
I got it to work somehow.  I wrote a start.bat file from scratch(referring to scrypt-readme.txt from cgminers folder).  I didn't put any options after username and password and it magically started working all of a sudden.  I slowly added other options and ran it for like half an hour at +400kH/s.  I tried playing around with more settings and deleted a .bin file cgminer generates.  fml, it is not working after that.  I've no idea wtf is wrong here.  irritating ****. 
anyways, thanks for all your help. 

Offline terrorist96

  • Newbie
  • *
  • Posts: 8
I'm getting only around 23Khash/s with my GTX 260 using the default -I 13 flag (if I have no flags, the program will open then immediately close).
I also used
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
but it doesn't change anything. My GPU shows usage of 99% but I'm not getting the speed of 43Khash/s quoted here:
https://litecoin.info/Mining_hardware_comparison

I tried using the -l 54x3 and -l S27x3 flags, but it will only cause CGMiner to open then immediately close like before.

Can I get any help?
Thanks

I switched to cudaminer and now I'm getting the correct numbers. :D
Side note: if I add any of the flags, it will actually lower my speed. Running with no flags, I get around 46Khash/s with CUDAMiner 2013-11-20. Seems as though it's been already optimized. :D
« Last Edit: November 27, 2013, 09:35:04 PM by terrorist96 »
LTC: LXYy4sDFFGGYbVpfXcQUYW4NqHgdjJEovZ
BTC: 1MWesJDpqUmMzXyZoBSXmDTKzfyiGdMxKt
NMC: NKShz6H5MvqBvTZnC1S2q5n2iqNjGihqRw