darkpandora
Member
Offline
Activity: 98
Merit: 10
|
|
June 04, 2011, 01:39:51 PM |
|
11. sudo tar xvfz wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx??.tgz -C /opt i get this error: tar (child): wget: 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
|
K U R D I S T A N K U R D I S T A N K U R D I S T A N
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
June 04, 2011, 01:43:09 PM |
|
Whoops. Been fixed. Remove the wget from that line.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
|
darkpandora
Member
Offline
Activity: 98
Merit: 10
|
|
June 04, 2011, 02:04:21 PM |
|
please help, im searching and browsing forum, i cant find anything that help my problem.
|
K U R D I S T A N K U R D I S T A N K U R D I S T A N
|
|
|
darkpandora
Member
Offline
Activity: 98
Merit: 10
|
|
June 04, 2011, 02:16:08 PM |
|
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
|
K U R D I S T A N K U R D I S T A N K U R D I S T A N
|
|
|
darkpandora
Member
Offline
Activity: 98
Merit: 10
|
|
June 04, 2011, 02:36:35 PM |
|
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 <module> 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 <module> import pyopencl._cl as _cl ImportError: libOpenCL.so.1: cannot open shared object file: No such file or directory
|
K U R D I S T A N K U R D I S T A N K U R D I S T A N
|
|
|
darkpandora
Member
Offline
Activity: 98
Merit: 10
|
|
June 04, 2011, 04:17:29 PM |
|
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 <module> 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 <module> 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.debwget http://orwell.fiit.stuba.sk/~nou/amd-app-dev_2.4.debsudo 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
|
K U R D I S T A N K U R D I S T A N K U R D I S T A N
|
|
|
darkpandora
Member
Offline
Activity: 98
Merit: 10
|
|
June 04, 2011, 04:25:06 PM |
|
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 thanks:) my graphic card is asus hd radeon 6990
|
K U R D I S T A N K U R D I S T A N K U R D I S T A N
|
|
|
elsteve
Newbie
Offline
Activity: 8
Merit: 0
|
|
June 04, 2011, 04:32:27 PM |
|
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/x86or 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 <module> platforms = cl.get_platforms() pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
June 04, 2011, 04:41:56 PM |
|
Yes, fixed. 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. 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.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
elsteve
Newbie
Offline
Activity: 8
Merit: 0
|
|
June 04, 2011, 05:44:09 PM |
|
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
|
|
|
|
elsteve
Newbie
Offline
Activity: 8
Merit: 0
|
|
June 04, 2011, 05:53:27 PM |
|
Yes, fixed. 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. 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!
|
|
|
|
pandemic
|
|
June 04, 2011, 09:36:56 PM |
|
Bitcoin Mining for Ubuntu Natty Narwhal (Ubuntu v11.04)
Here are the steps you need to take to get mining on Ubuntu's latest OS: This guide is for installing AMD SDK v2.1. If you want to install v2.4 for 6xxxx series cards, please see the next post with instructions for v2.4.If you find this guide useful, please consider donating. Donation address: 168Bgg6HL6bLiUxQDBbdmHRbXtSsMixYCTFirst, install Natty on the HD or USB stick of your choice, accepting all the defaults as appropriate.Once you are booted into your new OS install, do these steps in a terminal window, or if you wish and it's easier you can do it from an SSH session. Optional First Step (Skip this if you don't care about SSH): Optional 1: Press the upper left 'start' button on the desktop and in the search field enter 'terminal'. Click it and open a terminal window.
In the terminal window, type:
sudo apt-get install openssh-server
This will install the SSH server. Once the server is installed, you can connect to your machine via SSH and perform the rest of the steps listed below.
END Optional First Step From here on out, the steps should be conducted either in a terminal window or an SSH session. 1. sudo add-apt-repository ppa:ubuntu-x-swat/x-updates 2. sudo apt-get update 3. sudo apt-get install screen 4. screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy 5. Enter your password. 6. Once the updates are going, press CTRL-A then press D. You should detach from the screen and be returned to a prompt. 7. screen -d -m -S icd wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz 8. screen -d -m -S pyopencl wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz
32-bit 9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx32.tgz or 64-bit 9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgz
10. screen -r stream 10a. If you get a "There is no screen to be resumed" message, continue on. Otherwise, you should get a download status, wait until it's done, then continue on.
11. sudo tar xvfz ati-stream-sdk-v2.1-lnx??.tgz -C /opt 12. sudo tar xvfz icd-registration.tgz -C / 13. tar zxfv pyopencl-0.92.tar.gz 14. screen -r update 14a. If you get a "There is no screen to be resumed" mesasge, continue on. Otherwise, wait for the update to finish. You will be returned to a prompt when it's done. 15. svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc 16. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk 17. git clone git://github.com/m0mchil/poclbm poclbm 18. mv trunk phoenix 19. echo export DISPLAY=:0 >> ~/.bashrc 20. cd pyopencl-0.92
32-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx32/lib/x86/" >> /etc/ld.so.conf.d/local.conf' 32-bit 22. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx32/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-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/ati-stream-sdk-v2.1-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64
23. sudo ldconfig 24. source ~/.bashrc 25. make -j3 26. sudo make install 27. cd ../python-jsonrpc 28. sudo python setup.py install 29. cd ~ 30. chmod +x phoenix/phoenix.py poclbm/poclbm.py 31. sudo aticonfig --initial -f --adapter=all 32. sudo reboot
That's it, you're done. You should now have a fully functional Ubuntu 11.04 mining rig with Phoenix and poclbm installed. To test it out, you can go into the poclbm directory and run poclbm without any switches and see if your graphics card(s) show up. Do this with: cd poclbm ./poclbm.pyIt should list your CPU (possibly) and your graphics cores available. Here's a couple useful tricks for working with your graphics cards: To display the temperature of your cores: aticonfig --odgt --adapter=all To display the clock speeds of your cores: aticonfig --odgc --adapter=allTo show or set your fan speed: Shows fan speed aticonfig --pplib-cmd "get fanspeed 0"Sets fan speed to 100% aticonfig --pplib-cmd "set fanspeed 0 100" If you have multiple cores, you'll need to export a different display variable to access the different cores, like this: Show fan speed on 2nd card: export DISPLAY=:0.1; aticonfig --pplib-cmd "get fanspeed 0"You can change the .1 to .2, .3 etc... for how many cards you have in the system. To change your clock rates: Set your core clock to 900MHz and your memory clock to 1000MHz on all cards. Change according to your desire. aticonfig --od-setclocks=900,1000 --adapter=allTo set for a particular card, change --adapter=all to the adapter number you want to change. That should take care of just about everything you need to do to mine in a Bitcoin pool. Like this guide and find it useful? Donate! Donation address: 168Bgg6HL6bLiUxQDBbdmHRbXtSsMixYCT When I do step 11 of 2.1, I get this: matt@ubuntu:~/poclbm$ sudo tar xvfz ati-stream-sdk-v2.1-lnx??.tgz -C /opt [sudo] password for matt: tar (child): ati-stream-sdk-v2.1-lnx??.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
|
|
|
|
Prze_koles
|
|
June 04, 2011, 09:41:23 PM |
|
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.
|
1FzTJh1C58m1gqnNzxLTt2ryNYkuk1YdfN
|
|
|
shivansps
|
|
June 04, 2011, 11:27:06 PM |
|
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 now i get this, 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 shivan@MiningAlpha:~$ cd poclbm shivan@MiningAlpha:~/poclbm$ ./poclbm.py Traceback (most recent call last): File "./poclbm.py", line 27, in <module> platforms = cl.get_platforms() pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code shivan@MiningAlpha:~/poclbm$
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
June 04, 2011, 11:57:27 PM |
|
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. now, i have done everything, i think you forgot to incluide instructions to download and install drivers? I did not. Step 4 installs them. 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.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
pandemic
|
|
June 05, 2011, 12:03:44 AM |
|
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.
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
June 05, 2011, 12:12:07 AM |
|
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?
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
shivansps
|
|
June 05, 2011, 12:13:08 AM |
|
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. now, i have done everything, i think you forgot to incluide instructions to download and install drivers? I did not. Step 4 installs them. 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.
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
June 05, 2011, 12:14:50 AM |
|
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.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
|