JorgePasada
Member
Offline
Activity: 61
Merit: 10
|
|
May 22, 2011, 09:59:28 PM |
|
At 900, that's about the right MH rate. You need to raise your clock more if you want to raise your hash rate.
I'm working on putting together my slightly modified version of this guide to work with SDK 2.4 Should have a little addendum in a day or two here for that purpose, hopefully.
|
|
|
|
de4l
Member
Offline
Activity: 82
Merit: 10
|
|
May 23, 2011, 01:26:11 AM |
|
I'm trying to get auto-start working for myself but have run into an issue, basically my thought was to make a startup launcher that ran a bash file, I think I got it mostly correct but now I'm getting this error phatk1.bash #!/bin/bash
cd /home/arc/phoenix python phoenix.py -u http://uname:pass@deepbit.net:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1 error Traceback (most recent call last): File "phoenix.py", line 123, in <module> miner.start(options) File "/home/arc/phoenix/Miner.py", line 75, in start self.kernel = self.options.makeKernel(KernelInterface(self)) File "phoenix.py", line 111, in makeKernel kernelModule = imp.load_module(module, file, filename, smt) File "kernels/phatk/__init__.py", line 23, 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: cannot open shared object file: No such file or directory
|
|
|
|
SchizophrenicX
Member
Offline
Activity: 112
Merit: 100
"I'm not psychic; I'm just damn good"
|
|
May 23, 2011, 02:15:21 AM |
|
Hi tread starter. I hope you don't mind me linking my tread to yours. I'm consolidating build discussions
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 23, 2011, 02:28:40 AM |
|
I'm trying to get auto-start working for myself but have run into an issue, basically my thought was to make a startup launcher that ran a bash file, I think I got it mostly correct but now I'm getting this error phatk1.bash #!/bin/bash
cd /home/arc/phoenix python phoenix.py -u http://uname:pass@deepbit.net:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1 error Traceback (most recent call last): File "phoenix.py", line 123, in <module> miner.start(options) File "/home/arc/phoenix/Miner.py", line 75, in start self.kernel = self.options.makeKernel(KernelInterface(self)) File "phoenix.py", line 111, in makeKernel kernelModule = imp.load_module(module, file, filename, smt) File "kernels/phatk/__init__.py", line 23, 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: cannot open shared object file: No such file or directory You need to export your LD_LIBRARY_PATH and DISPLAy variables in the script.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
Internet151
|
|
May 23, 2011, 08:50:59 AM Last edit: May 23, 2011, 10:45:16 AM by Internet151 |
|
Will this guide work for Ubuntu installed on a usb flash drive?
|
|
|
|
gedeon
Newbie
Offline
Activity: 12
Merit: 0
|
|
May 23, 2011, 12:06:08 PM |
|
hi,
my error looks like..:
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-i686.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
the install went good, but at the end i realised, that my system 32bit, and not 64. but should i rewrite?
thx.
Gedeon
|
|
|
|
gedeon
Newbie
Offline
Activity: 12
Merit: 0
|
|
May 23, 2011, 03:44:49 PM |
|
ok, i am noob. now it is ok. thx for the guide sir!
|
|
|
|
de4l
Member
Offline
Activity: 82
Merit: 10
|
|
May 23, 2011, 05:04:07 PM |
|
Will this guide work for Ubuntu installed on a usb flash drive?
It seems like there must be some way, but I was unable to in my attempt (make sure you enable the universe repository if you attempt it at least, that was one of my mistakes)
|
|
|
|
ryepdx
|
|
May 23, 2011, 05:11:30 PM |
|
the install went good, but at the end i realised, that my system 32bit, and not 64. but should i rewrite?
Yes. Remove the files you just installed and start over with the search-and-replaced Inaba guide below: Here are the steps you need to take to get mining on Ubuntu's latest 32-bit OS: First, install Natty on the HD 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:
[b]sudo apt-get install openssh-server[/b]
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 9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx32.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-lnx32.tgz -C /opt 12. sudo tar xvfz icd-registration.tgz -C / 13. sudo tar xvfz ati-stream-sdk-v2.1-lnx32.tgz -C /opt 14. tar zxfv pyopencl-0.92.tar.gz 15. echo export DISPLAY=:0 >> .bashrc 16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx32/lib/x86/:$LD_LIBRARY_PATH >> .bashrc 17. source .bashrc 18. screen -r update 18a. 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. 19. svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc 20. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk 21. git clone git://github.com/m0mchil/poclbm poclbm 22. mv trunk phoenix 23. cd pyopencl-0.92 24. ./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 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.py5. sudo aticonfig --initial -f --adapter=all 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 ./poclbmIt 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.
|
|
|
|
biochem
Newbie
Offline
Activity: 14
Merit: 0
|
|
May 23, 2011, 06:21:36 PM |
|
I'm trying to get auto-start working
How to set up automining in ubuntu 1. make script file (miner1.sh): source /home/user/.bashrc aticonfig --pplib-cmd "set fanspeed 0 100" cd /home/user/poclbm ./poclbm.py ------- some parameters------
2. go to System -> preferences-> Startup Applications 3. Add for each mining script line like this gnome-terminal -e "bash --rcfile /home/user/miner1.sh" 4. Set up autologin 5. reboot and enjoy
|
|
|
|
Internet151
|
|
May 23, 2011, 09:01:30 PM |
|
I just followed the whole guide while setting this up on my USB drive, and after everything appeared to install ok and completing all 32 steps/restarting I get "Authentication Failure" on bootup. What went wrong?
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 23, 2011, 09:22:01 PM |
|
At what point do you get the Authentication Failure?
I have updated the guide to differentiate where you need to change things for 32bit vs 64bit
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
Internet151
|
|
May 23, 2011, 10:37:06 PM |
|
At what point do you get the Authentication Failure?
I have updated the guide to differentiate where you need to change things for 32bit vs 64bit
I'm running the 64-bit version of ubuntu and using that version of your guide, and I get the Authentication Failure around 10 seconds after the boot loader screen when it's loading up the OS.
|
|
|
|
Strom
Newbie
Offline
Activity: 14
Merit: 0
|
|
May 24, 2011, 06:18:17 PM |
|
1. sudo add-apt-repository ppa:ubuntu-x-swat/x-updates [/li][/list] 2. sudo apt-get update [/li][/list]
....
30. chmod +x phoenix/phoenix.py poclbm/poclbm.py5. sudo aticonfig --initial -f --adapter=all
The first and second points have some markup leftovers and the 30th point should end with poclbm.py, but it currently has some garbage appended.
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 24, 2011, 08:16:25 PM |
|
At what point do you get the Authentication Failure?
I have updated the guide to differentiate where you need to change things for 32bit vs 64bit
I'm running the 64-bit version of ubuntu and using that version of your guide, and I get the Authentication Failure around 10 seconds after the boot loader screen when it's loading up the OS. I've never seen that error before, but it sounds like maybe you encrypted your home directory and it can't find the authorization keys now? Dunno on that one... Fixed the problems with the markup junk and the extra 5.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
Internet151
|
|
May 25, 2011, 01:17:13 AM |
|
At what point do you get the Authentication Failure?
I have updated the guide to differentiate where you need to change things for 32bit vs 64bit
I'm running the 64-bit version of ubuntu and using that version of your guide, and I get the Authentication Failure around 10 seconds after the boot loader screen when it's loading up the OS. I've never seen that error before, but it sounds like maybe you encrypted your home directory and it can't find the authorization keys now? Dunno on that one... Fixed the problems with the markup junk and the extra 5. I didn't encrypt anything or really do much outside of your guide.
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 25, 2011, 02:02:31 AM |
|
Did you choose to encrypt your home directory when installing? It is an install option.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
Internet151
|
|
May 25, 2011, 04:36:45 AM |
|
Did you choose to encrypt your home directory when installing? It is an install option.
No, but I never "installed" I just downloaded Ubuntu from http://www.ubuntu.com/download/ubuntu/download and then used unetbootin on the downloaded ISO to put it on a USB drive and add persistence. Then I loaded it up and followed the guide here.
|
|
|
|
Inaba (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
May 25, 2011, 05:09:06 AM |
|
This guide doesn't work with Live installs. It's intended for full installs. The Live installs are missing all sorts of needed things.
Could it be made to work? Probably, but I've not tried it. If I get some time, I will try to get it figured out, but my time is pretty limited at the moment, so it would be at least a few days if not more before I was able to get to it.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
Internet151
|
|
May 25, 2011, 12:30:51 PM |
|
Well whenever you get the time to do that I would greatly appreciate it! Not having to buy hard drives for each machine would lower power consumption and usb drives are cheaper.
|
|
|
|
|