cgminer

From lurkmore wiki
Revision as of 12:00, 5 January 2014 by Kyrio (talk)
Jump to navigationJump to search

cgminer is cryptocoin mining software developed by Con Kolivas. It is the recommended software for mining cryptocoins such as Bitcoin and Litecoin.

Version 3.7.2 is the last version of cgminer to support video card (GPU) or scrypt mining; the --scrypt flag has been removed from later versions.

For scrypt and GPU mining, the recommended version of cgminer is 3.1.1. For the newer Rx series video cards, 3.7.2 might work better. For older video cards, version 3.1.1 has no scrypt or GPU mining bugs, and there are no important changes between that version and the later ones. Newer cards might need version 3.7.2 in order to work more effectively (or at all) with the latest SDK/drivers.

It is highly suggested that you create a config file for cgminer; it can resolve many issues and make editing your settings very easy. Running cgminer, and troubleshooting it, is made much simpler by using a config file.

Mining in MH/s with one video card

You're either using the wrong version of cgminer or missing the --scrypt flag; read the second paragraph of this page.

clCreateBuffer, decrease TC or increase LG

Errors about clCreateBuffer and needing to decrease your TC are usually found in Windows and can be resolved by running setx GPU_MAX_ALLOC_PERCENT 100 in the Windows command prompt (winkey+r > cmd). The same issue might appear in Linux if export GPU_MAX_ALLOC_PERCENT=100 wasn't added to /etc/profile (Debian, again)

Of course, if the above doesn't work, you might have your thread concurrency set way too high! Try starting with something lower, like 8192, and trying something higher if that works.

Devices not found error

This is an error usually found on Linux systems. The error may be cause by many reasons (including failed hardware) but one of the main reasons is the addition of a new video card without reinitializing the configuration files. To do so, run aticonfig --adapter=all --initialize and reboot. This command may not work the first time, to resolve this, delete the current file (/etc/X11/xorg.conf on Debian) and run the command again.

Related articles

External links