Pages:
Author

Topic: CGMiner (With Scrypt) Ubuntu 12.04 Setup & Hashrate Guide/Script/Walkthrough (Read 41944 times)

donator
Activity: 686
Merit: 519
It's for the children!
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
donator
Activity: 686
Merit: 519
It's for the children!
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
legendary
Activity: 1862
Merit: 1002
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.
legendary
Activity: 1862
Merit: 1002
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/

hero member
Activity: 1253
Merit: 811
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?
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
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.


hero member
Activity: 1253
Merit: 811
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?
hero member
Activity: 1253
Merit: 811
My card is Intel GMA 4500MHD, how to figure out if is all ok?
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
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.
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
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
hero member
Activity: 1253
Merit: 811
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 Smiley
hero member
Activity: 1253
Merit: 811
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!
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
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 .
hero member
Activity: 1253
Merit: 811
hero member
Activity: 1253
Merit: 811
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.
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
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.
hero member
Activity: 1253
Merit: 811
also just out of interest when you :

apt-get install libudev0

what do you get ?

Already installed.
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
also just out of interest when you :

apt-get install libudev0

what do you get ?
hero member
Activity: 798
Merit: 1000
‘Try to be nice’
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
© 2020, Bitcointalksearch.org