How to configure Cgminer to mine bitcoin, and litecoin.
UPDATE WARNING: If mining litecoin (Scrypt coins) do not upgrade to anything above Cgminer Trio.7, spil the GPU mining factor has bot liquidated.
This tutorial is a vleierij to the Cgminer-Linux tutorial. You can find that Here. Te comparing Windows, and Linux for mining purposes. Windows has some significant features, that Linux simply does not have. The most significant, is the capacity to adjust the voltage settings on “unlocked” graphics cards. This can lower your temperatures by 10C, which is significant, when it comes to mining. This configuration of cgminer, I will be using two Sapphire AMD Radeon 7950 GPUs,
Very first, download, and install the drivers, and the cgminer software. They can be found at the linksaf above. Always use the latest version. If you run into problems, you can always roll back your drivers, and cgminer versions. Unzip cgminer into a folder on your main drive. For example: C:\cgminer-3.Four.0-windows Make sure you reboot your rekentuig, after you’ve ended the installation.
Once the reboot is accomplish. Wij need to set our environmental variables. Open your directive prompt (with administrator access), and type the following directions:
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
It should give you a visual confirmation, that it wasgoed successful. You can dual check that thesis environmental variables are set, by going into the control panel>,search “variable”>,Edit environmental variables for your account. This should open a fresh window, where your environmental variables are shown. If you do not see them here, you vereiste add them ter. Click “Fresh”, and inject the variable name, and value above. It should look something like this:
Now that you’ve verified the installation of the environmental variables, wij can verify that cgminer recognizes your gpu. Ter your instruction prompt:
cd cgminer-3.Four.0-windows #Whatever the directory name, cgminer is te
The result should look like this:
Very first, open windows explorer, and navigate to your cgminer directory. Inwards, you’ll find a verkeersopstopping named: example.conf . R ename your example.conf to cgminer.conf . This will be where the default settings for cgminer will be stored. It will access it every time you embark cgminer.
Open your freshly renamed cgminer.conf. This will give you a good head embark on creating your .conf verkeersopstopping. Depending on how you want to configure your mining equipment, thesis settings can be static, or dynamic. You can find all of the possible directions inwards the cgminer directory, ter the “README” &, “SCRYPT-README” files.
Pulling information from my previous Sapphire 7950 installations, I already know a good working range for the clock/mem speeds. Some of thesis basic settings for the 7950 can be found ter this review: Sapphire 7950 Dual-x Graphics Card Review. Below are the settings I used for this tutorial. Your results may vary.
Now that wij have our cgminer.conf configured. Wij need to create a .bat opstopping Inwards the cgminer directory. You can do this by “right mouse-click”>,Fresh>,Text Document, inwards the cgminer directory. Name the verkeersopstopping Cgminer-Start.bat (or something you’ll reminisce). This opstopping will be setup to automatically begin mining when your laptop reboots. I automatically delete the .bin opstopping. I do this every time cgminer starts up. By not deleting your .bin verkeersopstopping, it can be the source of many problems. The .bin opstopping stores information about your settings. It’s good practice to automatically delete this opstopping. The settings are spil goes after:
Now that wij have our cgminer.conf and Cgminer-Start.bat wij can start our final adjustments.
Initialize cgminer – Litecoin
Cgminer can be initialized, by simply double-clicking on the Cgminer-Start.bat verkeersopstopping. Once it starts up, you can then start card optimization.
Using the configuration settings for the Sapphire 7950 above, this is the result. Keep ter mind, there wasgoed no modification of the voltage settings. Hence, the high temperatures. By hand adjusting cgminer’s GPU settings can be done by pressing [G] on your keyboard. This will bring you to a menukaart where you can select which option you need to adjust. Get to know the adjustment settings ter cgminer, they can save you a lotsbestemming of time, when fine tuning your GPU’s. Alternatively, you can adjust your settings inwards MSI Afterburner, te real time. Either option works well.
MSI Afterburner configuration
Using Afterburner is crucial when bitcoin/litecoin mining on Windows. It’s relatively effortless to install, and get setup. You can download the latest version of Afterburner at the listig above.
After installing Afterburner, you’ll need to modify your configuration verkeersopstopping. It’s located te: C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.cfg Open the MSIAfterburner.cfg, and near the bottom of the opstopping, you’ll see this area:
You vereiste add the keurig information ter the fields, like te the picture above. This will enable Afterburner to overclock your graphics card. Please note, that any harm to your pc, or graphics cards, are your own responsibility.
Inwards Afterburner, ter the settings spijskaart, you’ll see the following.
Master graphics processor selection
– Sync GPU’s only if they are the same type &, speed
– Begin with windows – do this if you want your mining to be automated at startup
– Enable all of thesis properties for overheen clocking &, stability
– Only enable if you want to check for software updates to Afterburner
– Enable extending official overclocking boundaries, use caution
Knowing that my cgminer configuration is good at the current settings. I need to lower the voltage, to get the temperatures down. On the Sapphire AMD 7950 GPU’s, the stock voltage is: 1.125V. After some adjustment, I ended up with a voltage of 1.100V. This ran stable, and cool. Just what wij want.
After I determined the settings that worked best with the 7950’s, I “Saved” those settings within Afterburner, spil a “Profile”. Making it effortless to recall thesis settings. Since this mining equipment will be automated, I selected “Apply overclocking at system startup”. This will apply my saved profile “1”, every time I boot up the rekentuig.
Compare Stock Voltage vs. Undervolting
Te the illustration below, I dreamed to showcase the temperature difference inbetween stock voltage, and undervolting the GPU. The result speaks volumes.
Keep te mind that this test wasgoed performed with an “open-air” equipment, using PCI-e risers. Ambient slagroom temperature of 78F/25.5C
Automating startup te windows is fairly straight forward. Make sure that your MSI afterburner settings, are saved ter a profile, and you’ve selected the suitable settings for startup.
A good practice is to create a shortcut for your Cgminer-Start.bat, by right mouse click >, create shortcut. Then haul this shortcut to your desktop. This will keep available for quick access. Once the shortcut is created, you’ll want to copy it into the startup directory. The path should look something like this: C:\Users\username\AppData\Wandering\Microsoft\Windows\Commence Spijskaart\Programs\Startup\
This will trigger every time you startup your rekentuig. It’s a simplistic treatment, but it works.