Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: miaviator on April 28, 2013, 02:58:43 AM



Title: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: miaviator on April 28, 2013, 02:58:43 AM



EDIT: Credit to Viceroy https://bitcointalk.org/index.php?action=profile;u=34771 for building a better script on a more stable OS.

Please use his guide for CentOs if your not already stuck on Ubuntu:
https://bitcointalk.org/index.php?topic=170516.0

END EDIT.

I use this to deploy new miners to SSD's let me know if it helps anyone:

This is designed to be executed in blocks, each set of commands is between ######### and #######.  This assumes your username or at least homedir is miner and that you have setup networking correctly.  This is also using Ubuntu 12.04.2 Server as that's what I have lying around.  You could save time by installing xubuntu off the bat.

Code:
#CGMiner
#Install server 12.04
#configure networking for static IP and DNS
#user miner
######################
sudo -s
######################
apt-get -y remove --purge nvidia-common nvidia-current nvidia-opencl-dev nvidia-settings
apt-get -y update
apt-get -y upgrade
apt-get -y install xubuntu-desktop
reboot
######################
sudo -s
######################
apt-get -y install build-essential git-core unzip cmake automake libncurses5-dev autoconf libcurl4-openssl-dev pkg-config automake yasm
apt-get -y autoremove
exit
#####################
#I store these and transfer with SCP, you'll have to download them.
#DOWNLOAD ADL: ADL_SDK_5.0.zip
#DOWNLOAD AMD-APP-SDK AMD-APP-SDK-v2.8-lnx64.tgz
#CREDIT: http://rdmsnippets.com/2013/03/20/bitcoin-mining-with-ubuntu-12-04-tls-and-cgminer/
#APP http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/#one
#http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/#one
######################
cd
git clone git://github.com/ckolivas/cgminer.git cgminer
mkdir ADL_SDK
cd ADL_SDK
cp ~/ADL_SDK_5.0.zip .
unzip -o ADL_SDK_5.0.zip
cp include/* ~/cgminer/ADL_SDK
###################
sudo -s
###################
cd /opt
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
cd /opt/
./Install-AMD-APP.sh
ldconfig
reboot
###################
sudo -s
###################
#Choose your standard, experimental, etc drivers
#apt-cache search fglrx will give a list
apt-get install fglrx
#Set machine to autologin to xserver
cat > /etc/lightdm/lightdm.conf << EOF
[SeatDefaults]
autologin-user=miner
autologin-user-timeout=0
user-session=xubuntu
greeter-session=lightdm-gtk-greeter
EOF
# You can use the newest AMD non-ubuntu packaged drivers as well
#http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
#wget http://www2.ati.com/drivers/linux/amd-catalyst-13.4-linux-x86.x86_64.zip
#unzip -o amd-catalyst-13.4-linux-x86.x86_64.zip
#sh amd-catalyst-13.4-linux-x86.x86_64.run
aticonfig --adapter=all -f --initial
reboot
######################
export DISPLAY=:0
aticonfig --list-adapters
######################
#STOP HERE
#If you do not have adapters listed, you broke something.
######################
cd ~/cgminer
git pull
make clean
./autogen.sh
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure --enable-scrypt
make
###################
#TEST YOUR CGMINER BUILD
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100
/home/miner/cgminer/cgminer -n
#If this doesn't spit out your device ID's something is wrong.
###################
sudo -s
###################
#Disable the screensaver
sed 's/LOCK_SCREEN=true/LOCK_SCREEN=false/g' -i /etc/default/acpi-support
###################
#Generate a Base Config FIle
cat > mine.sh << EOF
API="--api-port 4028 --api-listen --api-allow 0/0"
POOL="-o #YOURPOOL -u YOURUSER -p YOURWORKERPASS"
GENERAL="--scrypt --no-submit-stale"
CARD="--auto-fan --temp-target 82"
WORK="--worksize 256 -I 13"
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
cd /home/miner/cgminer/
screen -S miner /home/miner/cgminer/cgminer $API $POOL $GENERAL $CARD $WORK
EOF
chmod +x mine.sh
###################

#To run Miner
#./mine.sh

#To reconnect to miner
#screen -x miner

#To tweak hasrate: It's good to keep a spreadsheet of values and hashrates,
#GPU's are like diamonds, they each have their own unique flaws,
#Literally, silicone chips each perform different
#If you have 2,4,6,128 of the same GPU,
#It is good to run through tuning on each one independendently.

#Step 1
#Start running config, after running, grab the TC numbers from the xxxxx.bin file in the cgminer directory.
#Insert that to config file under work --thread-concurrency
#Start increasing and decreasing TC by a few thousand at a time,
#Find the highest hashrate

#Step 2
#set --gpu-memclock to the default card memory setting +25
#continue running and increasing memclock until you crash, then go by 5mhz
#continue till crash then go by 1mhz
#run with the final number for 10-30 minutes.
#don't worry if the hashrate goes down, just find the max memclock
#Step 3
#add --gpu-engine set it to half the memory speed from above
#add 5Mhz - 100Mhz to engine speed until hashrate drops
#once it drops begin subtracting 1mhz - 5Mhz until you find the max hashrate

#Step 4
#Run through worksize 64,128,256 to see which gives the best hashrate

#Step 5
#Increase -I from 13 to 20 in incriments of one to find the best hasrate

#Step 6
#Profit.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: yeti_alchemist on April 30, 2013, 10:51:52 PM
This looks great to me. I will be using it in the next couple days on a new setup. Thanks.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: Random Bit on May 01, 2013, 06:42:01 AM

Great write up.  I failed at 13.04 downloading 12.04 when I stumbled on this.  Thanks.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: BitCoinUser123 on May 03, 2013, 02:30:01 AM
This is a fantastic writeup, thank you.  My only issue (bearing in mind that I have very little idea as to what I'm really doing)  is that "--scrypt" seems to be unrecognized by cgminer, even as acquired by these means.  I want to mine LTC / FTC, but at the moment I can only run cgminer (on Xubuntu 13.04 64 bit) for SHA-256 stuff.  It's my understanding that the version of cgminer acquired by following these instructions is supposed to support scrypt, but it seemingly doesn't.  I'm quite confused.

If anybody sees this and can give me any ideas as to what I might change, I'd be immensely obliged.  As it stands, I think I'm going to have to go back to Windows 7 on this mining system.

Here's hoping for some info.  Thanks in advance!


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: AbiTxGroup on May 03, 2013, 09:10:58 PM
Thanks for the post miaviator. 

I am running memtest on new GPU hardware atm.  If it passes, then I will run this with xubuntu desktop to see how it works.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: miaviator on May 04, 2013, 12:09:10 AM
This is a fantastic writeup, thank you.  My only issue (bearing in mind that I have very little idea as to what I'm really doing)  is that "--scrypt" seems to be unrecognized by cgminer, even as acquired by these means.  I want to mine LTC / FTC, but at the moment I can only run cgminer (on Xubuntu 13.04 64 bit) for SHA-256 stuff.  It's my understanding that the version of cgminer acquired by following these instructions is supposed to support scrypt, but it seemingly doesn't.  I'm quite confused.

If anybody sees this and can give me any ideas as to what I might change, I'd be immensely obliged.  As it stands, I think I'm going to have to go back to Windows 7 on this mining system.

Here's hoping for some info.  Thanks in advance!

That is quite awkward.  Can you post the output of
Quote
cgminer -n


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: RHWN on May 10, 2013, 02:20:36 PM
Im right at this step:
Code:
sudo -s
###################
cd /opt
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
cd /opt/
./Install-AMD-APP.sh
ldconfig
reboot

The exact line that the problems occur are:
Code:
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
When i type that line in terminal i get this error:
"Cannot open: No such file or directory
tar: Error is not recoverable: exiting now"


I have downloaded the APP SDK v2.8 Inx64.tgz and have tried both letting the .tgz be located where it is placed after downloading and it also tried to make a folder named miner in the home location ( /home/miner/ )
I get the same error with both methods, so i would need some help from someone familiar with Linux (Ubuntu 12-04 > XUbuntu).


Would really appreciate if someone could help me out!
Cheers!

Edit:
Read the first post once more and found out the code should be like tar xf /home/RHWN/AMD-APP-SDK-v2.8-lnx64.tgz
but i still get the same error. Is my homedir "home" if i havent changed it?
So new to linux  :'(


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: RHWN on May 10, 2013, 05:29:36 PM
That's a strange line in there... almost like the OP stole it right out of another tutorial without crediting the author.

This is where the line that is causing problems came from:
https://bitcointalk.org/index.php?topic=170516.0

following that tutorial from the beginning causes no issues.  All compiles as expected, though it's CentOS not Ubuntu.  The reason I used CentOS is that I was not able to run multiple gpu's under any other flavors of linux.



 :o

Creds to you Viceroy!  ;)


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: miaviator on May 12, 2013, 02:40:55 AM
That's a strange line in there... almost like the OP stole it right out of another tutorial without crediting the author.

This is where the line that is causing problems came from:
https://bitcointalk.org/index.php?topic=170516.0

following that tutorial from the beginning causes no issues.  All compiles as expected, though it's CentOS not Ubuntu.  The reason I used CentOS is that I was not able to run multiple gpu's under any other flavors of linux.



I have never seen that thread, though it is common for two linux commands to be the same, your thread is dated prior to mine so I've credited you in the OP.  Also I like your script (and CentOS) better it's way more dynamic. 



Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: miaviator on May 12, 2013, 02:46:09 AM
Im right at this step:
Code:
sudo -s
###################
cd /opt
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
cd /opt/
./Install-AMD-APP.sh
ldconfig
reboot

The exact line that the problems occur are:
Code:
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
When i type that line in terminal i get this error:
"Cannot open: No such file or directory
tar: Error is not recoverable: exiting now"


I have downloaded the APP SDK v2.8 Inx64.tgz and have tried both letting the .tgz be located where it is placed after downloading and it also tried to make a folder named miner in the home location ( /home/miner/ )
I get the same error with both methods, so i would need some help from someone familiar with Linux (Ubuntu 12-04 > XUbuntu).


Would really appreciate if someone could help me out!
Cheers!

Edit:
Read the first post once more and found out the code should be like tar xf /home/RHWN/AMD-APP-SDK-v2.8-lnx64.tgz
but i still get the same error. Is my homedir "home" if i havent changed it?
So new to linux  :'(

Where did you download the AMD-APP-SDK-v2.8-lnx64.tgz file to?

you can:
Code:
sudo updatedb
 locate AMD-APP-SDK

and then copy and paste the path into that command.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: yeti_alchemist on May 13, 2013, 05:18:38 AM
This looks great to me. I will be using it in the next couple days on a new setup. Thanks.

This guide helped me a lot and mellowed the learning curve. Thank you.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: Grumlin on July 14, 2013, 07:33:57 AM
you won't believe, but I have a great hashrate on 925/800 -I 20 -w 256 -TC15232 is 400kx on each Powercolor 7870 Ghz Edition


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on October 29, 2013, 02:07:16 PM
Hello,
how to do the same with an HP laptop with Intel GMA as graphic video card?

When i launch cgminer i get this error:
Code:
./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on October 29, 2013, 02:16:47 PM
Hello,
how to do the same with an HP laptop with Intel GMA as graphic video card?

When i launch cgminer i get this error:
Code:
./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

Hi you need to apt-get install  the missing libdev1

Then you need to symbolic link libudev.so.0 to 1

Search google for more info .

If you dont find the specific lines post again .


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on October 29, 2013, 03:02:42 PM
Can't find libudev.so.1 libraries.
I also tried with "libudev.so" and "libudev".

Do you have a link to any tutorial/guide?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on October 30, 2013, 06:39:27 PM
Hello?
Can you please help me?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on October 31, 2013, 05:16:18 AM
Hello?
Can you please help me?

Hi try starting here.

sudo su

apt-get install libudev1



If that is effective it installed libudev1

Then go to your /lib/i386.... etc

And ls to see your contents .


Most often /lib/i386-linux-gnu/

Then ln -s the two .

You upgraded, you dont have libudev.so.1 and cgminer is looking for 0.

ln -s libudev.so.1 libudev.so.0


Hope that helps , if you grievously break something feel free to blame me !



Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on October 31, 2013, 02:27:42 PM
Hi try starting here.

sudo su

apt-get install libudev1

As i said before it can't find this package.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on October 31, 2013, 04:26:39 PM
Hi try starting here.

sudo su

apt-get install libudev1

As i said before it can't find this package.

aaaaaand the error was..?

http://packages.ubuntu.com/search?keywords=libudev1&searchon=names

also this is likely becasue it was maybe taken from the repository.

try :

apt-get update

also what returns when you :

apt-get install libudev-dev

also you have net access right ?

also what is your version etc - specs etc

try this and tell me what it returns :


sudo su

apt-get install openssh-server openssh-blacklist libcurl4-openssl-dev libncurses5-dev pkg-config automake autogen yasm curl git libtool aptitude libudev-dev


these are basically what you need - its listed above also -  but parts of above have dependencies - if you are getting errors or they are not installing then that's an issue.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on October 31, 2013, 07:05:39 PM
As i said before it can't find this package.

aaaaaand the error was..?
It is not in english, anyway it means that it could not find the package.



Quote
http://packages.ubuntu.com/search?keywords=libudev1&searchon=names

also this is likely becasue it was maybe taken from the repository.

try :

apt-get update

also what returns when you :

apt-get install libudev-dev
It says that the package is already installed.



Quote
also you have net access right ?
Obviously.



Quote
also what is your version etc - specs etc
Laptop HP 630 with Ubuntu 12.04 LTS



Quote
try this and tell me what it returns :


sudo su

apt-get install openssh-server openssh-blacklist libcurl4-openssl-dev libncurses5-dev pkg-config automake autogen yasm curl git libtool aptitude libudev-dev


these are basically what you need - its listed above also -  but parts of above have dependencies - if you are getting errors or they are not installing then that's an issue.
Done.
(0 updated, 20 installed, 1 to be removed e 0 not updated)


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 01, 2013, 01:18:40 AM
Ok well you can run :

apt-get update

or if you have missing dependencies

apt-get -f install


but here is libudev1:

http://packages.ubuntu.com/raring/libudev1 <select your architecture click the amd64 or i386 for download.

list of files:

amd64:

http://packages.ubuntu.com/raring/amd64/libudev1/filelist

i386:

http://packages.ubuntu.com/raring/i386/libudev1/filelist


/lib/i386-linux-gnu/libudev.so.1
/lib/i386-linux-gnu/libudev.so.1.2.2
/usr/share/doc/libudev1/changelog.Debian.gz
/usr/share/doc/libudev1/copyright



its a .deb package do you know how they work ?

note there its for raring , hence its been taken from the repository , a problem some people talk about generally with Ubuntu etc.  


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 01, 2013, 01:22:30 AM
also just out of interest when you :

apt-get install libudev0

what do you get ?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 01, 2013, 09:17:01 AM
also just out of interest when you :

apt-get install libudev0

what do you get ?

Already installed.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 01, 2013, 10:13:45 AM
ok then you should be sweet just install libudev1 from the location i gave you .


a little symbolic linking magic and if your system boots after you reboot it might work...

remember smoke is always bad.

if you see smoke its never positive, (unless you are of course, trying to light a fire..) {or,  you know trying to burn down a house etc. }


so that is to say :

download libudev1

for example if you choose the amd64 it will look like this

libudev1_198-0ubuntu11.2_amd64.deb

then put it somewhere in your home folder or wherever it does not matter


sudo su

dpkg -i libudev1_198-0ubuntu11.2_amd64.deb


you can look at dpkg like an installer on Win , so it will go and put those friendly little file in their correct locations.

then what you want to be doing is , wandering on over to your /lib/i386-linux-gnu/ directory (if you like to do things from the directory, I'm kinky like that)

cd /lib/i386-linux-gnu/

then if you ls you will see our friend libudev.so.1

this is when you strike !

ln -s libudev.so.1 libudev.so.0

this symbolically links those two files , cgminer is looking for .

it should work now, barring the smoke and the yeah yeah.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 01, 2013, 05:04:45 PM
sudo su

dpkg -i libudev1_198-0ubuntu11.2_amd64.deb

I can't do this because it says depends to libc6 (>= 2.17) but on my system there is 2.15-0ubuntu10.5 and it seems to be updated.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 04, 2013, 09:15:11 AM
Any idea?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 04, 2013, 09:23:53 AM
so for example you have  run :

apt-get update

and then

apt-get install libc6

failing this you might want to go an seek the help of the mostly unhelpful people at the various Ubuntu sites,

but if you want to take a punt - you can unpack the file manually by running this :

sudo su

ar x libudev1_198-0ubuntu11.2_amd64.deb


this will "unzip" the .deb package result in three files ?

data.tar.gz is the one with the file you need then you need to untar it  you know how to do that ?

and just put it in the correct location - the place i mentioned up thread.

this might work - it might not - i'd say this is a version issue problem . one of the many issue with this type of OS management system .


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 04, 2013, 01:17:18 PM
I did as you said but now cgminer give me these errors:

Code:
./cgminer: /usr/lib/nvidia-304/libOpenCL.so.1: no version information available (required by ./cgminer)
./cgminer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /lib/x86_64-linux-gnu/libudev.so.1)

My laptop video card is not NVidia!


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 05, 2013, 12:30:29 PM
I changed my OS to Ubuntu-Gnome 13.10.

Now i get this error:
Code:
./cgminer: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

Please keep helping me :)


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 05, 2013, 12:59:29 PM
Yes my best guess at that error if consistent is that you have not a compatible card / not installed the drivers / not installed OpenCL


so

1. list your Card info :

then the result of :

sudo su

fglrxinfo


then

aticonfig --adapter=all --odgt

^^ if you have more than one card

aticonfig --adapter --odgt

^^ single i think /assume


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 05, 2013, 01:14:59 PM
http://laptops-specs.blogspot.com.au/2011/05/hp-630-specifications.html (http://laptops-specs.blogspot.com.au/2011/05/hp-630-specifications.html)

these are your specs right - and its one of those cards - i think this is your issue really the integrated card sits on a different Lib tree i think

you need to be able to install the the card but it will be difficult i think.

does this laptop have 2x cards an integrated and then an extension?

you need to identify what card you have and if it is installed and functioning with Linux.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 05, 2013, 03:03:01 PM
My card is Intel GMA 4500MHD, how to figure out if is all ok?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 08, 2013, 12:42:31 AM
Thanks to Ubuntu forums i fixed my problems installing this package "ocl-icd-opencl-dev" and now i can run cgminer.
But cgminer now give me these errors:

Code:
Started cgminer 3.6.6
Error -1001: clGetPlatformsIDs failed (no OpenCL SDK installed?)
clDevicesNum returned error, no GPUs usable
No devices detected!

Any idea?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: digitalindustry on November 08, 2013, 01:30:36 AM
nope they didn't fix your problem - the problem is inside your computer:

you could be mining the mPoW Protoshares right now -

look it up.




Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: simpic on November 13, 2013, 06:42:47 PM
nope they didn't fix your problem - the problem is inside your computer:

you could be mining the mPoW Protoshares right now -

look it up.

I'm still trying to solve this error:

Code:
Error -1001: clGetPlatformsIDs failed (no OpenCL SDK installed?)
clDevicesNum returned error, no GPUs usable
No devices detected!

What does it mean?


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: GoldSeal on December 04, 2013, 01:30:11 AM
This error seems like you need the AMD APP SDK:http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/



Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: GoldSeal on December 04, 2013, 01:33:18 AM
BTW, there is no libudev1 package for 12.04. libudev1 is only available for 13.04 which is a development distro. BTW, I have never gotten 13.04 to successfully mine. Doing this with ubuntu is near impossible. I've only had success with xubuntu 12.04.

BTW, only use cgminer 3.7.2 is you want scrypt support. The maintainer removed scrypt and gpu support in later versions because he's a douche.


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: miaviator on June 02, 2014, 09:05:37 PM
POSTDATA="amd_developer_central_nonce=7d70b541c2&_wp_http_referer=%2Ftools-and-sdks%2Fopencl-zone%2Fopencl-tools-sdks%2Famd-accelerated-parallel-processing-app-sdk%2Fdownload-archive%2F&f=QU1ELUFQUC1TREstdjIuOC1sbng2NC50Z3o="
REFER="http://developer.amd.com//tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/download-archive/"
URL="http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/download-archive/"
wget --post-data="$POSTDATA" --referer="$REFER" $URL -O  AMD-APP-SDK-v2.8-lnx64.tgz


Title: Re: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough
Post by: miaviator on June 02, 2014, 09:06:25 PM
POSTDATA="amd_developer_central_nonce=0aa360883c&_wp_http_referer=%2Ftools-and-sdks%2Fgraphics-development%2Fdisplay-library-adl-sdk%2F&f=QURMX1NES182LjAuemlw"
REFER="http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/"
URL="http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/"
wget --post-data="$POSTDATA" --referer="$REFER" $URL -O ADL_SDK_6.0.zip