Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

OMC 

[TUTORIAL] How to mine OMC with either a CPU, GPU, or both!

Table of Contents
  1. Creating an account on a pool
  2. Creating a worker
  3. Downloading a miner
  4. Extracting the archive
  5. Creating the configuration
  6. Optimization
  7. Using the miner
  8. Troubleshooting and help

[Image: 9nYVG.png]

First off you need to register an account on a pool. I recommend using Doctor Blue's pool which you can find a thread about HERE.
If you are using his pool, head over to http://pool.omnicoin.cc/ and create an account.
You can use any username and any email, but you need to have access to the email if you need to change your account information.

[Image: 9nYOU.png]

After creating your account, head over to http://pool.omnicoin.cc/index.php?page=a...on=workers and create a worker.
The worker name can be anything, but I recommend something simple as miner or omnicoin.
Type in a password as well, but it doesn't have to be any of your secret passwords, because it will be visible on the website, and it will be visible in your configuration file (more about that later).

[Image: 9o0mg.png]

When you have created a worker and a password for it, it should something like this:
[Image: 9nZXP.png]

[Image: 9o1bm.png]

Great! Now you need to download a miner. I copied what is written on Doctor Blue's thread, because it is so correct that I couldn't do it better myself.
  • CGMiner 3.7.2 - Download
    It is important that you use version 3.7.2, as newer versions don't support GPU mining nor scrypt mining and those are the things you need. CGMiner is one of the best miners available for AMD GPU's, and AMD's hardware is generally better than NVIDIA when it comes to mining, so pick CGMiner if you use an ATI/AMD graphics card.
  • CUDAMiner - Download
    CUDAMiner is a fork of CGMiner which specializes in mining with CUDA cores. A CUDA core is the same as a stream processor or ALU, only NVIDIA has made it 'smarter' and capable of more complex things. This means there are fewer of them on each graphics card as they're naturally more expensive to produce and physically larger to fit on the die. This is one of the major reasons why AMD outperforms NVIDIA. Get CUDAMiner if you are using NVIDIA graphics.
  • Pooler's CPUMiner - Download
    If you don't have a graphics card (using onboard or integrated graphics instead) your only option is to mine with your CPU. It doesn't come close to the performance of the GPU miners listed above, but you can still participate and earn some omnicoins to play around with.

So download CUDAMiner if you have a Nvidia GPU, download CGMiner if you have an AMD GPU, or download Pooler's CPUMiner if you want to use your processor.

[Image: 9nYKM.png]

Once you have downloaded the zip archive, extract the archive to a folder you remember in a place like your desktop.
Now you need to create a batch file. Open up notepad and save the empty file inside that folder you just created, but name it run.bat.

[Image: 9nYHZ.png]

Now you need to create a configuration for your miner. Open that new batch file (run.bat) with notepad.
Paste in one of the following lines depending on which miner you chose from step 3:

CGMiner:
Code
cgminer.exe --scrypt -o stratum+tcp://pool.omnicoin.cc:3333 -O username.workername:password

CUDAMiner:
Code
cudaminer.exe -o stratum+tcp://pool.omnicoin.cc:3333 -O username.workername:password

CPUMiner:
Code
minerd.exe --url=stratum+tcp://pool.omnicoin.cc:3333 --userpass=username.workername:password

Now here comes the tricky part for most people. All the configurations says this username.workername:password.
The username is your username you use to log into the website with (your account username).
The workername is the name of the worker you created back in step 2.
The password is your worker's password you also created back in step 2. It is NOT your account password!

My configuration would look something like this:
cudaminer.exe -o stratum+tcp://pool.omnicoin.cc:3333 -O snorlax.miner:snorlax123

[Image: 9nYoi.png]

Now you need to add something to the configuration. Open up this website: https://litecoin.info/Mining_hardware_comparison
Now you need to search for your GPU or CPU. If you GPU is a GTX 780, search for GTX 780 and look until it shows this:
[Image: 9o0b4.png]

IF YOUR GPU OR CPU ISN'T LISTED, THEN MOVE ON TO USING THE MINER.

The left column will show the name of the GPU you searched for. Now head over to the second last column that looks like this:
[Image: 9o0er.png]

That is the configuration parameters you need. If it says auto or is blank, just leave the page and continue to the next step like this never happened. If it doesn't say auto or is blank, then it will look something like this: -i 0 -H 1 -lT30x16.
You need to copy that into your batch file on the same line as everything else. Just add a space and paste the configuration that matches your GPU in.
If you have absolutely no idea what I am talking about, then reply to this thread and I will personally help you out as good as I can.

My final configuration with my GTX 780 Ti would look like this:

cudaminer.exe -o stratum+tcp://pool.omnicoin.cc:3333 -O snorlax.miner:snorlax123 -i 0 -H 1 -lT30x16

[Image: 9o0VZ.png]

Now you have created a miner. Open the batch file you created (run.bat) and let it run.
If you use CGMiner look for words like Accepted random_stuff Diff x/y GPU 0 - That means it works and is now mining. Screenshot here.
If you use CUDAMiner, look for words like Accepted x/y (100%), number khash/s (yay!!!) - That means it works and is now mining. Screenshot here.
If you use CPUMiner, look for the same words as in CUDAMiner but slightly different. Screenshot here.

