Pages:
Author

Topic: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO - page 19. (Read 281459 times)

member
Activity: 112
Merit: 100
"I'm not psychic; I'm just damn good"
I've got all 4 of my miners up and running on my 6990's no problem. The ati-config commands work great. (I do have to sudo for all of them, but that's fine)

Now, I'd like to use AMDOverdriveCtrl to set my memory clock below what the aticonfig program allows.

I've downloaded & installed the package and am running it from another linux machine with: ssh -X remotebox AMDOverdriveCtrl

It's telling me 'This program depends on the proprietary Catalyst drivers. Please check the driver installation.'


Do I really want to download the 11.5 drivers and install them or will this hose everything else?

thanks!

Awesome, anyway I think in this guide you've already got the files required to get the mem clock down to where AMDOverdriveCtrl can. So you could essentially do the clocking using ATIconfig. Except, I hasn't got to that part just yet.
sr. member
Activity: 434
Merit: 250
The ?? is literal, there is/was no intention and you do not have to replace it.  ?? is like *, except only for individual characters under the ? .  You did the right thing as far as the input goes, but you are missing the file.

So, I was afraid of this, but I need to ask, which guide are you using, the 2.1 or the 2.4 guide?

I was following 2.1. I followed it exactly. Should I try 2.4?
newbie
Activity: 8
Merit: 0
I've got all 4 of my miners up and running on my 6990's no problem. The ati-config commands work great. (I do have to sudo for all of them, but that's fine)

Now, I'd like to use AMDOverdriveCtrl to set my memory clock below what the aticonfig program allows.

I've downloaded & installed the package and am running it from another linux machine with: ssh -X remotebox AMDOverdriveCtrl

It's telling me 'This program depends on the proprietary Catalyst drivers. Please check the driver installation.'


Do I really want to download the 11.5 drivers and install them or will this hose everything else?

thanks!
legendary
Activity: 1260
Merit: 1000
Which Ubuntu ISO did you install?  What steps did you take to install it? I'm not trying to be pedantic, but there is something wrong from the get-go with your install, so walk me through what you do starting with downloading the ISO from Ubuntu's site.
hero member
Activity: 1330
Merit: 502
Vave.com - Crypto Casino
ok, first "sudo add-apt-repository ppa:ubuntu-x-swat/x-updates" cant be done, i get a "sudo: add-apt-repository: command not found", fixed by doing this first "sudo apt-get install python-software-properties".

You didn't fix it, you bypassed the problem and introduced a bunch of new ones.  If you can't do add-apt-repository" you either did not install Ubuntu or you are doing something other than what the guide tells you to.

Quote
now, i have done everything, i think you forgot to incluide instructions to download and install drivers?

I did not.  Step 4 installs them.

Quote
i did this
Quote
cd ~
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run
sudo sh ati-driver-installer-11-5-x86.x86_64.run

Which further compounded your problems.  I won't go over the rest of the post because you are already in so deep in compounded problems that it's pointless. Follow the guide, step by step, and it works.  I've done it at least, literally, 50 times.  I know it works if you follow it step by step.

ok them, step by step how i do step 1 on a Ubuntu Server, or a minimal? its not valid.
legendary
Activity: 1260
Merit: 1000
The ?? is literal, there is/was no intention and you do not have to replace it.  ?? is like *, except only for individual characters under the ? .  You did the right thing as far as the input goes, but you are missing the file.

So, I was afraid of this, but I need to ask, which guide are you using, the 2.1 or the 2.4 guide?
sr. member
Activity: 434
Merit: 250
matt@ubuntu:~/poclbm$ sudo tar xvfz icd-registration.tgz -C /
tar (child): icd-registration.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now


Got past 11. Didn't even see the ??. Even if I had, can't say I would have known what to do. Either way now I'm getting the above from step 12.
legendary
Activity: 1260
Merit: 1000
ok, first "sudo add-apt-repository ppa:ubuntu-x-swat/x-updates" cant be done, i get a "sudo: add-apt-repository: command not found", fixed by doing this first "sudo apt-get install python-software-properties".

You didn't fix it, you bypassed the problem and introduced a bunch of new ones.  If you can't do add-apt-repository" you either did not install Ubuntu or you are doing something other than what the guide tells you to.

Quote
now, i have done everything, i think you forgot to incluide instructions to download and install drivers?

I did not.  Step 4 installs them.

Quote
i did this
Quote
cd ~
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run
sudo sh ati-driver-installer-11-5-x86.x86_64.run

Which further compounded your problems.  I won't go over the rest of the post because you are already in so deep in compounded problems that it's pointless. Follow the guide, step by step, and it works.  I've done it at least, literally, 50 times.  I know it works if you follow it step by step.
hero member
Activity: 1330
Merit: 502
Vave.com - Crypto Casino
ok, first "sudo add-apt-repository ppa:ubuntu-x-swat/x-updates" cant be done, i get a "sudo: add-apt-repository: command not found", fixed by doing this first "sudo apt-get install python-software-properties".

now, i have done everything, i think you forgot to incluide instructions to download and install drivers?

i did this
Quote
cd ~
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run
sudo sh ati-driver-installer-11-5-x86.x86_64.run

now i get this,
Quote
sudo aticonfig --odgt --adapter=all
ERROR - X needs to be running to perform ATI Overdrive(TM) commands

fixed by installing OpenBox.

anyway, now after doing everything on the guide i get this

Quote
shivan@MiningAlpha:~$ cd poclbm
shivan@MiningAlpha:~/poclbm$ ./poclbm.py
Traceback (most recent call last):
  File "./poclbm.py", line 27, in
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code
shivan@MiningAlpha:~/poclbm$


full member
Activity: 156
Merit: 100
Enable your brain and start again.

matt@ubuntu:~/poclbm$ sudo tar xvfz ati-stream-sdk-v2.1-lnx??.tgz -C /opt

Replace ?? with 32 or 64.
sr. member
Activity: 434
Merit: 250
newbie
Activity: 8
Merit: 0
Quote
To summarize

Line 11 is 11. sudo tar xvfz wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt
and it I believe it should be 11. sudo tar xvfz AMD-APP-SDK-v2.4-lnx??.tgz -C /opt

Yes, fixed.

Quote
Line 12 is 12. sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx??/icd-registration.tgz -C /
and I believe it should be 12. sudo tar xvfz icd-registration.tgz -C /

No, it's correct.

Quote
line 21 is 64-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
and I believe it should be 64-bit 21. sudo sh -c 'echo "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'

Yes, fixed.



Oops - sorry bout line 12 - just ran though install again - works great - awesome guide!

Only issue I am having is that I have to run all the aticonfig commands and poclbm.py as root, otherwise they don't see the GPU's on my 6990's...

cheers!
newbie
Activity: 8
Merit: 0

Below is the output after trying aticonfig --initial -f --adapter=all again along with a reboot

sudo aticonfig --lsa
* 0. 03:00.0 AMD Radeon HD 6990
  1. 04:00.0 AMD Radeon HD 6990

* - Default adapter


poclbm/poclbm.py
No protocol specified
Wrong platform or more than one OpenCL platforms found, use --platform to select one of the following

  •     AMD Accelerated Parallel Processing
  • [1]     AMD Accelerated Parallel Processing


    poclbm/poclbm.py --platform 0
    No protocol specified
    No device specified or device not found, use -d to specify one of the following

  •     Intel(R) Celeron(R) CPU          430  @ 1.80GHz


poclbm/poclbm.py --platform 1
No protocol specified
No device specified or device not found, use -d to specify one of the following

  •     Intel(R) Celeron(R) CPU          430  @ 1.80GHz
Had the exact same issue - run poclbm.py as root
legendary
Activity: 1260
Merit: 1000
Quote
To summarize

Line 11 is 11. sudo tar xvfz wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt
and it I believe it should be 11. sudo tar xvfz AMD-APP-SDK-v2.4-lnx??.tgz -C /opt

Yes, fixed.

Quote
Line 12 is 12. sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx??/icd-registration.tgz -C /
and I believe it should be 12. sudo tar xvfz icd-registration.tgz -C /

No, it's correct.

Quote
line 21 is 64-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
and I believe it should be 64-bit 21. sudo sh -c 'echo "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'

Yes, fixed.

newbie
Activity: 8
Merit: 0


11. sudo tar xvfz wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt
12. sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx??/icd-registration.tgz -C /

32-bit 21. sudo sh -c 'echo "/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86/" >> /etc/ld.so.conf.d/local.conf'
32-bit 22. ./configure.py --cl-inc-dir=/opt/AMD-APP-SDK-v2.4-lnx6432/include/ --cl-lib-dir=/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86
or
64-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
64-bit 22. ./configure.py --cl-inc-dir=/opt/AMD-APP-SDK-v2.4-lnx64/include/ --cl-lib-dir=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64


[/quote]

To summarize

Line 11 is 11. sudo tar xvfz wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt
and it I believe it should be 11. sudo tar xvfz AMD-APP-SDK-v2.4-lnx??.tgz -C /opt

Line 12 is 12. sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx??/icd-registration.tgz -C /
and I believe it should be 12. sudo tar xvfz icd-registration.tgz -C /

line 21 is 64-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
and I believe it should be 64-bit 21. sudo sh -c 'echo "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'

However, I'm still having issues getting poclbm to run...

Traceback (most recent call last):
  File "./poclbm.py", line 27, in
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code
member
Activity: 98
Merit: 10
thx, i guess it worked.

now i get this when i type "cd poclbm" and then "./poclbm.py":
No device specified or device not found, use -d to specify one of the following

  •    Cayman
  • [1]   Cayman
    [2]   AMD Athlon(tm) II X2 250 Processor

If Cayman is your video adapter, congrats, it worked. Now you do what it told you:

./poclbm.py -d 0

And that'll make it start mining on your "0 Cayman"
Combine that with your just learned knowledge about the tool "screen" to run multiple things at once and you're set Smiley

thanks:)
my graphic card is asus hd radeon 6990
member
Activity: 98
Merit: 10
installed everything as the guide instructed.
now when i type "cd poclbm" and then "./poclbm.py" i get this error:

Traceback (most recent call last):
  File "./poclbm.py", line 3, in
    import pyopencl as cl
  File "/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-x86_64.egg/pyopencl/__init__.py", line 3, in
    import pyopencl._cl as _cl
ImportError: libOpenCL.so.1: cannot open shared object file: No such file or directory


Damn, somewhere something must have gone wrong... Sorry, I'm not really sure what though.

You could try precompiled packages:
wget http://orwell.fiit.stuba.sk/~nou/amd-app_2.4_amd64.deb
wget http://orwell.fiit.stuba.sk/~nou/amd-app-dev_2.4.deb
sudo dpkg -i amd-app_2.4_amd64.deb
sudo dpkg -i amd-app-dev_2.4.deb

It might work, it might not. In the not case, repeat extracting/compiling pyopencl-0.92, this time just use ./configure.py instead of the long part with AMD-APP-SDK etc

thx, i guess it worked.

now i get this when i type "cd poclbm" and then "./poclbm.py":
No device specified or device not found, use -d to specify one of the following

  •    Cayman
  • [1]   Cayman
    [2]   AMD Athlon(tm) II X2 250 Processor
member
Activity: 98
Merit: 10
now i get this error at step 11. sudo tar xvfz http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt

tar (child): Cannot connect to http: resolve failed

gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now



First, replace ?? with 32 or 64, depending on what you downloaded. If you don't know, * will probably do, too. Then, the URL should be in there, it should look like this (with filled in ?? of course)

sudo tar xvfz ati-stream-sdk-v2.1-lnx??.tgz -C /opt

its 64bit.
u mean like this?:

sudo tar xvfz AMD-APP-SDK-v2.4-lnx??.tgz -C /opt

Yeah, you're right, sorry, copied the wrong command. So it should be

sudo tar xvfz AMD-APP-SDK-v2.4-lnx64.tgz -C /opt

installed everything as the guide instructed.
now when i type "cd poclbm" and then "./poclbm.py" i get this error:

Traceback (most recent call last):
  File "./poclbm.py", line 3, in
    import pyopencl as cl
  File "/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-x86_64.egg/pyopencl/__init__.py", line 3, in
    import pyopencl._cl as _cl
ImportError: libOpenCL.so.1: cannot open shared object file: No such file or directory
member
Activity: 98
Merit: 10
now i get this error at step 11. sudo tar xvfz http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt

tar (child): Cannot connect to http: resolve failed

gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now



First, replace ?? with 32 or 64, depending on what you downloaded. If you don't know, * will probably do, too. Then, the URL should be in there, it should look like this (with filled in ?? of course)

sudo tar xvfz ati-stream-sdk-v2.1-lnx??.tgz -C /opt

its 64bit.
u mean like this?:

sudo tar xvfz AMD-APP-SDK-v2.4-lnx??.tgz -C /opt
member
Activity: 98
Merit: 10
please help, im searching and browsing forum, i cant find anything that help my problem.
Pages:
Jump to: