Would anyone be willing to help me through the steps of installing cgminer for Blake-256 on Ubuntu? I would be using 290s. If anyone could help me with this I would really appreciate it, I would even throw some BTC your way if I'm able to actually get it running.
P.S I already have the AMD drivers installed
Save and execute this script to install cgminer for blakecoin.
#!/bin/bash
# 1. install dependencies
sudo apt-get install autoconf automake pkg-config libncurses5-dev libtool m4 libcurl4-openssl-dev screen
# 2. get the source code
git clone https://github.com/kR105/cgminer.git cgminer_blake
cd cgminer_blake
# 3. copy the adl files
adl1=$(locate adl_defines.h | head -1)
adl2=$(locate adl_sdk.h | head -1)
adl3=$(locate adl_structures.h | head -1)
cp $adl1 ADL_SDK/
cp $adl2 ADL_SDK/
cp $adl3 ADL_SDK/
# 4. configure and compile
./autogen.sh
./configure --enable-opencl
make -j$(grep -c ^processor /proc/cpuinfo)
Use this script to start cgminer:
#!/bin/bash
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
CGMINER_PATH=/YOUR/CGMINER/PATH
CGMINER_CONFIG_PATH=/YOUR/CGMINER/CONFIG/PATH
# remove old bin files
rm *.bin
# run cgminer for blakecoin
su YOURUSERNAME -c "screen -dmS minerblake $CGMINER_PATH/cgminer --config $CGMINER_CONFIG_PATH/blakecoin.conf"
Save this in ~/.cgminer/blakecoin.conf
{
"pools": [
{
"url": "stratum+tcp://eu3.blakecoin.com:3334",
"user": "YOURUSERNAME.WORKERNAME",
"pass": "YOUR PASSWORD"
},
{
"url": "stratum+tcp://ny2.blakecoin.com:3334",
"user": "YOURUSERNAME.WORKERNAME",
"pass": "YOUR PASSWORD"
},
{
"url": "stratum+tcp://blake.suprnova.cc:9999",
"user": "YOURUSERNAME.WORKERNAME",
"pass": "YOUR PASSWORD"
}
],
"blake256": true,
"gpu-reorder": true,
"device": "0,1,2",
"intensity": "14",
"gpu-threads": "1",
"gpu-engine": "1150",
"gpu-memclock": "1000",
"gpu-powertune": "20",
"gpu-fan": "0-100",
"auto-fan" : true,
"temp-cutoff": "95,95,95",
"temp-overheat": "0,0,0",
"temp-target": "75,75,75",
"temp-hysteresis": "3",
"expiry": "60",
"queue": "50",
"scan-time": "60",
"shares": "0",
"log": "5",
"no-pool-disable": true,
"no-submit-stale": true,
"kernel-path": "/usr/local/bin",
"kernel": "blake256",
}
You need to adjust CGMINER_PATH, CGMINER_CONFIG, YOURUSERNAME, YOURUSERNAME.WORKERNAME, YOUR PASSWORD and probably tweak some values in the cgminer config.
To show cgminer console you need to type:
To exit it and leave cgminer running use CTRL+A and then press D