What is Cgminer (Sgminer): configuration and BAT files

official forum

The cryptocurrency project, like most ingenious inventions, was created by enthusiasts and only then businessmen joined them. An adept of blockchain technology is the creator of one of the first programs for the extraction of virtual coins cgminer. The Bitcointalk forum on which the developer page is located was launched by the legendary Satoshi Nakamoto in 2009. After 2 years, namely, on July 13, 2011, cgminer appeared on Bitcointalk.

Important!!! Quite often, judging by the materials on the network, cgminer is confused with sgminer, these console miners are really similar, and, most likely, the latter was created on the basis of the former, but mines different coins and work with different devices.

What is Cgmine for gpu?

Cgminer bitcointalk theme opened by user ck. kolivas, is intended solely to support Bitcoin mining on ASIC… Old versions for gpu have long been removed, unofficial forks running on Scrypt, Dtcred and Cryptonight are not supported anywhere. Therefore, for mining on video cards, download sgminer v5, for windows or linux on the bitcointalk page of user kenshirothefist. However, there are other versions of this program as well.

Official download link – https://github.com/nicehash/sgminer/releases

forum topic where to download the program

What algorithms does sgminer support?

When creating the utility, the developers sought to obtain a unified and fully functional GPU miner. It integrated several source codes and added the ability to switch the kernel at runtime. Since then, sgminer has been redefined from “scrypt-miner” to “GPU OpenCL miner” to support a wide range of GPU mining algorithms. You can mine coins on it:

  • Ethash;
  • Equihash;
  • Cryptonight;
  • Decred;
  • Ravencoin.

The total number of algorithms is over 70.

Read This Now:   Rig For Mining - How To Setup or Build One and How it Works

miner files

How to set up a miner

First of all download install the latest version graphics driver for AMD and NVIDIA video cards. Remember to set the GPU workload to Calculate. To do this, open the Games / General settings section.

settings

The sgminer setting allows the creation of multi-threaded configurations with several algorithms and separate body shirts for each pool. Download and unpack the program to your computer, for correct operation you need to install Visual Studio C ++ 2013 Express, and start creating a bat-file.

How to start mining

The sgminer console utility does not require installation, it is enough to specify the basic data in the executable file and you can start mining.

Basic parameters and adding a pool

To start the mining process, you must specify:

  1. The program.
  2. Work algorithm.
  3. Address and port of connection to the mountain basin.
  4. Your wallet number.
  5. Password.
  6. Intensity (I) (0 – 20).

The intensity parameter depends on the model of the video cards; if the values ​​are too high, failures will begin and the system will freeze.

For mining on some pools, for example, f2pool, registration is required. In this case, instead of the wallet address, the miner’s login and password are written. Sometimes it is required to indicate not only the algorithm, but also the mined coin.

Extra options:

  • gpu-threads – number of threads per GPU (1 – 10) (default is 2, recommended is 1);
  • worksize (w) – sets the amount of used memory, the value must be a multiple (64-1024, 256 recommended);
  • gpu-engine – adjusts the frequency parameters of the graphics core;
  • gpu-memclock – controls the memory frequency of the video card;
  • gpu-fan – sets the rotational speed of the cooler.

For some algorithms, for example, kryptonite, the rawintensity value is used

Frequent problems, what to do

There are many complaints on the net about sgminer windows, the program often does not start, pours rejects and malfunctions. What should I do if sgminer is configured correctly, but the program does not start?

It so happens that pools ignore the connection when sgminer sends a request strangeso you just need to add “no-strange»: True to the pool configuration setting for those services that do not support it. Do not use this option when setting up a connection to nicehash-pool.

  • Sometimes it is easier to use a traditional miner for this algorithm, for example, Claymore for Ethash. Moreover, sgminer in the windows system on the air lags behind claymore in hash rate.
Read This Now:   Registration, BTC acceleration, equipment setup

After Monero switched to cryptonightv8, XMR mining on sgminer is no longer relevant. The miner will of course start up and connect to the pool, but your shares will be rejected. Therefore, when configuring sgminer for a new algorithm, check if there has been a recent hard fork on this network. You can solve the problem of share rejected or incorrect share by lowering the memory and core frequencies, such errors can be associated with too high overclocking when the voltage settings of the gpu device are too low.

Stopping mining and freezing the computer happens due to high mining intensity or poor compatibility of the miner with a specific assembly of windows. Sgminer, like cgminer, is recommended to be used with Windows 7, but you can work with the tenth version.

Another reason for the problem may be the incorrect operation of the video card driver. In this case, it must be replaced. To completely remove the driver, it is recommended to use the application Display Driver Uninstaller, and the new driver after installation must be patched using atikmdag patches.

Ready bat files

Working batch file for mining the Siberian Chervonets (SIB) coin

  • setx GPU_FORCE_64BIT_PTR 0
  • setx GPU_MAX_HEAP_SIZE 100
  • setx GPU_MAX_USE_SYNC_OBJECTS 1
  • setx GPU_MAX_ALLOC_PERCENT 100
  • setx GPU_MAX_SINGLE_ALLOC_PERCENT 100
  • sgminer -k sibcoin-mod   -I 16 -o stratum+tcp://crypto.mine.nu:9345 -u ADRESS  -p x —no-extranonce
Read This Now:   Mining RTX 2070 and 2070 Super: Overclocking, profitability, consumption

miners

The nicehash pool recommends using sgminer for mining cryptocurrencies. Customizing the nicehash bat file:

mining program

  • setx GPU_FORCE_64BIT_PTR 0
  • setx GPU_MAX_HEAP_SIZE 100
  • setx GPU_MAX_USE_SYNC_OBJECTS 1
  • setx GPU_MAX_ALLOC_PERCENT 100
  • setx GPU_MAX_SINGLE_ALLOC_PERCENT 100
  • sgminer -k ethash -I 16 -o stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -u ADRESS -p x

The settings for the nicehash batch file depend on the mining algorithm, it is important to register the server correctly.

Sgminer на Hive OS

hive os

The sgminer utility is used for mining in the hive. An example of setting is shown in the screenshot taken from the forum Hive us… The same page has a list of sgminer forks compatible with this platform.

Let’s summarize. The idea of ​​creating a miner that works on any algorithm deserves approval. It is convenient to work with one program and write batch files according to a single sample, without looking for new software on the network, every time a more profitable coin appears. Unfortunately, versatility is not always compatible with maximum efficiency. Therefore, on the most popular algorithms for gpu mining, ethash and cryptonight are still slightly inferior to utilities traditional for these networks. But on the rest of the coins, the program works well, new versions are regularly released, and maybe in the future sgminer will become a universal software for cryptocurrency miners.


Subscribe to our resources and read comments, sometimes smart people write smart things there.


Subscribe to news AltCoinLog v Vkontakte


Related materials:


Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5373

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5373