Log into your account at the pool again, then head over to http://pool.omnicoin.cc/index.php?page=a...on=workers
After running the miner, it should take a few seconds for it to load, but then it should say how fast you are mining under Khash/s to the right.
If it says 0 even after 5 minutes, give me a reply on this thread and I will personally help you out with your problem.

[Image: 9o1nQ.png]

If you want help from me, then post on the thread. Include as much information as you can. I need to see a picture of your batch output window.
I need to see your configuration (remove your password). And I need to know what kind of gear you are mining with (eg. which graphics card).


Error: Your batch window opens and closes immediately.
Part solution: Type "pause" (no quotation marks) on a new line. Save the file and open it. Post a screenshot here for help.

Error: Your batch window outputs "Unable to query CUDA driver version! Is an nVidia driver installed?"
Solution: Download and install THIS

Error: Error -1001: clGetPlatformsIDs failed (no OpenCL SDK installed?)
Solution: Update your AMD drivers to the latest version. Download and install this. Reboot when done. If it still doesn't work, then remove all your drivers including the SDK and then install the latest AMD BETA driver.

Error: 'xxxx' is not recognized as an internal or external command, operable program or batch file.
Solution: Either you forgot to put the batch file (run.bat) into the miner folder.. or you need to specify the full path. Instead of cgminer.exe, cudaminer.exe, or minerd.exe in the batch file, put in the full path like this: C:\username\desktop\cudaminer\cudaminer.exe

Error: Stratum authentication failed
Solution: Either your username, worker name, or worker password is wrong. Make sure it matches the info on the pool site.

More will be added as I find them.

Copyright (Click to View)
Great tutorial thank you for this :) looks a bit like Doctor Blue's did oh use some snippets of his?
(Apr 8, 2014 03:55 AM)мιη∂вℓσωη Wrote:  Great tutorial thank you for this :) looks a bit like Doctor Blue's did oh use some snippets of his?

I did yeah. I spoke with him IRL about it, and he said it was fine. He took a few of my commands and such from my thread as well, so we help out each other a lot.
Very detailed tutorial. Thanks for sharing. 🙂
I have a Geforce GT 630 and cant find my config on that list what shall I do ?
(Apr 8, 2014 04:38 AM)Bloody Jay Wrote:  I have a Geforce GT 630 and cant find my config on that list what shall I do ?

As written on the thread, if it says auto or is blank, just continue to the next step. You don't have to type in anything then, because CUDAMiner will automatically do auto-tuning.
How come the hash rate on the miners different to the one on the pool?
(Apr 8, 2014 04:50 AM)Bloody Jay Wrote:  How come the hash rate on the miners different to the one on the pool?

It is different from miner to miner (CGMiner, CUDAMiner, and so on) how they display stuff.
CGMiner displays average AND actual hash rate, which you can see in this screenshot: http://myminer.info/wp-content/uploads/2...-miner.png

At the top it says WU which is Work Utility. It means what you actually actually get. In Mh/s. In that screenshot.. it is a lot lower than the average (to the left).
Here's what happens when I run the bat file
[CPU miner btw]
Spoiler (Click to View)
[Image: hiGT7mX.gif]
(Apr 8, 2014 08:39 AM)ʆord Ƒrieza Wrote:  Here's what happens when I run the bat file
[CPU miner btw]
Spoiler (Click to View)

Make sure your configuration says:
accountusername.workername:workerpassword

You probably typed accountusername.workername:accountpassword
(Apr 8, 2014 08:46 AM)'Snorlax Wrote:  Make sure your configuration says:
accountusername.workername:workerpassword

You probably typed accountusername.workername:accountpassword

It does. Do I keep the part that says userpass or should I delete it.
[Image: hiGT7mX.gif]
(Apr 8, 2014 08:49 AM)ʆord Ƒrieza Wrote:  It does. Do I keep the part that says userpass or should I delete it.

Keep the --userpass=
Type your configuration as:

--userpass=accountusername.workername:workerpassword
(Apr 8, 2014 08:50 AM)'Snorlax Wrote:  Keep the --userpass=
Type your configuration as:

--userpass=accountusername.workername:workerpassword

Yes, I have config right. But, I couldn't find my CPU. maybe that is what's wrong.
[Image: hiGT7mX.gif]
(Apr 8, 2014 08:56 AM)ʆord Ƒrieza Wrote:  Yes, I have config right. But, I couldn't find my CPU. maybe that is what's wrong.

Any errors? How do you know it couldn't find your CPU?
Best tutorial I've seen so far, thanks for sharing this.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by SIM-5455545Jan 7, 2024 03:03 PM 2 124 Jan 7, 2024 03:03 PM
Last Post: SIM-5455545
by Psychohax101Sep 11, 2023 04:20 PM 3 193 Sep 11, 2023 04:20 PM
Last Post: Truth
by kazurengan6Jun 26, 2022 03:39 AM 5 171 Jun 26, 2022 03:39 AM
Last Post: Royal !