Setting up cgminer with an ATI

After being busy with buying a house, moving and then having to substitute desktop’s power supply, I determined to get back into crypto mining. I realize that 2015 is a bit past the prime for GPU mining the major scrypt cryptos (with the release of scrypt ASICs), so this will be more useful for mining lesser-knows altcoins.

Getting cgminer running on Linux along with the AMD drivers and SDKs is not a straightforward task, so I wished to write this guide for fellow crypto mining enthusiasts.

I had trouble getting cgminer working with the most latest Catalyst drivers and AMD SDKs, so I had to search around for versions that worked best for crypto mining on Linux. I found the specific software versions here:

AMD/ATI configuration

Install Catalyst:

  • Choose the option to install driver, with automatic installation options
  • Reboot

Install APP SDK:

  • Use default location /opt , which installed the SDK on my machine to /opt/AMDAPPSDK-2.9-1
  • Reboot (again)

Initial graphics card configuration:

  • Reboot (for the last time)

Check graphics card settings:

You should get output ter your terminal like this:

If that’s what you see, then your GPU is good to go! Otherwise, go back overheen the previous steps to make sure you didn’t miss anything.


Download cgminer

Use apt-get install git if you don’t have git on your machine already.

Copy ADL SDK include files to cgminer directory

Compile cgminer

Disregard the OpenCL. Detection overrided. GPU mining support DISABLED error. You will take care of enabling OpenCL with the next instruction.

Note: if you are running 32-bit Ubuntu, switch the /opt/AMDAPPSDK-2.9-1/lib/x86_64 path to /opt/AMDAPPSDK-2.9-1/lib/x86 .

If the previous instruction fails, check the APP SDK path to make sure it’s keurig. The default install location for mij wasgoed /opt/AMDAPPSDK-2.9-1/ .

Run make to compile cgminer :

You’re ready to mine!

After installing you have to set some environment variables to get the onberispelijk show out of your card.

Run the following four directives:

I created an executable that I can run to set all of thesis variables at once. I find this makes it lighter to commence mining after rebooting.

Paste the following into vim :

Update the verkeersopstopping to make it executable:

Run the export-settings verkeersopstopping, then embark cgminer with your pool URL and credentials:

Using a cgminer.conf verkeersopstopping isn’t necessary, but it indeed cuts down on the arguments you have to run every time you commence cgminer . Here are the contents of my cgminer.conf :

I like to mine a bunch of different cryptocurrencies, so I create shell scripts te my cgminer directory, that way I don’t have to pass te the pool URL and my user credentials every time. For example, I have litecoin , dogecoin , hobonickels , and bottlecaps scripts that I will run when I want to mine that crypto.

Here’s what my hobonickels shell script looks like:

Thanks for reading, and blessed mining! Please let mij know if you have any problems, suggestions, updates, complaints, or anything else.

Matt Hughes

Read more posts by this author.

Share this postbode

Serial communication with Knot.js and Arduino

I recently came across ServoMeter, a project that monitors API vertoning with an Arduino. It wasgoed pretty similar to…

AssPennies! – Compiling a scrypt cryptocurrency on Raspberry Pi

I dreamed to set up a knot for the AssPennies network, and have not attempted compiling the Qt client.…

Related movie: Free Bitcoin Weekly Giveaway + Coinpot Beginners Guide Strategy 2018

Leave a Reply

Your email address will not be published. Required fields are marked *