Bitcoin Forum

Other => CPU/GPU Bitcoin mining hardware => Topic started by: Inaba on May 07, 2011, 09:40:52 PM



Title: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 07, 2011, 09:40:52 PM
Bitcoin Mining for Ubuntu Natty Narwhal (Ubuntu v11.04)


You can use this guide with this mining pool perfectly: https://eclipsemc.com

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: 168Bgg6HL6bLiUxQDBbdmHRbXtSsMixYCT

First, 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.

Code:
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 https://eclipsemc.com/files/python-jsonrpc.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.py

It 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=all

To 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=all

To 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


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 07, 2011, 09:41:53 PM
Bitcoin Mining for Ubuntu Natty Narwhal (Ubuntu v11.04)


This guide is for v2.4 of AMD's SDK which supports 6xxxx series cards.
If you wish to install v2.1, please see the previous post.


If you find this guide useful, please consider donating.  Donation address: 168Bgg6HL6bLiUxQDBbdmHRbXtSsMixYCT

Here are the steps you need to take to get mining on Ubuntu's latest OS:

First, 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.

Code:
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 https://eclipsemc.com/files/python-jsonrpc.tar.gz

32-bit 9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx32.tgz
or
64-bit 9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-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 AMD-APP-SDK-v2.4-lnx??.tgz -C /opt
12. sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx??/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/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-lnx32/include/ --cl-lib-dir=/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86
or
64-bit 21. sudo sh -c 'echo "/opt/AMD-APP-SDK-v2.4-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

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.py

It 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=all

To 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=all

To 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


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: gusta on May 07, 2011, 10:21:32 PM
Wow cool. Gonna try this out.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Spirals on May 07, 2011, 10:57:04 PM
Great guide. I just went through all this on my own yesterday before you posted this.  :D

The only major difference with my process for 11.04 (besides running 32-bit) is that I did use the 2.4 AMD ATI SDK, and have seen 5-10% better performance than that shown for my card with the 2.1 SDK on the https://en.bitcoin.it/wiki/Mining_hardware_comparison page. I get 83 Mhash/s, not 78 Mhash/s as shown on the wiki for the ATI 4870.

Otherwise, these steps are more or less exactly what I followed!


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 07, 2011, 10:59:36 PM
I tried 2.4 and got about 10% less performance out of 2.4, so I went back to 2.1.  The difference you are probably seeing in the guide is the difference between the modern miner and the one the guide was put together with.  Your extra hashes are about what you'd see with the BF_INT performance enhancement introduced into the miners recently.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: jondecker76 on May 09, 2011, 02:24:20 AM
I just followed these steps verbatim, but I get an error trying to run poclbm:

Code:
jondecker76@miner1:~/poclbm$ ./poclbm.py
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
jondecker76@miner1:~/poclbm$ cd /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl/
jondecker76@miner1:/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl$ ls
array.py   clmath.pyc  clrandom.py   elementwise.py   __init__.pyc  version.py
array.pyc  _cl.py      clrandom.pyc  elementwise.pyc  tools.py      version.pyc
clmath.py  _cl.pyc     _cl.so        __init__.py      tools.pyc
jondecker76@miner1:/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl$


pyopencl made just fine, and its installed apparently. Any ideas?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: marcus_of_augustus on May 09, 2011, 02:58:42 AM

I think you may need a step after 12.

Code:
12a. echo export ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.1-lnx64 >> .bashrc

As per the ATI documentation. The miner will run fine without it but later upgrades, builds, etc may need this variable.

Also, I have a recollection that "python-jsonrpc" is no longer necessary to be installed ... but icbw.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 09, 2011, 03:14:23 AM
I just followed these steps verbatim, but I get an error trying to run poclbm:

Code:
jondecker76@miner1:~/poclbm$ ./poclbm.py
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
jondecker76@miner1:~/poclbm$ cd /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl/
jondecker76@miner1:/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl$ ls
array.py   clmath.pyc  clrandom.py   elementwise.py   __init__.pyc  version.py
array.pyc  _cl.py      clrandom.pyc  elementwise.pyc  tools.py      version.pyc
clmath.py  _cl.pyc     _cl.so        __init__.py      tools.pyc
jondecker76@miner1:/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl$


pyopencl made just fine, and its installed apparently. Any ideas?

This problem is almost <i>always</i> related to the fact that the /opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64 environment variable isn't set.

What does this command return:

echo $PATH

Also, make sure you've done steps 11 - 13 properly, as that's where it gets set.

Quote
As per the ATI documentation. The miner will run fine without it but later upgrades, builds, etc may need this variable.

Also, I have a recollection that "python-jsonrpc" is no longer necessary to be installed ... but icbw.

I will add that additional env var if it ever becomes necessary.  No sense in setting it if it's not used at the moment.

I'll also check into the python-jsonrpc thing and see if that's the case and remove it if so.  Thanks for the tips!


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: billywilly on May 09, 2011, 06:21:26 AM
When executing this

Code:
sudo aticonfig --initial -f --adapter=all

have this back

Code:
sudo aticonfig --initial -f --adapter=all
Uninitialised file found, configuring.
Fail to link to fglrx-libglx.so, please check whether driver is installed correctly
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-1

don't know how to fix this, can someone help me?, have 2x6990's in a non crossfire motherboard, but already achieved in windows to got it working (3 cores bug)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 09, 2011, 06:46:25 AM
I just recently started getting that error as well, but it doesn't seem to affect anything.  I will investigate further as to why it's showing up, but you can ignore it for now.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Artefact2 on May 09, 2011, 06:50:41 AM
From here on out, the steps should be conducted either in a terminal window or an SSH session.

Code:
1. sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
2. sudo apt-get update
3. sudo apt-get install fglrx
4. sudo apt-get install g++ libboost-all-dev subversion git-core python-numpy
5. sudo aticonfig --initial -f --adapter=all
6. sudo reboot

Code:
7. wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgz
8. wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz
9. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt
10. sudo tar xvfz icd-registration.tgz -C /
11. echo export DISPLAY=:0 >> .bashrc
12. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc
13. source .bashrc
14. wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz
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. tar zxfv pyopencl-0.92.tar.gz
20. cd pyopencl-0.92
21. ./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
22. make -j3
23. sudo make install
24. cd ../python-jsonrpc
25. sudo python setup.py install
26. cd ~
27. chmod +x phoenix/phoenix.py poclbm/poclbm.py


On ArchLinux (yes, this OS is better, just look how simple it is !) :

1. Install catalyst (http://aur.archlinux.org/packages.php?ID=29111) and amdstream (http://aur.archlinux.org/packages.php?ID=21933) from the AUR.
2. Install python2-pyopencl from the official packages and python2-jsonrpc-svn (http://aur.archlinux.org/packages.php?ID=48862) from the AUR.
3. Run your miner.

And Ubuntu is supposed to be noob-friendly ? I can't believe it ! Never mind the fact that the "Ubuntu-way" is a real pain to keep updated too.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: bitcoindaddy on May 09, 2011, 05:21:50 PM
On ArchLinux (yes, this OS is better, just look how simple it is !) :

1. Install catalyst (http://aur.archlinux.org/packages.php?ID=29111) and amdstream (http://aur.archlinux.org/packages.php?ID=21933) from the AUR.
2. Install python2-pyopencl from the official packages and python2-jsonrpc-svn (http://aur.archlinux.org/packages.php?ID=48862) from the AUR.
3. Run your miner.

And Ubuntu is supposed to be noob-friendly ? I can't believe it ! Never mind the fact that the "Ubuntu-way" is a real pain to keep updated too.


Yeah, but try to get bitcoin (graphical) to run....   https://aur.archlinux.org/packages.php?ID=39313&comments=all (https://aur.archlinux.org/packages.php?ID=39313&comments=all)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Spirals on May 09, 2011, 07:42:47 PM
I just followed these steps verbatim, but I get an error trying to run poclbm:

Code:
jondecker76@miner1:~/poclbm$ ./poclbm.py
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
jondecker76@miner1:~/poclbm$ cd /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl/
jondecker76@miner1:/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl$ ls
array.py   clmath.pyc  clrandom.py   elementwise.py   __init__.pyc  version.py
array.pyc  _cl.py      clrandom.pyc  elementwise.pyc  tools.py      version.pyc
clmath.py  _cl.pyc     _cl.so        __init__.py      tools.pyc
jondecker76@miner1:/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg/pyopencl$


pyopencl made just fine, and its installed apparently. Any ideas?

Did you configure pyopencl with explicit directions to find the AMD APP SDK? I tried initially leaving off the explicit --cl-inc-dir and --cl-lib-dir and I got the same error you had. This fixed it:
Code:
./configure.py --cl-inc-dir=/path/to/AMD-APP-SDK-v2.4-lnx32/include --cl-lib-dir=/path/to/AMD-APP-SDK-v2.4-lnx32/lib/x86


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: uck on May 09, 2011, 11:34:46 PM
might be $LD_LIBRARY_PATH is blank (?)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: marcus_of_augustus on May 10, 2011, 03:27:02 AM
Code:
export ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.1-lnx64

and

Code:
export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:$LD_LIBRARY_PATH

set these yet?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: sniper_sniperson on May 10, 2011, 01:12:17 PM
I just recently started getting that error as well, but it doesn't seem to affect anything.  I will investigate further as to why it's showing up, but you can ignore it for now.


I confirm this error too on Xubuntu 11.04 AMD64


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 10, 2011, 02:38:08 PM
I just recently started getting that error as well, but it doesn't seem to affect anything.  I will investigate further as to why it's showing up, but you can ignore it for now.


I confirm this error too on Xubuntu 11.04 AMD64

Is it preventing you from mining?

Code:
export ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.1-lnx64

and

Code:
export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:$LD_LIBRARY_PATH

set these yet?


Who is this directed at?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: sniper_sniperson on May 10, 2011, 05:01:08 PM
I can't start the miner.

Just getting non-stop
Quote
Error: unable to open display (null)
when fglrxinfo is called.


Driver is installed correctly ... I think
Quote
root@toor-desktop:~# aticonfig --list-adapters
* 0. 02:00.0 ATI Radeon HD 5800 Series

* - Default adapter


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Spirals on May 10, 2011, 08:50:57 PM
I can't start the miner.

Just getting non-stop
Quote
Error: unable to open display (null)
when fglrxinfo is called.


Driver is installed correctly ... I think
Quote
root@toor-desktop:~# aticonfig --list-adapters
* 0. 02:00.0 ATI Radeon HD 5800 Series

* - Default adapter

Did you set your display env variable?

Code:
echo export DISPLAY=:0 >> .bashrc
source .bashrc

Also, if you're running the miner as root, run the miner as a non-privileged user and see if the error persists. There's no need to be root for it.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Vasili Sviridov on May 10, 2011, 10:12:33 PM
Btw, instead of exporting your library path, it's probably better to add the config file for those paths to /etc/ld.so.conf.d, then they are applied globally to all accounts.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: sniper_sniperson on May 10, 2011, 10:57:57 PM

Did you set your display env variable?

Code:
echo export DISPLAY=:0 >> .bashrc
source .bashrc
[/quote]

Yes.

For sure miner can't be run in this state because there is no gpus in his device list. Only cpu is shown.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: HudsonStan on May 10, 2011, 11:22:53 PM
Step "make -j3" ends with error:
Code:
/usr/bin/ld: skipping incompatible /opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/libOpenCL.so when searching for -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [all] Error 1
HW: Radeon 5770


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 11, 2011, 03:10:41 AM
Ok, well, I did some testing. It seems the Natty archives are not up to date.

Anyone with a 6xxx card will have problems with this guide.   I'm looking for a fix, but as of yet I haven't found it.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 11, 2011, 06:13:31 AM
On ArchLinux (yes, this OS is better, just look how simple it is !) :

1. Install catalyst (http://aur.archlinux.org/packages.php?ID=29111) and amdstream (http://aur.archlinux.org/packages.php?ID=21933) from the AUR.
2. Install python2-pyopencl from the official packages and python2-jsonrpc-svn (http://aur.archlinux.org/packages.php?ID=48862) from the AUR.
3. Run your miner.

And Ubuntu is supposed to be noob-friendly ? I can't believe it ! Never mind the fact that the "Ubuntu-way" is a real pain to keep updated too.


Archlinux is quite a bit harder to install and in fact requires FAR more steps to get to the point where you can install the catalyst drivers, amdstream and python.  You even have to install X manually.

There's a place for Archlinux and it's a good distro... but as a simple to setup mining solution?  It's about as far away as you can get.  I can't believe you even posted this, it's such a complete bag of BS and an outright lie.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: sniper_sniperson on May 11, 2011, 08:13:56 AM
Ok, well, I did some testing. It seems the Natty archives are not up to date.

Anyone with a 6xxx card will have problems with this guide.   I'm looking for a fix, but as of yet I haven't found it.

I fought with the problems on 5870 ::)

Well, people, is it better for the miners to switch to some dependecy free distro like Slackware yes?  ::)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 11, 2011, 08:42:39 AM
That's strange, I have installed it on miners with 5870's no problem.  Hmm...

The 6xxx series is giving me a major headache though.  Definitely glad I don't have any of those as miners, they aren't supported very well yet.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ED1980 on May 12, 2011, 01:39:49 AM
http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=125792&enterthread=y- AMD APP SDK v2.4 deb-packages for Ubuntu. Please add an option in the setup guide ...
Thanks here:16XSsbfvhmVyofctJrvk9XYWmjXWxsep6Q


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: humble on May 12, 2011, 04:18:32 AM
Once you have it going I recommend installing AMDOverdriveCtrl and using it to underclock your memory. Down to 300 for 5xxx cards and 320 or 340 for 6xxx cards. You can also have it control your fanspeed.

Making these changes will give you a slight increase in speed AND decrease your power consumption and temperature quite noticeably.

Source and binary .debs (for Debian derivatives such as Ubuntu) available at http://sourceforge.net/projects/amdovdrvctrl/


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ataranlen on May 12, 2011, 07:20:32 AM
Step "make -j3" ends with error:
Code:
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [all] Error 1
HW: Radeon 5770

Same issue here, HW: 2x Radeon 5870x2

Code:
nathan@TheBeast:~/pyopencl-0.92$ make -j3
ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py build
running build
running build_py
running build_ext
building '_cl' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_cl.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl_part_1.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_1.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl_part_1.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl_part_2.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_2.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl_part_2.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_constants.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_constants.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_constants.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
src/wrapper/wrap_constants.cpp: In function ‘void pyopencl_expose_constants()’:
src/wrapper/wrap_constants.cpp:87:5: warning: deprecated conversion from string constant to ‘char*’
src/wrapper/wrap_constants.cpp:91:5: warning: deprecated conversion from string constant to ‘char*’
src/wrapper/wrap_constants.cpp:92:5: warning: deprecated conversion from string constant to ‘char*’
src/wrapper/wrap_constants.cpp:93:5: warning: deprecated conversion from string constant to ‘char*’
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/function_doc_signature.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function_doc_signature.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/pickle_support.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/pickle_support.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/inheritance.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/inheritance.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/iterator.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/iterator.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/enum.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/enum.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/function.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/class.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/class.o
bpl-subset/bpl_subset/libs/python/src/object/class.cpp: In function ‘int boost::python::property_init(PyObject*, PyObject*, PyObject*)’:
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/life_support.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/life_support.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/registry.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/registry.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.o
bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.cpp:369:13: warning: ‘boost::python::converter::<unnamed>::py_unicode_as_string_unaryfunc’ defined but not used
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/arg_to_python_base.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/arg_to_python_base.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/from_python.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/from_python.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/type_id.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/type_id.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/smart_ptr/src/sp_collector.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_collector.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/smart_ptr/src/sp_debug_hooks.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_debug_hooks.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/dict.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/dict.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/slice.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/slice.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object_operators.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_operators.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/str.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/str.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/import.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/import.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/tuple.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/tuple.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/exec.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/exec.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/list.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/list.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/numeric.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/numeric.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/long.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/long.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/errors.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/errors.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/module.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/module.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object_protocol.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_protocol.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/wrapper.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/wrapper.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/thread/src/pthread/thread.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/thread.o
g++ -pthread -shared -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/src/wrapper/wrap_cl.o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_1.o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_2.o build/temp.linux-i686-2.7/src/wrapper/wrap_constants.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function_doc_signature.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/pickle_support.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/inheritance.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/iterator.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/enum.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/class.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/life_support.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/registry.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/arg_to_python_base.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/from_python.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/type_id.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_collector.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_debug_hooks.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/dict.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/slice.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_operators.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/str.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/import.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/tuple.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/exec.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/list.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/numeric.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/long.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/errors.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/module.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_protocol.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/wrapper.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/thread.o -L/opt/ati-stream-sdk-v2.1-lnx64/lib -lOpenCL -o build/lib.linux-i686-2.7/pyopencl/_cl.so
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [all] Error 1




Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 12, 2011, 03:17:24 PM
Something is definitely up with the Natty repositories.  I tried an install last night and now I'm getting some linking errors.  I have my personal version scripted, so I know nothing has changed. 

I am going to change the guide to download the appropriate stuff manually I think, instead of installing the repo versions.  It will provide an updated fglrx anyway.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: maxcorrads on May 12, 2011, 05:13:07 PM
Thank you, i used your guide to configure my miner, this guide is for Ubuntu 64bit, i've installed 32bit and the only thing i had to change was to change "x86_64" to "x86".


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Hawkix on May 13, 2011, 04:19:26 PM
Please, how to install AMDOverdriveCtrl package to Ubuntu Narval?

I tried to install it from .deb package provided, but upon running it, it will show my cards (each one with 3 rows) and then will die with Segmentation fault. Prior to show any window.

Is there another Linux tool to underclock the memory?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: dpc on May 13, 2011, 05:36:36 PM
Code:
sudo aticonfig --initial -f --adapter=all
Uninitialised file found, configuring.
Fail to link to fglrx-libglx.so, please check whether driver is installed correctly
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-1

don't know how to fix this, can someone help me?, have 2x6990's in a non crossfire motherboard, but already achieved in windows to got it working (3 cores bug)

I get the same error. I follow other steps, everything seems fine, but at the end my card is not listed by ./poclbm.py


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 13, 2011, 05:44:21 PM
Did you reboot after doing aticonfig --initial -f --adapter=all

What does aticonfig --lsa return?

What about lspci -v | grep ATI ?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: JorgePasada on May 13, 2011, 07:04:27 PM
Quote
10. sudo tar xvfz icd-registration.tgz -C /

Just finished that step. Couldn't find the file. Searched for it and couldn't find it anywhere on the filesystem. Ideas?

What does this step even do?

Also, I'm running the default 11.04 build, 64 bit from the Ubuntu website.

git and svn aren't installed by default apparently.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ataranlen on May 13, 2011, 09:34:32 PM
Did you reboot after doing aticonfig --initial -f --adapter=all

What does aticonfig --lsa return?

What about lspci -v | grep ATI ?

Code:
nathan@TheBeast:~$ aticonfig --lsa
* 0. 05:00.0 ASUS ARES
  1. 06:00.0 ASUS ARES
  2. 09:00.0 ASUS ARES
  3. 0a:00.0 ASUS ARES

* - Default adapter


nathan@TheBeast:~$ lspci -v | grep ATI
00:00.0 Host bridge: ATI Technologies Inc RX780/RX790 Chipset Host Bridge
Subsystem: ATI Technologies Inc RX780/RX790 Chipset Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 port A) (prog-if 00 [Normal decode])
00:06.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port C) (prog-if 00 [Normal decode])
00:07.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port D) (prog-if 00 [Normal decode])
00:09.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port E) (prog-if 00 [Normal decode])
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port F) (prog-if 00 [Normal decode])
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (prog-if 01 [AHCI 1.0])
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
00:13.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (prog-if 8a [Master SecP PriP])
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller
Subsystem: ATI Technologies Inc Device 4383
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
Subsystem: ATI Technologies Inc Device 4396
05:00.0 VGA compatible controller: ATI Technologies Inc Hemlock [ATI Radeon HD 5900 Series] (prog-if 00 [VGA controller])
05:00.1 Audio device: ATI Technologies Inc Cypress HDMI Audio [Radeon HD 5800 Series]
06:00.0 Display controller: ATI Technologies Inc Hemlock [ATI Radeon HD 5900 Series]
09:00.0 VGA compatible controller: ATI Technologies Inc Hemlock [ATI Radeon HD 5900 Series] (prog-if 00 [VGA controller])
09:00.1 Audio device: ATI Technologies Inc Cypress HDMI Audio [Radeon HD 5800 Series]
0a:00.0 Display controller: ATI Technologies Inc Hemlock [ATI Radeon HD 5900 Series]


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: JorgePasada on May 13, 2011, 09:59:59 PM
. . . and my directory structure is really messed up compared to what I think the commands are meant to run with.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 13, 2011, 10:03:27 PM
So just to be sure, I copied the pyopencl-0.92 from a working machine to a newly installed machine that failed to compile and it worked fine.

The packages in the repository for Natty are screwed, plain and simple.  Dunno why yet.  Installing the packages manually  should solve the issue.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Gnaffel on May 13, 2011, 10:19:05 PM
Quote
10. sudo tar xvfz icd-registration.tgz -C /

Just finished that step. Couldn't find the file. Searched for it and couldn't find it anywhere on the filesystem. Ideas?

What does this step even do?

Also, I'm running the default 11.04 build, 64 bit from the Ubuntu website.

git and svn aren't installed by default apparently.

Could you take a look in:
ls /etc/OpenCL/vendors
there should be 2 Ati-registration files: atiocl32.icd  and atiocl64.icd


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 14, 2011, 12:02:11 AM
Did you reboot after doing aticonfig --initial -f --adapter=all

What does aticonfig --lsa return?

What about lspci -v | grep ATI ?

Code:
nathan@TheBeast:~$ aticonfig --lsa
* 0. 05:00.0 ASUS ARES
  1. 06:00.0 ASUS ARES
  2. 09:00.0 ASUS ARES
  3. 0a:00.0 ASUS ARES

* - Default adapter



What's the result of:  history | grep configure



Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: billywilly on May 14, 2011, 01:04:34 AM
have 2 6990's  :(, waiting to updated guide :/


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 14, 2011, 01:21:36 AM
I'm going to redo the whole guide here shortly.  Been getting pushpoold running and I'm building out a pool on one of my systems and it's been taking a lot of my spare time.

I'll try to have an updated guide in the next day or so.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Internet151 on May 14, 2011, 07:49:27 PM
I'm going to redo the whole guide here shortly.  Been getting pushpoold running and I'm building out a pool on one of my systems and it's been taking a lot of my spare time.

I'll try to have an updated guide in the next day or so.

I'm really looking forward to your updated guide, as I can't get linuxcoin working either.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: freecoin on May 14, 2011, 08:06:00 PM
You should now have a fully functional Ubuntu 11.04 mining rig with Phoenix and poclbm installed.
Thanks for that.  Looks like I got everything installed.  Just now realizing why you didn't include Bitcoin in the guide - it's not necessary for mining in a pool (RPC).

Is there any way to test my GPU hash rate without a pool?  I installed Bitcoin using the guide here: http://bitcointalk.org/index.php?topic=6299.40 and I created the bitcoin.conf file but I cannot get solo GPU mining to work.  Just want to test out these GPUs.  

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

[ 0]   Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
[1]   Cypress
[2]   Cypress

$ ./poclbm.py -d 2 --user user --pass password
Problems communicating with bitcoin RPC

phoenix$ ./phoenix.py -u http://user:password@192.168.1.2:8332 -k poclbm DEVICE=1
[14/05/2011 16:01:57] Phoenix r76 starting...
[14/05/2011 16:02:00] Failed to connect, retrying...
[14/05/2011 16:02:18] Failed to connect, retrying...
[0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]


Specs:
Ubuntu 11.04 64-bit, Radeon 5970


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ryepdx on May 16, 2011, 09:26:37 AM
I followed your guide in a clean install of Ubuntu 32-bit, using the 32-bit ATI Stream SDK instead of the 64-bit, but Poclbm won't show either of my 6690s. Aticonfig shows them, so I know they're there and hooked up correctly. Any hints?

Thanks. :-)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: foggyb on May 17, 2011, 12:24:13 AM
Please show guide for solo mining also! Thanks!  :)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: chungenhung on May 17, 2011, 02:34:15 AM
Got error on Step 22.

Code:
lester@Comp005:~/pyopencl-0.92$ make -j3
ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py build
running build
running build_py
running build_ext
building '_cl' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl.cpp -o build/temp.linux-x86_64-2.7/src/wrapper/wrap_cl.o
In file included from src/wrapper/wrap_cl.cpp:1:0:
src/wrapper/wrap_cl.hpp:20:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
lester@Comp005:~/pyopencl-0.92$
What is wrong here?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ryepdx on May 17, 2011, 02:52:46 AM
Wow, I feel like a n00b. I followed your guide to a T, but ATI Stream SDK 2.1 does not support the 6990. I changed that to SDK 2.3 and now everything's working fine. :-)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: jasonk on May 17, 2011, 05:43:32 AM
Why doesn't someone compile a custom Ubuntu Bitcoin Mining package with all steps (or most steps at least) already done?

I'm sure many people would be happy, and tip the person that makes the package. :)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ryepdx on May 17, 2011, 05:29:15 PM
Why doesn't someone compile a custom Ubuntu Bitcoin Mining package with all steps (or most steps at least) already done?

I'm sure many people would be happy, and tip the person that makes the package. :)

Tip away: http://bitcointalk.org/index.php?topic=7374.0 (http://bitcointalk.org/index.php?topic=7374.0)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 17, 2011, 06:09:04 PM
Why doesn't someone compile a custom Ubuntu Bitcoin Mining package with all steps (or most steps at least) already done?

I'm sure many people would be happy, and tip the person that makes the package. :)

Tip away: http://bitcointalk.org/index.php?topic=7374.0 (http://bitcointalk.org/index.php?topic=7374.0)

There are so many things wrong with that distro as to be practically unusable.  It's a good start but it's not anywhere near ready for "production."

It actually takes longer and is harder to setup than a fresh manual Ubuntu install.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: JorgePasada on May 17, 2011, 06:44:51 PM
Btw, instead of exporting your library path, it's probably better to add the config file for those paths to /etc/ld.so.conf.d, then they are applied globally to all accounts.

How does one do this?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: JorgePasada on May 17, 2011, 06:47:13 PM
Just finished following this guide to the best of my ability, using SDK 2.4 instead of 2.3.

I got this error upon trying to run polbcm.py

Code:
bitcoin@bitcoin:~/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

Any help?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: dpc on May 18, 2011, 07:48:14 PM
After using SDK 2.3 instead of 2.1 everything works and I'm now a happy miner with ~155Mhash/s.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: JorgePasada on May 18, 2011, 08:11:33 PM
I just got this working with SDK 2.4, haven't optimized or overclocked yet. Getting Modest #'s.

5970's are at 305 and 5850's are at 260-ish.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: elrock on May 18, 2011, 08:16:05 PM
I just got this working with SDK 2.4, haven't optimized or overclocked yet. Getting Modest #'s.

5970's are at 305 and 5850's are at 260-ish.

How did you get SDK 2.4 to work?  I am getting the same error message as you were and I haven't figured out how to fix it yet.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 19, 2011, 01:45:22 AM
I updated the guide to a more streamlined version the install.  It's still based around v2.1... I don't really have any 6xxx cards to test out the 2.4 SDK.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: csshih on May 19, 2011, 04:08:39 AM
Code:
9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgz9. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt

whoops! I think I see a mistake.

Code:
9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgz
9a(or something). sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt

Is this what you mean?

oh, you did it again here

Code:
28. chmod +x phoenix/phoenix.py poclbm/poclbm.py5. sudo aticonfig --initial -f --adapter=all

do this instead

Code:
28. chmod +x phoenix/phoenix.py poclbm/poclbm.py
28a. sudo aticonfig --initial -f --adapter=all

just making sure the noobs don't get confused.

edit: oh wait you got it ! :D


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 19, 2011, 04:17:10 AM
Whoops, yeah it's fixed now! Thanks! :)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: de4l on May 19, 2011, 09:00:26 AM
I'm getting hung up on step 25: make -j3

if someone could give me a hand I'd appreciate it, trying to make something that works better until/if linuxcoin gets fixed

this is the error I get

Code:
In file included from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13:0,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl.cpp:1:
bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
root@ubuntu:~/pyopencl-0.92#

ps. could this have anything to do with it?
Code:
E: Unable to locate package libboost-all-dev


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: csshih on May 19, 2011, 10:56:48 AM
try installing the  libboost-all-dev package?
sudo apt-get libboost-all-dev ?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: smooth on May 20, 2011, 12:30:48 AM
When executing this

Code:
sudo aticonfig --initial -f --adapter=all

have this back

Code:
sudo aticonfig --initial -f --adapter=all
Uninitialised file found, configuring.
Fail to link to fglrx-libglx.so, please check whether driver is installed correctly
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-1

don't know how to fix this, can someone help me?, have 2x6990's in a non crossfire motherboard, but already achieved in windows to got it working (3 cores bug)

You can ignore that error.  The files it is trying to link aren't needed.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Strom on May 20, 2011, 07:28:21 PM
ps. could this have anything to do with it?
Code:
E: Unable to locate package libboost-all-dev
I experienced that same error and the reason is that the default ubuntu livecd hasn't enabled universe package sources.
Open your system preferences, select update manager, select settings, select the first tab and you can enable universe there.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Strom on May 20, 2011, 08:46:18 PM
Step "make -j3" ends with error:
Code:
/usr/bin/ld: skipping incompatible /opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/libOpenCL.so when searching for -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [all] Error 1
HW: Radeon 5770
This error happens if you try to follow this 64bit tutorial on a 32bit ubuntu installation.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 20, 2011, 08:47:16 PM
What ISO did you download that does not have this?  The default one I downloaded from the Ubuntu site works just fine, I'm curious what you're downloading that isn't working?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Strom on May 20, 2011, 09:10:20 PM
What ISO did you download that does not have this?  The default one I downloaded from the Ubuntu site works just fine, I'm curious what you're downloading that isn't working?
You mean what ISOs don't have universe selected by default?
Well these two for example:
ubuntu-11.04-desktop-i386.iso (SHA1: f54bc1a298d74bb5551f153bdb7e1348c6b94d99)
ubuntu-11.04-desktop-amd64.iso (SHA1: f7b0d2b90fbd49794419338c2b9157c095b11bda)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 20, 2011, 10:02:49 PM
That's the version I am using and it works perfectly fine without any modifications.

f7b0d2b90fbd49794419338c2b9157c095b11bda  ubuntu-11.04-desktop-amd64.iso

I've not tried the i386 version, but I would imagine it is the same.  Unless you are saying you are trying to do all of this off of a running liveCD instance?!

If so, this guide is for an installed version of Ubuntu, not a LiveCD instance (which is why it says Install Ubuntu Natty Narwhal at the beginning of the guide).



Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Strom on May 20, 2011, 10:28:27 PM
Unless you are saying you are trying to do all of this off of a running liveCD instance?!
That's exactly what I'm saying and most likely also what others have tried while getting those errors.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 20, 2011, 11:32:59 PM
Well, that will probably not work right!  Why would one do that, anyway?  Just to try it out?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Strom on May 21, 2011, 06:14:03 AM
Well, that will probably not work right!  Why would one do that, anyway?  Just to try it out?
Because the machine doesn't have a harddrive to install ubuntu to?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: de4l on May 21, 2011, 07:46:22 AM
ps. could this have anything to do with it?
Code:
E: Unable to locate package libboost-all-dev
I experienced that same error and the reason is that the default ubuntu livecd hasn't enabled universe package sources.
Open your system preferences, select update manager, select settings, select the first tab and you can enable universe there.

thanks this was my issue, but now I've given up on live because it was giving me many other issues, so I switched to an install on a 2.5" ide usb drive, and everything works, excellent instructions thank you!


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Muhahahahaz on May 21, 2011, 08:48:38 AM
How do I get two video cards working using this guide? I have 2 x ATI 5970 cards, but only one of them works right now. I can mine on both of the GPUs on the first card, but the second card does not show up as an "adapter" at all. How can I fix this? ???


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 21, 2011, 04:11:52 PM
What does your lspci -v say?

What about aticonfig --lsa ?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: symaxian on May 21, 2011, 06:49:01 PM
Ubuntu Natty(11.04) 64 Bit
Nvidia GTX 260 with the proprietary 270.41.06 drivers installed.

poclbm just spits out "Problems communicating with bitcoin RPC"

Any ideas?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 21, 2011, 08:54:06 PM
This guide isn't really for NVIDIA cards.  However, the problem you're indicating is has something to do with either your login or URL you have in your miner or your network connection/firewall.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Jobbernowl on May 22, 2011, 02:54:58 PM
I've successfully used this guide to setup mining on a 6990 (getting 700MH/s) but there are a few changes necessary. Unfortunately I didn't make notes, so it's possible there's something I've forgotten - but I'll post what I can remember in case it helps anyone else out.

  • Use the 2.4 stream SDK rather than 2.1. You can get this from http://developer.amd.com/gpu/AMDAPPSDK/downloads/Pages/default.aspx (http://developer.amd.com/gpu/AMDAPPSDK/downloads/Pages/default.aspx). Replace ati-stream-sdk-v2.1-lnx64.tgz in the original instructions with AMD-APP-SDK-v2.4-lnx64.tgz.
  • There are two files in /etc/OpenCL/vendors that need to be modified. Change atiocl32.icd and atiocl64.icd so that they contain "libamdocl32.so" and "libamdocl64.so" respectively.

Additionally, in order to be able to run poclbm or aticonfig from a remote SSH session I found that I would have to logon to my Ubutnu desktop at the physical machine. As I wanted to run without a monitor this wasn't ideal, so I setup auto-login using the Ubunutu login screen settings application. I also had to modify /etc/rc.local - adding "xhost +" before "exit 0". Both these things aren't great from a security perspective, so if anyone else can suggest I better way I'd be interested.

Unfortunately I still don't seem able to using aticonfig to read temperatures without a monitor plugged in. I get the following error:
Quote
ERROR - X needs to be running to perform ATI Overdrive(TM) commands
This doesn't make sense because obviously X is running because the system automatically logs on to my Unity desktop. When I can get physical access to the machine again I'll try plugging a null monitor connector onto the graphics card output to see if that helps - but I'd appreciate any other suggestions about what could causing this.

Hope this is helpful to someone!

edit: Changed "xinit +" to "xhost +".


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Jobbernowl on May 22, 2011, 03:07:40 PM
Oh - something else I forgot to mention. It's advised to underclock the memory on the graphics card, but aticonfig won't allow me to take it any lower than the default clock speed. Is any other Linux utility I could use to do this? Alternatively, if I plug the card into a Windows machine and change the clock speeds using Afterburner, will the card remember them when I put it back into my mining PC?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Timon2010 on May 22, 2011, 04:38:04 PM
I've successfully used this guide to setup mining on a 6990 (getting 700MH/s) but there are a few changes necessary. Unfortunately I didn't make notes, so it's possible there's something I've forgotten - but I'll post what I can remember in case it helps anyone else out.

  • Use the 2.4 stream SDK rather than 2.1. You can get this from http://developer.amd.com/gpu/AMDAPPSDK/downloads/Pages/default.aspx (http://developer.amd.com/gpu/AMDAPPSDK/downloads/Pages/default.aspx). Replace ati-stream-sdk-v2.1-lnx64.tgz in the original instructions with AMD-APP-SDK-v2.4-lnx64.tgz.
  • There are two files in /etc/OpenCL/vendors that need to be modified. Change atiocl32.icd and atiocl64.icd so that they contain "libamdocl32.so" and "libamdocl64.so" respectively.

Additionally, in order to be able to run poclbm or aticonfig from a remote SSH session I found that I would have to logon to my Ubutnu desktop at the physical machine. As I wanted to run without a monitor this wasn't ideal, so I setup auto-login using the Ubunutu login screen settings application. I also had to modify /etc/rc.local - adding "xinit +" before "exit 0". Both these things aren't great from a security perspective, so if anyone else can suggest I better way I'd be interested.

Unfortunately I still don't seem able to using aticonfig to read temperatures without a monitor plugged in. I get the following error:
Quote
ERROR - X needs to be running to perform ATI Overdrive(TM) commands
This doesn't make sense because obviously X is running because the system automatically logs on to my Unity desktop. When I can get physical access to the machine again I'll try plugging a null monitor connector onto the graphics card output to see if that helps - but I'd appreciate any other suggestions about what could causing this.

Hope this is helpful to someone!

LOL! I think you just helped me, maybe that's why I never managed to install it successfully with SDK 2.4 .. I think I got error when I came to make -j3. Okay, so I just have to rename those 2 files (the registration) like in your post?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: lexa500 on May 22, 2011, 09:02:20 PM
i have followed the instructions in this topic
and i get the following results:
ati radeon sapphire 5870, gpu@900, mem@900 temp@66 deg. the cooler is default, so i will replace it with smth like Termalright(or zalman? so owerheat is no probelm)
~369-370 mhashes-sec is now.
how can i raise it?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on May 22, 2011, 09:40:38 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.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: JorgePasada on 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.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: de4l on 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
Code:
#!/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
Code:
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


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: SchizophrenicX on 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 :)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on 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
Code:
#!/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
Code:
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. 


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Internet151 on May 23, 2011, 08:50:59 AM
Will this guide work for Ubuntu installed on a usb flash drive?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: gedeon on 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


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: gedeon on May 23, 2011, 03:44:49 PM
ok, i am noob. now it is ok. thx for the guide sir!


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: de4l on 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)


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: ryepdx on 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.

Code:
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.

Code:
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
./poclbm

It 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=all

To 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=all

To 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.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: biochem on 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):
Code:
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


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Internet151 on 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?


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Inaba on 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


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Internet151 on 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.


Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
Post by: Strom on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Internet151 on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 25, 2011, 02:02:31 AM
      Did you choose to encrypt your home directory when installing?  It is an install option.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Internet151 on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Internet151 on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 25, 2011, 03:27:45 PM
      Yeah I totally agree.  I will try to make it a priority asap.  I've not had good luck in the past with running Linux from a USB for anything that requires reliability though.  Probably a failing on my part, but it is what it is :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 25, 2011, 07:15:07 PM
      I have followed these instructions and had quite a few problems (some due to the peculiariteis of ubuntu 11.04).

      First problem is that after last boot, X doesnt come up and this also prevents sshd  from working. It is possible to get a working system by holding the shift key and selecting recovery and restart the x server. I presume this is caused by some incompatibility between Ubuntu 11.04 and the xorg.conf generated by ati-config.

      I have not solved this yet.

      Next problem is as I am using 6990's I need sdk 2.4, but gave an error when poclbm was run, it is necessary to change the contents of /etc/OpenCL/vendors/atiocl32.icd, to make it the same as the biggest library name in the sdk.

      But now, although aticonfig sees all 3 6990 cards, poclbm does not see any of them , just the cpu. I puzzled as to why that should be.

      Any suggestions?



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 25, 2011, 07:20:01 PM


      But now, although aticonfig sees all 3 6990 cards, poclbm does not see any of them , just the cpu. I puzzled as to why that should be.

      Any suggestions?



      I'm in the exact same boat as you, everything seemingly is installed correctly, but clinfo / poclbm only sees my CPU. My setup is Ubuntu 11.04 (though I also tried 10.04 and 10.10 previously with the same results) with the 2.4 sdk, and 11.5 catalyst drivers.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 25, 2011, 07:49:34 PM
      Since posting this, I have realised that the strange boot method means that the xorg.conf actually being used is a much abbrievated one, without any of the GPU info in it.

      So perhaps that explains that. aticonfig does not use xorg.conf so its hardly surprising it knows about the adapters but nothing else does .

      So I am going to put my full xorg.conf here the one I would like to use but in fact it just crashes X or something, and see if anyone has any comments:

      Section "ServerLayout"
         Identifier     "aticonfig Layout"
         Screen      0  "aticonfig-Screen[0]-0" 0 0
         Screen         "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"
         Screen         "aticonfig-Screen[2]-0" RightOf "aticonfig-Screen[1]-0"
         Screen         "aticonfig-Screen[3]-0" RightOf "aticonfig-Screen[2]-0"
         Screen         "aticonfig-Screen[4]-0" RightOf "aticonfig-Screen[3]-0"
         Screen         "aticonfig-Screen[5]-0" RightOf "aticonfig-Screen[4]-0"
      EndSection

      Section "Module"
      EndSection

      Section "Monitor"
         Identifier   "aticonfig-Monitor[0]-0"
         Option       "VendorName" "ATI Proprietary Driver"
         Option       "ModelName" "Generic Autodetecting Monitor"
         Option       "DPMS" "true"
      EndSection

      Section "Monitor"
         Identifier   "aticonfig-Monitor[1]-0"
         Option       "VendorName" "ATI Proprietary Driver"
         Option       "ModelName" "Generic Autodetecting Monitor"
         Option       "DPMS" "true"
      EndSection

      Section "Monitor"
         Identifier   "aticonfig-Monitor[2]-0"
         Option       "VendorName" "ATI Proprietary Driver"
         Option       "ModelName" "Generic Autodetecting Monitor"
         Option       "DPMS" "true"
      EndSection

      Section "Monitor"
         Identifier   "aticonfig-Monitor[3]-0"
         Option       "VendorName" "ATI Proprietary Driver"
         Option       "ModelName" "Generic Autodetecting Monitor"
         Option       "DPMS" "true"
      EndSection

      Section "Monitor"
         Identifier   "aticonfig-Monitor[4]-0"
         Option       "VendorName" "ATI Proprietary Driver"
         Option       "ModelName" "Generic Autodetecting Monitor"
         Option       "DPMS" "true"
      EndSection

      Section "Monitor"
         Identifier   "aticonfig-Monitor[5]-0"
         Option       "VendorName" "ATI Proprietary Driver"
         Option       "ModelName" "Generic Autodetecting Monitor"
         Option       "DPMS" "true"
      EndSection

      Section "Device"
         Identifier  "aticonfig-Device[0]-0"
         Driver      "fglrx"
         BusID       "PCI:19:0:0"
      EndSection

      Section "Device"
         Identifier  "aticonfig-Device[1]-0"
         Driver      "fglrx"
         BusID       "PCI:18:0:0"
      EndSection

      Section "Device"
         Identifier  "aticonfig-Device[2]-0"
         Driver      "fglrx"
         BusID       "PCI:11:0:0"
      EndSection

      Section "Device"
         Identifier  "aticonfig-Device[3]-0"
         Driver      "fglrx"
         BusID       "PCI:10:0:0"
      EndSection

      Section "Device"
         Identifier  "aticonfig-Device[4]-0"
         Driver      "fglrx"
         BusID       "PCI:7:0:0"
      EndSection

      Section "Device"
         Identifier  "aticonfig-Device[5]-0"
         Driver      "fglrx"
         BusID       "PCI:6:0:0"
      EndSection

      Section "Screen"
         Identifier "aticonfig-Screen[0]-0"
         Device     "aticonfig-Device[0]-0"
         Monitor    "aticonfig-Monitor[0]-0"
         DefaultDepth     24
         SubSection "Display"
            Viewport   0 0
            Depth     24
         EndSubSection
      EndSection

      Section "Screen"
         Identifier "aticonfig-Screen[1]-0"
         Device     "aticonfig-Device[1]-0"
         Monitor    "aticonfig-Monitor[1]-0"
         DefaultDepth     24
         SubSection "Display"
            Viewport   0 0
            Depth     24
         EndSubSection
      EndSection

      Section "Screen"
         Identifier "aticonfig-Screen[2]-0"
         Device     "aticonfig-Device[2]-0"
         Monitor    "aticonfig-Monitor[2]-0"
         DefaultDepth     24
         SubSection "Display"
            Viewport   0 0
            Depth     24
         EndSubSection
      EndSection

      Section "Screen"
         Identifier "aticonfig-Screen[3]-0"
         Device     "aticonfig-Device[3]-0"
         Monitor    "aticonfig-Monitor[3]-0"
         DefaultDepth     24
         SubSection "Display"
            Viewport   0 0
            Depth     24
         EndSubSection
      EndSection

      Section "Screen"
         Identifier "aticonfig-Screen[4]-0"
         Device     "aticonfig-Device[4]-0"
         Monitor    "aticonfig-Monitor[4]-0"
         DefaultDepth     24
         SubSection "Display"
            Viewport   0 0
            Depth     24
         EndSubSection
      EndSection

      Section "Screen"
         Identifier "aticonfig-Screen[5]-0"
         Device     "aticonfig-Device[5]-0"
         Monitor    "aticonfig-Monitor[5]-0"
         DefaultDepth     24
         SubSection "Display"
            Viewport   0 0
            Depth     24
         EndSubSection
      EndSection

      Any suggestions on what to do with this aticonfig generated file to make it more palletable ?



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 25, 2011, 08:07:40 PM
      For what it's worth, my xorg.conf is essentially identical to yours, except for only have a single 6990 vs. your 3. I have no boot issues using mine:
      Code:
      Section "ServerLayout"
              Identifier     "aticonfig Layout"
              Screen      0  "aticonfig-Screen[0]-0" 0 0
              Screen         "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"
      EndSection

      Section "Module"
      EndSection

      Section "Monitor"
              Identifier   "aticonfig-Monitor[0]-0"
              Option      "VendorName" "ATI Proprietary Driver"
              Option      "ModelName" "Generic Autodetecting Monitor"
              Option      "DPMS" "true"
      EndSection

      Section "Monitor"
              Identifier   "aticonfig-Monitor[1]-0"
              Option      "VendorName" "ATI Proprietary Driver"
              Option      "ModelName" "Generic Autodetecting Monitor"
              Option      "DPMS" "true"
      EndSection

      Section "Device"
              Identifier  "aticonfig-Device[0]-0"
              Driver      "fglrx"
              BusID       "PCI:3:0:0"
      EndSection

      Section "Device"
              Identifier  "aticonfig-Device[1]-0"
              Driver      "fglrx"
              BusID       "PCI:4:0:0"
      EndSection

      Section "Screen"
              Identifier "aticonfig-Screen[0]-0"
              Device     "aticonfig-Device[0]-0"
              Monitor    "aticonfig-Monitor[0]-0"
              DefaultDepth     24
              SubSection "Display"
                      Viewport   0 0
                      Depth     24
              EndSubSection
      EndSection

      Section "Screen"
              Identifier "aticonfig-Screen[1]-0"
              Device     "aticonfig-Device[1]-0"
              Monitor    "aticonfig-Monitor[1]-0"
              DefaultDepth     24
              SubSection "Display"
                      Viewport   0 0
                      Depth     24
              EndSubSection
      EndSection


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 26, 2011, 12:48:26 AM
      If you can get a terminal up do a

      Code:
      $less /var/log/Xorg.0.log

      scroll down just a little and you'll see where the PCI addresses are detected ... one of those addresses will have an asterisk, *, next to it ... this is your default display adapter.

      Make sure that address is the one in the base "Device" section of xorg.conf

      Code:
      Section "Device"
              Identifier  "aticonfig-Device[0]-0"
              Driver      "fglrx"
              BusID       "PCI:3:0:0"    <----------- put default PCI address here
      EndSection

      Because the PCI addresses change when cards are moved around, new cards, added, change slots, etc, what I do is delete all other reference to devices, screens and monitors except the default one (i.e. begin with minimal xorg.conf that references only the default adapter address and run


      Code:
      $aticonfig --initial -f --adapter=all

      and it populates all the other instances as necessary.

      E.g. begin with this
      Code:
      Section "ServerLayout"
              Identifier     "aticonfig Layout"
              Screen      0  "aticonfig-Screen[0]-0" 0 0
      EndSection

      Section "Module"
      EndSection

      Section "Monitor"
              Identifier   "aticonfig-Monitor[0]-0"
              Option      "VendorName" "ATI Proprietary Driver"
              Option      "ModelName" "Generic Autodetecting Monitor"
              Option      "DPMS" "true"
      EndSection

      Section "Device"
              Identifier  "aticonfig-Device[0]-0"
              Driver      "fglrx"
              BusID       "PCI:3:0:0"
      EndSection

      Section "Screen"
              Identifier "aticonfig-Screen[0]-0"
              Device     "aticonfig-Device[0]-0"
              Monitor    "aticonfig-Monitor[0]-0"
              DefaultDepth     24
              SubSection "Display"
                      Viewport   0 0
                      Depth     24
              EndSubSection
      EndSection

      where the BusID in section "Device" is that of the default device asterisked in "/var/log/Xorg.0.log" .... and run a "aticonfig --initial --adapter=all -f"  as detailed above ... reboot or restart X and see what you got ...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 26, 2011, 01:11:13 AM
      minute_of_angle, I tried your suggestion and in the end the xorg.conf was repopulated with the same sections that were present prior to deletion. Still having the same issue in that fglrxinfo detects the card correctly, but clinfo / any of the miners are unable to do so.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 26, 2011, 01:16:44 AM
      minute_of_angle, I tried your suggestion and in the end the xorg.conf was repopulated with the same sections that were present prior to deletion. Still having the same issue in that fglrxinfo detects the card correctly, but clinfo / any of the miners are unable to do so.

      If
      Code:
      aticonfig --lsa
      returns all the cards as present then the fglrx drivers have loaded

      try a
      $export DISPLAY=0:

      and see if the CLinfo sees it. If not you problems are with OpenCL .... which SDK?

      Have you set the env. variables correctly ... for SDK2.1 installed at /opt/
      Code:
      ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.1-lnx64
      Code:
      LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 26, 2011, 01:25:15 AM
      The --lsa flag does correctly return the cards. I'm using SDK 2.4 since I've got a 6990 and from what I can tell nothing prior supports it. The DISPLAY and other various environment vars are set correct to no avail.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 26, 2011, 01:37:00 AM
      If aticonfig --lsa is working, poclbm will see it.  However, if it's not seeing it, it's not in your xorg.conf file.

      Redo: aticonfig --initial -f --adapter=all

      Then reboot.  Does that fix it?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 26, 2011, 01:54:31 AM

      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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 26, 2011, 04:03:35 AM
      Are you sure you have the SDK installed properly?  Might try going back and doing it again.

      Which file did you install?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Strom on May 26, 2011, 06:48:18 AM
      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.
      You can buy an extra 8GB USB drive and then install ubuntu on that. It's also possible to install ubuntu on a smaller USB drive, but that is not in the scope of this guide.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 08:36:50 AM
      minute_of_angle, I havent tried your suggestion yet, but it seems to me this type of thing may fix it so I will.

      However in the meantime I have been trawling Xorg.1.log.old

      Thought I was really onto something there segmentation fault and all, but turned out to be me pushing the power button to turn the machine off.

      Going to try your suggestion MOA now (or should I abbreviate that to just '  ?)



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 08:48:24 AM
      So heres a funny thing.

      Removed all BusId instances in the xorg.conf, except the 2 for the device I was using. Rebooted all seemed the same.

      But ssh *was* running, unusual. aticonfig --list-adapters sasy it cant help me unless there is an xserver. Expected, then about 2 minutes into the session,. the xserver comes up on the screen.

      Now, aticonfig reports all devices, and poclbm reports a single Cayman GPU. (not a pair)

      Trying to figure what this means.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 08:50:16 AM
      Correction, all Busid removed except the 1st, device "PCI:19:0:0"


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 08:57:18 AM
      Ok, changed the busid for the other one for that adapter. This time there is about 5 minutes of flashing and its clear that continuous attempts are being made to start the X server. I cannot read what flashes on the screen, it flashes thane goes black for about 3 seconds. Writing is white on black.  This time, it doent seem to be giving up, which is obviously what happened last time, but maybe it will.

      So obviously last time I had the Id of the device in the adaptor I was not using.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 26, 2011, 08:57:51 AM
      Correction, all Busid removed except the 1st, device "PCI:19:0:0"

      Okay make exactly this (nothing else) this your new /etc/X11/xorg.conf

      Code:
      Section "ServerLayout"
              Identifier     "aticonfig Layout"
              Screen      0  "aticonfig-Screen[0]-0" 0 0
      EndSection

      Section "Module"
      EndSection

      Section "Monitor"
              Identifier   "aticonfig-Monitor[0]-0"
              Option      "VendorName" "ATI Proprietary Driver"
              Option      "ModelName" "Generic Autodetecting Monitor"
              Option      "DPMS" "true"
      EndSection

      Section "Device"
              Identifier  "aticonfig-Device[0]-0"
              Driver      "fglrx"
              BusID       "PCI:19:0:0"
      EndSection

      Section "Screen"
              Identifier "aticonfig-Screen[0]-0"
              Device     "aticonfig-Device[0]-0"
              Monitor    "aticonfig-Monitor[0]-0"
              DefaultDepth     24
              SubSection "Display"
                      Viewport   0 0
                      Depth     24
              EndSubSection
      EndSection

      and then run
      Code:
      $aticonfig --initial -adapter=all -f

      and then print out what your new /etc/X11/xorg.conf looks like ... or just reboot and it should work.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 09:01:38 AM
      It never did start. I edited the xorg.conf to remove the last buid statement, and the xserver came up at once.

      But, like before only a single Cayman device is seen by poclbm.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 26, 2011, 09:07:24 AM
      It never did start. I edited the xorg.conf to remove the last buid statement, and the xserver came up at once.

      But, like before only a single Cayman device is seen by poclbm.

      From what you are saying you are removing only the BusID line ...

      remove the whole sections ... "Monitor" "Device" "Screen" ... that do not belong to getting the default display up. After you get that up and stable you can build on it ... the other crap is just confusing it since you have heaps of graphic adapters and no monitors .... just get ONE screen working.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 09:41:46 AM
      Alas, MOA, this resultaed in an unbootable configuration. aticonfig did find the single remaining device instance though, and the ordering of screens etc was slightly different.
      Will work on reducing the screens etc to try to get bootable system as suggested.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 11:11:03 AM
      Ok, it seems that it really does not like more than one BusId statement, this causes failure: X will not boot. However if the BusId is the same it does boot, but still does  gives rise to just 1 Caymen device for use by poclbm.

      I think 6990 cards provide 3 devices at 3 different PCI address at boot, a VGA adapter (for use by the bios etc) , an audio adapter and an ATI GPU device. Subsequently I think they reuse the VGA graphics adapter to add the 2nd GPU, this may be quite wrong of course.

      I think that X, thinking there is a VGA adapter at the 2nd location doesnt know what to do.

      This translates as, its broken.

      Somebody with 6990 cards working like to comment?





      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 11:54:25 AM
      Is also hashing at only 100 Mh/sec :(


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: aeroSpike on May 26, 2011, 12:10:13 PM
      I have managed to set this up. I have 2 cards, a 5850 and a 5870. But I only have 1 monitor connected.

      Code:
      aticonfig --list-adapters
      shows my 2 cards, but only 1 is visible with the other commands such as:
      Code:
      aticonfig --odgc --adapter=all

      I suspect this is because one of my cards is disabled because it has no monitor connected. I tried editing /etc/X11/xorg.conf and add a second "Device" section, but to no avail.
      Anybody with a suggestion here? Do I really have to buy a second monitor?

      EDIT: hmm. I reran:
      Code:
      sudo aticonfig --initial -f --adapter=all
      I rebooted and now both my boards are active. Apparently manually editing /etc/X11/xorg.conf and copying the "Device" Section (setting the PCI slot to the correct id) caused aticonfig to create the missing sections. After restarting X I am now mining with 2 boards yet using one single monitor.

      Hope this helps for others who have the same problem.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 26, 2011, 12:18:38 PM
      Are you sure you have the SDK installed properly?  Might try going back and doing it again.

      Which file did you install?

      I appreciate the help so far. I have tried to install process a few times for the SDK, but always with the same results. I'm using the 64bit SDK from http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz. For the "install" process, I've unpacked to /opt, set the associated environment variables:

      export AMDAPPSDKROOT=/opt/AMD-APP-SDK-v2.4-lnx64/
      export AMDAPPSDKSAMPLESROOT=/opt/AMD-APP-SDK-v2.4-lnx64/
      export LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/:/lib:/usr/lib:/usr/local/lib
      export ATISTREAMSDKROOT=/opt/AMD-APP-SDK-v2.4-lnx64/

      export DISPLAY=:0


      It seems to be working to at least some degree as running clinfo does detect both of my CPU cores, just no GPUs. Also, I've noticed that if I try running clinfo as root with sudo, it does error out with:

      /opt/AMD-APP-SDK-v2.4-lnx64/bin/x86_64/clinfo: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

      However, that libOpenCL.so.1 does exist and is found properly when run as a standard user.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 01:24:42 PM
      I am at a similar stage to mjhorn.

      I have started to focus less on the xorgfile, leaving out all bus id statements, and more on PyOpen and the sdk.

      I see 1 Cayman device only.

      Have moved to sdk 2.3. I still see only 1 Cayman device. For a period of 2 days I had 2 of my 3 6990's running (thats 4 devices) under 2.3. I do not seem to be able to achieve even that now.

      CLinfo states there is one GPU and one CPU, effectively agreeing with poclbm.

      I have become addept at changing sdk version, but I wonder if there is something missing when doing a reinstall of the sdk. This is what I do:

      #!/bin/bash
      rm siteconf.py
      sdk=/opt/ati-stream-sdk-v2.3-lnx32

      export LD_LIBRARY_PATH=$sdk/lib/x86
      ./configure.py --cl-inc-dir=$sdk/include/ --cl-lib-dir=$sdk/lib/x86
      make clean
      make -j3
      sudo make install

      And then

      check that the name of the library in /etc/OpenCL/vendors/atiocl32.icd agrees

      and then edit .bashrc for the sdk name which currently is

      export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.3-lnx32/lib/x86/:$LD_LIBRARY_PATH

      Wondering if DISPLAY=:0 is correct.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 03:12:09 PM
      Changing sdk hasnt helped me much, sdk 2.3, and 2.4 both see 1 Cayman gpu. 2.1 none at all.

      This is the script I use to swop sdk's:

      #!/bin/bash
      sdk=/opt/ati-stream-sdk-v2.4-lnx32

      export LD_LIBRARY_PATH=$sdk/lib/x86
      cd ~/pyopencl-0.92
      rm siteconf.py
      ./configure.py --cl-inc-dir=$sdk/include/ --cl-lib-dir=$sdk/lib/x86
      make clean
      make -j3
      sudo make install
      ls -1S $sdk/lib/x86 | head -1 > /tmp/atiocl32.icd
      sudo cp /tmp/atiocl32.icd /etc/OpenCL/vendors/atiocl32.icd
      rm /tmp/atiocl32.icd
      grep LD_LIBRARY_PATH ~/.bashrc | grep -v ati-stream > /tmp/bashrc && cp /tmp/bashrc ~/.bashrc && rm /tmp/bashrc
      echo "export LD_LIBRARY_PATH=$sdk/lib/x86:$LD_LIBRARY_PATH" >> ~/.bashrc




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 26, 2011, 03:58:07 PM
      I'm sorry you guys are having so much trouble.  I'm working on acquiring a 6990 or two and I'll be able to work it out.  It's hard to get a hold of those beasts at a reasonable price.  Hopefully I can get one soon...  I did have one briefly and had some problems, but since I was selling it anyway, I didn't bother to look deeper into the issue.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 26, 2011, 04:22:30 PM
      What town (and country!) are you in Inaba?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 26, 2011, 04:23:11 PM
      I live in Kansas City, KS


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 26, 2011, 04:29:28 PM
      Minty, just curious, what brand are your 3 6990s? Wondering if that might possibly have anything to do with whether or not the cards are detected properly. For what it's worth I've got the Diamond version.

      My only other thought is that at least in my case, I started with what I originally had built as a server/network storage box, so it was only accessible via ssh with no X components installed at all. I've done a pretty minimal X install, but I'm wondering if there are still components I'm missing since I had a non-standard starting point with the Ubuntu install. I think my next step is going to be a fresh install, I'm just a bit hesitant to do so as I do have enough other things running on here currently that it would be quite a hassle to properly back up and reinstall them as well.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darvil on May 27, 2011, 09:45:32 AM
      I want to say I really appreciate your thread.  Helped me alot actually.  Got quite a few cards running now.

      I'll send you some coins.  Starting off with 1 first ;)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ryepdx on May 27, 2011, 11:31:19 PM
      I've been having similar problems getting my 3 cards working. I have two 5970s and a 6990. My issue is identical to the one minty had initially. I see the Ubuntu logo, and then nothing. The monitor (plugged into the 6990 in PCIE_1) gets a signal, though, and if I plug it into the second 5970's top DVI socket I get a "Signal Out Of Range" error on the monitor. :-/


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 28, 2011, 12:05:43 AM
      If you could only see the amount of hair I have left, you would be amazed: I have been tearing it out. But I think I have this figured out now, or at least "a method". The brilliance is not in fact mine.

      I had brought 3 cards, and spent days getting nowhere. I was actually thinking of trying to return them because I was SOOO fed up, the did not after al;l seem to do what it said on the tin, which is work with Linux. I mean not in any simple way, and it all the worse for the fact that some people have it working, with, say the catalyst driver 11.3 which seems to have an installer that is broken on Ubuntu 11.04. And to even get X to accept the xorg.conf, I had to rtake out most of the busid statements, which are supposed to be mandatory. Aaaagh!.

      The solution is Linuxcoin, in this thread. This is a bootable iso image: its not Ubuntu, but it is linux, and everything is installed, and it runs all 6 cores of my 3 6990 cards.

      Of course it would be nice if the power supply did not overheat and blimp of with no warning, but that is another issue!!

      http://forum.bitcoin.org/index.php?topic=7374.0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ryepdx on May 28, 2011, 01:02:19 AM
      The solution is Linuxcoin, in this thread. This is a bootable iso image: its not Ubuntu, but it is linux, and everything is installed, and it runs all 6 cores of my 3 6990 cards.

      Meh. This doesn't help me. I tried Linuxcoin and couldn't get it to boot. :-/

      Thanks though.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mjhorn on May 28, 2011, 06:15:44 PM
      Well, finally able to get things running. After yet another wiping of the drivers and SDK, another reinstall is working, at least when run as root. Still unable to detect the cards as a normal user account however, but this seems like it should be much easier to fix. Any ideas where the permissions might be goofy that clinfo is able to run, but only detects the card as root?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on May 28, 2011, 07:39:12 PM
      Used this guide to setup my 4x gpu machine earlier today and I haven't used Ubuntu since version 6.
      Everything went perfect and I was mining within a couple of hours.

      Thank you very much for taking the time to write and support this guide.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 01:35:50 AM
      Poclbm isn't seeing my 6870's. How do I install 2.4?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 29, 2011, 01:44:47 AM
      When running ./bitcoin -server, it tells me I need to create a .conf file with the rpc stuff, which I did.
      I put it in home/nick/bitcoin/ is that correct or do I put it somewhere else?

      AFAIK about your set-up, it should go in /home/nick/.bitcoin

      with the block data and the wallet.dat


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 04:09:19 AM
      Okay I finally got everything to work.

      When I do ./poclmb.py -o btcguild.com -u (username_user) --pass=(password) -p 8332 -d 1, it gives me problem connecting with bitcoin error. It'll stay there for about a minute, then it'll start mining. But then 5 seconds after that, it'll say "verification failed, check hardware!"

      Help!! So close!!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 29, 2011, 04:17:52 AM
      Okay I finally got everything to work.

      When I do ./poclmb.py -o btcguild.com -u (username_user) --pass=(password) -p 8332 -d 1, it gives me problem connecting with bitcoin error. It'll stay there for about a minute, then it'll start mining. But then 5 seconds after that, it'll say "verification failed, check hardware!"

      Help!! So close!!

      Okay in this thread you have originally asked questions relating to solo mining and then the command you put here is trying to connect to a pool.

      Do you know which it is that you are trying to do, solo mining or pool mining?

      If pool then you shouldn't be running bitcoin -server (it will conflict on 8332) and indeed, do not need to be running any instance of bitcoin whatsoever ....


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 04:24:34 AM
      Really? I didn't mention solo. Anyways, I'm trying to do pool right now, hence the -server.
      I think I got it...the only problem is is that poclmb won't see my other 2 video cards.

      And is there any way to write a batch file type thing to run poclbm on all 4 cards instead of having to type it out on terminal?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 29, 2011, 04:30:47 AM
      Really? I didn't mention solo. Anyways, I'm trying to do pool right now, hence the -server.
      I think I got it...the only problem is is that poclmb won't see my other 2 video cards.

      And is there any way to write a batch file type thing to run poclbm on all 4 cards instead of having to type it out on terminal?

      No, you didn't mention solo ... BUT the only reason you'd need the bitcoin -server locally for a mining set-up is if you were solo mining ....



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 04:37:10 AM
      Oh..didn't know. So pooled mining you don't have to start bitocin with -server?

      Poclbm is working on my 2 5850's, but the 2 6870's are not showing up on poclbm when I enter start it without anything. How do I get the recognized?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 05:17:45 AM
      Is there a way to rewrite the op instructions for sdk 2.4? I think that would solve my problem.
      I tried doing it using AMD-APP...etc and renamed the two files in OpenCL, but then poclbm wouldn't even start, gave me an error.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darbsllim on May 29, 2011, 07:55:52 AM
      I've been at this for about 4 hours.

      THIS GUIDE NEEDS TO BE REWRITTEN!

      For the 32 bit version, it's got all the wrong file path names and commands strewn throughout - for a Ubuntu newb like me I want to smash my screen.

      Now I got it semi working, but when I run poclbm it only displays my CPU, not my graphics cards.

      How do I get the gpus to show?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ryepdx on May 29, 2011, 08:22:32 AM
      How do I get the gpus to show?

      If you're running the 2.1 version of the SDK, then your GPUs may not be supported. I haven't actually set up a miner with 2.4 yet, but I know 2.3 supports all the current ATI GPUs up to the 6990s. To update your SDK, change all the references to 2.1 that you added to your .bashrc to 2.3, then remove the 2.1 SDK folder, replace it with the 2.3 SDK, and rebuild pyopencl.

      If you really want a clean start, you can reinstall Ubuntu and then run these scripts I threw together.

      http://ryepdx.com/bitcoin/prep_up.sh (http://ryepdx.com/bitcoin/prep_up.sh)
      http://ryepdx.com/bitcoin/up_all.sh (http://ryepdx.com/bitcoin/up_all.sh)

      Your computer will reboot after running prep_up.sh. If you don't like that, remove the "sudo reboot" command at the end of the file.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 29, 2011, 02:57:32 PM
      I've been at this for about 4 hours.

      THIS GUIDE NEEDS TO BE REWRITTEN!

      For the 32 bit version, it's got all the wrong file path names and commands strewn throughout - for a Ubuntu newb like me I want to smash my screen.

      Now I got it semi working, but when I run poclbm it only displays my CPU, not my graphics cards.

      How do I get the gpus to show?

      Can you be a little more specific?  What commands and pathnames are incorrect?

      Why is anyone running the 32 bit version anyway?  Are you all really trying to run that old of a CPU that it doesn't have 64bit support?  That's cool if you are, but I didn't expect anyone to be sporting a decade old CPU with mining.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 08:12:24 PM
      Is there a voltage command through terminal?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on May 29, 2011, 09:16:13 PM
      Is there a voltage command through terminal?
      Aticonfig doesn't support voltage modification as far as I know.
      I use AMDOverdriveCtrl instead.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 09:40:19 PM
      Downloaded it through the software center...how do I start it o.o


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 09:45:57 PM
      Nvm got it.
      It says you can only use powertune for 6xxx cards :(


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 29, 2011, 09:51:04 PM
      Will 6870+6990 work if I use 2.4? And will they run on a 850w?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 30, 2011, 02:44:14 AM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.

      Just one more thing, I've never really experienced with clocking stuff, so I need some brief explaination to

      1. Underclocking Memory
      2. Undervolting - ??


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 05:04:10 AM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.

      Just one more thing, I've never really experienced with clocking stuff, so I need some brief explaination to

      1. Underclocking Memory
      2. Undervolting - ??

      -f increases frames every second or something like that. Increase it if you want less desktop lag. People usually use -f 1 for pure mining rigs.

      1. Well if you are in linux, there's no real solution right now except for changing the bios, and you have to use Windows for that. Guide : http://forum.bitcoin.org/index.php?topic=9569.0
      2. Same thing with overvolting, I think..

      Basically, any big under/overclocking has to go through a bios change for linux. Depending what card you have, there will be limits of how much core and memory can go. Asus is the best, can go up to 1000core i think. (5850's) However, underclocking/volting is harder because all the cards have a high lower bound.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 30, 2011, 05:16:27 AM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.

      Just one more thing, I've never really experienced with clocking stuff, so I need some brief explaination to

      1. Underclocking Memory
      2. Undervolting - ??

      -f increases frames every second or something like that. Increase it if you want less desktop lag. People usually use -f 1 for pure mining rigs.

      1. Well if you are in linux, there's no real solution right now except for changing the bios, and you have to use Windows for that. Guide : http://forum.bitcoin.org/index.php?topic=9569.0
      2. Same thing with overvolting, I think..

      Basically, any big under/overclocking has to go through a bios change for linux. Depending what card you have, there will be limits of how much core and memory can go. Asus is the best, can go up to 1000core i think. (5850's) However, underclocking/volting is harder because all the cards have a high lower bound.


      You are wrong about 1). The memory can be underclocked in linux without modifying the bios. Read the forum threads titled the same.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 06:06:44 AM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.

      Just one more thing, I've never really experienced with clocking stuff, so I need some brief explaination to

      1. Underclocking Memory
      2. Undervolting - ??

      -f increases frames every second or something like that. Increase it if you want less desktop lag. People usually use -f 1 for pure mining rigs.

      1. Well if you are in linux, there's no real solution right now except for changing the bios, and you have to use Windows for that. Guide : http://forum.bitcoin.org/index.php?topic=9569.0
      2. Same thing with overvolting, I think..

      Basically, any big under/overclocking has to go through a bios change for linux. Depending what card you have, there will be limits of how much core and memory can go. Asus is the best, can go up to 1000core i think. (5850's) However, underclocking/volting is harder because all the cards have a high lower bound.


      You are wrong about 1). The memory can be underclocked in linux without modifying the bios. Read the forum threads titled the same.

      Yes but not much. If you are going to underclock to the "sweet spot" to raise hashing, you have to modify bios. Lowering the memory just to the lower bound isn't going to do anything.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 30, 2011, 06:24:06 AM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.

      Just one more thing, I've never really experienced with clocking stuff, so I need some brief explaination to

      1. Underclocking Memory
      2. Undervolting - ??

      -f increases frames every second or something like that. Increase it if you want less desktop lag. People usually use -f 1 for pure mining rigs.

      1. Well if you are in linux, there's no real solution right now except for changing the bios, and you have to use Windows for that. Guide : http://forum.bitcoin.org/index.php?topic=9569.0
      2. Same thing with overvolting, I think..

      Basically, any big under/overclocking has to go through a bios change for linux. Depending what card you have, there will be limits of how much core and memory can go. Asus is the best, can go up to 1000core i think. (5850's) However, underclocking/volting is harder because all the cards have a high lower bound.


      You are wrong about 1). The memory can be underclocked in linux without modifying the bios. Read the forum threads titled the same.

      Yes but not much. If you are going to underclock to the "sweet spot" to raise hashing, you have to modify bios. Lowering the memory just to the lower bound isn't going to do anything.

      Wrong again. In linux you can lower the mem. clock of 5970 to 300 without altering the bios ... read the forum threads titled the same. (I do it all the time.)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 05:36:07 PM
      Okay I didn't know about 5970s... But my 5850s are only lower-able to 700 or something.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 30, 2011, 06:55:26 PM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.


      So you are the second person to say the guide needs to be rewritten because there are "errors" but as of yet, no one has pointed out a single error.

      Also, why are you using the 32 bit version of Ubuntu?  I'm not saying there aren't valid reasons to be using it, but I'm just curious if you have a 64 bit CPU, there is absolutely no reason to use the 32 bit version for mining.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ryepdx on May 30, 2011, 08:04:24 PM
      Also, why are you using the 32 bit version of Ubuntu?  I'm not saying there aren't valid reasons to be using it, but I'm just curious if you have a 64 bit CPU, there is absolutely no reason to use the 32 bit version for mining.

      If you have less than 4GB of RAM it's my understanding that a 64-bit OS will only serve to add overhead. I may be wrong about this as I haven't taken time to do much research. It's just what I've heard.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 30, 2011, 08:22:45 PM
      I keep having problems communicating with bitcoin RPC via poclbm (not sure how to use pheonix) can someone give me a hand on this? Also, what does the flag -f# does? Higher number gives higher priority? or what?

      I agree that this guide has gotta be re-written. Theres too much errors on it, especially on the x86 parts.


      So you are the second person to say the guide needs to be rewritten because there are "errors" but as of yet, no one has pointed out a single error.

      Also, why are you using the 32 bit version of Ubuntu?  I'm not saying there aren't valid reasons to be using it, but I'm just curious if you have a 64 bit CPU, there is absolutely no reason to use the 32 bit version for mining.


      Ok I'm sorry if you feel offended, there are a lot of people including myself that have never ever used linux before. And because of that I'm saying that this guide could make do with a little consideration towards these people. It's not like oh theres a simple error here I know what to do. No I don't and I know there are people who doesn't because they PM me. I linked this guide in the Beginner's Guide and I feel that there is plausible cause for a simple revamp.

      As mention, I can't point it out because I don't even know what the command are suppose to do. When I entered them, I don't even know if the output actually worked right. Although after a few days of searching the web and stuff, I got poclbm to work on Ubuntu so I can tell that there are some errors, especially on the x86 parts.

      Ok I'll attempt to try and point out some of them that I think contains an error that you hasn't change yet...
      (Some things u might consider: I know I'm suppose to go System and switch on some 'Universe' thing so that one of the command would go through, it's not mentioned. You made x86 & x64 download both version of stream sdk (Changed), during my x86 install, it got confusing as to which I'm suppose to install [or something] and then later on some of the stuff that requires it I couldn't get the path right since I have both and not know which to use)

      4. needs the 'universe' setting change thing I think...
      11. & 13. are the similar. I'm not sure if it's a required step. Although in 13, 32-bit and 64-bit is doing the same thing.
      16. is really confusing is it right? I'm not sure. And I don't know where everything goes so yea... -.-|||

      4. screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy

      32-bit 11. sudo tar xvfz ati-stream-sdk-v2.1-lnx32.tgz -C /opt
      or
      64-bit 11. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt

      12. sudo tar xvfz icd-registration.tgz -C /


      32-bit 13. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt
      or
      64-bit 13. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt


      32-bit 16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_32/:$LD_LIBRARY_PATH >> .bashrc
      or
      64-bit 16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc

      I don't have all x64 machines. In fact my own PC I've been using for years is a x86, I also got a few 32-bit machines that are sitting in my uncle's store that is doing simple office stuff with PCIe slots I could use. I don't really have a need to until I came across Bitcoin where I'm investing. So I turned it into a mining rig since I'll be getting another MOBO w/ x64 processor I figured I'd use that as my desktop instead. So yes you're right, there are reasons to use it.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ryepdx on May 30, 2011, 08:57:10 PM
      Hey, if it's too complicated for you, just run these scripts:
      http://ryepdx.com/bitcoin/prep_up.sh (http://ryepdx.com/bitcoin/prep_up.sh)
      http://ryepdx.com/bitcoin/up_all.sh (http://ryepdx.com/bitcoin/up_all.sh)

      You might have to type
      chmod +x prep_up.sh up_all.sh
      first to get them to run.

      They're what I've been using to set up my 11.04 boxes. It installs the 2.3 SDK, though, which I've been led to understand is inferior to both 2.1 and 2.4. Haven't been able to get 2.4 to work on my machines yet. Probably because I'm trying to overwrite the old 2.3 install. I plan on trying from a fresh install using this guide sometime later:
      http://forum.bitcoin.org/index.php?topic=10608.0 (http://forum.bitcoin.org/index.php?topic=10608.0)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 09:33:56 PM
      Instead of having to be rewritten for 32 bit, it needs to be rewritten for SDK 2.4...
      Or just a separate guide.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on May 30, 2011, 09:36:26 PM
      I ran those scripts on a 10.10 32 bit install and I am having problems across multiple GPUs.  I am running three Sapphire 5850's

      When I run poclbm without any arguments it will list all of my GPUs as such:
      Quote
         
            0   Cypress
            1   Cypress
            2   Cypress
            3   AMD Sempron(tm) 140 Process

      So, i think great, its running! I then open a new terminal window and do the following:

      Quote
      ./poclbm.py -d 0 --host=btcguild.com --port=8332 --user=MINER_gpu0 --pass=RPCPASS -v -w 128

      It will fire up and run great, and give me decent hashrates since I have not overclocked them yet For example, I am getting about 250,000 Khash/s

      So, I open up  second terminal window to get a miner running on the second GPU. I run the following in it:
      Quote
      ./poclbm.py -d 1 --host=btcguild.com --port=8332 --user=MINER_gpu1 --pass=RPCPASS -v -w 128

      It connects and works like normal, but the hashrate is off... it starts off slow, about 20,000 khash/sec, but then it will get to about 125,000 khash/sec.  Its also at this point that I notice the first miner I ran earlier is also dropping its hasrate to about the same.  Eventually both terminals will get to a point where their hasrates are equal and total up to about 250,000 Khash/sec...which is about what I get on one card!

      So, I am thinking that both miners are computing on the same GPU regardless of which device I specifiy in the command.

      What am I doing wrong?  


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Grinder on May 30, 2011, 09:37:38 PM
      11. & 13. are the similar. I'm not sure if it's a required step. Although in 13, 32-bit and 64-bit is doing the same thing.
      No idea why 13 is there, it's already done in 11, and yes, the 32 bit version is wrong in 13.

      16. is really confusing is it right? I'm not sure. And I don't know where everything goes so yea... -.-|||
      No, its supposed to be like that, although I prefer this version:
      sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
      sudo ldconfig

      Also, the 32 and 64 bit versions could be grouped better to avoid having so many "do either this or that" lines, and some of them could be done in one line using wildcard for the 32/64 part. Regarding all the echo lines, it's possible that people aren't in the home dir when they start. In that case it will fail miserably. Use ~/.bashrc instead just in case.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 30, 2011, 09:48:05 PM
      wait...

      32-bit 16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_32/:$LD_LIBRARY_PATH >> .bashrc

      this is correct? so does the 32-bit do,

      32-bit 11. sudo tar xvfz ati-stream-sdk-v2.1-lnx32.tgz -C /opt

      or

      64-bit 11. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt

      ????

      I've got no experience in Linux less so in scripting... zzz. I even had problem trying to install Win7 off my ext.HDD (doesn't boot Idk why)... But I'm trying.

      Is there any simple site I can learn the basics to automating the drivers (& poclbm) install, after which I need to learn how to script poclbm to run for all my GPU and OC them -.- am I heading in the right direction with this? or are there easier ways to do it?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Grinder on May 30, 2011, 09:51:59 PM
      32-bit 24. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx32/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_32
      is wrong too, should be
      32-bit 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_32


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Grinder on May 30, 2011, 09:52:55 PM
      32-bit 16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_32/:$LD_LIBRARY_PATH >> .bashrc
      this is correct? so does the 32-bit do,
      No, that line should be
      32-bit 16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx32/lib/x86_32/:$LD_LIBRARY_PATH >> .bashrc


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on May 30, 2011, 10:04:47 PM
      Hi all-

      So I'm about to dive into this. On the AMD website they say "Stream SDK" is now "APP SDK":

      http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx

      I have 69XX cards so I know I need 2.3 or 2.4 APP SDK.

      They provide a link to the 2.4 install:
      http://developer.amd.com/Downloads/AMD-APP-SDK-v2.4-lnx32.tgz

      which I presume I would substitute for the 2.1 link provided in the instructions.

      So when I look at the installation notes for APP SDK 2.4, it says a prerequisite is the latest Catalyst drivers, which I guess is this bit:

      http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
      which provides a link to a .run file. Yet your instructions don't mention downloading this first, or at all, that I can see.

      Are the installation notes from AMD just wrong that I need to install these catalyst drivers first?

      Also, if I were to follow these instructions, and they worked, then would I have catalyst available, with it's GUI for adjusting clock speed and such?

      Thanks.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 30, 2011, 10:08:12 PM
      Ok, I've made some changes and fixed the problems noted based on the suggestions.  What's the case for putting your stream path in local.conf as opposed to the .bashrc file?

      As far as v2.4 goes... if someone wants to send me a 6xxx series card to test with, I will be happy to do it.  I don't have one currently, so I haven't gone down that road.  If anyone has a line on 6990's, please let me know, I'm looking to purchase two.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 10:16:07 PM
      I have a 6870 for sale...idk if you want.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 10:51:40 PM
      Hey does anyone know how to solve this:

      I got a 5850, by afox, cuz my dad works for that company.
      However, when I try to overclock it using the aticonfig --od-setclock=800, 1100 --adapter=3 (Which is max)
      Nothing happens. I use aticonfig --odgc --adapter=all to show the clock speeds and it says current clocks : 725, 1000. Current peak : 800, 1100.
      So...the peak changed but the current clock isn't changing. I used AMDOverdriveCtrl, and the "high" profile is indeed 800mhz, but it's not going there. Clicking "set" doesn't do anything either...

      Help!?! Do I need to flash the bios?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mintymark on May 30, 2011, 11:13:55 PM
      Cubedroot, I had this problem once,and I have no idea why. But I can say what fixed it. Use the environment variable:

      export GPU_USE_SYNC_OBJECTS=1

      Then fireup poclb.

      regards,


        MintyMark


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 30, 2011, 11:17:24 PM
      Hey does anyone know how to solve this:

      I got a 5850, by afox, cuz my dad works for that company.
      However, when I try to overclock it using the aticonfig --od-setclock=800, 1100 --adapter=3 (Which is max)
      Nothing happens. I use aticonfig --odgc --adapter=all to show the clock speeds and it says current clocks : 725, 1000. Current peak : 800, 1100.
      So...the peak changed but the current clock isn't changing. I used AMDOverdriveCtrl, and the "high" profile is indeed 800mhz, but it's not going there. Clicking "set" doesn't do anything either...

      Help!?! Do I need to flash the bios?

      Ask your dad?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 30, 2011, 11:27:44 PM
      He doesn't actually know them tho...you know what I mean? He's not actually thattt tech savvy...I doubt he would know how to oc either.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 31, 2011, 12:23:28 AM
      You won't see your card set to peak speeds until you actually have a load put on the GPU.  You need to fire up the miner and it should bump the clock speed up to the peak.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on May 31, 2011, 12:58:25 AM
      I did, and it shows 725 and current clock. Something is not letting me oc it...will flashing it fix it?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 31, 2011, 01:02:50 AM
      Ok, I've made some changes and fixed the problems noted based on the suggestions.  What's the case for putting your stream path in local.conf as opposed to the .bashrc file?

      As far as v2.4 goes... if someone wants to send me a 6xxx series card to test with, I will be happy to do it.  I don't have one currently, so I haven't gone down that road.  If anyone has a line on 6990's, please let me know, I'm looking to purchase two.


      Great, I'll test the 32-Bit now since I my friend just passed 1 over to me, I'll let you know if there are other stuff. Anyway the erm. set to 'Universe' thing I read is about installing libboost, I'm not sure if it's relevant but after enabling that setting installing libboost went through.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 31, 2011, 01:57:03 AM
      I got can't locate libboost from

      #screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy

      Then I had to go to System Settings -> Update Manager -> Settings... -> Ubuntu Software -> [Check] Community-maintained Open Source software (Universe)

      After which I had this

      cryptsetup: WARNING: failed to detect canonical device of aufs
      cryptsetup: WARNING: could not determine root device from /etc/fstab

      from

      screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy

      I continued to follow the rest of the steps with no other notable warnings or errors until.

      make -j3

      this is the output

      src/wrapper/wrap_cl.hpp:20:19: fatal error: CL/cl.h: No such file or directory
      compilation terminated.
      error: command 'gcc' failed with exit status 1
      make: *** [all] Error 1

      Someone wanna help?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 31, 2011, 04:06:27 AM
      Somebody?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Grinder on May 31, 2011, 04:07:24 AM
      What's the case for putting your stream path in local.conf as opposed to the .bashrc file?
      It will always be available. If it's in .bashrc you have to set it explicitly if you're for instance running the script from cron or a boot script.

      Also, it turns out the lib path in the 32 bit package is just lib/x86, not lib/x86_32.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on May 31, 2011, 04:20:44 AM
      Fair enough... made the change and fixed the _32


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on May 31, 2011, 05:15:11 AM
      I think it works now but boot fail after reboot -.- this might have nothing to do with this. I'm reinstalling a fresh

      Anyway, how do I run it as a script? Like save as what file and how do I run it? just double click? hmm..?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on May 31, 2011, 10:33:45 AM
      I can verify the instructions work for 2.4/69xx cards too. I have a 6850 and a 6970 that are running phoenix now on 64-bit Ubuntu. I just needed to substitute 2.4 APP SDK here:

      http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx#one

      for the 2.1 Stream SDK that's in the instructions. And use the icd-registration.tgz that comes with it instead of the one in the instructions. Of course that ripples through to the /opt paths so that they are /opt/AMD-APP-SDK-v2.4-lnx?? instead of /opt/ATI-STREAM-SDK-v2.1-lnx??.

      I had a few quirks, like the wget failed for me; stopped downloading before it had the whole file (stopped after only a few KB, instead of all 70-some MB) so I just downloaded from the APP SDK page in firefox and copied it.

      One minor thing: When it says:

      Code:
      cd poclbm
      ./poclbm

      I think it means
      Code:
      cd poclbm
      ./poclbm.py

      Which works for me.

      And in case other newbies are setting up machines: I had a trouble getting Ubuntu installed. Installer would fail. I finally stumbled on disabling the integrated video on the motherboard, and putting in one of the ATI cards. Then it installed, but graphics were hosed on booting to where you couldn't log in. So hitting escape before boot brings up the grub menu where you can select a low-graphics boot. Then once logged in, I saw the package for proprietary ATI drivers on the software manager. Installed those and then it was fine, and I proceeded as described above.

      Been almost a decade since I used a bash shell in linux, but it's coming back.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 31, 2011, 10:56:05 AM
      I can verify the instructions work for 2.4/69xx cards too. I have a 6850 and a 6970 that are running phoenix now on 64-bit Ubuntu. I just needed to substitute 2.4 APP SDK here:

      http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx#one

      for the 2.1 Stream SDK that's in the instructions. And use the icd-registration.tgz that comes with it instead of the one in the instructions. Of course that ripples through to the /opt paths so that they are /opt/AMD-APP-SDK-v2.4-lnx?? instead of /opt/ATI-STREAM-SDK-v2.1-lnx??.

      I had a few quirks, like the wget failed for me; stopped downloading before it had the whole file (stopped after only a few KB, instead of all 70-some MB) so I just downloaded from the APP SDK page in firefox and copied it.

      One minor thing: When it says:

      Code:
      cd poclbm
      ./poclbm

      I think it means
      Code:
      cd poclbm
      ./poclbm.py

      Which works for me.

      And in case other newbies are setting up machines: I had a trouble getting Ubuntu installed. Installer would fail. I finally stumbled on disabling the integrated video on the motherboard, and putting in one of the ATI cards. Then it installed, but graphics were hosed on booting to where you couldn't log in. So hitting escape before boot brings up the grub menu where you can select a low-graphics boot. Then once logged in, I saw the package for proprietary ATI drivers on the software manager. Installed those and then it was fine, and I proceeded as described above.

      Been almost a decade since I used a bash shell in linux, but it's coming back.


      If this is a dedicated mining rig, here's a tip: if you do have integrated mobo  AMD graphics, you can use that to drive the monitor (assuming you aren't in headless mode) i.e. make the integrated graphics the default adapter for xorg and then the GPU's will work better for dedicated mining ... the GPU that would have been attached to the monitor screen would have been getting fairly frequent xorg calls and interruptions.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on May 31, 2011, 11:19:07 AM
      Schizo-

      That message:
      Code:
      src/wrapper/wrap_cl.hpp:20:19: fatal error: CL/cl.h: No such file or directory

      is telling you the compiler can't find the openCL header file "cl.h". That can be either because it's not there, or it's looking in the wrong place. To verify it's actually there, look at the files in:
      /opt/ati-stream-sdk-v2.1-lnx32/include/CL/
      (assuming you running 32-bit). You should see a file "cl.h" in that directory.

      It should have been put there when you did:
      Code:
      11. sudo tar xvfz ati-stream-sdk-v2.1-lnx32.tgz -C /opt
      which is "unzipping" the contents of the tgz file and dumping them in /opt.

      The other possibility is that this step was missed or messed up:
      Code:
      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_32
      which is what tells pyopencl where to look for the header. You can re-run that step, but it will tell you that you have already configured, and if you want to re-configure, to delete a certain file. I forget what it's called. Just delete it, and re-run the configure step.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on May 31, 2011, 11:34:55 AM
      Quote
      If this is a dedicated mining rig, here's a tip: if you do have integrated mobo  AMD graphics, you can use that to drive the monitor (assuming you aren't in headless mode) i.e. make the integrated graphics the default adapter for xorg and then the GPU's will work better for dedicated mining ... the GPU that would have been attached to the monitor screen would have been getting fairly frequent xorg calls and interruptions.

      Makes sense, thanks. Weighing whether I want to expend the effort (and accept the risk) just to pick up a few MHash/sec.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: marcus_of_augustus on May 31, 2011, 11:38:55 AM
      Quote
      If this is a dedicated mining rig, here's a tip: if you do have integrated mobo  AMD graphics, you can use that to drive the monitor (assuming you aren't in headless mode) i.e. make the integrated graphics the default adapter for xorg and then the GPU's will work better for dedicated mining ... the GPU that would have been attached to the monitor screen would have been getting fairly frequent xorg calls and interruptions.

      Makes sense, thanks. Weighing whether I want to expend the effort (and accept the risk) just to pick up a few MHash/sec.

      Yeah, if onboard graphics is nvidia don't do it .... mostly it is for system stability if you are Ocling the mining GPUs a lot ... you can lose many MHash when system freezing all the time.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Felex on May 31, 2011, 09:52:48 PM
      Can anyone help me with this?

      Code:
      felo@Felo-System:~$ cd poclbm
      felo@Felo-System:~/poclbm$ ./poclbm.py
      Traceback (most recent call last):
        File "./poclbm.py", line 3, in <module>
          import pyopencl as cl
      ImportError: No module named pyopencl
      felo@Felo-System:~/poclbm$

      I did all the steps but i still get this error.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 01, 2011, 12:17:01 AM
      Schizo-

      That message:
      Code:
      src/wrapper/wrap_cl.hpp:20:19: fatal error: CL/cl.h: No such file or directory

      is telling you the compiler can't find the openCL header file "cl.h". That can be either because it's not there, or it's looking in the wrong place. To verify it's actually there, look at the files in:
      /opt/ati-stream-sdk-v2.1-lnx32/include/CL/
      (assuming you running 32-bit). You should see a file "cl.h" in that directory.

      It should have been put there when you did:
      Code:
      11. sudo tar xvfz ati-stream-sdk-v2.1-lnx32.tgz -C /opt
      which is "unzipping" the contents of the tgz file and dumping them in /opt.

      The other possibility is that this step was missed or messed up:
      Code:
      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_32
      which is what tells pyopencl where to look for the header. You can re-run that step, but it will tell you that you have already configured, and if you want to re-configure, to delete a certain file. I forget what it's called. Just delete it, and re-run the configure step.



      Is what I did. I realized somehow I downloaded the x64 instead. And then I was trying to get the x86 installed. However, I looked around /opt/ati-stream-sdkv2.1-lnx64/ and realized there is an x86 folder too hmm...?

      By the way. after I got everything right then reboot, Ubuntu died. Doesn't boot properly anymore. So I'll say it doesn't work? I don't know.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 01, 2011, 12:43:30 AM
      Does someone with a "broken" 32 bit system want to give me SSH access and let me look at what's going on specifically?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 01, 2011, 01:11:56 AM
      Actually. I might but what's SSH and how do I set it up hmm?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on June 01, 2011, 01:29:26 AM
      Quote
      I got everything right then reboot, Ubuntu died. Doesn't boot properly anymore.

      Err.. so what do you observe? Is it by any chance, the redish background displays for a short while, and then just a dark screen? If that happens, try hitting escape before the boot to bring up the grub menu, choose low graphics option and see if you can boot that way.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 01, 2011, 01:57:20 AM
      Actually. I might but what's SSH and how do I set it up hmm?


      Well, you set it up as optional step one in this guide.  However, if you're behind a firewall, you'd have to forward the port on your router to the box (port 22) and give me the ip address and the login/password information.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 01, 2011, 02:11:14 AM
      Hmm I'll be glad to but I'm busy right now and can't attend to this yet. And what is (to the box port 22) forward what to where?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 01, 2011, 03:37:18 AM
      You have to login to your router and forward port 22 to the internal ip address of your mining box.  It's not hard but it's not really something that's easy to explain since every router is different.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Grinder on June 01, 2011, 05:56:48 AM
      ...and fixed the _32
      Not in step 22. You really should start using the search/replace function when you're fixing these kind of mistakes.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Crs on June 01, 2011, 12:44:48 PM
      thanks for this ! it worked for me using the info in this topic


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on June 01, 2011, 04:01:07 PM
      On step 11, there's a vestigial [/color] tag:
      Quote
      11. sudo tar xvfz ati-stream-sdk-v2.1-lnx??.tgz -C /opt[/color]
      you may wish to fix.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 01, 2011, 08:48:57 PM
      Hi sorry TStarter. never got back to you. My working comp just frozed up bad again today. And I've been discussing the idea to a potential investor although this might head no where. I'm intending to expand to a small farm. Thus I'll need to script all these and learn as fast as I can how to remotely administer them. I'll try your guide again with a fresh install of Ubuntu.

      After reading the whole thread again so I don't waste your time on any issues that's already been answered. I realize there is a fundamental difference as I'm running on LiveCD. However, I was able to get the miners to start in one of my installation though, so I'm sure it works too (w/ persistence), like I mention. I'll run the installation through with a fresh installation of LiveCD w/ persistence and let you know.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 01, 2011, 09:41:12 PM
      Yeah this guide isn't intended for the Live versions of Ubuntu, only for dedicated installs.  Some people have apparently gotten it working, but it's just such a hassle and hard drives are dirt cheap and you are somewhat limited with a live install...

      I plan on figuring out how to do this from a USB stick, after that I will probably look into adjusting for a Live install, but both come after I finish my current project which will hopefully be announced RSN.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 01, 2011, 09:53:12 PM
      does the stream sdk 2.1 support 6950 card?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Felex on June 02, 2011, 01:06:16 AM
      I did it all again, and now it's all installed, but it has one problem:

      Code:
      fgdsg@dfgdsgsdgdsg:~/poclbm$ ./poclbm.py
      No device specified or device not found, use -d to specify one of the following

      [0] AMD Sempron(tm) 140 Processor
      [1] Cypress
      [2] Cypress

      What do i have to do to run it?

      I wrote ./poclbm.py -d 1, but i get this:

      Code:
      Problems communicating with bitcoin RPC


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dyaheon on June 02, 2011, 01:21:20 AM
      I did it all again, and now it's all installed, but it has one problem:

      Code:
      fgdsg@dfgdsgsdgdsg:~/poclbm$ ./poclbm.py
      No device specified or device not found, use -d to specify one of the following

      [0] AMD Sempron(tm) 140 Processor
      [1] Cypress
      [2] Cypress

      What do i have to do to run it?

      I wrote ./poclbm.py -d 1, but i get this:

      Code:
      Problems communicating with bitcoin RPC

      You need to point your miner somewhere for it to work. i.e. create account+worker at btcguild and use http://www.btcguild.com/how_to_connect.php for instructions.

      See also ./poclbm.py -h for help.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Felex on June 02, 2011, 01:26:14 AM
      LOL, i skip over that step.  :-[
      Thank you very much.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: snidd111 on June 02, 2011, 02:49:00 AM
      I feel like a n00b here, but does your guide work with nvidia chips? i read through all the pages and there's only one comment that I shouldn't use nvidia if it's onboard.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 02, 2011, 03:03:05 AM
      No, it doesn't.  It's for ATI only.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 02, 2011, 06:38:13 AM
      Hi inaba, I'm using a USB stick Ubuntu LiveCD w/ persistence. I'll get back here to let you know if it works. I'll be doing x86 & x64 installations. Btw great guide. Theres another guide on the x86 yesterday but the commands vastly differs from yours, I'm pretty intrigue haha. Anyway let you know how things turn out.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Internet151 on June 02, 2011, 11:31:48 AM
      After tinkering with this for dozens of hours, I finally got this working on a USB flash drive. Yet after running through the 32-step configuration and restarting, my remote desktop client (Teamviewer) only shows me a black screen for this computer. Would any of you happen to know what's causing this and/or how to fix it?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 02, 2011, 03:05:53 PM
      Can anyone do a quick guide on how to make it work with Phoenix miner?
      Would I be able to simply download the Phoenix miner and start running or does it needs to be compiled?
      Sorry, I am a noob when it comes to Linux.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 02, 2011, 03:24:47 PM
      After tinkering with this for dozens of hours, I finally got this working on a USB flash drive. Yet after running through the 32-step configuration and restarting, my remote desktop client (Teamviewer) only shows me a black screen for this computer. Would any of you happen to know what's causing this and/or how to fix it?

      Can you SSH into the box?
      Can anyone do a quick guide on how to make it work with Phoenix miner?
      Would I be able to simply download the Phoenix miner and start running or does it needs to be compiled?
      Sorry, I am a noob when it comes to Linux.

      Phoenix is downloaded as a part of this guide. You use it in the phoenix directory.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 02, 2011, 03:35:28 PM
      ok, i see.
      So, how do I run multiple instances each with its own window showing the progress?
      I am guessing opening up a terminal, run instance 1, open another terminal, run instance 2, etc.
      Ultimately I am looking to create shortcuts on desktop where I can just double click to launch individual miners.
      Could you show the code to do that?

      Thanks mate, will send donations


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 02, 2011, 03:38:44 PM
      Someone else should be able to help you with that.  I don't use Phoenix as it's too unstable.  But yes, you can open one terminal window for each instance.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: voxobscuro on June 03, 2011, 12:34:33 AM
      Hey there, I think I've about got everything sorted but I've got one last hangup.  poclbm.py doesn't list the graphics card.  
      I installed SDK 2.4, but other than that I followed the 64bit portion of the guide.  Well written too, thanks a lot. 


      Code:
      $sudo aticonfig --lsa
      * 0. 01:00.0 AMD Radeon HD 6800 Series

      * - Default adapter
      $./poclbm.py
      No protocol specified
      No device specified or device not found, use -d to specify one of the following

      [0] AMD Phenom(tm) II X6 1055T Processor
      $

      I also tried testing pool mining on the CPU to see if I did everything right...but I think I've missed something because this is what I get:
      Code:
      $ ./poclbm.py --device=0 --user=___ --pass=___ --host=btcguild.com --port=8332
      No protocol specified
      Exception in thread Thread-2:
      Traceback (most recent call last):
        File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
          self.run()
        File "/usr/lib/python2.7/threading.py", line 505, in run
          self.__target(*self.__args, **self.__kwargs)
        File "/home/vox/sources/poclbm/BitcoinMiner.py", line 272, in miningThread
          self.loadKernel()
        File "/home/vox/sources/poclbm/BitcoinMiner.py", line 373, in loadKernel
          binaryW = open(cacheName, 'wb')
      IOError: [Errno 13] Permission denied: '942631b5db2d61ba4bbed015ac746f71.elf'

      Problems communicating with bitcoin RPC^C                  
      bye

      I did some searching around in the thread here, and read through much of it to solve my other problems, but nothing no this front.  I appreciate any insight.

      EDIT:  I'm not sure if it matters.  The machine currently has a monitor installed, but I did all the config remotely.  I'm not planning on leaving a monitor attached to it, but I'm going to run it as a headless server/miner.

      Thanks
      -vox


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on June 03, 2011, 12:50:24 AM
      Well one thing I did before following the instructions that's not explicitly there in the instructions, as mentioned in my post above, is I installed the proprietary ATI drivers. On the "Ubuntu Software Center", there was a package for the proprietary ATI fglrx driver. The ATI-APP-SDK 2.4 installation notes says that it requires these in order to work. If you don't install those first, don't you just get the default open-source "radeon" driver? Maybe that's why those who don't see their GPUs as available devices aren't detecting them. The OpenCL stack needs the proprietary ATI driver. I don't know for sure. Maybe someone who knows can confirm or deny.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: voxobscuro on June 03, 2011, 01:34:36 AM
      I do have the AMD drivers installed.  I did that bit last night when I installed Ubuntu.  Good thought though....I had to double check to make sure I had done that.

      Weird enough, now that I'm logged into the front end, I get this:
      Code:
      No device specified or device not found, use -d to specify one of the following

      [0]     Barts
      [1]     AMD Phenom(tm) II X6 1055T Processor
      $

      No idea what "Barts" is...but I'm going to try mining with it!

      Edit: nope. Same "permission denied" error message.  I wonder if I messed up some ownership somewhere...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Internet151 on June 03, 2011, 03:06:24 AM
      After tinkering with this for dozens of hours, I finally got this working on a USB flash drive. Yet after running through the 32-step configuration and restarting, my remote desktop client (Teamviewer) only shows me a black screen for this computer. Would any of you happen to know what's causing this and/or how to fix it?

      Can you SSH into the box?
      Can anyone do a quick guide on how to make it work with Phoenix miner?
      Would I be able to simply download the Phoenix miner and start running or does it needs to be compiled?
      Sorry, I am a noob when it comes to Linux.

      Phoenix is downloaded as a part of this guide. You use it in the phoenix directory.

      Yes, and I can still see the mouse move on the Ubuntu machine and left/right click still works through Teamviewer's black screen.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 03, 2011, 03:21:12 AM
      Why are you using Teamviewer if you can use SSH?  Just do everything from SSH, running a desktop is kind of pointless on a mining box.  Is there some reason you want to maintain access to the desktop?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 03, 2011, 03:34:37 AM
      Hi Inaba. Does not running a desktop and have everything in command help reduce power consumption? I'm currently using LinuxCoin and it boots into desktop, after I have all my miners set up I just unplug the monitor. I'd like to know if there is certain advantage to 'not' running a desktop. I'm still trying to grasp what is SSH . Could u point me in the right directioN?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: befuddled on June 03, 2011, 04:02:28 AM
      Quote
      No idea what "Barts" is...but I'm going to try mining with it!

      "Barts" is the ATI codename for the 6800 chipset. "Cayman" is the 6900 series.

      As far as permission denied: yeah either your user doesn't have permissions or the file isn't executable, e.g. "chmod a+x phoenix.py" & cetera.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Sideways on June 03, 2011, 05:15:28 AM
      Unfortunately I still don't seem able to using aticonfig to read temperatures without a monitor plugged in. I get the following error:

      ERROR - X needs to be running to perform ATI Overdrive(TM) commands

      This doesn't make sense because obviously X is running because the system automatically logs on to my Unity desktop. When I can get physical access to the machine again I'll try plugging a null monitor connector onto the graphics card output to see if that helps - but I'd appreciate any other suggestions about what could causing this.

      I'm having the same problem as Jabbernowl here, when I try the commands from a ssh session, it give me errors about The X Server not running, or having to run aticonfig as root; even though I can look over my shoulder and see the gfx desktop running. My intention is to have this box running completely headless, with only a cat5 cable and power going to it... and this is kinda getting in the way =] I haven't tried his suggestion of adding "xhost +" yet, as I have just read though the thread to see if anyone else had asked these questions. I see his, but not any solutions. I imagine it must be possible, because thought the guide there's talk of doing everything from a ssh session so I must be missing something. Anyone know what I'm doing wrong?

      Thanx for the great guide!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: voxobscuro on June 03, 2011, 07:27:47 AM
      Quote
      No idea what "Barts" is...but I'm going to try mining with it!

      "Barts" is the ATI codename for the 6800 chipset. "Cayman" is the 6900 series.

      As far as permission denied: yeah either your user doesn't have permissions or the file isn't executable, e.g. "chmod a+x phoenix.py" & cetera.

      Hey, the issue was that I had done several of the steps from the howto as root ( as opposed to using sudo ).  I chown'd all the poclbm.py and other python files and its working now. 8)

      Its pulling 247000 khash/s...which is well over 4 times what the imac is doing....not sure if thats good or not, but I'm going to sleep regardless.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: TLS freedom on June 04, 2011, 12:46:14 AM
      got to number 16. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk
      its not connecting for some reason? can I move on without it?
      I've checked my firewalls its not blocked there.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 12:53:25 AM
      got to number 16. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk
      its not connecting for some reason? can I move on without it?
      I've checked my firewalls its not blocked there.

      i have the same problem... :( i tried many times and its not connecting or something.
      can anyone help us please?

      svn: OPTIONS of 'http://svn3.xp-dev.com/svn/phoenix-miner/trunk': Could not read status line: Connection reset by peer (http://svn3.xp-dev.com)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: voxobscuro on June 04, 2011, 01:20:04 AM
      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=all

      To 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"

      So, I googled around and tried to look in the documentation for this, but I could sort it out.  How do you set the fan speed back to the point where it can be automatically controlled?  At boot it seems to do a decent job but when I mess with it I have to just leave it at a fixed setting.  A tried `aticonfig --pplib-cmd "set fanspeed 0 auto"` but that seemed to just set it to 0 (I think...I don't remember).

      Cheers,
      vox


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: organofcorti on June 04, 2011, 02:33:49 AM
      Yeah this guide isn't intended for the Live versions of Ubuntu, only for dedicated installs.  Some people have apparently gotten it working, but it's just such a hassle and hard drives are dirt cheap and you are somewhat limited with a live install...

      I plan on figuring out how to do this from a USB stick, after that I will probably look into adjusting for a Live install, but both come after I finish my current project which will hopefully be announced RSN.



      Thought about working with LinuxCoin? They've made a great start on a deb based live OS on flash with persistence.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 02:51:36 AM
      I picked up all the components for an additional mining rig tonight, so I will be trying to do the new install on a USB stick to see what's what as far as that goes.  If it goes ok, I may try a 2.4 install, but it would be with 5xxx series, not 6xxx series, but I don't think that should make to much of a difference.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: TLS freedom on June 04, 2011, 03:26:31 AM
      must have been a temp outage #16. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk
      works now, thanks anyways


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 04, 2011, 04:50:14 AM
      Great Inaba. :) Thanks for the hardwork


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 06:55:24 AM
      Ok, I just finished installing this to a USB key and installing 2.4 instead of 2.1.  I did not have to do anything different to install on a USB stick vs a hard drive, so there are no changes to the guide in that aspect.

      I did not encounter any real problems nor did anything unexpected happen.  This was for the 64 bit install - I haven't tried the 32 bit install.

      Here's the guide for v2.4.



      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:

      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.

      Code:
      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/APPSDK/AMD-APP-SDK-v2.4-lnx32.tgz
      or
      64-bit 9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-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 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 /
      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/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

      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.py

      It 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=all

      To 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=all

      To 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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 04, 2011, 08:27:32 AM
      Don't you think the USB installation would require persistance setting? or does it not require since it's drivers? I'm not sure. thus the question.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 11:53:02 AM
      Persistence setting is only for a live installation.  I don't see any reason why you'd create an install like that, especially on a USB stick.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 12:02:21 PM
      nothing happens here:
      screen -d -m -S stream wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz

      it dont download sdk 2.4

      i had problem with the system not detecting my 6990.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 12:03:53 PM
      Do a "screen -r stream" and see if it's still downloading.  AMD servers were exceptionally slow last night.  Took 20+ minutes to download.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 12:05:59 PM
      i did, still nothing happns. when i enter that code, nothing happens. do u think i should reinstall ubuntu? freshinstall.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 12:14:09 PM
      I don't know what to tell you really, if you're not getting any errors... it works for me as of this post (just tried it). 


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 12:15:50 PM
      the thing is, i tried downloading manually, it downloads, but when i enter: screen -d -m -S stream wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz

      it dont download or do anything


      if u say it works, then i have no choice then re-installing ubuntu right? i think i do that.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 12:22:21 PM
      If you downloaded it manually, then just skip the step.  All that step is doing is downloading it.

      What does it say if you just do it starting at wget and leave off the stuff before it.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 12:55:06 PM
      If you downloaded it manually, then just skip the step.  All that step is doing is downloading it.

      What does it say if you just do it starting at wget and leave off the stuff before it.

      i didnt try that, i formatter and reinstalled ubuntu, i will try now and start from step 1:)

      btw, when everything goes as your guide and i successfully install everything. how do i start mining?
      thanks for your help, i will donate when i mine some bitcoins:)

      edit: installed ubuntu and im downloading sdk 2.4 now, it didnt work when i used this method: screen -d -m -S stream wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz

      but it worked when i used this: wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz

      i had the same problem with:
      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

      i had to use this instead:
      wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz
      wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz

      it downloaded. so its fine as long it downloaded right?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on 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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 01:43:09 PM
      Whoops.  Been fixed.  Remove the wget from that line.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 01:48:59 PM
      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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 02:04:21 PM
      please help, im searching and browsing forum, i cant find anything that help my problem.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 02:16:08 PM
      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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 04, 2011, 02:36:35 PM
      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 <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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on 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.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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on 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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elsteve on 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/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 <module>
          platforms = cl.get_platforms()
      pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 04, 2011, 04:41:56 PM
      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.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elsteve on 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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elsteve on June 04, 2011, 05:53:27 PM
      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!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: pandemic on 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: 168Bgg6HL6bLiUxQDBbdmHRbXtSsMixYCT

      First, 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.

      Code:
      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.py

      It 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=all

      To 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=all

      To 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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Prze_koles on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: shivansps on 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
      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 <module>
          platforms = cl.get_platforms()
      pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code
      shivan@MiningAlpha:~/poclbm$




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on 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.

      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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: pandemic on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on 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?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: shivansps on 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.

      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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on 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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elsteve on June 05, 2011, 12:44:01 AM
      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!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: pandemic on June 05, 2011, 01:30:51 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?

      I was following 2.1. I followed it exactly. Should I try 2.4?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 05, 2011, 03:50:42 AM
      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.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elsteve on June 05, 2011, 04:25:48 AM
      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.

      Not so much - the aticonfig only allows lowering the memory clock rate to 1250 - amdoverdrivectrl will let me take it down to 625... i may clone this install for safe-keeping and do another 'different' setup to see what happens...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: paperfree on June 05, 2011, 05:12:40 PM
      Found a typo in the 2.4 guide on step 22 for the 32-bit version:
      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

      the highlighted 64 should be removed.

      I was having the same problem as Schizo during the make -j3 step:

      src/wrapper/wrap_cl.hpp:20:19: fatal error: CL/cl.h: No such file or directory
      compilation terminated.
      error: command 'gcc' failed with exit status 1
      make: *** [all] Error 1

      After fixing the typo, this error went away, and now everything seems to be working great!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Flappy on June 06, 2011, 05:57:59 AM
      step 25 failed with:
          /bin/sh: ctags: not found

      fixed by doing:
          sudo apt-get install exuberant-ctags


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 06, 2011, 06:02:00 AM
      Persistence setting is only for a live installation.  I don't see any reason why you'd create an install like that, especially on a USB stick.

      Hi Inaba, so what u're saying is that I could install the full OS onto the USB stick. Sorry cuz when I searched for USB installation the first thing I got was on LiveCDs, didn't know u can do that. :) I'll try it out today on my new prototype rig


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 06, 2011, 02:38:11 PM
      step 25 failed with:
          /bin/sh: ctags: not found

      fixed by doing:
          sudo apt-get install exuberant-ctags


      Glad it's working for you, but I feel the need to reiterate the fact that if you are installing extra packages because of a problem and it's not listed in the guide, something is wrong elsewhere and installing extra packages is a band aid to the problem, not a solution.  The guide as written works if the steps are followed exactly.  Installing extra packages or making changes not in the guide indicate that at some point there was a deviation from the guide.

      Persistence setting is only for a live installation.  I don't see any reason why you'd create an install like that, especially on a USB stick.

      Hi Inaba, so what u're saying is that I could install the full OS onto the USB stick. Sorry cuz when I searched for USB installation the first thing I got was on LiveCDs, didn't know u can do that. :) I'll try it out today on my new prototype rig

      Yes, that's what I'm saying.  You may have to change a setting in your bios so that your motherboard recognizes a USB stick as a hard drive and not a floppy, but all my motherboards have this as a default and I did not have to adjust the setting.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Acejam on June 06, 2011, 03:31:12 PM
      I'm going to be using this tutorial later tonight. Just to confirm - this is using the *Desktop* version of Natty, correct? (and NOT the server version?)

      I assumed that the Desktop version was required in order to take advantage of Xserver and such. (needed for GPU activities)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Flappy on June 06, 2011, 08:33:08 PM
      Ok, I tried to install on a fresh Natty Narwhal 64bit USB instance (created with Universal-USB-Installer-1.8.4.7.exe)

      Fails on step 4 - just says screen is terminating.
      When I run without screen it says - E: unable to locate libboost-all-dev


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 06, 2011, 09:38:40 PM
      I'm going to be using this tutorial later tonight. Just to confirm - this is using the *Desktop* version of Natty, correct? (and NOT the server version?)

      I assumed that the Desktop version was required in order to take advantage of Xserver and such. (needed for GPU activities)

      That's correct, use the desktop version.
      Ok, I tried to install on a fresh Natty Narwhal 64bit USB instance (created with Universal-USB-Installer-1.8.4.7.exe)

      Fails on step 4 - just says screen is terminating.
      When I run without screen it says - E: unable to locate libboost-all-dev


      Nowhere in the guide does it say to use "Universal-USB-Installer," whatever that is.  I just finished installing Natty on another USB stick on a different machine.  Zero Problems.

      FOLLOW THE GUIDE.




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 06, 2011, 10:12:03 PM
      how big should the usb stick be?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 06, 2011, 10:23:19 PM
      i followed this guide and at first i got some problems, but later when i tried again after fresh reinstall, i didnt get any problems.

      but i have tow question. i have installed SSH, how do i connect to my mining rig with SSh on my main computer? is it possible to start mining with SSH when the mining rig restarts?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 06, 2011, 10:34:42 PM
      how big should the usb stick be?

      4 Gig would probably be sufficient, but 8 GB probably better.

      I use 8 GB Patriot Rage XT sticks (http://www.amazon.com/gp/product/B003WUX6PG)

      i followed this guide and at first i got some problems, but later when i tried again after fresh reinstall, i didnt get any problems.

      but i have tow question. i have installed SSH, how do i connect to my mining rig with SSh on my main computer? is it possible to start mining with SSH when the mining rig restarts?

      You need an SSH client, such as PuTTY.  I use SecureCRT but it costs money, PuTTY is free.  To answer your question, yes, you can start mining with SSH, that's what I do.  None of my mining boxes have monitors on them (or dummy plugs).


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 06, 2011, 10:39:12 PM
      how big should the usb stick be?

      4 Gig would probably be sufficient, but 8 GB probably better.

      I use 8 GB Patriot Rage XT sticks (http://www.amazon.com/gp/product/B003WUX6PG)

      i followed this guide and at first i got some problems, but later when i tried again after fresh reinstall, i didnt get any problems.

      but i have tow question. i have installed SSH, how do i connect to my mining rig with SSh on my main computer? is it possible to start mining with SSH when the mining rig restarts?

      You need an SSH client, such as PuTTY.  I use SecureCRT but it costs money, PuTTY is free.  To answer your question, yes, you can start mining with SSH, that's what I do.  None of my mining boxes have monitors on them (or dummy plugs).


      thats great, i was worried to have monitor, keyboard and mouse in the kitchen hehe. i have used putty, but i used it on a server i owned a year ago, i just inserted the IP for my server and i could see the desktop and connect. how do i conned to linux when the machine is in LAN network? is there a guide?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 07, 2011, 12:31:53 AM
      how big should the usb stick be?

      4 Gig would probably be sufficient, but 8 GB probably better.

      I use 8 GB Patriot Rage XT sticks (http://www.amazon.com/gp/product/B003WUX6PG)
      So I just used a Kingston 4GB that I have laying around, and the installation process complain that there is not enough space.
      I guess I will need 8GB then.
      What is the best partition for a 8GB USB?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 07, 2011, 03:20:56 AM
      How do I start one miner, then start the second miner, then the third, and then able to switch back to the first to check the progress?
      Also, the miner should not quit when I exit the shell or SSH.
      Help please, thank you guys


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 07, 2011, 04:14:32 AM
      Ok, I tried to install on a fresh Natty Narwhal 64bit USB instance (created with Universal-USB-Installer-1.8.4.7.exe)

      Fails on step 4 - just says screen is terminating.
      When I run without screen it says - E: unable to locate libboost-all-dev


      Thx Inaba, I frequently encountered this problem as I was also using LiveCD installation. You'll have to go to System Settings > Software/Update Manager > Open Source > Check the 'Universe' thing.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 07, 2011, 04:22:17 AM
      How do I start one miner, then start the second miner, then the third, and then able to switch back to the first to check the progress?
      Also, the miner should not quit when I exit the shell or SSH.
      Help please, thank you guys

      You will want to use screen.

      I create two shell scripts, the first one is to start the miners for whatever pool I want to join and has my poclbm.py command line in it.

      The second script is the script that starts all the miner script(s) that I created to start poclbm.

      I then use screen like this:

      screen -d -m -S gpu1 ./miner.sh

      This starts a screen session named "gpu1" with the miner.sh script.

      Then, to reconnect to that session, I use screen -r gpu1

      To detach from that session, I use CTRL-A D

      The miner will stay running even if you log out and when you log back in you can re-attach to that screen if you want, with screen -r gpu1



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Adam on June 07, 2011, 06:02:50 AM
      I'm getting the following error:

      Traceback (most recent call last):
        File "./poclbm.py", line 3, in <module>
          import pyopencl as cl
      ImportError: No module named pyopencl

      When I try to run either miner.  I've tried repeating the steps several times but can't get anything working.  Just wondering if this is a common problem where it might be something obvious?

      Edit: Got it working.  I had originally messed up one of the lines and redoing the steps couldn't fix it (unless there were instructions in the code whizzing by that I didn't read).  Anyway I did a fresh install and it seems to be ok now.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: nakowa on June 07, 2011, 11:29:51 AM
      I have only one 6990 card on board, but when I use aticonfig --list-adapters, I got:

      * 0. 08:00.0 AMD Radeon HD 6990
         1. 07:00.0 AMD Radeon HD 6990

      and I run the miner:
      ./poclbm -u ** --pass ** -o ***... -d 0

      this miner give me about 330 mH/s rate
      but when I try to launch another miner, using device 1, I got error:

      pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

      any suggestions? thanks.


      How do I start one miner, then start the second miner, then the third, and then able to switch back to the first to check the progress?
      Also, the miner should not quit when I exit the shell or SSH.
      Help please, thank you guys

      You will want to use screen.

      I create two shell scripts, the first one is to start the miners for whatever pool I want to join and has my poclbm.py command line in it.

      The second script is the script that starts all the miner script(s) that I created to start poclbm.

      I then use screen like this:

      screen -d -m -S gpu1 ./miner.sh

      This starts a screen session named "gpu1" with the miner.sh script.

      Then, to reconnect to that session, I use screen -r gpu1

      To detach from that session, I use CTRL-A D

      The miner will stay running even if you log out and when you log back in you can re-attach to that screen if you want, with screen -r gpu1




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cbeast on June 07, 2011, 01:31:57 PM
      I have an M4A89GTD mobo and two AMD Sapphire 5830s.

      aticonfig --list-adapters
      * 0. 01:00.0 ATI Radeon HD 5800 Series 
        1. 02:00.0 ATI Radeon HD 5800 Series 


      aticonfig --adapter=0 --od-gettemperature
      Adapter 0 - ATI Radeon HD 5800 Series 
                  Sensor 0: Temperature - 37.00 C
      aticonfig --adapter=1 --od-gettemperature
      ERROR - Get temperature failed for Adapter 1 - ATI Radeon HD 5800 Series

      I switched the slots for the 5830s and get the same thing. I The drivers don't seem to be working. I've re-installed Ubuntu a couple times and get the same error.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 07, 2011, 01:38:53 PM
      hey guys.. need some advice.  I am running my rig headless on ubuntu. I have three miners running in a separate screen session (one for each GPU).  Sometimes a miner will hang up for nefarious reasons. I can still SSH into the machine, and work and the other 2 miners will run as normal.  BUT... if I try to do a kill -15 or even a kill -9 on the PID of the froze miner, the entire system will hang and I cant do anything.  Even if I plug a monitor and keyboard back up it will still be froze.
      The same thing happens if I try to reboot the machine from CLI when a mining script is hung.  Whats the best way to unstick this froze process without killing the entire system?
      Is there a way to detach the particular module for the hung GPU from the kernel without killing the system?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Grinder on June 07, 2011, 01:57:05 PM
      ERROR - Get temperature failed for Adapter 1 - ATI Radeon HD 5800 Series
      Try
      Code:
      DISPLAY=:0.0 aticonfig --pplib-cmd "get temperature 0"
      DISPLAY=:0.1 aticonfig --pplib-cmd "get temperature 0"
      If that works you can save this as a script to get lots of info:
      Code:
      #!/bin/sh
      export DISPLAY=:0.0
      echo Card 1
      aticonfig --pplib-cmd "get temperature 0"
      aticonfig --pplib-cmd "get fanspeed 0"
      aticonfig --pplib-cmd "get activity"
      export DISPLAY=:0.1
      echo Card 2
      aticonfig --pplib-cmd "get temperature 0"
      aticonfig --pplib-cmd "get fanspeed 0"
      aticonfig --pplib-cmd "get activity"


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cbeast on June 07, 2011, 02:20:43 PM
      ERROR - Get temperature failed for Adapter 1 - ATI Radeon HD 5800 Series
      Try
      Code:
      DISPLAY=:0.0 aticonfig --pplib-cmd "get temperature 0"
      DISPLAY=:0.1 aticonfig --pplib-cmd "get temperature 0"
      If that works you can save this as a script to get lots of info:
      Code:
      #!/bin/sh
      export DISPLAY=:0.0
      echo Card 1
      aticonfig --pplib-cmd "get temperature 0"
      aticonfig --pplib-cmd "get fanspeed 0"
      aticonfig --pplib-cmd "get activity"
      export DISPLAY=:0.1
      echo Card 2
      aticonfig --pplib-cmd "get temperature 0"
      aticonfig --pplib-cmd "get fanspeed 0"
      aticonfig --pplib-cmd "get activity"

      With   sudo DISPLAY=:0 aticonfig --pplib-cmd "get temperature 0"
      Temperature for thermal controller 0 is 37.000000
      With   sudo DISPLAY=:0.1 aticonfig --pplib-cmd "get temperature 0"
      ati_pplib_cmd: Unable to open display `:0.1'.
      aticonfig: parsing the command-line failed.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 07, 2011, 02:28:14 PM
      hey guys.. need some advice.  I am running my rig headless on ubuntu. I have three miners running in a separate screen session (one for each GPU).  Sometimes a miner will hang up for nefarious reasons. I can still SSH into the machine, and work and the other 2 miners will run as normal.  BUT... if I try to do a kill -15 or even a kill -9 on the PID of the froze miner, the entire system will hang and I cant do anything.  Even if I plug a monitor and keyboard back up it will still be froze.
      The same thing happens if I try to reboot the machine from CLI when a mining script is hung.  Whats the best way to unstick this froze process without killing the entire system?
      Is there a way to detach the particular module for the hung GPU from the kernel without killing the system?


      I have the same problem and hasn't been able to find a way around it.  I have to end up rebooting the system.  Occasionally, if the shell won't even respond I have to pull the power.  Usually, though, if I do a reboot, it will eventually reboot.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 07, 2011, 02:29:31 PM
      Nakowa & CBeast:

      Are you guys sure you've done sudo aticonfig --initial -f --adapter=all ?  The errors you describe are usually related to the cards not being listed in the xorg.conf file.

      You might try doing that again and reboot and see if it fixes your problem.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cbeast on June 07, 2011, 03:08:22 PM
      I started over with a fresh install of Ubuntu 11.04 x64
      at line 22 I get
      ./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
      bash: ./configure.py: No such file or directory


      wow, somehow I missed the CD step before.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Felex on June 07, 2011, 03:45:57 PM
      When i start mining, after 10 sec i get this msg:

      Quote
      Verification failed, check hardware!

      Don't know why is that. I can mine in W7 without any problems.
      The VGA's are not overclocked.

       ???


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cbeast on June 07, 2011, 07:22:05 PM
      When i start mining, after 10 sec i get this msg:

      Quote
      Verification failed, check hardware!

      Don't know why is that. I can mine in W7 without any problems.
      The VGA's are not overclocked.

       ???

      I got the same thing so I CD to phoenix and it works fine!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: percymate on June 08, 2011, 07:04:16 PM
      The guide works great for me. However, when I try to add a 5970 to my motherboard, X will never start.

      I just get a blank screen that is on, but nothing there. I usually get a cursor on the screen, but it's nowhere to be found.

      Any ideas?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 08, 2011, 07:07:50 PM
      hey guys.. need some advice.  I am running my rig headless on ubuntu. I have three miners running in a separate screen session (one for each GPU).  Sometimes a miner will hang up for nefarious reasons. I can still SSH into the machine, and work and the other 2 miners will run as normal.  BUT... if I try to do a kill -15 or even a kill -9 on the PID of the froze miner, the entire system will hang and I cant do anything.  Even if I plug a monitor and keyboard back up it will still be froze.
      The same thing happens if I try to reboot the machine from CLI when a mining script is hung.  Whats the best way to unstick this froze process without killing the entire system?
      Is there a way to detach the particular module for the hung GPU from the kernel without killing the system?


      I have the same problem and hasn't been able to find a way around it.  I have to end up rebooting the system.  Occasionally, if the shell won't even respond I have to pull the power.  Usually, though, if I do a reboot, it will eventually reboot.

      This is an overclocking issue for me.  The reason why it's not responsive when you switched back to the screen is because the card crashed.  I use this method to test how high I can OC.  If one freezes I just roll it back 25 MHz.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: hugolp on June 08, 2011, 07:10:03 PM
      hey guys.. need some advice.  I am running my rig headless on ubuntu. I have three miners running in a separate screen session (one for each GPU).  Sometimes a miner will hang up for nefarious reasons. I can still SSH into the machine, and work and the other 2 miners will run as normal.  BUT... if I try to do a kill -15 or even a kill -9 on the PID of the froze miner, the entire system will hang and I cant do anything.  Even if I plug a monitor and keyboard back up it will still be froze.
      The same thing happens if I try to reboot the machine from CLI when a mining script is hung.  Whats the best way to unstick this froze process without killing the entire system?
      Is there a way to detach the particular module for the hung GPU from the kernel without killing the system?


      I have exactly the same problem.

      I am using Ubuntu 11.04 (had the same problem with Ubuntu 10.04 LTS), phoenix with phatk, two 5870's. It happens more when I overclocked it more (temperature always under 70).


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 08, 2011, 07:16:22 PM
      I have only one 6990 card on board, but when I use aticonfig --list-adapters, I got:

      * 0. 08:00.0 AMD Radeon HD 6990
         1. 07:00.0 AMD Radeon HD 6990

      and I run the miner:
      ./poclbm -u ** --pass ** -o ***... -d 0

      this miner give me about 330 mH/s rate
      but when I try to launch another miner, using device 1, I got error:

      pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

      any suggestions? thanks.



      You got the wrong syntax for sure.   For example, this is what deepbit uses.  (I would double check the device syntax, could be --Device or -Device.)

      poclbm.exe -d1 --host=pit.deepbit.net --port=8332 --user=example@example.com --pass=password -DEVICE 0
      poclbm.exe -d1 --host=pit.deepbit.net --port=8332 --user=example@example.com --pass=password -DEVICE 1


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 08, 2011, 07:25:56 PM
      The guide works great for me. However, when I try to add a 5970 to my motherboard, X will never start.

      I just get a blank screen that is on, but nothing there. I usually get a cursor on the screen, but it's nowhere to be found.

      Any ideas?

      Are you sure you've done aticonfig --initial -f --adapter=all after you've added the 5970?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: qualia8 on June 09, 2011, 04:54:29 AM
      ah!  my problem is step #31:

      PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
      Failed to initialize libglx for discrete GPU
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.original-0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 09, 2011, 05:03:55 AM
      How do i "install' Ubuntu onto the USB? and by the way I think I only have 4GB USB sticks -.-


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 09, 2011, 05:11:46 AM
      Click "install" just like you are installing on a hard drive.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: miningnew on June 09, 2011, 12:02:14 PM
      http://www.amazon.de/Corsair-Flash-Voyager-USB-Stick-8GB/dp/B000J35DR8/ref=sr_1_3?ie=UTF8&qid=1307620787&sr=8-3

      Will this USB STICK will be okay for installing ubuntu and mine??

      Or can i buy cheaper like http://www.amazon.de/Transcend-JetFlash-600-Speicherstick-Retail/dp/B002QCAN9S/ref=sr_1_1?ie=UTF8&qid=1307621420&sr=8-1


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 09, 2011, 02:26:48 PM
      Any USB stick will probably work... it just depends on how slow you want it to be.  The Rage XT ones I use are pretty speedy at 25 MB/s write, though it's definitely noticeably slower than an HD of course.  Some sticks are so slow I wouldn't use them, but I can't say for sure which sticks those would be.  I found the Rage XT to work fast enough for me, so I stick with them.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: miningnew on June 09, 2011, 08:25:49 PM
      The stick i am going to use would have16mb /s
      Does it affect the hash rate?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 09, 2011, 08:42:31 PM
      It does not affect hash rate... only boot times and anytime something has to be done on the hard drive. 


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: tvar on June 09, 2011, 09:27:43 PM
      If I wanted to install both SDK 2.1 and 2.4 to try them both, is it as simple as following the both sets of SDK download/configure instructions, then just echoing the correct version into /etc/ld.so.conf.d/local.conf, and running ldconfig?  Can I switch back and forth?  I might end up with a system with both 5xxx and 6xxx cards, so I'm not sure what version would be best.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 09, 2011, 09:29:14 PM
      6xxx cards don't work with v2.1.

      To answer your question, I don't know... probably that would work but I can't say for sure. You'd have to change the icd as well


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: tvar on June 09, 2011, 09:37:06 PM
      Well that simplifies things a bit.  Thanks for the info!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 10, 2011, 05:05:32 AM
      How did you guys get around the error that ATI gives when you try to run aticonfig from an SSH session?

      When I SSH into my miner and run aticonfig --odgt --adapter=all   I get this error:  ERROR - X needs to be running to perform ATI Overdrive(TM) commands


      I know X is running, because there is a gnome session set to autologin, and I can plug up a display and see it sitting at the desktop.  I though X was indeed running.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 05:06:53 AM
      Are you running it as the same user that is logged in? 

      Try sudo aticonfig.

      Are you using 2.4 or 2.1?  2.4 seems to have more issues with the error described than 2.1 does.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 10, 2011, 05:11:01 AM
      Running 2.4
      I SSH in as the user that is logged in.  I have tried running aticonfig as normal logged in user, as well as trying to sudo it.  I have also tried switching to root and have same results.   I am thinking about ripping out gnome and installing XFCE


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 05:12:44 AM
      Have you done sudo aticonfig --initial -f --adapter=all ?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 10, 2011, 11:44:55 AM
      Yeah, I have run sudo aticonfig --initial --adapter=all

      I have been mining on this machine for quite a while without any problems, except for not being able to use the aticonfig commands from SSH. 


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on June 10, 2011, 12:24:00 PM
      Hi Inaba, I am wondering if you have any ideas about how I can upgrade from SDK 2.1 -> 2.4 for testing purposes (note I want to keep 2.1 incase I want to roll back)
      I created a thread here http://forum.bitcoin.org/index.php?topic=14292.0 but if you could help me that would be amazing.

      Thanks!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: asfas16123 on June 10, 2011, 12:31:45 PM
      Is anyone else getting crashes with settings above aggression 6 or 7 on ubuntu or xubuntu?
      I am runnning all my GPUs on aggression 6 because otherwise it is instable, FASTLOOP also makes it instable. The whole box crashes and becomes unresponsive, after minutes, sometimes a few hours of uptime.
      I use sempron 140 cpus and 2 gigs of ram.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on June 10, 2011, 12:43:02 PM
      Is anyone else getting crashes with settings above aggression 6 or 7 on ubuntu or xubuntu?
      I am runnning all my GPUs on aggression 6 because otherwise it is instable, FASTLOOP also makes it instable. The whole box crashes and becomes unresponsive, after minutes, sometimes a few hours of uptime.
      I use sempron 140 cpus and 2 gigs of ram.


      I use 4 gpus and the same cpu, I use aggression 13 and fastloop false, no crashing here :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 12:50:06 PM
      Yeah, I have run sudo aticonfig --initial --adapter=all

      I have been mining on this machine for quite a while without any problems, except for not being able to use the aticonfig commands from SSH. 

      i have the same problem. i even tried aticonfig --adapter=1 --odsc=950,900 and aticonfig --adapter=0 --odsc=950,900


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: gedeon on June 10, 2011, 12:52:08 PM
      hi,

      i used this guide again..:) everything was fine, but after sudo reboot i see only a mouse cursor, everything is frozen...



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 12:53:31 PM
      why "sudo aticonfig --initial --adapter=all or aticonfig --adapter=1 --odsc=950,900 and aticonfig --adapter=0 --odsc=950,900" dont work on ssh?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dukejer on June 10, 2011, 01:02:34 PM
      why "sudo aticonfig --initial --adapter=all or aticonfig --adapter=1 --odsc=950,900 and aticonfig --adapter=0 --odsc=950,900" dont work on ssh?

      Hi darkpandora,

      Try this instead.

      DISPLAY=:0 sudo aticonfig --initial --adapter=all

      -Dukejer

      If you find this post helpful feel free to donate to address: 19oQLN2v1auiGqBDFfxSDUfu8Ax6ooT6xs


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: asfas16123 on June 10, 2011, 01:28:36 PM
      Is anyone else getting crashes with settings above aggression 6 or 7 on ubuntu or xubuntu?
      I am runnning all my GPUs on aggression 6 because otherwise it is instable, FASTLOOP also makes it instable. The whole box crashes and becomes unresponsive, after minutes, sometimes a few hours of uptime.
      I use sempron 140 cpus and 2 gigs of ram.


      I use 4 gpus and the same cpu, I use aggression 13 and fastloop false, no crashing here :)

      what linux distro are you using?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 10, 2011, 01:49:33 PM
      Is anyone else getting crashes with settings above aggression 6 or 7 on ubuntu or xubuntu?
      I am runnning all my GPUs on aggression 6 because otherwise it is instable, FASTLOOP also makes it instable. The whole box crashes and becomes unresponsive, after minutes, sometimes a few hours of uptime.
      I use sempron 140 cpus and 2 gigs of ram.
      Yes, that seems to happen to me too.
      I use Athlon X2 245.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 10, 2011, 01:50:18 PM
      why "sudo aticonfig --initial --adapter=all or aticonfig --adapter=1 --odsc=950,900 and aticonfig --adapter=0 --odsc=950,900" dont work on ssh?

      Hi darkpandora,

      Try this instead.

      DISPLAY=:0 sudo aticonfig --initial --adapter=all

      -Dukejer

      If you find this post helpful feel free to donate to address: 19oQLN2v1auiGqBDFfxSDUfu8Ax6ooT6xs

      I still get the error complaining about X not running when SSH'd in and running DISPLAY=:0 sudo aticonfig --whateverargument --whateveradapter




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 01:57:47 PM
      why "sudo aticonfig --initial --adapter=all or aticonfig --adapter=1 --odsc=950,900 and aticonfig --adapter=0 --odsc=950,900" dont work on ssh?

      Hi darkpandora,

      Try this instead.

      DISPLAY=:0 sudo aticonfig --initial --adapter=all

      -Dukejer

      If you find this post helpful feel free to donate to address: 19oQLN2v1auiGqBDFfxSDUfu8Ax6ooT6xs

      when i enter this: DISPLAY=:0 sudo aticonfig --initial --adapter=all
      i get this error:


      $ DISPLAY=:0 sudo aticonfig --initial --adapter=all
      No protocol specified
      Found fglrx primary device section
      Found fglrx primary device section
      PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
      Failed to initialize libglx for discrete GPU
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.fglrx-1


      and when i enter this: aticonfig --od-setclocks=900,1000 --adapter=all
      i get this:


      ~$ aticonfig --od-setclocks=900,1000 --adapter=all
      ERROR - Set clocks failed for Adapter 0 - AMD Radeon HD 6990
              Please check that input values were valid
      ERROR - Set clocks failed for Adapter 1 - AMD Radeon HD 6990
              Please check that input values were valid


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 02:12:46 PM
      You need to force aticonfig.

      As stated in the guide, use sudo aticonfig --initial -f --adapter=all.  Not sudo aticonfig --initial --adapter=all


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 02:16:55 PM
      You need to force aticonfig.

      As stated in the guide, use sudo aticonfig --initial -f --adapter=all.  Not sudo aticonfig --initial --adapter=all

      thx. but i get this error when i enter sudo aticonfig --initial -f --adapter=all

      No protocol specified
      Uninitialised file found, configuring.
      PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
      Failed to initialize libglx for discrete GPU
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.fglrx-2


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 02:19:59 PM
      Are you using a 64 bit distro or a 32 bit?

      Also do an lspci -v and put the output on pastebin.  I am would like to see your config and if someone else also is having the same problem, the output of lspci -v as well.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 02:21:44 PM
      i use ubuntu 64bit.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mouser98 on June 10, 2011, 02:22:47 PM
      i accidentally started my CPU (DEVICE=0) mining, what is the command to turn it off?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 02:27:12 PM
      i use ubuntu 64bit.

      do an lspci -v and put the output on pastebin.  I am would like to see your config and if someone else also is having the same problem, the output of lspci -v as well.


      ctrl-c
      i accidentally started my CPU (DEVICE=0) mining, what is the command to turn it off?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cbeast on June 10, 2011, 02:28:47 PM
      You need to force aticonfig.

      As stated in the guide, use sudo aticonfig --initial -f --adapter=all.  Not sudo aticonfig --initial --adapter=all

      thx. but i get this error when i enter sudo aticonfig --initial -f --adapter=all

      No protocol specified
      Uninitialised file found, configuring.
      PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
      Failed to initialize libglx for discrete GPU
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.fglrx-2


      I think I had that one too. I reinstalled Ubuntu, make sure you do not check the online update options. Just copy/paste the command strings one at a time and follow the guide precisely and it will work.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mouser98 on June 10, 2011, 02:32:43 PM
      You need to force aticonfig.

      As stated in the guide, use sudo aticonfig --initial -f --adapter=all.  Not sudo aticonfig --initial --adapter=all

      thx. but i get this error when i enter sudo aticonfig --initial -f --adapter=all

      No protocol specified
      Uninitialised file found, configuring.
      PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
      Failed to initialize libglx for discrete GPU
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.fglrx-2


      I think I had that one too. I reinstalled Ubuntu, make sure you do not check the online update options. Just copy/paste the command strings one at a time and follow the guide precisely and it will work.

      can you copy paste into the putty shell?  i typed all that stuff in by hand :)

      sorry to keep asking noob linux questions, but you say ctrl-c to shut down the CPU, but how would i do that in SSH?  how do i point that at DEVICE=0?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 02:33:42 PM
      i use ubuntu 64bit.

      do an lspci -v and put the output on pastebin.  I am would like to see your config and if someone else also is having the same problem, the output of lspci -v as well.


      ctrl-c
      i accidentally started my CPU (DEVICE=0) mining, what is the command to turn it off?

      here:)
      http://pastebin.com/MWjPEQs4


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 02:35:37 PM
      Yes, you can paste into PuTTY.   I don't understand your second question, though?

      If you are on the screen with the miner that is using the CPU, just use ctrl-c to kill the miner.  Or, if you haven't backgrounded the process (which you probably haven't) just killing the PuTTY session and opening another one should kill it.




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 02:37:10 PM
      That can't be all of the output for lspci -v.  I think it got cut off.  It's missing a bunch of information.  Specifically, none of your graphics cards are listed.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mouser98 on June 10, 2011, 02:38:32 PM
      Yes, you can paste into PuTTY.   I don't understand your second question, though?

      If you are on the screen with the miner that is using the CPU, just use ctrl-c to kill the miner.  Or, if you haven't backgrounded the process (which you probably haven't) just killing the PuTTY session and opening another one should kill it.




      okay i think i understand.  thanks :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 02:40:24 PM
      That can't be all of the output for lspci -v.  I think it got cut off.  It's missing a bunch of information.  Specifically, none of your graphics cards are listed.

      that was all i got, from top to bottom. what should i do? reinstall ubuntu and avoid updates?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 02:42:31 PM
      That can't be all of the output for lspci -v.  I think it got cut off.  It's missing a bunch of information.  Specifically, none of your graphics cards are listed.

      that was all i got, from top to bottom. what should i do? reinstall ubuntu and avoid updates?

      There is no way that's all you got.  You need to scroll up and get the rest of it.

      You could also do lspci -v > output.txt and then copy the contents of output.txt to pastebin.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 02:47:06 PM
      That can't be all of the output for lspci -v.  I think it got cut off.  It's missing a bunch of information.  Specifically, none of your graphics cards are listed.

      that was all i got, from top to bottom. what should i do? reinstall ubuntu and avoid updates?

      There is no way that's all you got.  You need to scroll up and get the rest of it.

      You could also do lspci -v > output.txt and then copy the contents of output.txt to pastebin.

      hers and image of the screen. there is no more scroll up:(
      http://img709.imageshack.us/img709/928/16679163.png


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: asfas16123 on June 10, 2011, 03:19:32 PM
      Is anyone else getting crashes with settings above aggression 6 or 7 on ubuntu or xubuntu?
      I am runnning all my GPUs on aggression 6 because otherwise it is instable, FASTLOOP also makes it instable. The whole box crashes and becomes unresponsive, after minutes, sometimes a few hours of uptime.
      I use sempron 140 cpus and 2 gigs of ram.
      Yes, that seems to happen to me too.
      I use Athlon X2 245.

      are you by chance running linux from a flashdrive? I think this might be the reason


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 10, 2011, 04:17:06 PM
      You screen buffer is too small, you need to increase it in PuTTY.  Don't ask me how to do that, because I don't use PuTTY (I use SecureCRT).

      I set my buffer to 32000 lines of scrollback.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: gedeon on June 10, 2011, 05:57:15 PM
      hi,

      i installed 2 another machine, but if i ty to start them, i get the error message
      Problems communicating with bitcoin RPC

      ./poclbm.py --platform 1 -d2 -v -f10 --host=http://xxxx --user=xxx --pass=xxx

      any idea?

      i am using a vigor router, checked firewall, and port forward settings 15x.

      and one of my machines is working....

      thx

      Gedeon


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on June 10, 2011, 06:11:44 PM
      Does anyone know how to upgrade from SDK 2.1 to SDK 2.4?
      Or install 2.4 in a separate location for testing purposes?

      please help, thank you


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 10, 2011, 09:06:47 PM
      You screen buffer is too small, you need to increase it in PuTTY.  Don't ask me how to do that, because I don't use PuTTY (I use SecureCRT).

      I set my buffer to 32000 lines of scrollback.


      i set mine to 50000 lines. this is what i got: http://pastebin.com/rRr105GP
      and i reinstalled ubuntu to be 100% sure it was not the updates that was causing this.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: jpm99 on June 10, 2011, 11:36:49 PM
      I was running fine using this guide with 1 6950, but after adding another one, and going back through all the install steps, I am now getting an error when I try to start the miner.  It looks like both aticonfig and poclbm can see my cards...

      ~/poclbm$ ./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[/color]

        ..., but then when I try to start it using phoenix, I get this (even though I am using the DEVICE=0 argument)...

        ~/phoenix$ ./phoenix.py -u http://username:password@mining.bitcoin.cz:8332/;askrate=10 -k poclbm DEVICE=0 VECTORS BFI_INT AGGRESSION=8
        No device specified or device not found, use DEVICE=ID to specify one of the following

         
      • Cayman                         
      • [1] Cayman                         
          [2] AMD Athlon(tm) II X2 250 Processor
      [0 Khash/sec] [0 Accepted] [0 Rejected]-k: command not found

      I'm sure I am missing something obvious, but any help is appreciated.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 11, 2011, 12:00:03 AM
      Inaba, I'm having trouble 'not' using live.

      Do I have to do the installation while running Ubuntu onto the USB stick? [meaning have and running a working version of Ubuntu before I could install it onto a USB stick]

      After that do what this guide does... but first...
      How do I SSH, must I do it in Ubuntu to Ubuntu or can I do it using Windows to Ubuntu?

      Sorry, but I have no prior experience in Linux. So this is hard for me... thanks for your patience... really.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: jpm99 on June 11, 2011, 12:02:31 AM
      The formatting got screwed up, the first card came up as [Zero] Caymen

      Which I'm interpreting as devices 0 and 1 are my 6950s and 2 as my CPU


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 11, 2011, 12:16:00 AM
      Inaba, I'm having trouble 'not' using live.

      Do I have to do the installation while running Ubuntu onto the USB stick? [meaning have and running a working version of Ubuntu before I could install it onto a USB stick]

      After that do what this guide does... but first...
      How do I SSH, must I do it in Ubuntu to Ubuntu or can I do it using Windows to Ubuntu?

      Sorry, but I have no prior experience in Linux. So this is hard for me... thanks for your patience... really.

      you can ssh from windows to ubuntu. this is what im doing:) my mining rig is in the kitchen and my computer is in my room.

      you need to install ssh server on ubuntu: sudo apt-get install openssh-server
      then find out what ip ur ubuntu is on. you do it by typing this in terminal: ifconfig

      on windows, download putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
      then insert the ip on putty, login. thats it.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 11, 2011, 12:24:09 AM
      You screen buffer is too small, you need to increase it in PuTTY.  Don't ask me how to do that, because I don't use PuTTY (I use SecureCRT).

      I set my buffer to 32000 lines of scrollback.


      i set mine to 50000 lines. this is what i got: http://pastebin.com/rRr105GP
      and i reinstalled ubuntu to be 100% sure it was not the updates that was causing this.

      Based on your lspci output, it looks like the drivers are not installed properly.  You may want to go back and review the output of installing fglrx.  If nothing else, reinstall and on the line that installs fglrx, leave that out, then do it manually with apt-get install fglrx and see if it comes back with an error.

      The formatting got screwed up, the first card came up as [Zero] Caymen

      Which I'm interpreting as devices 0 and 1 are my 6950s and 2 as my CPU

      Put your stuff in [ code ] blocks to keep it from being munged up by the forum.  But to answer your question, you've got a messed up phoenix command line.  there shouldn't be a trailing / after the port and definitely no ;.  It may be affecting the rest of it, fix those and see if it helps.

      Inaba, I'm having trouble 'not' using live.

      Do I have to do the installation while running Ubuntu onto the USB stick? [meaning have and running a working version of Ubuntu before I could install it onto a USB stick]

      After that do what this guide does... but first...
      How do I SSH, must I do it in Ubuntu to Ubuntu or can I do it using Windows to Ubuntu?

      Sorry, but I have no prior experience in Linux. So this is hard for me... thanks for your patience... really.

      I'm not really following your question(s)?  You put the CD in the drive, boot it up and it gives you two choices... I forget what the first one is on the left, and the second one on the right is Install Ubuntu (or something like that) - you click Install Ubuntu and start the installation process.

      For SSH, you need to use PuTTY or another SSH program (I use SecureCRT, so I can't answer specific questions about PuTTY).  PuTTY as well as other SSH clients are available for Windows.

      When I install a new box, after the install is done, I immediately open a console window type "sudo apt-get install openssh-server".  After it's done, verify it's IP address, unplug the monitor, keyboard and mouse.  I then connect on my development machine with SecureCRT to the IP address of the new Ubuntu box and continue the install from there.  Never again does the box see a monitor, mouse or keyboard unless there's a problem.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 11, 2011, 12:32:36 AM
      how do i install the driver manually?
      btw, i skipped step 7 when i followed your guide for v2.4.
      7. screen -d -m -S icd wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz

      thanks


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: jpm99 on June 11, 2011, 02:50:59 AM
      Thanks Inaba, that was it.  I knew I was doing something dumb (I sent you a donation).  Now I have both cards working, and the problem is the heat  ::)

      Before I was using AMDOverdriveCtrl to dial back the memory clock to 350-400 and lower the voltage a bit on the single card.  That allowed me to get improved hash speed without heating up too much.  But the AMDOverdriveCtrl GUI only seems to work on the first adapter.  Do you know a way to use AMDOverdriveCtrl on the 2nd adapter via command line or override the "configurable peak range" with aticonfig?  (If I try to lower the memory clock, it tells me that it is outside the configurable range.)

      Thanks again.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: mouser98 on June 11, 2011, 02:54:56 AM
      question:  aticonfig limits gpu clock speed on the 5830 to 875.  is there any way to get past this limit?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: miningnew on June 11, 2011, 09:49:27 AM
       I am planning to put 2 5870 and two 5850 on one board with Linux

      Can i overclock them differently?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 11, 2011, 10:53:26 AM
      Hi Inaba,

      Having a small issue with my Ubuntu 11.04.    I followed the 2.4 SDK driver installation.  Everything was running smooth.   I had 2x 6870s installed.   I then swapped them out for 1x6950, 2x 6970s.    After the swap out card # 3 was not recognized by ATI Config.    After a bit of reading I came up with this:

      "sudo aticonfig --initial -f --adapter=all"
      "sudo reboot"


      Afterwards all 3 cards were recognized.   I was able to get all 3 mining.   The problem is once I overclock them the hash DECREASES by 30-40 from stock hash.

      This is the command I used:   (Paste into putty SSH.)

      aticonfig --od-setclocks=840,1250 --adapter=0  '(6950)
      aticonfig --od-setclocks=950,1375 --adapter=1
      aticonfig --od-setclocks=950,1375 --adapter=2

      I'm running 64 bit Ubuntu w/ 64 bit driver.   Any ideas what's going on?

      Thanks!

      p.s. epic guide.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chut on June 11, 2011, 11:28:02 AM
      Hi, I followed these instructions almost exactly, except that I installed stream sdk 2.3 It worked as soon as I finished, but then once i restarted my miner, my cards were no longer recognized by poclbm as opencl devices. any ideas why this might be? I already tried the export display line as well as the export LD_LIBRARY_PATH line. any help would be appreciated, i feel like I'm so close, but something isnt working


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: hugolp on June 11, 2011, 11:51:56 AM
      Thanks Inaba, that was it.  I knew I was doing something dumb (I sent you a donation).  Now I have both cards working, and the problem is the heat  ::)

      Before I was using AMDOverdriveCtrl to dial back the memory clock to 350-400 and lower the voltage a bit on the single card.  That allowed me to get improved hash speed without heating up too much.  But the AMDOverdriveCtrl GUI only seems to work on the first adapter.  Do you know a way to use AMDOverdriveCtrl on the 2nd adapter via command line or override the "configurable peak range" with aticonfig?  (If I try to lower the memory clock, it tells me that it is outside the configurable range.)

      Thanks again.

      AMDOverdriveCtrl --help will give you the comand option to select the card you want.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on June 11, 2011, 12:05:18 PM
      Thanks for the guide. I see you installed unofficial ubuntu drivers taking the last version from ATI, why the need to do so?

      I'm able to get everything working with the stock drivers included in Natty, is there a a particular reason to upgrade them?
      Maybe for performance?

      Another question: under windows with MSI afterburner I can overclock my 9650 to 930Mhz core while with aticonfig under linux I'm stuck to 840.

      Is there a way to overcome this limitation?

      Thanks!
      Dusty


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 11, 2011, 07:11:57 PM
      Thanks for the guide. I see you installed unofficial ubuntu drivers taking the last version from ATI, why the need to do so?

      I'm able to get everything working with the stock drivers included in Natty, is there a a particular reason to upgrade them?
      Maybe for performance?

      Another question: under windows with MSI afterburner I can overclock my 9650 to 930Mhz core while with aticonfig under linux I'm stuck to 840.

      Is there a way to overcome this limitation?

      Thanks!
      Dusty

      Nope. Theres no easy way to overclock past the GPU limits in Linux. It sucks so hard. I can mine a heck of a lot faster in Windows due to aall the overclocking and overvolting tools available in windows.  In Linux, I loose alot of money because there are so such tools.  I have been contemplating switching to Windows 100% due to all the limitations I have found in Linux..
      Oh.. heres another kicker..
      If you GPU hangs in Linux.. your screwed! you have to hard power down and reboot to be able to anything.  In Win7, catalyst will usually recover, and you can simply restart your miner. No rebooting necessary. :(


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 11, 2011, 07:26:15 PM
      Not true.  There are a couple different tools that allow Linux overclocking, which have already been mentioned in this thread.

      Personally, I flash the BIOS with RBE and don't even worry about overclocking from the command line.  If you can't overclock in Linux, the fault lies with the operator, not with the (lack of) ability.  Is it as slick and easy as Windows?  Nope, but then again, Windows can't do half the things a Linux machine can in terms of mining, so it's a trade off.  I'd like to see you run more than 8 GPUs in Windows.  Can you even run more than 4?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 11, 2011, 07:28:04 PM
      You screen buffer is too small, you need to increase it in PuTTY.  Don't ask me how to do that, because I don't use PuTTY (I use SecureCRT).

      I set my buffer to 32000 lines of scrollback.


      i set mine to 50000 lines. this is what i got: http://pastebin.com/rRr105GP
      and i reinstalled ubuntu to be 100% sure it was not the updates that was causing this.

      Based on your lspci output, it looks like the drivers are not installed properly.  You may want to go back and review the output of installing fglrx.  If nothing else, reinstall and on the line that installs fglrx, leave that out, then do it manually with apt-get install fglrx and see if it comes back with an error.

      can you please tell me how do i do that? i really need to downclock my graphic cards ram and overclock the gpu...
      thanks.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 11, 2011, 07:30:11 PM
      How to do what?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 11, 2011, 07:38:32 PM
      How to do what?

      install the drivers properly.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 11, 2011, 08:04:02 PM
      Not true.  There are a couple different tools that allow Linux overclocking, which have already been mentioned in this thread.

      Personally, I flash the BIOS with RBE and don't even worry about overclocking from the command line.  If you can't overclock in Linux, the fault lies with the operator, not with the (lack of) ability.  Is it as slick and easy as Windows?  Nope, but then again, Windows can't do half the things a Linux machine can in terms of mining, so it's a trade off.  I'd like to see you run more than 8 GPUs in Windows.  Can you even run more than 4?


      Im going to disagree here just on the side of mining though.  I am a Redhat certified engineer (Earned RHCE earlier this year), and I work with RHEL6 and RHEL5 machines for a career. So I totally understand the subtleties between Windows and Linux.
      But, there is absolutely nothing available that will allow you to overvolt a a non-reference GPU in linux. There are a multitude of tools for Windows that allows voltage adjustements for non-reference cards.  Trixx, MSI Afterburner are just a few.  AMDovrdrvctrl will not allow you to adjust voltages on non-reference cards.  You also have to modify the BIOS ont the GPU if you want to do anything worth while with AMDovrdrvctrl.  You dont have to modify the BIOS to do the same with the Windows tools mentioned above.

      For example, I can overclock all 4 of my GPU's in Windows and they will stay STABLE at higher clock speeds than in ubuntu.  In windows I Can run my 3 HD5850's at 950 core 325 RAM at 1.188 volts and they will hash at 360-370 Mhash all day long, below 65-70c.  I can also overclock an additional HD5870 in this same rig to 1000 core 350 ram at 1.2volts and it will stay stable.

      Now, in Ubuntu Natty, 64 bit running SDK 2.4 and Catalyst 11.5 I CANNOT get the stupid GPU's to run for over an hour at 800 core and 300 ram.  With these clock speeds  I only see about 300 Mhash/sec. These GPU's have the same BIOS settings as they do when I can overclock them in Windows.   I have read every post in this thread, and posted questions in several others with no improvement in results.  You yourself even mentioned you had no idea how to free a froze GPU in linux.  I have not found a way to kill the process or even detach the module from the kernel without causing a kernel panic.  I was highly dissappointed to find out that I can run my 3 5850's at 950 and my 5870 at 1000 for days on end in Windows without the first freeze.  Linux has never had a great relationship with GPU's (especially ATI).

      Please dont get me wrong, I am not trying to minimize what you are doing by helping out in this thread, but I have had no luck in getting the same results in Ubuntu as I have in WIndows, and I absolutely hate that.  This mining rig is actually the only Windows machine in my house (I am running Fedora and RHEL Workstation on my personal machines).  I have read every post, and tried everything in this thread as well as others. I still cannot get my GPU's stable above 800 core in ubuntu.  I am going to try Debian Squeeze 32 bit later tonight, and I may even try a fresh install of Ubuntu Maverick or Lucid since I despise Natty so much.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on June 11, 2011, 08:22:08 PM
      Not true.  There are a couple different tools that allow Linux overclocking, which have already been mentioned in this thread.
      Which ones?

      Quote
      Personally, I flash the BIOS with RBE and don't even worry about overclocking from the command line.
      Can you help me on how to use RBE to overclock an unlocked 6950 to 900Mhz core?[/quote]

      Thanks!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 11, 2011, 11:42:15 PM
      Not true.  There are a couple different tools that allow Linux overclocking, which have already been mentioned in this thread.

      Personally, I flash the BIOS with RBE and don't even worry about overclocking from the command line.  If you can't overclock in Linux, the fault lies with the operator, not with the (lack of) ability.  Is it as slick and easy as Windows?  Nope, but then again, Windows can't do half the things a Linux machine can in terms of mining, so it's a trade off.  I'd like to see you run more than 8 GPUs in Windows.  Can you even run more than 4?


      My ASUS 5850 DirectCU 725 are virtually impossible to overvolt.   GPU-Z cannot pull the bios from the cards.   So I instead download a bios version that looks similar from guru3d.   The bios works fine.  After that I attempt to edit via RBE.  No dice.  Once I edit the voltage the GPUs are no longer recognized by aticonfig and/or windows.   They are "greyed" out.   Perhaps its user error in the RBE editor, but I sure as shit can't figure it out.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 12, 2011, 01:02:19 AM
      Im going to disagree here just on the side of mining though.  I am a Redhat certified engineer (Earned RHCE earlier this year), and I work with RHEL6 and RHEL5 machines for a career. So I totally understand the subtleties between Windows and Linux.
      But, there is absolutely nothing available that will allow you to overvolt a a non-reference GPU in linux. There are a multitude of tools for Windows that allows voltage adjustements for non-reference cards.  Trixx, MSI Afterburner are just a few.  AMDovrdrvctrl will not allow you to adjust voltages on non-reference cards.  You also have to modify the BIOS ont the GPU if you want to do anything worth while with AMDovrdrvctrl.  You dont have to modify the BIOS to do the same with the Windows tools mentioned above.

      The complaint was there was no way to overclock in Linux and that complaint is false. There was no mention of overvolting.  Regardless, though, overclocking and overvolting via software is a ludicrous proposition anyway for anything but a temporary measure. I've never understood the trend, honestly.  You get shitty results and a bucket load of instability in the long term when you do it via software, this applies to both Windows and Linux.  The only thing software overclocking is good for is to find your stable numbers.  Once you find those, you should flash your card with those and leave it at that.  Software tweaking is a temporary measure and for the purposes of mining, it's completely pointless.  If you're going to mine you need your cards to be set to what you're mining with.  If you're some hobbiest miner that is only doing it now and again while using the computer for other tasks, then you're probably not going to be using Linux anyway.  If you're following this guide then you most likely are serious about mining and have a dedicated box and thus using software to overclock for mining is just wrong on so many levels.

      Quote
      For example, I can overclock all 4 of my GPU's in Windows and they will stay STABLE at higher clock speeds than in ubuntu.  In windows I Can run my 3 HD5850's at 950 core 325 RAM at 1.188 volts and they will hash at 360-370 Mhash all day long, below 65-70c.  I can also overclock an additional HD5870 in this same rig to 1000 core 350 ram at 1.2volts and it will stay stable.

      I have 28 miners running, all of them overclocked in under Ubuntu and the only ones that have stability problems are the 5970's and that's due to some other issues unrelated to overclocking (craptacular VRM cooling mostly).  All the 5870's are rock solid at 950/300 with 5 - 8 GPUs per motherboard.  There's a problem somewhere else if you are unable to achieve stability only in Linux.  Although, I admittedly don't have nor have I used any 5850's, I can't imagine them being much different.

      Quote
      Now, in Ubuntu Natty, 64 bit running SDK 2.4 and Catalyst 11.5 I CANNOT get the stupid GPU's to run for over an hour at 800 core and 300 ram.  With these clock speeds  I only see about 300 Mhash/sec. These GPU's have the same BIOS settings as they do when I can overclock them in Windows.   I have read every post in this thread, and posted questions in several others with no improvement in results.

      There is something very wrong with your setup if you're only getting 300 MH/s at 800 core.  You should be getting at least 350, which is what I get on stock core on the 5870's.  Seeing as you're running 2.4 that probably doesn't help and you should at least be using Phoenix with phatk kernel if you're hell bent on using 2.4 with 5xxx series cards.  In either case, moving to v2.1 if you only have 5xxx series cards will improve your hash rate dramatically.

      Quote
      You yourself even mentioned you had no idea how to free a froze GPU in linux.  I have not found a way to kill the process or even detach the module from the kernel without causing a kernel panic.  I was highly dissappointed to find out that I can run my 3 5850's at 950 and my 5870 at 1000 for days on end in Windows without the first freeze.  Linux has never had a great relationship with GPU's (especially ATI).

      Absolutely, but I also had the same problem in Windows (which is why I moved to a Linux solution in the first place) - the GPU would freeze and there'd be no way to unstick it without a full power cycle in Windows.  The same problem exists in Linux, so there's no advantage there.  However, the major advantage with Linux that you don't have with Windows is the fact that I can access the machine through SSH and take care of everything - can't do that with Windows.  You have to have a convoluted, slow ass solution like Teamviewer, VNC, LogMeIn or similar just to manage your miners.  Monumental pain in the ass.

      Quote
      Please dont get me wrong, I am not trying to minimize what you are doing by helping out in this thread, but I have had no luck in getting the same results in Ubuntu as I have in WIndows, and I absolutely hate that.  This mining rig is actually the only Windows machine in my house (I am running Fedora and RHEL Workstation on my personal machines).  I have read every post, and tried everything in this thread as well as others. I still cannot get my GPU's stable above 800 core in ubuntu.  I am going to try Debian Squeeze 32 bit later tonight, and I may even try a fresh install of Ubuntu Maverick or Lucid since I despise Natty so much.

      Then there is something wrong with your setup. I can't believe the 5850's are that much different than the 5870's and after flashing the BIOS of all the 5870's for 950 core / 300 mem, I've had zero problems with the 5870's.  Most of them don't even require a voltage tweak, though some of them I've had to bump the voltage a couple notches.

      Not true.  There are a couple different tools that allow Linux overclocking, which have already been mentioned in this thread.

      Personally, I flash the BIOS with RBE and don't even worry about overclocking from the command line.  If you can't overclock in Linux, the fault lies with the operator, not with the (lack of) ability.  Is it as slick and easy as Windows?  Nope, but then again, Windows can't do half the things a Linux machine can in terms of mining, so it's a trade off.  I'd like to see you run more than 8 GPUs in Windows.  Can you even run more than 4?


      My ASUS 5850 DirectCU 725 are virtually impossible to overvolt.   GPU-Z cannot pull the bios from the cards.   So I instead download a bios version that looks similar from guru3d.   The bios works fine.  After that I attempt to edit via RBE.  No dice.  Once I edit the voltage the GPUs are no longer recognized by aticonfig and/or windows.   They are "greyed" out.   Perhaps its user error in the RBE editor, but I sure as shit can't figure it out.

      If I can find a 5850 for cheap, I'll pick one up and see if it's that much different than the 5870's.  If you want to send me a copy of your stock BIOS I can take a look at it.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 12, 2011, 02:51:17 AM
      Thanks for the replies Inaba.  I dont disagree that I have to have something wrong in my system.  I have swapped in a fresh HDD and installed a fresh copy of Debian Squeeze 32 bit.  I am about to go through the process of setting up Catalyst 11.5 and I think will try AMD SDK 2.1 this time. I have read on many different posts that SDK 2.4 when combined with Phoenix and PhatK are about the best for hashing on 5800 series GPUs, but its worth a shot to try 2.1 since you are getting good results with it.

      If I could find the clocks these cards are stable at I would flash them in the BIOS. I just have not been able to get these cards stable in Linux yet. 

      If you would like to take a look at the BIOS's for these cards I would much appreciate it.  These are the Stock Bios's that I used GPUz to pull from the cards before I done any tweaking on them.

      Gigabyte HD5870 Stock BIOS:
      http://dl.dropbox.com/u/417019/Gigabyte%20HD5870%20Stock%20bios.bin

      Sapphire HD5850 Stock BIOS:
      http://dl.dropbox.com/u/417019/Sapphire%205850.bin

      Would you mind giving me a copy of your 5870 bios so that I can give it a shot here on my 5870?

      This rig is destined to be a dedicated Miner if I can ever get it stable.

      I only get about 300 to 310 Mhash/sec on 800 core 300 ram on my 5850's. You will probably see more than that on your 5870.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 12, 2011, 03:42:11 AM
      I have a couple 2.4 systems as test systems running on 5870's.  The absolute best I've been able to achieve with 2.4 and phatk is just slightly less than "stock" 2.1 on poclbm.py.

      I prefer poclbm.py anyway, since it seems to be a bit more stable than Phoenix when there's an RPC problem (it recovers better, though they both suck mightily at reliability when an RPC connection error occurs).  At this time, I don't see any reason at all to run 2.4 if you don't have 6xxx series cards, as it does nothing but hinder you or at best, it's at parity but requires some very specific combinations of software and config variables.  Whereas with 2.1 you can just slap it on there and go with what you know.

      Here's a link to my 5870 BIOS that is rock solid at 950/300 on my XFX, Gigabyte and Sapphire 5870's:
      http://dl.dropbox.com/u/1308992/soc_mine.rom

      Of course, YMMV, but I've had no problems flashing it onto all 20+ of my 5870's.  I can't remember if I tweaked the voltages on that or not.  Bear in mind, it will overheat your card if it's thermally on edge already.  If you have good airflow/cooling though it hovers around 70C, at least on my cards. 

      As far as GPU-Z goes, that may be the problem.  I don't know, as I've not used it. I use RBE in DOS to get the BIOS off my cards and to flash them onto the cards.  Being old school I have an innate fear of flashing anything in Windows. 

      Your fan profile should be adjusted to spin up much faster.  Your voltages are llllow for overclocking.  You can be low by fractions of a tenth, but you're almost a whole tenth of a volt low for anything above 825 or so.

      For the 5850 BIOS, your GPU registers 0x46 voltage doesn't match Mode 3's voltage.  I'm not sure if that's a problem or not, but I always make mine match.

      For both BIOS, I've found that playing with memory clock from within a booted OS always causes a crash of some sort.  If I flash 300 on the cards, I've never had any memory related instability.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 04:03:29 AM
      Anyone suggesting that it's "impossible" to get the same numbers in Linux as they get in Windows....

      .... is correct.  Linux numbers are much higher. :)

      People have done an exceptional job of providing the answers - just use RBE.  AMDOverDriveCtrl doesn't give me problems on my cards.  Driver version is a definite possibility - anyone with any Linux experience should know that *generally* the drivers for Linux are much lower quality.  Whether they just be outright buggy or the installation is torture, they just simply aren't the same quality as Windows counterparts.

      Here's a case study for you -

      Several Diamond 5850s (non-reference, no voltage adjustments possible)
      Flashed with FreeDOS to edited BIOS from RBE
      Watchdog hardware module
      100% unattended boot to init 3, xinit, AMDOverDriveCtrl profile load, miner startup
      8 second boot time
      Can't clock over 1005 MHz CPU without causing a kernel panic/hard reset
      Manageable with screen/ssh
      Catalyst 2.4
      HAL independent - clonable to any machine
      394 MHs on average with phoenix/phatk and aggression > 15.

      *Exact* same card in Windows 7x32
      Flashed same way (same card - did a "burn in" test in Linux before transferring it to Windows)
      No watchdog.
      Autologon + startup script for miner
      37 second boot time
      Can't clock over 925 MHz CPU without causing a driver fail, machine reset or poclbm/phoenix hanging
      Aero turned off (no idea if this makes a difference....)
      Manageable with.... VNC or garbage RDP
      Catalyst 2.4
      HAL dependent - lengthy install required
      310 MHs on average with phoenix/phatk and aggression < 13 (otherwise it hangs)

      If any Windows Pros want to tell me how to fix the Windows machine - fire away.

      Also - what tool lets you set profiles and load them in a script like AMDOverDriveCtrl ?

      PS - Fedora x32 and Fedora x64.  Miners aren't worth RHEL licenses. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 04:13:42 AM
      If I can find a 5850 for cheap, I'll pick one up and see if it's that much different than the 5870's.  If you want to send me a copy of your stock BIOS I can take a look at it.


      I didn't know you could RBE and pull bios through DOS.  I thought GPZ was the only way.  So my model right now is DIRECTCU 725.   However I flashed them all with the "765" version.   I have access to the "stock" through techpowerup.   However there is no way to be certain that the "stock" bios is compatible with my card (meaning they might have changed the card.)     So, here is the "stock 765" bios I'm using on all my cards.    

      http://www.techpowerup.com/vgabios/75141/Asus.HD5850.1024.100329.html


      This is what I think was the original stock one.  

      http://www.techpowerup.com/vgabios/74071/Asus.HD5850.1024.100310.html


      Here are my RBE edited ones(from the first link( that do not allow overclocking in windows or ATIconfig.  "greyed out, but still mineable")  I tried editing both the voltages and the highest step MHz.

      ** These were either edited from the 725 or 765 link noted above.  Forgot which, but they all end up the same. **

      -- 1.3 volts only
      http://dl.dropbox.com/u/8045114/585013voltonly.rom  

      --1.3 volts, 1000 MHZ
      http://dl.dropbox.com/u/8045114/5850_1_3volt1000


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on June 12, 2011, 04:38:09 AM
      is there any steps that I need to re-run if I add in another GPU?
      Right now there are 4 GPUs, I want to add another GPU to it.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 05:08:18 AM
      is there any steps that I need to re-run if I add in another GPU?
      Right now there are 4 GPUs, I want to add another GPU to it.

      Run the initialize line again.


      Also, I'm retarded and installed using 2.1 instead of 2.4.     Any easy way to swap over?  Or do I need to reinstall.

      Thanks :)

      EDIT:   Installed 2.4 and am using --platform 0.      Seems to be working OK.   


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 05:26:41 AM
      Ok,  I'm seriously getting irritated now.

      I just reinstalled Ubuntu and am still having overclock issues.   When I overclock using ATIConfig,  my hashrates DECREASE.    My 6970 goes from 370 to 320.     

      Could use some help!

      This is the command I used.

      aticonfig --od-setclocks=840,1250 --adapter=0
      aticonfig --od-setclocks=950,1375 --adapter=1
      aticonfig --od-setclocks=950,1375 --adapter=2


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 06:04:52 AM
      It's easier to go with

      aticonfig --odsc XXX,XXX

      Your memory clocks seem awfully high - you can't set them any lower?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 07:07:00 AM
      It's easier to go with

      aticonfig --odsc XXX,XXX

      Your memory clocks seem awfully high - you can't set them any lower?

      No.  They are at the lowest setting.  I think I will try the RBE method next to lower the memory.  But I'll want to overvolt, overclock, and lower the memory.  0 is 6950, 1,2 is 6970

      Is here my -ODGC

      :~$ aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    800           1250
                   Current Peak :    800           1250
        Configurable Peak Range : [500-840]     [1250-1325]
                       GPU load :    97%

      Adapter 1 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    880           1375
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    97%

      Adapter 2 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    880           1375
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    96%
      :~$


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 07:10:06 AM
      Are you using AMDOverDriveCtrl and leaving it running?

      On the 58xx series, it drops the memory clock floor to 150 (at least, it does on 5850s and 5870s that I've had).


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 07:20:57 AM
      Are you using AMDOverDriveCtrl and leaving it running?

      On the 58xx series, it drops the memory clock floor to 150 (at least, it does on 5850s and 5870s that I've had).

      No.   I have tried twice on brand new installs with the same results.  I added no additional programs.   I haven't tried messing with the memory as I want to solve the overclock issue first.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 07:26:22 AM

      I say..... Go get AMDOverDriveCtrl and see if you can back off your memory clocks.  It will make a definite difference if it doesn't clear up your problem.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 07:48:56 AM

      I say..... Go get AMDOverDriveCtrl and see if you can back off your memory clocks.  It will make a definite difference if it doesn't clear up your problem.


      Can you point me to any command line instructions?  All I could find was the GUI that could only control the first card.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 07:56:18 AM

      I think -i X let's you choose adapter X.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 12, 2011, 08:11:55 AM
      go to the terminal (once AMDOverdriveCtrl is installed) and type

      AMDOverdriveCtrl -i0 <- for adapter 0
      AMDOverdriveCtrl -ix <- for adapter x

      AMDOverdriveCtrl is case-sensitive. You can get the index from the terminal output of any of them, use the index of those that are marked 'active'


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 08:35:19 AM
      Ok,

      So I actually used RBE to get the clocks I wanted.   However the same problem has occured.   POCLBM is showing a LOWER hash speed when I overclock.


      Stock speed @ 880 is 370Mhash/S.    Overclocked @ 1000 I'm getting 340 Mhash/S.


      Adapter 0 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    800           1250
        Configurable Peak Range : [500-840]     [1250-1325]
                       GPU load :    4%

      Adapter 1 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    1000           350
                   Current Peak :    1000           350
        Configurable Peak Range : [500-1050]     [350-350]
                       GPU load :    97%

      Adapter 2 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    0%


      11/06/2011 22:31:54, 4950c561, accepted
      11/06/2011 22:31:55, dfce6ff3, accepted
      11/06/2011 22:32:23, f4282659, accepted
      11/06/2011 22:32:29, d549300e, accepted
      11/06/2011 22:32:50, a9e0d574, accepted
      11/06/2011 22:32:52, 224ca746, accepted
      11/06/2011 22:32:56, 106f30ef, accepted
      11/06/2011 22:32:57, 63a8156e, accepted
      11/06/2011 22:32:59, 3f162021, accepted
      11/06/2011 22:33:00, b28d6050, accepted
      11/06/2011 22:33:13, 69b7c7a0, accepted
      11/06/2011 22:33:23, 564095f0, accepted
      11/06/2011 22:33:39, 8c67ee99, accepted
      11/06/2011 22:33:48, d7213f2c, accepted
      11/06/2011 22:34:33, deb8d541, accepted
      338660 khash/s



      Is it possible this is a miner error?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dudel42 on June 12, 2011, 08:47:03 AM
      go to the terminal (once AMDOverdriveCtrl is installed) and type

      AMDOverdriveCtrl -i0 <- for adapter 0
      AMDOverdriveCtrl -ix <- for adapter x

      AMDOverdriveCtrl is case-sensitive. You can get the index from the terminal output of any of them, use the index of those that are marked 'active'

      Is there a how to install AMDOverdriveCtrl? I tried building from source, but it wouldn't compile? binaries somewhere or docs on how to build yourself?

      thanks.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 08:48:53 AM
      Alright, minerX!

      What parameters are you using for poclbm?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 08:57:56 AM
      Alright, minerX!

      What parameters are you using for poclbm?

      No this is terrible news.   I was able to flash but the same problem occurred.  At stock overclock settings I'm getting 370 mhash.   Once I overclock in ATIconfig _OR_ RBE bios flash, the MHASH goes down drastically.   So 370 mash @ 880 speeds, 340 @ 1000.   It's god damn mind boggling.   I was just using the 6950 on my windows system and getting 400 mhash @ 940 clock speed.


      Here is my settings:

       --device=0 -v -w 128


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 09:04:54 AM
      go to the terminal (once AMDOverdriveCtrl is installed) and type

      AMDOverdriveCtrl -i0 <- for adapter 0
      AMDOverdriveCtrl -ix <- for adapter x

      AMDOverdriveCtrl is case-sensitive. You can get the index from the terminal output of any of them, use the index of those that are marked 'active'

      Is there a how to install AMDOverdriveCtrl? I tried building from source, but it wouldn't compile? binaries somewhere or docs on how to build yourself?

      thanks.

      This please.  I have no idea how to install it.  You would think they would it it in the readme or something.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 09:06:30 AM
      I'm sure you can get a bit more oomph.

      Fiddle with the clock settings with aticonfig until you find a sweet spot.  It's a bit of a fiddle game (unless you know someone with an identical card...) and sometimes it doesn't always make sense....

      I get *less* MHs at 900,400 than I do at 875,1125

      Current settings are 1005,225 and it took me a while to figure that out - I was getting less at 1005,325 than 775,1125!

      For the people asking for an AMDOverDriveCtrl howto - if you look at the sourceforge project, I believe they have prebuilt .deb packages.  No reason to rebuild it unless you're trying to set it up on Fedora or some other distro.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 12, 2011, 09:14:14 AM
      I feel your pain MinerX!
      I have not been able to get myt ubuntu setup to perform worth a damn either. I have swapped HDD's and tried Debian Squeez with same results. I have modified BIOS's till I am blue in the face.  I even tried the BIOS that Inaba had sent, and it mined for about an hour before GPU locking, in both my Ubuntu install and my fresh Debian install using SDK 2.1.

      I cannot get these stupid cards to perform in linux as well as they do in Windows and stay stable. Its highly frustrating since I want to use Linux to mine with.  

      Here is the BIOS I am using for my HD5850's right now:
      http://dl.dropbox.com/u/417019/Sapphire%20HD5850.rom

      At this point, I am frustrated at not being able to find a single root cause as to why I cannot get these cards to perform the way the do in Windows.  For sake of integrity, I am going to reinstall Ubuntu Natty 32 bit and then follow the directions in this guide one last time to the letter and then post results.

      I would offer someone a bounty of 2 BTC for a modified BIOS for a Sapphire HD5850 Xtreme that was overclocked and STABLE that I could try.  I can mine on these cards in Windows using Trixx and/or Afterburner at 950 core 325 RAM with 1.187 volts and they will hash at 366 Mhash all day long.  If someone can give me a BIOS file that I can flash that will allow me the same results in Linux without have to mess with AMDovrdrvctrl or aticonfig, the 2 BTC will be headed your way. LOL


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dudel42 on June 12, 2011, 09:23:08 AM

      For the people asking for an AMDOverDriveCtrl howto - if you look at the sourceforge project, I believe they have prebuilt .deb packages.  No reason to rebuild it unless you're trying to set it up on Fedora or some other distro.


      found the deb, thanks that worked just fine.

      now I just need to find some info on how to use it from the command line... calling it with --help shows me the adapter indexes to use, but not much more, and the pdf documentation only shows the gui.

      what commands would I use on a 6970 to raise the limit (I guess it throttles, because when I set the clock higher with aticonfig it actually slows down)?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 09:29:25 AM
      #1 Stop wasting your time reinstalling.  The GPU operations are independent of the OS. :)

      I'm using Fedora 32, but that shouldn't really matter.  The only difference is the driver software from AMD.

      I'm using Catalyst 11.5 with SDK 2.4, but others suggest 2.1.  I think the phoenix creator suggests 2.4.  Either way, I'm not sure you even need this....

      I would send you my HD5850 BIOS, but it's probably no different than what you have with the exception of a few numbers changed that you can change yourself in RBE. :)

      My changes -
      "Additional Changes" tab, method 2, CPU to 1200
      CPU 0 through CPU 3 in the profiles thing with Memory clocks to 125 (I think you can skip this step if you're using AMDOverDriveCtrl).

      Use aticonfig to set my clocks on the cards.

      Run phoenix.  I just recently switched to phoenix+phatk from poclbm, but either will work.

      A few other mentionable changes -
      I boot into run level 3 (no GUI) and manually start X with "xinit -e metacity" (not sure how much/if this actually helps, but it's more stable than booting say..... Gnome3).
      You can use twm or any other default if you want, I just happen to like metacity and it's on my machines, anyway.

      @dudel42 - Once AMDOverDriveCtrl is running, you're free to use aticonfig to adjust clocks.  If you decide to use AMDOverDriveCtrl, make sure you hit the "set" button.  When the miner starts cranking away, it should automatically switch to whatever you've set the "High" profile to.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 09:31:25 AM
      I'm sure you can get a bit more oomph.

      Fiddle with the clock settings with aticonfig until you find a sweet spot.  It's a bit of a fiddle game (unless you know someone with an identical card...) and sometimes it doesn't always make sense....

      I get *less* MHs at 900,400 than I do at 875,1125

      Current settings are 1005,225 and it took me a while to figure that out - I was getting less at 1005,325 than 775,1125!

      For the people asking for an AMDOverDriveCtrl howto - if you look at the sourceforge project, I believe they have prebuilt .deb packages.  No reason to rebuild it unless you're trying to set it up on Fedora or some other distro.


      No offense man.  But you aren't listening.   I'm getting 370 mhash BEFORE overclocking.   Any attempt at overclocking so far DECREASES my hash rate.  There is "no fiddling" to be had.  Something is serious bonkers with these 6xxx cards.


      @CubedRoot.

      I'm running two other systems with 5850s on the same Ubuntu setup and love it.  I haven't figured out how to overvolt them yet but they still are more stable then my windows counterpart.  SSH tunnel is 100000% faster then using logmein.    Not that I need to use it very often because of how stable it is. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CubedRoot on June 12, 2011, 09:35:04 AM
      MinerX,
      What clocks and Hashrates are you getting on your 5850's?  Are you using Phoenix and phatk or poclbm?  What driver and SDK version are you using?

      I amtrying to find something that is freaking stable :(  its driving me insane.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 09:39:38 AM
      No offense man.  But you aren't listening.   I'm getting 370 mhash BEFORE overclocking.   Any attempt at overclocking so far DECREASES my hash rate.  There is "no fiddling" to be had.  Something is serious bonkers with these 6xxx cards.

      No worries about offense, but if you meant that in a passive aggressive way.... I'm trying to help you, bro. :)

      I'm trying to tell you there is a relationship to overclocking the GPU and the memory clock.  There is a correlation between the two.  You can't just try one single value and give up the goose.

      So again.... have you tried fiddling around a bit?  The last aticonfig dump I saw had a single value for memory that wasn't adjustable.....  :-\  It took me a whole day to find the happy-spot on my 5850s - and one stupid one hates running at 1005 and only seems to work at 995.  The final outcome was 1005,225 for 395MHs with phoenix - something I could never get in Windows (I did try, though, quite a bit....).  The weird card only runs at 995, 300 for 360MHs - still 70MHs more than I got in Windows.

      I'm in no way promising you'll win the game with Linux.... I'm just trying to help you out.  Linux is a bit like a paintbrush that requires a bit of finesse, patience and pre-built skillsets to produce something beautiful.... Windows is a bit like a steam roller covered in paint - guaranteed to paint "something" pretty broadly. :)

      ssh does beat the pants of managing stuff through a GUI - but did you know you can get tools like Cygwin and sshd for Windows?  You can even get screen - then you can detach the session from the Windows console and recover it from an ssh session. :)

      If it's such a big deal - go back to Windows.  No hard feelings here. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dudel42 on June 12, 2011, 09:43:36 AM
      @dudel42 - Once AMDOverDriveCtrl is running, you're free to use aticonfig to adjust clocks.  If you decide to use AMDOverDriveCtrl, make sure you hit the "set" button.  When the miner starts cranking away, it should automatically switch to whatever you've set the "High" profile to.

      I guess I'm not quite getting something here ;)

      Do I have to run AMDOverDriveCtrl in the GUI and configure in the GUI before I can use it? I can get access to the gui, but I'm basically ssh only, and when calling it there it just resets fan speed to default and nothing else...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on June 12, 2011, 09:53:10 AM
      Is there a how to install AMDOverdriveCtrl? I tried building from source, but it wouldn't compile? binaries somewhere or docs on how to build yourself?
      This please.  I have no idea how to install it.  You would think they would it it in the readme or something.[/quote]
      Just click on the download button here:
      http://sourceforge.net/projects/amdovdrvctrl/
      If you are using Natty firefox should ask you to open it with the package manager. Then just press ok and the program is installed :)

      Otherwise you can download it and then install the package (.deb) from the commandline this way:
      sudo dpkg -i amdoverdrivectrl_1.2.0_amd64.deb


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 09:57:58 AM
      MinerX,
      What clocks and Hashrates are you getting on your 5850's?  Are you using Phoenix and phatk or poclbm?  What driver and SDK version are you using?

      I amtrying to find something that is freaking stable :(  its driving me insane.

      I'm using POCLBM.   My hashrates go from 330-350 depending on the computer.   My clock rates range from 850-925 depending on stability.  All at stock voltage.  My 7x PCIexpress board with 4x 5850s seems to have the lowest clock rates, ranging from 850-875.   I was running it on windows for awhile so I wouldn't be surprised if that affected the stability.  It was a 400$ board too that I originally got for Folding@Home.   My 80$ motherboard has the 5850s running between 900-925 clockrates.

      @Supa:

      Nah I'm not trying to offend you.  But I still think you aren't listening!  

      For example:

      CLOCKSPEED: 800
      MEMSPEED: 1300
      HASH RATE: 370

      OVERCLOCK:   1
      CLOCKSPEED: 801
      MEMSPEED: 1300
      HASH RATE: 330


      Do you see? It has nothing to do with memory and/or fiddling.  Something is broken somewhere.  I feel like this can be solved but we first need to realize what we are dealing with.  It's not a tweaking issue by any means.

      I'm downloading Fedora right now.  I want to see if this is a Ubuntu issue!   So I'll probably need your help getting it to work in Fedora.  I'm a complete linux noob. :P  I was going to try CentOS but the damn thing is 4GB.  What did they put on that madness?  I'm pretty sure the Windows 7 install is smaller...



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 09:59:40 AM
      Is there a how to install AMDOverdriveCtrl? I tried building from source, but it wouldn't compile? binaries somewhere or docs on how to build yourself?
      This please.  I have no idea how to install it.  You would think they would it it in the readme or something.
      Just click on the download button here:
      http://sourceforge.net/projects/amdovdrvctrl/
      If you are using Natty firefox should ask you to open it with the package manager. Then just press ok and the program is installed :)

      Otherwise you can download it and then install the package (.deb) from the commandline this way:
      sudo dpkg -i amdoverdrivectrl_1.2.0_amd64.deb

      [/quote]

      Ahh.  Yea I'm using SSH at the moment.  I can hook up the monitor but a bit of a pain for the multi computers.  So how did you know how to do it the command line way?  Is there some list somewhere?    Also how does it know to go to the website to get it?   

      and thanks :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 12, 2011, 03:16:50 PM
      MinerX, can you show me the output of "aticonfig --odgc --adapter=all"

      Give me the output when the computer first boots and then when it's running your miners.

      For both overclocked and not overclocked.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 12, 2011, 10:33:03 PM
      MinerX, can you show me the output of "aticonfig --odgc --adapter=all"

      Give me the output when the computer first boots and then when it's running your miners.

      For both overclocked and not overclocked.



      Sure.   Here is first reboot.

      aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    800           1250
        Configurable Peak Range : [500-840]     [1250-1325]
                       GPU load :    0%

      Adapter 1 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    0%

      Adapter 2 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    0%
      :~$



      aticonfig --od-setclocks=840,1250 --adapter=0
      aticonfig --od-setclocks=950,1375 --adapter=1
      aticonfig --od-setclocks=950,1375 --adapter=2


      Adapter 0 - AMD Radeon HD 6900 Series
                  New Core Peak   : 840
                  New Memory Peak : 1250


      Adapter 1 - AMD Radeon HD 6900 Series
                  New Core Peak   : 950
                  New Memory Peak : 1375

      Adapter 2 - AMD Radeon HD 6900 Series
                  New Core Peak   : 950
                  New Memory Peak : 1375

      :~$ aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    840           1250
        Configurable Peak Range : [500-840]     [1250-1325]
                       GPU load :    5%

      Adapter 1 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    950           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    0%

      Adapter 2 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    950           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    0%
      :~$

       

      Here is after mining for 10+ hours.


      aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    800           1250
                   Current Peak :    800           1250
        Configurable Peak Range : [500-840]     [1250-1325]
                       GPU load :    98%

      Adapter 1 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    880           1375
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    97%

      Adapter 2 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    880           1375
                   Current Peak :    880           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    97%



      aticonfig --od-setclocks=840,1250 --adapter=0
      aticonfig --od-setclocks=950,1375 --adapter=1
      aticonfig --od-setclocks=950,1375 --adapter=2


      Adapter 0 - AMD Radeon HD 6900 Series
                  New Core Peak   : 840
                  New Memory Peak : 1250

      Adapter 1 - AMD Radeon HD 6900 Series
                  New Core Peak   : 950
                  New Memory Peak : 1375

      Adapter 2 - AMD Radeon HD 6900 Series
                  New Core Peak   : 950
                  New Memory Peak : 1375

      aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    840           1250
                   Current Peak :    840           1250
        Configurable Peak Range : [500-840]     [1250-1325]
                       GPU load :    98%

      Adapter 1 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    950           1375
                   Current Peak :    950           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    97%

      Adapter 2 - AMD Radeon HD 6900 Series
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    950           1375
                   Current Peak :    950           1375
        Configurable Peak Range : [500-950]     [1375-1450]
                       GPU load :    97%
      :~$



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 12, 2011, 11:51:53 PM
      You screen buffer is too small, you need to increase it in PuTTY.  Don't ask me how to do that, because I don't use PuTTY (I use SecureCRT).

      I set my buffer to 32000 lines of scrollback.


      i set mine to 50000 lines. this is what i got: http://pastebin.com/rRr105GP
      and i reinstalled ubuntu to be 100% sure it was not the updates that was causing this.

      Based on your lspci output, it looks like the drivers are not installed properly.  You may want to go back and review the output of installing fglrx.  If nothing else, reinstall and on the line that installs fglrx, leave that out, then do it manually with apt-get install fglrx and see if it comes back with an error.

      ok i really need help. i tried to install the driver again using your guide but nothing happened:

      ~$ screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy
      [screen is terminating]

      do i need to reinstall ubuntu? please help:(


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 12, 2011, 11:54:35 PM
      I guess I'm not quite getting something here ;)

      Do I have to run AMDOverDriveCtrl in the GUI and configure in the GUI before I can use it? I can get access to the gui, but I'm basically ssh only, and when calling it there it just resets fan speed to default and nothing else...

      Here's what happens for me -

      From ssh, without AMDOverDriveCtrl running, my memory clock floor is 1175 (or something like that).

      Trying to use aticonfig --odsc 1005,225 will not work (it says make sure values are valid).

      After running AMDOverDriveCtrl (you can do this from ssh - export DISPLAY=0:0 ; AMDOverDriveCtrl &) and not touching it in the GUI, my memory floor becomes 150.

      Trying to use aticonfig --odsc 1005,225 works.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 13, 2011, 12:14:27 PM
      I just spent 5 hours messing with Ubuntu on one of my rigs.   Only to find out it's been fucking up because for some reason PCI_16 Extension bridges don't work. 

      What the fuck :(   $400 motherboard with 7x PCI and can't even use ribbons?   Fucking shenanigans.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on June 13, 2011, 12:21:50 PM
      Ahh.  Yea I'm using SSH at the moment.  I can hook up the monitor but a bit of a pain for the multi computers.  So how did you know how to do it the command line way?  Is there some list somewhere?    Also how does it know to go to the website to get it?   
      ok, here the two steps:

      wget -O amdoverdrivectrl_1.2.0_amd64.deb "http://downloads.sourceforge.net/project/amdovdrvctrl/deb%20binaries/amdoverdrivectrl_1.2.0_amd64.deb?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Famdovdrvctrl%2F&ts=1307967653&use_mirror=switch"

      sudo dpkg -i amdoverdrivectrl_1.2.0_amd64.deb

      That's all :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dudel42 on June 13, 2011, 04:26:47 PM
      After running AMDOverDriveCtrl (you can do this from ssh - export DISPLAY=0:0 ; AMDOverDriveCtrl &) and not touching it in the GUI, my memory floor becomes 150.

      Trying to use aticonfig --odsc 1005,225 works.

      thanks for your patience, but it's still not working for me...

      I run it from ssh just like you showed, and it outputs the following:

      Code:
      INF: Adapter index 0 choosen.
      INF: Nr. of Performance Levels: 3
      INF: Perf Level 0: GPU 250MHz Memory 150MHz Voltage 0.9V
      INF: Perf Level 1: GPU 500MHz Memory 1375MHz Voltage 1V
      INF: Perf Level 2: GPU 899MHz Memory 1375MHz Voltage 1.175V
      ACT: Set fan speed to default
      INF: Nr. of Displays to check 6
      WRN: color temperature setting not supported.

      resets fan speed to default, which I then change back to my fixed setting, but there is no change in the allowed clock speeds for me at all, whether it's running or not.

      which brings me back to one of my earlier questions: do I need to configure something (profiles?) in the gui first for it to work? never had a screen attached to the box after the initial ubuntu setup, everything done in ssh, so i've not run AMDOverDriveCtrl or any other utility in the gui.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 13, 2011, 04:54:37 PM
      I just spent 5 hours messing with Ubuntu on one of my rigs.   Only to find out it's been fucking up because for some reason PCI_16 Extension bridges don't work. 

      What the fuck :(   $400 motherboard with 7x PCI and can't even use ribbons?   Fucking shenanigans.

      Was this the final answer?  Is that a restriction with a bridge on the mainboard that is also present in Windows or some weird incompatibility/proprietary whacky drivers/general weirdness?

      Congrats on finding the issue - hope you can get it solved.

      resets fan speed to default, which I then change back to my fixed setting, but there is no change in the allowed clock speeds for me at all, whether it's running or not.

      which brings me back to one of my earlier questions: do I need to configure something (profiles?) in the gui first for it to work? never had a screen attached to the box after the initial ubuntu setup, everything done in ssh, so i've not run AMDOverDriveCtrl or any other utility in the gui.

      I didn't set any profiles in AMDOverDriveCtrl.  I like having a flexible config, so I generally set everything with aticonfig on boot.  That way, if I ever need to change something, it's an ssh/vi away. :)

      Your mileage may vary - for me, just running AMDOverDriveCtrl drops the Memory Clock floor from 1125 (AMDOverDriveCtrl *not* running and aticonfig --odgc) to 150 (AMDOverDriveCtrl running and aticonfig --odgc).


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 05:40:01 PM
      Ahh.  Yea I'm using SSH at the moment.  I can hook up the monitor but a bit of a pain for the multi computers.  So how did you know how to do it the command line way?  Is there some list somewhere?    Also how does it know to go to the website to get it?   
      ok, here the two steps:

      wget -O amdoverdrivectrl_1.2.0_amd64.deb "http://downloads.sourceforge.net/project/amdovdrvctrl/deb%20binaries/amdoverdrivectrl_1.2.0_amd64.deb?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Famdovdrvctrl%2F&ts=1307967653&use_mirror=switch"

      sudo dpkg -i amdoverdrivectrl_1.2.0_amd64.deb

      That's all :)

      when i try to install amdoverdrivectrl i get this error:

      ~$ sudo dpkg -i amdoverdrivectrl_1.2.0_amd64.deb
      [sudo] password for :
      dpkg-deb: error: `amdoverdrivectrl_1.2.0_amd64.deb' is not a debian format archive
      dpkg: error processing amdoverdrivectrl_1.2.0_amd64.deb (--install):
       subprocess dpkg-deb --control returned error exit status 2
      Errors were encountered while processing:
       amdoverdrivectrl_1.2.0_amd64.deb


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 13, 2011, 06:34:35 PM
      Delete and redownload it.  Something went seriously wrong. ;)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 06:48:44 PM
      Delete and redownload it.  Something went seriously wrong. ;)

      thanks, worked :D
      so how do i run amdoverdrivectrl from SSH and downclock memory and overclock gpu?
      thanks very much.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on June 13, 2011, 07:52:53 PM
      so how do i run amdoverdrivectrl from SSH and downclock memory and overclock gpu?
      Open the program from the console, set everything, save the configuration to file.

      Then from the commandline do:
      export DISPLAY=:0
      AMDOverdriveCtrl -b <filesettings-nama>


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 08:09:32 PM
      so how do i run amdoverdrivectrl from SSH and downclock memory and overclock gpu?
      Open the program from the console, set everything, save the configuration to file.

      Then from the commandline do:
      export DISPLAY=:0
      AMDOverdriveCtrl -b <filesettings-nama>

      i have 6990, i cannot overclock the other core.
      and when i set memory to lower then 1250mhz i get this error:

      Invalid settings
      The chosen overdrive settings are not valid.
      Frequency settings must follow the rule:
      low level <= mid level <= high level


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on June 13, 2011, 08:47:44 PM
      i have 6990, i cannot overclock the other core.
      and when i set memory to lower then 1250mhz i get this error:

      Invalid settings
      The chosen overdrive settings are not valid.
      Frequency settings must follow the rule:
      low level <= mid level <= high level
      As the error explains, you have to first lower the clocks on the mid level, and then the settings on the high one.

      There are three profiles: low, mid and high. Each higher profile MUST be faster (or equal) to the lower one.
      So for example if you have 1250 Mhz clock on mid level you can't set it to less in the high one.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 09:18:19 PM
      i have 6990, i cannot overclock the other core.
      and when i set memory to lower then 1250mhz i get this error:

      Invalid settings
      The chosen overdrive settings are not valid.
      Frequency settings must follow the rule:
      low level <= mid level <= high level
      As the error explains, you have to first lower the clocks on the mid level, and then the settings on the high one.

      There are three profiles: low, mid and high. Each higher profile MUST be faster (or equal) to the lower one.
      So for example if you have 1250 Mhz clock on mid level you can't set it to less in the high one.

      thanks so much man.. i will definitely donate to you if it works :D


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 13, 2011, 09:29:19 PM
      I don't usually even eff with the AMDOverDriveCtrl profiles.

      You do need to make a profile and -b it.  Here's a "dummy" file you can edit with a text editor, save and load.  Make sure to change your values to something sane for your config.

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <OVERDRIVE_PROFILE>
        <PERFORMANCE_LEVEL level="2" gpu="77500" mem="22500" voltage="1088"/>
        <PERFORMANCE_LEVEL level="1" gpu="77500" mem="22500" voltage="1085"/>
        <PERFORMANCE_LEVEL level="0" gpu="77500" mem="22500" voltage="1085"/>
        <FAN_SETTING percentage="AUTO"/>
        <FAN_CTRL enabled="no"/>
        <FAN_CTRL_CURVE type="0"/>
        <FAN_CTRL_POINT nr="0" temperature="2000" percentage="0"/>
        <FAN_CTRL_POINT nr="1" temperature="4000" percentage="2500"/>
        <FAN_CTRL_POINT nr="2" temperature="6000" percentage="5000"/>
        <FAN_CTRL_POINT nr="3" temperature="8000" percentage="7500"/>
        <FAN_CTRL_POINT nr="4" temperature="10000" percentage="10000"/>
        <MONITOR_SAMPLE_TIME interval="10"/>
        <COLOR_PROFILE enabled="no" longitude="-13.000000" latitude="52.000000" color_
      temp_day="6500" color_temp_night="4000" transition="30"/>
        <POWERTUNE percentage="0"/>
      </OVERDRIVE_PROFILE>


      I just launch it and leave it running, then use aticonfig.  It's probably cleaner/easier/better to do the profile thing, but I've grown on just using aticonfig. ;)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 09:41:37 PM
      I don't usually even eff with the AMDOverDriveCtrl profiles.

      You do need to make a profile and -b it.  Here's a "dummy" file you can edit with a text editor, save and load.  Make sure to change your values to something sane for your config.

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <OVERDRIVE_PROFILE>
        <PERFORMANCE_LEVEL level="2" gpu="77500" mem="22500" voltage="1088"/>
        <PERFORMANCE_LEVEL level="1" gpu="77500" mem="22500" voltage="1085"/>
        <PERFORMANCE_LEVEL level="0" gpu="77500" mem="22500" voltage="1085"/>
        <FAN_SETTING percentage="AUTO"/>
        <FAN_CTRL enabled="no"/>
        <FAN_CTRL_CURVE type="0"/>
        <FAN_CTRL_POINT nr="0" temperature="2000" percentage="0"/>
        <FAN_CTRL_POINT nr="1" temperature="4000" percentage="2500"/>
        <FAN_CTRL_POINT nr="2" temperature="6000" percentage="5000"/>
        <FAN_CTRL_POINT nr="3" temperature="8000" percentage="7500"/>
        <FAN_CTRL_POINT nr="4" temperature="10000" percentage="10000"/>
        <MONITOR_SAMPLE_TIME interval="10"/>
        <COLOR_PROFILE enabled="no" longitude="-13.000000" latitude="52.000000" color_
      temp_day="6500" color_temp_night="4000" transition="30"/>
        <POWERTUNE percentage="0"/>
      </OVERDRIVE_PROFILE>


      I just launch it and leave it running, then use aticonfig.  It's probably cleaner/easier/better to do the profile thing, but I've grown on just using aticonfig. ;)


      i use SSH to start my miners.
      btw, i overclocked my 6990. holy s**t.. i got 426Mhash/sec on only 1 core, i changed the settings to 1000 gpu core and 75 memory. :D

      but i was unable to overclock core 2. there is no option in atioverdrivectrl to chose core 2. how do i do that? thx


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 09:58:50 PM
      I don't usually even eff with the AMDOverDriveCtrl profiles.

      You do need to make a profile and -b it.  Here's a "dummy" file you can edit with a text editor, save and load.  Make sure to change your values to something sane for your config.

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <OVERDRIVE_PROFILE>
        <PERFORMANCE_LEVEL level="2" gpu="77500" mem="22500" voltage="1088"/>
        <PERFORMANCE_LEVEL level="1" gpu="77500" mem="22500" voltage="1085"/>
        <PERFORMANCE_LEVEL level="0" gpu="77500" mem="22500" voltage="1085"/>
        <FAN_SETTING percentage="AUTO"/>
        <FAN_CTRL enabled="no"/>
        <FAN_CTRL_CURVE type="0"/>
        <FAN_CTRL_POINT nr="0" temperature="2000" percentage="0"/>
        <FAN_CTRL_POINT nr="1" temperature="4000" percentage="2500"/>
        <FAN_CTRL_POINT nr="2" temperature="6000" percentage="5000"/>
        <FAN_CTRL_POINT nr="3" temperature="8000" percentage="7500"/>
        <FAN_CTRL_POINT nr="4" temperature="10000" percentage="10000"/>
        <MONITOR_SAMPLE_TIME interval="10"/>
        <COLOR_PROFILE enabled="no" longitude="-13.000000" latitude="52.000000" color_
      temp_day="6500" color_temp_night="4000" transition="30"/>
        <POWERTUNE percentage="0"/>
      </OVERDRIVE_PROFILE>


      I just launch it and leave it running, then use aticonfig.  It's probably cleaner/easier/better to do the profile thing, but I've grown on just using aticonfig. ;)


      i use SSH to start my miners.
      btw, i overclocked my 6990. holy s**t.. i got 426Mhash/sec on only 1 core, i changed the settings to 1000 gpu core and 75 memory. :D

      but i was unable to overclock core 2. there is no option in atioverdrivectrl to chose core 2. how do i do that? thx

      never mind:D i found out after google search.

      this is what i ended up with :)

      ~$ aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6990
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    1000           75
        Configurable Peak Range : [500-1200]     [75-1500]
                       GPU load :    0%

      Adapter 1 - AMD Radeon HD 6990
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    250           150
                   Current Peak :    1000           75
        Configurable Peak Range : [500-1200]     [75-1500]
                       GPU load :    0%




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 13, 2011, 10:01:21 PM

      Looks interesting!

      And I think you already solved it, but AMDOverDriveCtrl -i X lets you choose card X.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 10:22:47 PM

      Looks interesting!

      And I think you already solved it, but AMDOverDriveCtrl -i X lets you choose card X.

      yup i did :D, now i will overclock my 4870x2
      i use this command for my 6990:

      AMDOverDriveCtrl -b 6990.ovdr -i 1


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 13, 2011, 10:45:10 PM

      Looks interesting!

      And I think you already solved it, but AMDOverDriveCtrl -i X lets you choose card X.

      yup i did :D, now i will overclock my 4870x2
      i use this command for my 6990:

      AMDOverDriveCtrl -b 6990.ovdr -i 1

      damn:(
      i was able to run AMDOverDriveCtrl command when i was on ubuntu terminal. i unpluged the screen and came on my room to start mining from SSH, then i get this when i type this command:

      ~$ AMDOverDriveCtrl -h
      AMDOverDriveCtrl: command not found

      why? whats wrong with SSH or putty?

      edit: lol nvm, i was running "AMDOverDriveCtrl" instead of "AMDOverdriveCtrl".
      it works now. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 13, 2011, 11:33:27 PM

      Protip: Type AMDO, hit tab, hit enter. :)

      Unless you have more than one thing that starts with AMDO..... but that's probably not likely. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 14, 2011, 01:03:02 AM
      I just spent 5 hours messing with Ubuntu on one of my rigs.   Only to find out it's been fucking up because for some reason PCI_16 Extension bridges don't work. 

      What the fuck :(   $400 motherboard with 7x PCI and can't even use ribbons?   Fucking shenanigans.

      Was this the final answer?  Is that a restriction with a bridge on the mainboard that is also present in Windows or some weird incompatibility/proprietary whacky drivers/general weirdness?

      Congrats on finding the issue - hope you can get it solved.


      No.  This was a NEW problem on a different box.  I decided to install my 5th 5850 on one my ubuntu boxes.  But I needed the PCI extenders for it to work.  After 2 hours of reinstall / crashing I decided to test all the components one by one.  Basically any time I added an extender ribbon the computer would freeze on Ubuntu startup.   Which doesn't make any sense because I have 2 other computers running extender ribbons. 

      As for the 6950/6970 problem.  I just installed windows.  I have all 3 cards runnining between 400-425 mhash now.   I flashed the voltage and then did the CCC unlock trick.   (6xxx cannot use RBE to adjust ANY clock settings, due to RBE fault.)   I'm sad that I can't use Ubuntu but there doesn't seem to be a fix.     

      In windows I had to turn all 4 cores on and am at 80-95% CPU.  Ubuntu with 2 cores @ 10% cpu.  Wacky.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 14, 2011, 02:06:07 AM
      Is it normal for AMDoverDRive ctrl to freeze at this point?  I've let it go like 5 minutes...


      $ AMDOverdriveCtrl -b amdconfig

      INF: Nr. of Adapters: 12
      INF: Adapter index: 0, active, ID:14054336, ATI Radeon HD 5800 Series
      INF: Adapter index: 1, inact., ID:14054336, ATI Radeon HD 5800 Series
      INF: Adapter index: 2, inact., ID:14054336, ATI Radeon HD 5800 Series
      INF: Adapter index: 3, active, ID:14671328, ATI Radeon HD 5800 Series
      INF: Adapter index: 4, inact., ID:14671328, ATI Radeon HD 5800 Series
      INF: Adapter index: 5, inact., ID:14671328, ATI Radeon HD 5800 Series
      INF: Adapter index: 6, active, ID:15239248, ATI Radeon HD 5800 Series
      INF: Adapter index: 7, inact., ID:15239248, ATI Radeon HD 5800 Series
      INF: Adapter index: 8, inact., ID:15239248, ATI Radeon HD 5800 Series
      INF: Adapter index: 9, active, ID:15807168, ATI Radeon HD 5800 Series
      INF: Adapter index: 10, inact., ID:15807168, ATI Radeon HD 5800 Series
      INF: Adapter index: 11, inact., ID:15807168, ATI Radeon HD 5800 Series
      INF: Adapter index 0 choosen.
      INF: Nr. of Performance Levels: 3
      INF: Perf Level 0: GPU 157MHz Memory 300MHz Voltage 0.968V
      INF: Perf Level 1: GPU 550MHz Memory 900MHz Voltage 1.068V
      INF: Perf Level 2: GPU 850MHz Memory 900MHz Voltage 1.118V
      ACT: Set fan speed to default
      INF: Nr. of Displays to check 4
      INF: Color temp disp(3) :
      INF: current 6500K default 6500K
      INF: min 4000K max 10000K step 100K



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 14, 2011, 02:30:48 AM
      i have overclocked and configured the 4870x2 and the 6990 and saved the profile for each video card, like this 4870.ovdr and 6990.ovdr.

      when i run: ~$ AMDOverdriveCtrl -b 6990.ovdr -i4

      i get this message:
      INF: Nr. of Adapters: 10
      INF: Adapter index: 0, active, ID:12099968, ATI Radeon HD 4870 X2
      INF: Adapter index: 1, inact., ID:12099968, ATI Radeon HD 4870 X2
      INF: Adapter index: 2, active, ID:13011456, ATI Radeon HD 4870 X2
      INF: Adapter index: 3, inact., ID:13011456, ATI Radeon HD 4870 X2
      INF: Adapter index: 4, active, ID:13454064, AMD Radeon HD 6990
      INF: Adapter index: 5, inact., ID:13454064, AMD Radeon HD 6990
      INF: Adapter index: 6, inact., ID:13454064, AMD Radeon HD 6990
      INF: Adapter index: 7, inact., ID:13454064, AMD Radeon HD 6990
      INF: Adapter index: 8, inact., ID:13454064, AMD Radeon HD 6990
      INF: Adapter index: 9, active, ID:15688544, AMD Radeon HD 6990
      INF: Adapter index 4 choosen.
      INF: Nr. of Performance Levels: 3
      Segmentation fault

      the profile for 4870 runs fine, but i get this error for the 6990. how do i run the profile for the 6990?
      thanks


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 14, 2011, 12:25:54 PM
      Hi, I finally got down to getting a fresh install and followed the guide. I had to reboot, aticonfig --initial --adapter=all then reboot again. cuz the first time I have no idea it seems like it didn't get through.

      Anyhow. I kept having failed to connect from phoenix and can't get poclbm to run. Anyone can give me an idea?
      Also via Aticonfig I can't underclock my mem to 300. I heard this got to do with the atiocl file but I don't know how to do it. I know AMDOverdriveCtrl can go to 300 and even below but I wanna write a simple script to run my miners and OC at the start of the machine.

      EDIT: poclbm can connect but phoenix keeps saying Failed to connect. -.- I don't know why poclbm had error running previously after I reboot. It runs fine.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: supa on June 14, 2011, 04:43:27 PM
      darkpandora,

      Try using the GUI to re-edit and save your 6990 config.  Seems like it might be exploding when it tries to load it - maybe a stray > or some other character somewhere?

      Also - can you set the values you want for your 6990 with aticonfig?  If the values are a bit wonky, I'd imagine AMDOverDriveCtrl might take a dive trying to set them.


      SchizophreniX,

      Double check your arguments.  poclbm and phoenix have *VERY* different ways of defining username, password and host.  Did you possibly fat finger the phoenix line?  It should be something along the lines of -u http://username:password@thepooladdress.com:8332

      poclbm lets you use the --user, --pass, --server, --port method.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: SchizophrenicX on June 14, 2011, 05:24:07 PM
      no I double checked. in fact I've been checking everytime I type it wondering if it was something so stupid.

      ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 WORKSIZE=256 VECTORS BFI_INT AGGRESSION=7
      for slush's pool

      &
      ./phoenix.py -u http://user@email.com_workername:workerpassword@pit.deepbit.net -k phatk DEVICE=1 WORKSIZE=256 VECTORS BFI_INT AGGRESSION=7
      for tycho's pool

      I just kept getting fail to connect retrying. there is no reason for this to fail if poclbm is able to connect properly no?

      *Anyway I'm still wondering about the underclocking for memory

      EDIT:
      Code:
      me@ubuntu:~/poclbm$ ./poclbm.py
      No device specified or device not found, use -d to specify one of the following

      [0] AMD Phenom(tm) II X4 B55 Processor
      [1] Cypress
      [2] Cypress
      [3] Cypress
      [4] Cypress
      [5] Cypress
      me@ubuntu:~/poclbm$ cd ../phoenix
      me@ubuntu:~/phoenix$ ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=7
      [15/06/2011 01:47:29] Phoenix r101 starting...
      [15/06/2011 01:47:30] Failed to connect, retrying...
      [15/06/2011 01:47:45] Failed to connect, retrying...
      [0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]^Cwenbin@Binbuntu:~/phoenix$ cd ../poclbm
      wenbin@Binbuntu:~/poclbm$ ./poclbm.py -d1 -o api.bitcoin.cz -u username.workername --pass=workerpassword -v -w256 -f30
      15/06/2011 01:48:39, 0b7c45c9, accepted                     
      15/06/2011 01:48:44, f2c5f913, accepted                     
      299841 khash/s



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: miningnew on June 14, 2011, 06:48:32 PM
      How can i connect to the SSH server?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: minerX on June 14, 2011, 06:51:28 PM
      no I double checked. in fact I've been checking everytime I type it wondering if it was something so stupid.

      ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 WORKSIZE=256 VECTORS BFI_INT AGGRESSION=7
      for slush's pool

      &
      ./phoenix.py -u http://user@email.com_workername:workerpassword@pit.deepbit.net -k phatk DEVICE=1 WORKSIZE=256 VECTORS BFI_INT AGGRESSION=7
      for tycho's pool

      I just kept getting fail to connect retrying. there is no reason for this to fail if poclbm is able to connect properly no?

      *Anyway I'm still wondering about the underclocking for memory

      EDIT:
      Code:
      me@ubuntu:~/poclbm$ ./poclbm.py
      No device specified or device not found, use -d to specify one of the following

      [0] AMD Phenom(tm) II X4 B55 Processor
      [1] Cypress
      [2] Cypress
      [3] Cypress
      [4] Cypress
      [5] Cypress
      me@ubuntu:~/poclbm$ cd ../phoenix
      me@ubuntu:~/phoenix$ ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=7
      [15/06/2011 01:47:29] Phoenix r101 starting...
      [15/06/2011 01:47:30] Failed to connect, retrying...
      [15/06/2011 01:47:45] Failed to connect, retrying...
      [0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]^Cwenbin@Binbuntu:~/phoenix$ cd ../poclbm
      wenbin@Binbuntu:~/poclbm$ ./poclbm.py -d1 -o api.bitcoin.cz -u username.workername --pass=workerpassword -v -w256 -f30
      15/06/2011 01:48:39, 0b7c45c9, accepted                     
      15/06/2011 01:48:44, f2c5f913, accepted                     
      299841 khash/s



      I'm using a -v and also putting a port in for phoenix.  Try those.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 15, 2011, 12:55:42 AM
      darkpandora,

      Try using the GUI to re-edit and save your 6990 config.  Seems like it might be exploding when it tries to load it - maybe a stray > or some other character somewhere?

      Also - can you set the values you want for your 6990 with aticonfig?  If the values are a bit wonky, I'd imagine AMDOverDriveCtrl might take a dive trying to set them.


      SchizophreniX,

      Double check your arguments.  poclbm and phoenix have *VERY* different ways of defining username, password and host.  Did you possibly fat finger the phoenix line?  It should be something along the lines of -u http://username:password@thepooladdress.com:8332

      poclbm lets you use the --user, --pass, --server, --port method.


      i cannot re edit in the GUI because the 4870x2 is on pci-e slot 1 and 6990 is on pci-e slot 4. when i run amdoverdriverctrl gui i can only see and edit 4870x2 profile.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 15, 2011, 01:00:26 AM
      no I double checked. in fact I've been checking everytime I type it wondering if it was something so stupid.

      ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 WORKSIZE=256 VECTORS BFI_INT AGGRESSION=7
      for slush's pool

      &
      ./phoenix.py -u http://user@email.com_workername:workerpassword@pit.deepbit.net -k phatk DEVICE=1 WORKSIZE=256 VECTORS BFI_INT AGGRESSION=7
      for tycho's pool

      I just kept getting fail to connect retrying. there is no reason for this to fail if poclbm is able to connect properly no?

      *Anyway I'm still wondering about the underclocking for memory

      EDIT:
      Code:
      me@ubuntu:~/poclbm$ ./poclbm.py
      No device specified or device not found, use -d to specify one of the following

      [0] AMD Phenom(tm) II X4 B55 Processor
      [1] Cypress
      [2] Cypress
      [3] Cypress
      [4] Cypress
      [5] Cypress
      me@ubuntu:~/poclbm$ cd ../phoenix
      me@ubuntu:~/phoenix$ ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=7
      [15/06/2011 01:47:29] Phoenix r101 starting...
      [15/06/2011 01:47:30] Failed to connect, retrying...
      [15/06/2011 01:47:45] Failed to connect, retrying...
      [0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]^Cwenbin@Binbuntu:~/phoenix$ cd ../poclbm
      wenbin@Binbuntu:~/poclbm$ ./poclbm.py -d1 -o api.bitcoin.cz -u username.workername --pass=workerpassword -v -w256 -f30
      15/06/2011 01:48:39, 0b7c45c9, accepted                     
      15/06/2011 01:48:44, f2c5f913, accepted                     
      299841 khash/s



      you have missed something, the port :)

      it should be like this:
      ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz:8332/ -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=7

      not this:
      ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=7

      you can also use poclbm instead of phatk, i get more hash/s when im using poclbm:

      ./phoenix.py -u http://username.workername:workerpassword@api.bitcoin.cz:8332/ -k poclbm Device=0 VECTORS AGGRESSION=13 WORKSIZE=128 BFI_INT FASTLOOP=false


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Acejam on June 15, 2011, 01:20:25 AM
      I'm using a very similar command line as the previous poster but for deepBit. I have a dual 6990 setup and used this Ubuntu write-up which worked out great. The only problem is, I get really low Mhash/s (200 Mhash/s) when using Phoenix. If I switch to poclbm (poclbm.py), things go up to normal. (330 Mhash/s per GPU core)

      Any thoughts? I have SDK 2.4 installed and followed the guide in the OP.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: organofcorti on June 15, 2011, 10:48:51 AM
      darkpandora,

      Try using the GUI to re-edit and save your 6990 config.  Seems like it might be exploding when it tries to load it - maybe a stray > or some other character somewhere?

      Also - can you set the values you want for your 6990 with aticonfig?  If the values are a bit wonky, I'd imagine AMDOverDriveCtrl might take a dive trying to set them.


      SchizophreniX,

      Double check your arguments.  poclbm and phoenix have *VERY* different ways of defining username, password and host.  Did you possibly fat finger the phoenix line?  It should be something along the lines of -u http://username:password@thepooladdress.com:8332

      poclbm lets you use the --user, --pass, --server, --port method.


      i cannot re edit in the GUI because the 4870x2 is on pci-e slot 1 and 6990 is on pci-e slot 4. when i run amdoverdriverctrl gui i can only see and edit 4870x2 profile.

      Try opening two new guis for for the 6990 gpus from cli. In your case, this is:

      Code:
      AMDOverdriveCtrl -i 4
      AMDOverdriveCtrl -i 9

      Each command opens a new gui for each gpu on the 6990. You can then edit the profile/s via the gui and save it/them. I keep two profiles for mine since one gpu runs hotter than the other.




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 15, 2011, 02:36:58 PM
      darkpandora,

      Try using the GUI to re-edit and save your 6990 config.  Seems like it might be exploding when it tries to load it - maybe a stray > or some other character somewhere?

      Also - can you set the values you want for your 6990 with aticonfig?  If the values are a bit wonky, I'd imagine AMDOverDriveCtrl might take a dive trying to set them.


      SchizophreniX,

      Double check your arguments.  poclbm and phoenix have *VERY* different ways of defining username, password and host.  Did you possibly fat finger the phoenix line?  It should be something along the lines of -u http://username:password@thepooladdress.com:8332

      poclbm lets you use the --user, --pass, --server, --port method.


      i cannot re edit in the GUI because the 4870x2 is on pci-e slot 1 and 6990 is on pci-e slot 4. when i run amdoverdriverctrl gui i can only see and edit 4870x2 profile.

      Try opening two new guis for for the 6990 gpus from cli. In your case, this is:

      Code:
      AMDOverdriveCtrl -i 4
      AMDOverdriveCtrl -i 9

      Each command opens a new gui for each gpu on the 6990. You can then edit the profile/s via the gui and save it/them. I keep two profiles for mine since one gpu runs hotter than the other.




      i think i have 32bit, it dont say that its 64.. my ubuntu is 64bit.. but when i try to download amdoverdrivectrl 64bit i get some kind of error from the site. do you know where i can download amdoverdrivectrl from a legit site?
      thanks.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: organofcorti on June 16, 2011, 12:57:14 AM
      Quote
      i think i have 32bit, it dont say that its 64.. my ubuntu is 64bit.. but when i try to download amdoverdrivectrl 64bit i get some kind of error from the site. do you know where i can download amdoverdrivectrl from a legit site?
      thanks.

      Dev at:

      http://sourceforge.net/projects/amdovdrvctrl/


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: darkpandora on June 16, 2011, 01:23:56 AM
      Quote
      i think i have 32bit, it dont say that its 64.. my ubuntu is 64bit.. but when i try to download amdoverdrivectrl 64bit i get some kind of error from the site. do you know where i can download amdoverdrivectrl from a legit site?
      thanks.

      Dev at:

      http://sourceforge.net/projects/amdovdrvctrl/

      i know, but i get this message when i click download:
      Unable to find any mirror information for the "/C++ sources/AMDOverdriveCtrl.1.2.0.tar.bz2" file. Please select another file.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: organofcorti on June 16, 2011, 02:19:28 AM
      try either:

      http://sourceforge.net/projects/amdovdrvctrl/files/deb%20binaries/amdoverdrivectrl_1.1.4_amd64.deb/download

      or

      Code:
      sudo apt-get install amdoverdrivectrl

      or run the gui debian installer (or synaptic or whatever), search for AMD and click on AMDOverdriveCtrl.

      Good luck.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: m4rkiz on June 17, 2011, 06:30:03 PM
      is there a line missing

      Quote
      If you have multiple cores, you'll need to export a different display variable to access the different cores, like this:
      here?
      Quote
      Show fan speed on 2nd card:  
      export DISPLAY=:0.1; aticonfig --pplib-cmd "get fanspeed 0"

      i am a complete linux newbie and i can't set fan at 100% on my second card...

      Code:
      Last login: Fri Jun 17 19:17:31 2011 from user-pc
      user@miner:~$ aticonfig --pplib-cmd "set fanspeed 0 100"
      PPLIB command execution is Successful!
      user@miner:~$ aticonfig --pplib-cmd "set fanspeed 1 100"
      PPLIB command execution has failed!
      ati_pplib_cmd: execute "set" failed!
      user@miner:~$ export DISPLAY=:0.1; aticonfig --pplib-cmd "get fanspeed 0"
      PPLIB command execution has failed!
      ati_pplib_cmd: execute "get" failed!
      user@miner:~$

      also, any recommendation on how to monitor workers if pool don't support it? saw some thread about some script recently but i can't find it now...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 17, 2011, 06:37:54 PM
      m4rkiz: What card types are you trying to set.  If you have two 5970's, you can't set 0.1, you have to set 0.1 as 0.1 doesn't have a fan, since it's just the 2nd GPU of the card.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: m4rkiz on June 17, 2011, 10:18:15 PM
      great guide, linux mining is finally working for me (donated what i mined yesterday on windows ;) )

      still have few problems (im a windows man since they made 3.11, never used too much of linux)

      i googled that to run startup script
      Quote
      update-rc.d mining.sh defaults

      must be executed, so i came up with that
      http://img857.imageshack.us/img857/8044/clipboard01xd.jpg
      but that script is not executed (yes, i used chmod, i guess it starts too soon and some magic with priorities must be done)
      so what i'm doing now is using ssh and
      Code:
      screen ./mining.sh
      with the obvious drawback

      is there somewhere part two to this guide?
      i would love to set each core in separate terminals, preferably accessible via ssh (or xrdp to keep it simple)

      that looks cool http://forum.bitcoin.org/index.php?topic=16548.0 but is not finished yet...



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: penta on June 18, 2011, 05:41:43 AM
      could u include a step by step guide to get amdoverdrivectrl to work aswell? i tried installing the catalyst drivers after doing your guide, but that seemed to fuck up everything and now poclbm dosnt work, and still couldnt get amdoverdrivectrl to work(might have done something wrong here gonna try again) says missing catalyst driver bla bla



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dmiii on June 18, 2011, 10:50:51 PM
      At the moment I'm configuring system according to guide for SDK 2.4 on fresh Ubuntu Server 11.04.
      Few notes:

      -
      Quote
      29. cd ~
      throws me to root home folder, had to return to sudoer user home

      - Also had problems installing fglrx
      Quote
      root@miner1:/home/plangus# aptitude install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy
      The following NEW packages will be installed:
        fglrx fglrx-amdcccle{a}
      0 packages upgraded, 2 newly installed, 0 to remove and 35 not upgraded.
      Need to get 0 B/28.0 MB of archives. After unpacking 79.9 MB will be used.
      Do you want to continue? [Y/n/?]
      Selecting previously deselected package fglrx.
      (Reading database ... 64190 files and directories currently installed.)
      Unpacking fglrx (from .../fglrx_2%3a8.850-0ubuntu1~xup2~natty_i386.deb) ...
      Selecting previously deselected package fglrx-amdcccle.
      Unpacking fglrx-amdcccle (from .../fglrx-amdcccle_2%3a8.850-0ubuntu1~xup2~natty_i386.deb) ...
      Processing triggers for ureadahead ...
      Setting up fglrx (2:8.850-0ubuntu1~xup2~natty) ...
      update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
      update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory
      dpkg: error processing fglrx (--configure):
       subprocess installed post-installation script returned error exit status 2
      No apport report written because MaxReports is reached already
                                                                    dpkg: dependency problems prevent configuration of fglrx-amdcccle:
       fglrx-amdcccle depends on fglrx; however:
        Package fglrx is not configured yet.
      dpkg: error processing fglrx-amdcccle (--configure):
       dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
                                                                    Errors were encountered while processing:
       fglrx
       fglrx-amdcccle
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      A package failed to install.  Trying to recover:
      Setting up fglrx (2:8.850-0ubuntu1~xup2~natty) ...
      update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
      update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory
      dpkg: error processing fglrx (--configure):
       subprocess installed post-installation script returned error exit status 2
      dpkg: dependency problems prevent configuration of fglrx-amdcccle:
       fglrx-amdcccle depends on fglrx; however:
        Package fglrx is not configured yet.
      dpkg: error processing fglrx-amdcccle (--configure):
       dependency problems - leaving unconfigured
      Errors were encountered while processing:
       fglrx
       fglrx-amdcccle
      Solved it by creating folder /usr/lib/xorg/modules/drivers
      Maybe it will be useful for anybody else...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 19, 2011, 01:01:28 AM
      I'm not really following you?  You aren't following the guide at all if you are doing this as root and using aptitude instead of apt-get. 

      Some of these steps should NOT be compiled and/or installed as root as it will break things and/or cause problems in later steps.   What ever you have done here is not part of the guide and people should NOT go down that path unless they know what they are doing.  If they know what they are doing, they probably are not reading this guide anyway.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: penta on June 19, 2011, 03:44:44 AM
      inaba great guide, any chance youll add the few steps to get amdoverdrivectrl to work?
      thanks!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on June 19, 2011, 04:53:32 AM
      I don't use or know anything about amdoverdrivectl.  I will try to take a look at it soon, super busy with getting my pool up and running at the moment, but I should have some time this coming week.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: organofcorti on June 20, 2011, 02:08:14 AM
      inaba great guide, any chance youll add the few steps to get amdoverdrivectrl to work?
      thanks!

      What are you having trouble with?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: penta on June 21, 2011, 05:38:04 AM
      when i try to start it it says missing some library, install the drivers, or something along those lines


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: organofcorti on June 22, 2011, 10:13:21 AM
      Need more info. Try installing from aptitude? You might just be missing some dependencies.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on June 22, 2011, 04:05:41 PM
      Advice for Debian users:

      1) the package "fglrx" does not exist. Instead, use "fglrx-driver" and assorted automatic list of packages.
      2) Installation of fglrx-driver will uninstall all packages linked to privative nvidia drivers. So, nvidia and ATI-radeon can not coexist, if you want for both the privative libs and drivers. This is a known bug, with no solution (I can't provide links now, but search into bugs.debian.org).

      Soon, I'll try the process described in this thread, in a Debian box with an onboard nvidia card (not suitable for mining) on which a HD5570 card will be plugged.

      Pray for me...



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: nixpins on June 23, 2011, 02:20:40 AM
      This guide is great; I've now set up two rigs (one for me, one for a friend) using it.

      I've noticed some have been asking about how to get AMDOverdriveCtrl working with this guide; here's what I did, after following every last step in this guide, including the final reboot:

      • Download the appropriate .deb file for your architecture (i386 for 32-bit, amd64 for 64-bit) from their SourceForge page (latest version at this time is 1.2.1): AMDOverdriveCtrl SourceForge Files Page (http://sourceforge.net/projects/amdovdrvctrl/files/deb%20binaries/)
      • Install using the .deb file; by default the Ubuntu Software Center will open when you double-click the .deb.
      • You can run the software at a terminal by using "AMDOverdriveCtrl -i #", replacing '#' with the index of the GPU you wish to view info on. You can get these by running "AMDOverdriveCtrl -h"; it'll likely show more than one index per GPU. (For my 5830s, I use indexes 0 and 3 to access the first and second card.) You'll need to run one instance of the software per GPU installed.
      • Optionally, I like to setup a few launchers on the Desktop to make it easier to bring the software up. (Right-click on desktop, "Create Launcher...", give it a descriptive name and use "AMDOverdriveCtrl -i #" as the command.) You could also add these commands to the Startup Applications ('System'->'Preferences'->'Startup Applications') to make it even easier.

      You can save overclocking settings by using the 'Save default' button on the 'Overdrive' tab, and it'll use those settings every time you start the software. The downside is, it'll use those same settings for every instance of the software, so if, for example, you wanted to set up different clocks for different cards, you'd have to manually load a profile each time you start the software.
      The default settings file is pretty easy to edit by hand, should one be so inclined; It is located at '~/.AMDOverdriveCtrl/default.ovdr'.

      Hopefully this helps some people. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on June 23, 2011, 02:03:12 PM

      Soon, I'll try the process described in this thread, in a Debian box with an onboard nvidia card (not suitable for mining) on which a HD5570 card will be plugged.

      Pray for me...


      Success! I installed the card without problems, and after this, I followed these instructions (with a bit of problems... phoenix does not work) Now I'm mining! Next step: refine the process.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ||bit on June 24, 2011, 01:57:34 AM
      Have all the mining guide corrections and updates mentioned in this thread been used to modify the actual first two posts of this thread? i.e. If I have two 6990's (whcih I do) can I use the second post now and expect that to be the most up to date guide? I actually already used it, and it works, but my rig keeps crashing (blacking out)...fans spin down and apparently mining does too.
      I started a thread looking for help on it at: http://forum.bitcoin.org/index.php?topic=21301.0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on June 24, 2011, 03:14:27 AM
      I just used this for my new 3rd rig. The poclbm miner looks completely different. Instead of the normal

      Date/Time/Hash/Accepted
      khash/s

      like how it is running on my 2nd linux rig and my windows rig, new one looks like

      uswest.btcguild.com:8332 Date/Time/Hash/Accepted
      uswest.btcguild.com:8332 khash/s

      Inaba did you change anything to the guide? For some strange reason long polling isn't working either, so I'm getting a bunch of shares when the long poll is supposed to happen (comparing time to other rigs)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: m4rkiz on June 25, 2011, 03:23:29 PM
      What card types are you trying to set.  If you have two 5970's, you can't set 0.1, you have to set 0.1 as 0.1 doesn't have a fan, since it's just the 2nd GPU of the card.

      i guess there is something else going here as i can't see temperature for 3rd core as well

      Code:
      user@miner:~$ aticonfig --odgt --adapter=all

      Adapter 0 - ATI Radeon HD 5900 Series
                  Sensor 0: Temperature - 66.50 C

      Adapter 1 - ATI Radeon HD 5900 Series
                  Sensor 0: Temperature - 72.00 C
      ERROR - Get temperature failed for Adapter 2 - ATI Radeon HD 5900 Series

      Adapter 3 - ATI Radeon HD 5900 Series
                  Sensor 0: Temperature - 52.50 C
      user@miner:~$

      but this may be something with xfx card itself as i couldn't set fan under windows as well, i see cores and memory speed
      in catalysts but no fan speed, perhaps some problems with internal crossfire when on pcie x1?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dishwara on June 25, 2011, 04:41:38 PM
      Thanks Inaba, with your guide i setup a Linux machine in Ubuntu 11.04 & for the past 5-6 hours mining.
      The sad thing is i can't able to mine with poclbm or phoenix, but i tried diablominer & it asked java.
      I think using software manager, i installed java(i am not sure), then diablominer working fine & mining 6 cards.

      I am complete newbie in Linux as well as programming. Your guide completely helped me to set up & mine. I used sdk 2.4.

      I also used commands to increase fan speed.
      Also, Smartcoin developer gave me command to check temp of all cards for every 5 seconds.

      Code:
      watch -n 5 aticonfig --odgt --adapter=all
      5 means 5 sec, change to 1 to get temp every 1 sec, just copy, paste in terminal.

      I under clocked memory to only 900Mhz as it doesn't allow to go below that. Its due to 11.5.
      Some said 11.6 don't have limitation & can reduce memory to below BIOS level.

      http://forum.bitcoin.org/index.php?topic=19776.msg275558#msg275558

      Can you please give step by step guide to uninstall 11.5 & install 11.6 & also config cards.

      I hope after installing  "sudo aticonfig --initial -f --adapter=all" will config cards & reboot to complete. (I am not sure).
      I downloaded ati-driver-installer-11-6-x86.x86_64.run file from AMD site & don't know how to go past that.

      please give step by step as you did in 1st & 2nd post, so i can uninstall 11.5 & install 11.6 which will help me to reduce mem clock which will reduce temp. & also it will be useful to others.
      Thank you.
       


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bunnybare on June 25, 2011, 09:08:32 PM
      Thanks for the guide. It was easy to follow.

      Do you have any tutorials on installing Catalyst 11.6?
      The few tutorials I have googled does not work for me.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: penta on June 26, 2011, 12:06:25 PM
      This guide is great; I've now set up two rigs (one for me, one for a friend) using it.

      I've noticed some have been asking about how to get AMDOverdriveCtrl working with this guide; here's what I did, after following every last step in this guide, including the final reboot:

      • Download the appropriate .deb file for your architecture (i386 for 32-bit, amd64 for 64-bit) from their SourceForge page (latest version at this time is 1.2.1): AMDOverdriveCtrl SourceForge Files Page (http://sourceforge.net/projects/amdovdrvctrl/files/deb%20binaries/)
      • Install using the .deb file; by default the Ubuntu Software Center will open when you double-click the .deb.
      • You can run the software at a terminal by using "AMDOverdriveCtrl -i #", replacing '#' with the index of the GPU you wish to view info on. You can get these by running "AMDOverdriveCtrl -h"; it'll likely show more than one index per GPU. (For my 5830s, I use indexes 0 and 3 to access the first and second card.) You'll need to run one instance of the software per GPU installed.
      • Optionally, I like to setup a few launchers on the Desktop to make it easier to bring the software up. (Right-click on desktop, "Create Launcher...", give it a descriptive name and use "AMDOverdriveCtrl -i #" as the command.) You could also add these commands to the Startup Applications ('System'->'Preferences'->'Startup Applications') to make it even easier.

      You can save overclocking settings by using the 'Save default' button on the 'Overdrive' tab, and it'll use those settings every time you start the software. The downside is, it'll use those same settings for every instance of the software, so if, for example, you wanted to set up different clocks for different cards, you'd have to manually load a profile each time you start the software.
      The default settings file is pretty easy to edit by hand, should one be so inclined; It is located at '~/.AMDOverdriveCtrl/default.ovdr'.

      Hopefully this helps some people. :)
      tried this on a fresh install following the guide, and nothing happends except the progam gives me this, dont get the program window up or anything
      Quote
      ~$ AMDOverdriveCtrl -i 3
      INF: Nr. of Adapters: 9
      INF: Adapter index: 0, active, ID:34336384, ATI Radeon HD 5800 Series
      INF: Adapter index: 1, inact., ID:34336384, ATI Radeon HD 5800 Series
      INF: Adapter index: 2, inact., ID:34336384, ATI Radeon HD 5800 Series
      INF: Adapter index: 3, active, ID:35027456, AMD Radeon HD 6990
      INF: Adapter index: 4, inact., ID:35027456, AMD Radeon HD 6990
      INF: Adapter index: 5, inact., ID:35027456, AMD Radeon HD 6990
      INF: Adapter index: 6, inact., ID:35027456, AMD Radeon HD 6990
      INF: Adapter index: 7, inact., ID:35027456, AMD Radeon HD 6990
      INF: Adapter index: 8, active, ID:37262064, AMD Radeon HD 6990
      INF: Adapter index 3 choosen.
      INF: Nr. of Performance Levels: 3
      INF: Card's default Perf Level 0: GPU 250MHz Memory 150MHz Voltage 0.9V
      INF: Card's default Perf Level 1: GPU 500MHz Memory 1250MHz Voltage 1V
      INF: Card's default Perf Level 2: GPU 880MHz Memory 1250MHz Voltage 1.175V
      ACT: Set fan speed to default
      INF: Nr. of Displays to check 6
      WRN: color temperature setting not supported.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: stellan0r on June 26, 2011, 03:08:46 PM
      Thanks for the guide. It was easy to follow.

      Do you have any tutorials on installing Catalyst 11.6?
      The few tutorials I have googled does not work for me.

      just download the driver from the amd homepage

      http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English

      and do that in your terminal in the same folder as the driver:

      "sudo sh ati-driver-installer-11-6-x86.x86_64.run"

      when this is finished, do

      "sudo aticonfig --initial -f --adapter=all"

      and a reboot afterwards nearly always helps ;)





      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: detroit on June 26, 2011, 04:38:10 PM
      Thanks for the guide. It was easy to follow.

      Do you have any tutorials on installing Catalyst 11.6?
      The few tutorials I have googled does not work for me.

      Have you checked the bottom of this wiki?
      It's got info for how to get 11.6 to work if you have the driver ubuntu installed on its own as well as other possibilities:
      http://wiki.cchtml.com/index.php/Ubuntu_Natty_Installation_Guide#Issues



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dishwara on June 26, 2011, 05:47:24 PM
      Thanks for the guide. It was easy to follow.

      Do you have any tutorials on installing Catalyst 11.6?
      The few tutorials I have googled does not work for me.

      just download the driver from the amd homepage

      http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English

      and do that in your terminal in the same folder as the driver:

      "sudo sh ati-driver-installer-11-6-x86.x86_64.run"

      when this is finished, do

      "sudo aticonfig --initial -f --adapter=all"

      and a reboot afterwards nearly always helps ;)


      It works, thanks.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dishwara on June 26, 2011, 05:49:11 PM
      Thanks for the guide. It was easy to follow.

      Do you have any tutorials on installing Catalyst 11.6?
      The few tutorials I have googled does not work for me.

      Have you checked the bottom of this wiki?
      It's got info for how to get 11.6 to work if you have the driver ubuntu installed on its own as well as other possibilities:
      http://wiki.cchtml.com/index.php/Ubuntu_Natty_Installation_Guide#Issues

      Check out this, I wrote step by step guide, hope it helps.
      http://forum.bitcoin.org/index.php?topic=22855


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bunnybare on June 26, 2011, 06:34:21 PM
      I got it to work. Apparently I already had it installed.

      All of them said to uninstall the proprietary graphics drivers for ATI and then do the steps in
      the tutorial. I did. After I finished going through the tutorial; I couldnt find aticonfig, so I gave up
      and reinstalled the old drivers through "Additional Drivers" in Ubuntu. 

      Only to find out it gave me the latest version. Cheers.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on June 29, 2011, 07:22:58 AM
      Could you make a new update to the guide for installing 11.6? 11.6 lets you overclock past the bios limits of the card.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bunnybare on June 29, 2011, 08:14:06 AM
      Could you make a new update to the guide for installing 11.6? 11.6 lets you overclock past the bios limits of the card.

      Read the last couple pages. Good replies to the same question I had.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on June 29, 2011, 08:18:02 AM
      Could you make a new update to the guide for installing 11.6? 11.6 lets you overclock past the bios limits of the card.

      Read the last couple pages. Good replies to the same question I had.

      When I run the install, it gives me two choices? I chose 1. I can't "sudo aticonfig --initial -f --adapter=all" it says cannot find aticonfig??


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: jprockbelly on June 30, 2011, 09:07:18 AM
      great guide inaba love your work!

      Worked a treat for me on a 64-bit fresh install with a 5850 :)

      Not sure if this has been addressed yet but is there anyway to make the ./poclbm.py script start on boot?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bboques on July 01, 2011, 06:29:46 AM
      I have zero knowledge in hardware, and less than that in ubuntu, OSs or least of all terminal coding.  Yet I went through this guide and setup a computer I had someone build for me today in about 4 hours ahah/

      If anyone needs any help I'll try to assist where I can.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 01, 2011, 01:01:43 PM
      Glad it's working for you guys


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: aerion on July 03, 2011, 04:22:42 PM
      Has anyone got Dual 6990 video cards working with Ubuntu 11.04. I followed this guide, and a single 6990 works perfectly. However as soon as I put in the second card, Ubuntu fails to boot, and locks up with a black screen, cannot even SSH to the machine, or bring up any TTY terminals. I enter recover mode, delete the xorg.conf file, reboot with the dual 6990 still in place; X boots into failsafe mode. I than run the command  "sudo aticonfig --initial -f --adapter=all", and reboot the machine. Than it locks up again with a black screen. Similar posts about it here:
      http://forum.bitcoin.org/index.php?topic=15908.0

      I experience similar problems with Debian Wheezy, however less fatal, as in only the screen locks up, however I can still SSH to the machine.

      I have also tried out LinuxCoin and found it to be the only distro with minimal effort to work with Dual 6990 video cards, however I would prefer to run something more Vanilla like Debian Wheezy or even Ubuntu11.04.

      Any suggestions would be appreciated.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 03, 2011, 10:22:32 PM
      I have a couple 6990's on order, as soon as they come in I'll be able to answer your question.  Assuming they come in... :p


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: village.idiot on July 05, 2011, 02:35:28 AM
      Okay, here's another N00B lost in the woods.

      I've tried to follow the instructions but may have screwed it up somewhere.
      And this may be where: I'm using PinguyOS which, if I understand correctly, is basically Ubuntu 11.04 with improvements.
      I like it a lot better than the Ubuntu distro but am willing to switch if it proves to be the problem.

      I have 2 5770 cards and used SDK 2.1

      The good news:
      When I enter ./poclbm.py with no options, it reports my CPU
      • and two GPUs [1] & [2].
      I can check temps, clock and fan speed as well as affect fan speed.
      So, all appears to be working.

      Not so good news:
      I decided to use BTC Guild and Eligius...(no, that's not the bad part)

      According to BTC Guild's How to Connect page, my command line should look something like
      ./poclbm.py -d1 --host=nl.btcguild.com --port=8332 --user=worker_name --pass=XXXX
      (they do note that they don't actually require the password)

      And I believe Eligius wants something like
      ./poclbm.py -d1 --host=mining.eligius.st --port=8337 --user=<YourAddress> --pass=x

      When I try to execute the command, poclbm gives me errors telling me that --host is not an option.
      After using the -h option, I tried --server and got past that to discover that it thinks I want to use the --port, --user and --pass options which I only want to send to the server.
      Actually, I don't know if port is for this end or the other.
      --version reports 2011.b7

      Any guess as to what I've done wrong?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 05, 2011, 04:15:09 AM
      You should use something like this:

      ./poclbm.py --user=<username> --pass=<password> --host=http://us.eclipsemc.com --port=8337 --worksize=128 --vectors --frames=5 --device=1


      EclipseMC is better than btcguild or Eligius anyway. :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: village.idiot on July 05, 2011, 11:28:35 AM
      poclbm.py: error: no such option: --user

      I'll look into EclipseMC


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 05, 2011, 12:04:54 PM
      Looks like poclbm has been substantially changed in the latest git. 

      Your new command line should be:


      ./poclbm.py --server=http://<username>:<password>@us.eclipsemc.com:8337 --worksize=128 -v -f 5 --device=1



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: village.idiot on July 05, 2011, 10:42:26 PM
      That got it running!  THANKS!!

      I need to tweak the setup a bit and I have questions about what I see on my terminals verses My Workers screen on EclipseMC but I should probably ask them on that forum.
      I registered but haven't received the confirmation email.  Maybe that village doesn't need an idiot.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 06, 2011, 02:14:21 AM
      What user name did you register as on the forums?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: village.idiot on July 06, 2011, 02:17:14 AM
      My name, of course, village.idiot


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 06, 2011, 02:18:00 AM
      You should be fixed now.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: village.idiot on July 06, 2011, 02:19:20 AM
      Yeah, that's what they said when they discovered I was an idiot!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: IlbiStarz on July 06, 2011, 03:40:11 AM
      Can anyone help me?

      http://forum.bitcoin.org/index.php?topic=26412.0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: aerion on July 06, 2011, 12:56:01 PM
      Okay I finally got two 6990 vid cards working in both Debian Wheezy and Ubuntu 11.04. Instead of installing the packaged fglrx drivers for each distro, I downloaded the latest drivers from AMD website and installed that instead, no issues so far, system does not lockup at bootup anymore.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: irishmick on July 06, 2011, 11:59:17 PM
      Does anyone know how to remove the restriction where when running from a ubuntu 11.04 "Live USB" with persistent storage it requires you to hit the enter key after doing a shutdown? I was at work (and of course this was on my lunch break) ha ha ha did a shutdown now -r and I had to call my brother to run downstairs and hit the enter key so ubuntu would actually do the reboot rather than requesting that the CD or USB drive be removed. This would be a tip-able reply ;o) first valid first served.

      Gracias!

      And for any wondering no I don't live with my parents I'm old enough that my brother is renting from me. No free electricity here ;o)

      Edit: yes I really did do a sudo shutdown -r now in case anyone is quick to say I didn't type it correctly above lol


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 07, 2011, 04:03:02 AM
      Have you tried simply "reboot" instead of shutdown?



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: irishmick on July 07, 2011, 11:13:37 AM
      Thanks it was worth a try. I still get the "please remove the installation media (if any) and hit ENTER:"


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 07, 2011, 11:44:24 AM
      Add "noprompt" without the quotes to the kernel append line in syslinux.cfg.  I don't recall where that file is kept off hand as I don't have a Live USB install handy.

      But again, I always question why anyone does a Live install to a USB key in the first place.  Why not just do a normal install to a bootable USB key?  It's what I do and it saves all the problems people consistently have with Live installs.  I honestly fail to see the point of a live install to a writable medium, it shouldn't even be an allowed option on most distro's.  The whole point of a live install is to NOT write data to the medium.  If you are enabling persistent storage to a writable medium, you should be doing a normal installation.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: irishmick on July 07, 2011, 03:35:49 PM
      Add "noprompt" without the quotes to the kernel append line in syslinux.cfg.  I don't recall where that file is kept off hand as I don't have a Live USB install handy.

      But again, I always question why anyone does a Live install to a USB key in the first place.  Why not just do a normal install to a bootable USB key?  It's what I do and it saves all the problems people consistently have with Live installs.  I honestly fail to see the point of a live install to a writable medium, it shouldn't even be an allowed option on most distro's.  The whole point of a live install is to NOT write data to the medium.  If you are enabling persistent storage to a writable medium, you should be doing a normal installation.


      Thank you for the noprompt tip. I'll give it a whirl tonight.

      Now that you say that I entirely agree, well mostly. Really a live boot was just the simplist/quickest way I could get an image up and running as I had borrowed a win7 enterprise install disk that I was using in "test" or unregistered mode. I believe it allows 30 days under that scenario without a check in/registration to a kms server and I was on 29 days or somesuch.

      On a side note what other problems do people have running a live usb? I've had none other than the prompting.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Nivco on July 07, 2011, 03:59:48 PM
      Great HowTo Inaba, thanks a lot.
      I followed step by step, had almost no trouble but a major pain in the a** with my extender (Ubuntu won't load properly Xorg, very weird stuff).
      What's your adress for donation ? (why not in signature btw ?)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 07, 2011, 05:19:37 PM
      Irishmick:  As far as other problems, people have had miriad of driver issues and library issues with the live installs.  I think most of those were ironed out last month, but new problems always seem to crop up and they are all solved with a normal install.  Live installs are great for CD's but horrible for anything else.

      Nivco: Huh, I have never really thought about it ... I have signatures turned off as most people have obnoxious sigs with pictures and other crap in them that nobody but the person posting cares about.  I suppose I will add it to my signature though, for those that have them turned on. :)  I'm of the philosophy that if your signature is more than 4 lines long, it's 3 lines too long.  There's no reason to have a signature that's bigger than most posts, other than to look like a dork. :)

      Donation/tip address is in the first post, but here it is: 168Bgg6HL6bLiUxQDBbdmHRbXtSsMixYCT

      Thanks!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on July 10, 2011, 03:10:19 AM
      Hello

      there is a way I can have one console and manage multiple GPU in the same machine or/and more machine(GPU'S) from may LAN?

      ps Inaba thank you so much for your work and all of you partecipating of this forum!!! Just open up new opportunity for me!

      asap I will donate but let me get some BTC first ;)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 10, 2011, 03:12:27 AM
      Not really sure what you are asking specifically?

      There was/is a program floating around that does what you want I think, though I've never used it myself and I couldn't tell you what the name is off hand.  It's in the forums somewhere though.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: irishmick on July 12, 2011, 01:47:19 AM
      Thanks. Adding noprompt worked. Gratuity on its way to you.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: m0w3r on July 14, 2011, 04:12:53 AM
      The json-rpc.org site appears to be down.  Is there an alternative?  Thanks.

      edit - this really sucks that I'm unable to continue due to this repository being down, now on 2nd day


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: stellan0r on July 14, 2011, 08:35:09 AM
      Hello

      there is a way I can have one console and manage multiple GPU in the same machine or/and more machine(GPU'S) from may LAN?

      ps Inaba thank you so much for your work and all of you partecipating of this forum!!! Just open up new opportunity for me!

      asap I will donate but let me get some BTC first ;)

      cp you can use the command "screen" in your terminal window / ssh session.
      just connect to your miner via LAN (works also via internet if you have a static ip or a dynamic dns service ;) ), enter "screen" and a new prompt appears. start your miner or whatever, and then hit ctrl+A (together, hold both) and then hit C. then a new prompt appears, you get a new tab in that terminal window. like tabed browsing in firefox (just without the tabs to click at). enter your commands here. open a new "window" with ctrl+A +C again and so on.

      cycle through windows with ctrl+A (again hold both keys) +N (for next) or +P (for previous) to go forward and backwards through your tabs.

      you can close the terminal window with the screen ssh session and resume it even after restarting the computer you used to ssh into the miner or from another machine, just connect to your miner again and type "screen -r" into your terminal. et voila, you can flip through your screen tabs again.

      With this method you will need only 1 window per miner with as many gpus inside as you want.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Flappy on July 15, 2011, 02:45:35 PM
      The json-rpc.org site appears to be down.  Is there an alternative?  Thanks.

      edit - this really sucks that I'm unable to continue due to this repository being down, now on 2nd day

      Me too.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 15, 2011, 03:17:28 PM
      Ok, you can download the file from my site: https://eclipsemc.com/files/python-jsonrpc.tar.gz

      You can then untar it in your directory and continue on instead of the svn checkout.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 15, 2011, 05:44:30 PM
      Ok, you can download the file from my site: https://eclipsemc.com/files/python-jsonrpc.tar.gz

      You can then untar it in your directory and continue on instead of the svn checkout.


      Thanks you are a saviour  ;)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 15, 2011, 09:40:00 PM
      No problem... USE MY POOL! :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 01:40:08 AM
      Guys!

       Why this guide does not use the "ati-driver-installer-11-6-x86.x86_64.run"?

       Sorry but, my 6990 arrives today and I'm already mining but, the system is pretty weird, the GPU0 reaches 395MH but the gpu1 reaches only 300MH...

       The temperature is around 89~83, is that normal?

       The cooler is running at high speed.

      Thanks!
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 01:58:52 AM
      Hi!

       I'm running:

       ./phoenix.py -u http://X:Y@uswest.btcguild.com:8332/ -k phatk VECTORS AGGRESSION=14 BFI_INT WORKSIZE=128 FASTLOOP=false DEVICE=0

      MHash: 395
      Temp: 87.0 C

       ./phoenix.py -u http://X:Y@uswest.btcguild.com:8332/ -k phatk VECTORS AGGRESSION=14 BFI_INT WORKSIZE=128 FASTLOOP=false DEVICE=1

      MHash: 290
      Temp: 79

       What am I doing wrong?!

      Thanks!!
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on July 16, 2011, 02:23:48 AM
      Hello

      there is a way I can have one console and manage multiple GPU in the same machine or/and more machine(GPU'S) from may LAN?

      ps Inaba thank you so much for your work and all of you partecipating of this forum!!! Just open up new opportunity for me!

      asap I will donate but let me get some BTC first ;)

      cp you can use the command "screen" in your terminal window / ssh session.
      just connect to your miner via LAN (works also via internet if you have a static ip or a dynamic dns service ;) ), enter "screen" and a new prompt appears. start your miner or whatever, and then hit ctrl+A (together, hold both) and then hit C. then a new prompt appears, you get a new tab in that terminal window. like tabed browsing in firefox (just without the tabs to click at). enter your commands here. open a new "window" with ctrl+A +C again and so on.

      cycle through windows with ctrl+A (again hold both keys) +N (for next) or +P (for previous) to go forward and backwards through your tabs.

      you can close the terminal window with the screen ssh session and resume it even after restarting the computer you used to ssh into the miner or from another machine, just connect to your miner again and type "screen -r" into your terminal. et voila, you can flip through your screen tabs again.

      With this method you will need only 1 window per miner with as many gpus inside as you want.

      stellan0r, thank you for the tip I just was wishing to have a more friendly way of something cn regroup up to 15 GPU. It could become too busy. I got someone told me was possible but I have to just look in the net how... so just trying to get that way to do it make it practical

      In the mean time I will practice what you suggest me!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on July 16, 2011, 02:45:58 AM
      help, I try to install another system and after all installing etc I am getting

      poclbm.py: error: no such option: --SERVER

      any advise please?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 02:52:08 AM
      help, I try to install another system and after all installing etc I am getting

      poclbm.py: error: no such option: --SERVER

      any advise please?

      Just remove "--server"

      ./poclbm.py -d0 -f0 -w128 http://X:Y@uswest.btcguild.com:8332


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 03:05:49 AM
      Hi!

       I'm running:

       ./phoenix.py -u http://X:Y@uswest.btcguild.com:8332/ -k phatk VECTORS AGGRESSION=14 BFI_INT WORKSIZE=128 FASTLOOP=false DEVICE=0

      MHash: 395
      Temp: 87.0 C

       ./phoenix.py -u http://X:Y@uswest.btcguild.com:8332/ -k phatk VECTORS AGGRESSION=14 BFI_INT WORKSIZE=128 FASTLOOP=false DEVICE=1

      MHash: 290
      Temp: 79

       What am I doing wrong?!

      Thanks!!
      Thiago

      Hi! I figure out the following to stabilize:

       "Do not run the gnome / X applications while mining!"  \o/

      1- reboot
      2- login via SSH with root
      3- run: service gdm stop
      4- run: screen -aAdR
      5- run: X

      6- Press: control+a c
      7- run: ./poclbm.py -d0 -f0 -w128 http://X:Y@uswest.btcguild.com:8332 - getting [357.657 MH/s (~400 MH/s)] - temp 89.50 C

      8- Press: control+a c
      9- run: ./poclbm.py -d1 -f0 -w128 http://X:Y@uswest.btcguild.com:8332 - getting [357.701 MH/s (~250 MH/s)] - temp 89.50 C

       But if I change the poclbm to phoenix, I got:

      7- run: ./phoenix.py -u http://X:Y@uswest.btcguild.com:8332/ -k phatk VECTORS AGGRESSION=12 BFI_INT WORKSIZE=128 FASTLOOP=false DEVICE=0 - [395.46 Mhash/sec] - temp 98.00 C


      9- run: ./phoenix.py -u http://X:Y@uswest.btcguild.com:8332/ -k phatk VECTORS AGGRESSION=12 BFI_INT WORKSIZE=128 FASTLOOP=false DEVICE=1 - [395.34 Mhash/sec] - temp 97.10 C

      All coolers are running at 100%.

      No overclock, I just bought the 6990 and install, all defaults from factory.


      My question is: It is safe to run close to 100 ºC ??!


      Code:
      root@garimpeiro-2:~# aticonfig --odgc --adapter=all

      Adapter 0 - AMD Radeon HD 6990
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    880           1250
                   Current Peak :    880           1250
        Configurable Peak Range : [500-1200]     [1250-1500]
                       GPU load :    99%

      Adapter 1 - AMD Radeon HD 6990
                                  Core (MHz)    Memory (MHz)
                 Current Clocks :    880           1250
                   Current Peak :    880           1250
        Configurable Peak Range : [500-1200]     [1250-1500]
                       GPU load :    99%

       Second question: anybody running water-cooled 6990?
       I'm thinking in get one of these:

       http://www.koolance.com/water-cooling/product_info.php?product_id=1117 (http://www.koolance.com/water-cooling/product_info.php?product_id=1117)
       http://www.swiftech.com/epsilonhd-6990fullcovervgawaterblock.aspx (http://www.swiftech.com/epsilonhd-6990fullcovervgawaterblock.aspx)

       What do you guys think?!

      Cheers,
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on July 16, 2011, 03:12:36 AM
      works thank you

      about 100c from my reading and some users asked XFX customer service they don't suggest to go over 94c!

      I already burn one 6950 because of it :/


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 03:17:23 AM
      Now I chaged poclbm:

      ./poclbm.py -v -d0 -f0 http://X:Y@uswest.btcguild.com:8332 - [392.275 MH/s (~113 MH/s)] - 92.50 ºC

      ./poclbm.py -v -d1 -f0 http://X:Y@uswest.btcguild.com:8332 - [392.422 MH/s (~112 MH/s)] - 93.50 ºC

       I'm very concerned about the temperature... Please, some advice?! Bought a watercooler?

       I'll disable "-v" for instance...

      Thanks!
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 03:19:55 AM
      Shit! $#@%#$$#$%@#$%@F   :'(

      Now even with no "-v", the temperature is 94.00 ºC for GPU0 and 95.50 ºC for GPU1...

      Damn it


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 16, 2011, 03:51:45 AM
      System stabilized, using vectors, 395MH / 89.00 ºC on both cores, now I want to do overclock but:

      I run:

      Code:
      sudo aticonfig --initial -f --adapter=all

      but:

      Code:
      root@garimpeiro-2:~# aticonfig --od-enable
      ATI Overdrive(TM) enabled

      root@garimpeiro-2:~# aticonfig --od-setclocks=900,1000 --adapter=all
      ERROR - Set clocks failed for Adapter 0 - AMD Radeon HD 6990
              Please check that input values were valid
      ERROR - Set clocks failed for Adapter 1 - AMD Radeon HD 6990
              Please check that input values were valid

       What can I do?!

       Is there some setup that I can manually include within xorg.conf?

      Thanks!
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on July 16, 2011, 05:24:11 AM
      System stabilized, using vectors, 395MH / 89.00 ºC on both cores, now I want to do overclock but:

      I run:

      Code:
      sudo aticonfig --initial -f --adapter=all

      but:

      Code:
      root@garimpeiro-2:~# aticonfig --od-enable
      ATI Overdrive(TM) enabled

      root@garimpeiro-2:~# aticonfig --od-setclocks=900,1000 --adapter=all
      ERROR - Set clocks failed for Adapter 0 - AMD Radeon HD 6990
              Please check that input values were valid
      ERROR - Set clocks failed for Adapter 1 - AMD Radeon HD 6990
              Please check that input values were valid

       What can I do?!

       Is there some setup that I can manually include within xorg.conf?

      Thanks!
      Thiago
      run  aticonfig --odgc --adapter=all
      you know what is the range of values u can input and from there there is the art of OC where I don't have any luck because keep freezen on me! :( but with some cards and some right set works awesome

      good luck ;)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dishwara on July 16, 2011, 07:10:44 AM
      System stabilized, using vectors, 395MH / 89.00 ºC on both cores, now I want to do overclock but:

      I run:

      Code:
      sudo aticonfig --initial -f --adapter=all

      but:

      Code:
      root@garimpeiro-2:~# aticonfig --od-enable
      ATI Overdrive(TM) enabled

      root@garimpeiro-2:~# aticonfig --od-setclocks=900,1000 --adapter=all
      ERROR - Set clocks failed for Adapter 0 - AMD Radeon HD 6990
              Please check that input values were valid
      ERROR - Set clocks failed for Adapter 1 - AMD Radeon HD 6990
              Please check that input values were valid

       What can I do?!

       Is there some setup that I can manually include within xorg.conf?

      Thanks!
      Thiago
      http://forum.bitcoin.org/index.php?topic=22855.0
      Install 11.6 catalyst & it will allow over clock(core) & under clock(mem)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 16, 2011, 04:40:03 PM
      Do you think Ubuntu 11.04 can destroy a flash drive because of too many reads/writes?

      I was using 8GB Kingston DTIG3/8GB USB DataTraveller for like 2 weeks and then I needed to re-install Ubuntu, which led to more than 5 failed attempts with a different problem each time:
      If it managed to install successfully I got Grub problems after a restart.
      or overlapping patitions
      or I had 2 Installer crashes almost at the end of the installation
      and my last attempt to install was successful, but then the usual Grub problem and File system checking and fixing after restart

      I'm just installing it again, but this time on an USB drive with a mini HDD inside, but I somehow feel that this one will fail too - how can I find what is the problem?
      Yep, it failed again with Installer crashed.

      Now I'll leave just one video card connected to the system, will reinsert the RAM module, will load Safe Defaults in the BIOS and try again. I can't think of anything else.

      Please help.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 16, 2011, 09:24:42 PM
      I suppose it's possible, but I've been running for at least a month with a Patriot RAGE XT 8 GB USB stick in a couple systems with no problems.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 16, 2011, 09:53:00 PM
      I suppose it's possible, but I've been running for at least a month with a Patriot RAGE XT 8 GB USB stick in a couple systems with no problems.


      Do you have a Swap partition? And is it Ubuntu you are using?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 16, 2011, 10:02:53 PM
      Yes to your first question and are you serious to your second question?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Flappy on July 16, 2011, 10:21:19 PM
      after the initial reboot, I login from SSH and get this:

      Code:
      user@beast:~$ cd poclbm/
      user@beast:~/poclbm$ ./poclbm.py
      No protocol specified
      No device specified or device not found, use -d to specify one of the following

      [0]     AMD Sempron(tm) 140 Processor

      But if I login to unity desktop, then my cards get initialized.

      Now I run the same command from SSH again...
      Code:
      user@beast:~/poclbm$ ./poclbm.py
      No device specified or device not found, use -d to specify one of the following

      [0]     AMD Sempron(tm) 140 Processor
      [1]     Cypress
      [2]     Cypress
      [3]     Cypress
      [4]     Cypress
      [5]     Cypress
      [6]     Cypress

      Any way to get this to work without having to login to unity desktop?


      EDIT:  noticed this.
      Code:
      user@beast:~$ aticonfig --odgc --adapter=all
      No protocol specified
      aticonfig: This program must be run as root when no X server is active

      running sudo ./poclbm.py yields the expected output.  Is this the desired mode of operation?  Or is there a better way?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 16, 2011, 10:47:48 PM
      Flappy: For your first question - you have to have X running to initialize the drivers unfortunately.  Unity specifically doesn't have to be running, but some form of X does, even if it's a basic X session.

      For your second question, I've not yet been able to figure out exactly why some installs require root and some don't.  For all my installs, I do not need to be su root to get the odgc data... other people have different experiences, but I know that following my guide to the letter, I don't have to do it on any of my hardware, which varies quite a bit in types of cards, motherboards and CPUs (both intel and AMD).




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 17, 2011, 12:08:04 AM
      are you serious to your second question?


      Haha, forgive me, I'm trying to get a solution from a couple of places and did not think about what this topic was :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Flappy on July 17, 2011, 04:49:47 AM
      you have to have X running to initialize the drivers

      can I do that over SSH session?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 17, 2011, 05:22:17 AM
      Do what?  Run X?  Yeah.  You can run it locally or forward your X session... I'm not sure what would happen if you were running a purely forwarded X Session, though I don't see any reason it wouldn't work unless it doesn't activate the fglrx module. Hmm...



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on July 17, 2011, 06:13:58 AM
      Do what?  Run X?  Yeah.  You can run it locally or forward your X session... I'm not sure what would happen if you were running a purely forwarded X Session, though I don't see any reason it wouldn't work unless it doesn't activate the fglrx module. Hmm...


      I've only been using the X11 forwarding option in putty for months and haven't had an issue yet.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 17, 2011, 02:21:51 PM
      So the reason behind all my troubles was the flash drive got corrupted and I can only speculate that Ubuntu did it.
      So don't get surprised if your flash drive dies.

      I think the author should put that as a warning in the original post.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on July 17, 2011, 02:57:58 PM
      I'm gpu-mining ok with these advices in Debian testing.

      But I have a problem: when I switch to other tty (CTRL-ALT-Fn), mining stops. The process still stands but miner lost connection with gpu.

      In this forum I read about starting the miner even with ssh-terminal! But I don't see how... every recipe fails (i.e putting "DISPLAY :0" at the beginning).

      Any clues? TIA


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 17, 2011, 03:25:23 PM
      So the reason behind all my troubles was the flash drive got corrupted and I can only speculate that Ubuntu did it.
      So don't get surprised if your flash drive dies.

      I think the author should put that as a warning in the original post.

      There's always a chance of anything corrupting your flash drive if you use shitty flash drives.  Same goes for hard drives.  Use quality materials and you're less likely to run into problems.

      I've been running OS's from flash drives for a couple years now and I have yet to have a single corrupted flash drive.

      I'm gpu-mining ok with these advices in Debian testing.

      But I have a problem: when I switch to other tty (CTRL-ALT-Fn), mining stops. The process still stands but miner lost connection with gpu.

      In this forum I read about starting the miner even with ssh-terminal! But I don't see how... every recipe fails (i.e putting "DISPLAY :0" at the beginning).

      Any clues? TIA

      Read through this thread, all the clues are in here.  I mean, the clue(s) are even in the guide itself.  Come on, man.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: village.idiot on July 17, 2011, 03:29:53 PM
      I just ordered a Kingston 8GB flash drive so I could make a secure wallet.
      Is Kingston quality enough?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 17, 2011, 03:43:25 PM

      There's always a chance of anything corrupting your flash drive if you use shitty flash drives.  Same goes for hard drives.  Use quality materials and you're less likely to run into problems.

      I've been running OS's from flash drives for a couple years now and I have yet to have a single corrupted flash drive.


      Does Kingston 8GB Datatraveler G3 sounds shitty to you?

      Also do you use ext2 or ext4 with yours that are running fine for a couple of years?
      Because ext2 doesn't use journalling, thus much better suited for flash drives. While ext4, which is the default Ubuntu 11.04 file system is much more damaging to the drive.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on July 17, 2011, 05:10:42 PM
      I'm gpu-mining ok with these advices in Debian testing.

      But I have a problem: when I switch to other tty (CTRL-ALT-Fn), mining stops. The process still stands but miner lost connection with gpu.

      In this forum I read about starting the miner even with ssh-terminal! But I don't see how... every recipe fails (i.e putting "DISPLAY :0" at the beginning).

      Any clues? TIA

      Read through this thread, all the clues are in here.  I mean, the clue(s) are even in the guide itself.  Come on, man.


      I've tried everything: there's no way to activate gpu's from terminals out of the current X-display. Order,

      Code:
      $ ./poclbm

      gives only CPU as mining device when launched in, say, tty0. No matter if I launch a "screen" instance, or if I insist about "DISPLAY=:0" at the beginning.

      I suspect, a fundamental difference between Debian and Ubuntu is the key. But I have no expertize on this.  ???


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jen4538 on July 17, 2011, 05:25:46 PM
      Ok, you can download the file from my site: https://eclipsemc.com/files/python-jsonrpc.tar.gz

      You can then untar it in your directory and continue on instead of the svn checkout.



      can anyone explain the exact commands needed for this to install with directions given on first page , i would like to finish this guide

      Jenette


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 17, 2011, 05:38:37 PM
      Ok, you can download the file from my site: https://eclipsemc.com/files/python-jsonrpc.tar.gz

      You can then untar it in your directory and continue on instead of the svn checkout.



      can anyone explain the exact commands needed for this to install with directions given on first page , i would like to finish this guide

      Jenette
      Commands:

      1 - wget https://eclipsemc.com/files/python-jsonrpc.tar.gz
      2 - tar xzvf python-jsonrpc.tar.gz
      3 - cd python-jsonrpc/
      4 - sudo python setup.py install

      Comments:

      1 - This downloads the archive
      2 - This extracts the archive
      3 - You go inside the python-jsonrpc directory
      4 - This installs it.




      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jen4538 on July 17, 2011, 05:44:55 PM
      Ok, you can download the file from my site: https://eclipsemc.com/files/python-jsonrpc.tar.gz

      You can then untar it in your directory and continue on instead of the svn checkout.



      can anyone explain the exact commands needed for this to install with directions given on first page , i would like to finish this guide

      Jenette
      Commands:

      1 - wget https://eclipsemc.com/files/python-jsonrpc.tar.gz
      2 - tar xzvf python-jsonrpc.tar.gz
      3 - cd python-jsonrpc/
      4 - sudo python setup.py install

      Comments:

      1 - This downloads the archive
      2 - This extracts the archive
      3 - You go inside the python-jsonrpc directory
      4 - This installs it.




      this will then replace line 15 of guide correct?

      thank you very much for your help

      Jenette


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 17, 2011, 05:54:49 PM

      this will then replace line 15 of guide correct?

      thank you very much for your help

      Jenette
      Commands 1 and 2 replaces line 15 from the guide
      Command 3 is equal to Line 27 from the guide
      Command 4 is equal to Line 28 from the guide

      So you do Commands 1 and 2 instead of line 15, then follow the guide to the end.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elpresidente on July 18, 2011, 12:34:48 AM
      With the last command before reboot, I'm getting:
      Code:
      user@box:~$ sudo aticonfig --initial -f --adapter=allUnable to open /etc/ati/control, please reinstall the driver.
      aticonfig: No supported adapters detected

      If I use Ubuntu's Additional Drivers utility, it will see the adapter but the platform needs to be specified and attempting to mine sends it into a frenzy of errors.

      Any suggestions?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 18, 2011, 12:38:08 AM
      With the last command before reboot, I'm getting:
      Code:
      user@box:~$ sudo aticonfig --initial -f --adapter=allUnable to open /etc/ati/control, please reinstall the driver.
      aticonfig: No supported adapters detected

      If I use Ubuntu's Additional Drivers utility, it will see the adapter but the platform needs to be specified and attempting to mine sends it into a frenzy of errors.

      Any suggestions?

      Instead of sudo apt-get install fglrx

      try this:

      Quote
      cd ~
      sudo aptitude install dkms
      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 --buildpkg Ubuntu/natty
      sudo dpkg -i *.deb
      sudo apt-get -f install
      sudo aticonfig -f --initial --adapter=all
      sudo reboot


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: MiningBuddy on July 18, 2011, 12:41:32 AM
      With the last command before reboot, I'm getting:
      Code:
      user@box:~$ sudo aticonfig --initial -f --adapter=allUnable to open /etc/ati/control, please reinstall the driver.
      aticonfig: No supported adapters detected

      If I use Ubuntu's Additional Drivers utility, it will see the adapter but the platform needs to be specified and attempting to mine sends it into a frenzy of errors.

      Any suggestions?

      Instead of sudo apt-get install fglrx

      try this:

      Quote
      cd ~
      sudo aptitude install dkms
      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 --buildpkg Ubuntu/natty
      sudo dpkg -i *.deb
      sudo apt-get -f install
      sudo aticonfig -f --initial --adapter=all
      sudo reboot
      Hey thanks for this, I was wondering if you knew of a way to upgrade the drivers at a later date? I am running 11.5 and would like to do some testing with other versions but my linux skills are poor.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elpresidente on July 18, 2011, 01:44:45 AM
      With the last command before reboot, I'm getting:
      Code:
      user@box:~$ sudo aticonfig --initial -f --adapter=allUnable to open /etc/ati/control, please reinstall the driver.
      aticonfig: No supported adapters detected

      If I use Ubuntu's Additional Drivers utility, it will see the adapter but the platform needs to be specified and attempting to mine sends it into a frenzy of errors.

      Any suggestions?

      Instead of sudo apt-get install fglrx

      try this:

      Quote
      cd ~
      sudo aptitude install dkms
      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 --buildpkg Ubuntu/natty
      sudo dpkg -i *.deb
      sudo apt-get -f install
      sudo aticonfig -f --initial --adapter=all
      sudo reboot
      Same problem
      Code:
      user@box:~$ sudo aticonfig -f --initial --adapter=all
      sudo: aticonfig: command not found
      user@box:~$ sudo ln -s /usr/lib/fglrx/bin/aticonfig /etc/alternatives/aticonfig
      user@box:~$ sudo ln -s /etc/alternatives/aticonfig /usr/bin/aticonfig user@box:~$ sudo aticonfig -f --initial --adapter=allUnable to open /etc/ati/control, please reinstall the driver.
      aticonfig: No supported adapters detected
      user@box:~$


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on July 18, 2011, 07:57:32 AM

      Read through this thread, all the clues are in here.  I mean, the clue(s) are even in the guide itself.  Come on, man.


      I've finally found a clue (http://www.backtrack-linux.org/forums/backtrack-howtos/39969-how-gpu-bitcoin-mine-backtrack-4-your-hardware-could-now-pay-rent.html), but not in this thread neither in these forums.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: elpresidente on July 18, 2011, 03:47:13 PM

      Read through this thread, all the clues are in here.  I mean, the clue(s) are even in the guide itself.  Come on, man.


      I've finally found a clue (http://www.backtrack-linux.org/forums/backtrack-howtos/39969-how-gpu-bitcoin-mine-backtrack-4-your-hardware-could-now-pay-rent.html), but not in this thread neither in these forums.
      Thank you so much for posting this link. The information there enabled me to get mine(lol) up and running.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 18, 2011, 04:08:38 PM
      Really?  Not in this thread?  It's been discussed in several places in this thread and the guide even uses screen to accomplish the task of doing multiple things in the same terminal window.  Using screen via SSH is the answer to the question asked.

      The method used in that linked guide is like using a hammer to drive in a screw.  It will probably work but it's not the best way to go about things.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on July 18, 2011, 04:32:32 PM
      Really?  Not in this thread?  It's been discussed in several places in this thread and the guide even uses screen to accomplish the task of doing multiple things in the same terminal window.  Using screen via SSH is the answer to the question asked.

      The method used in that linked guide is like using a hammer to drive in a screw.  It will probably work but it's not the best way to go about things.


      It was a problem of permissions with X server. It seems, that Ubuntu default policy is opener than Debian's. I was not possible for me to stablish a connection to X server out of the main screen.

      In the linked method, what is really interesting to me is:

      Quote
      Next edit /etc/gdm/Init/Default and add the following code just before the exit 0.
      Code:

      Code:
      xhost +
      chmod uog+rw /dev/dri/card*



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Dusty on July 18, 2011, 04:46:59 PM
      In the linked method, what is really interesting to me is:
      Quote
      Code:
      xhost +
      chmod uog+rw /dev/dri/card*
      I've never seen the dir /dev/dri on any of my ubuntu or debian systems: do you have it?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Shevek on July 18, 2011, 05:14:54 PM
      In the linked method, what is really interesting to me is:
      Quote
      Code:
      xhost +
      chmod uog+rw /dev/dri/card*
      I've never seen the dir /dev/dri on any of my ubuntu or debian systems: do you have it?

      I didn't really plunged onto it.

      I only know that this recipe allowed me to open an xterm from text terminal and ./poclbm.py reported correctly the GPU in the same text terminal.

      So, I must further investigate...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on July 19, 2011, 09:43:51 PM
      Video board HIS-6990 lasted only 3 days of mining...

      Friends,

       I got almost 2 Bitcoins mining with my brand new HD6990 and on the third day, GUP1 stopped... When loading Xorg with ATI drivers, the computer freezes... I changed my motherboard/CPU/RAM and nothing, hangs too...

       The miner at GPU0 still works, but GPU1 gives the mere 0.1MHash and freezes the machine in seconds... I can only activate the environment using the VESA/Generic driver of Xorg... If I try to load the ATI drivers, it freezes immediatly.

       The power source is ideal, 750W... Had not done overclocking, just a test to see if the commands worked, cooler at 100% all the time ... The temperature was at peaks of 92 degrees during the day and 88.00 º C at night... So I lowered the clock to less than 880 during the day time... Incidentally, the machine was installed in a small data center of a company, with air conditioning and everything else...

      Abx!
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 20, 2011, 01:02:53 AM
      Sustained 90C operation will probably lead to premature death, however it doesn't sound like you've had the card for long enough to cause a problem like that.  It sounds like a faulty card and should be RMA'd.  The card has thermal protection built in, so you can't really overheat it to death unless it's a slow cooking death like 90C over time.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: chungenhung on July 20, 2011, 03:06:47 AM
      step 15.
      svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc

      the site has been down for a while. Is there a alternative?
      Thanks


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: CYPER on July 20, 2011, 04:16:28 AM
      step 15.
      svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc

      the site has been down for a while. Is there a alternative?
      Thanks

      http://forum.bitcoin.org/index.php?topic=29028


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bansal on July 29, 2011, 02:25:55 AM
      Thanks for the guide, I built my first rig using linuxcoin with 2 x 6970s, and it worked great, but I bought 2 x 6950s and just couldn't get it to work with those cards for some reason.  Got it up and running with Ubuntu thanks to your instructions, but for some reason on one of my 6950s I am getting a hash rate of around 330 MH/s which is about what I'd expect, but only about 200 MH/s on the second one.  Any help would be greatly appreciated.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 29, 2011, 01:03:54 PM
      Is crossfire enabled for some reason?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bansal on July 29, 2011, 04:26:29 PM
      Nope crossfire is disabled.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 29, 2011, 04:31:49 PM
      Check to be sure it's not throttling because of temp


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: catfish on July 29, 2011, 05:31:00 PM
      All my miners use Ubuntu 11.04 natty and my setup procedure is less complicated than this - but similar so I won't post another Linux miner build guide as I'd just be whoring for attention :) Yours is just fine :)

      However it may be helpful to make it damn clear to everyone that the environment variables set, and the headers and libraries passed into pyopencl when you're compiling it, MUST be the correct architecture for the actual OS you've installed.

      Many people have 64-bit CPUs but end up installing a 32-bit version of Ubuntu. Obviously, linking to 64-bit libraries when running a 32-bit system will either not work at all, or introduce a performance penalty.

      IMO, I've found that using the standard default installation procedure, and then assuming a 32-bit system - hence using 32-bit libraries and environment variables - results in performance that is very satisfactory.

      My card performance is in the top quartile of the Mining Comparison Guide for all cards that I've got running (except the 5670, which I put in as a joke, and ended up stable at 103 Mh/s which blows all the other examples out of the water, heh).


      In terms of hardware, I've got a core 2 duo (which is a 64-bit CPU), an i3 (again, 64-bit CPU) and some Pentium Dual-Core thing in a 775 socket (no idea, being a Mac bloke and we never used these CPUs in Macs). If the standard Ubuntu 11.04 natty install actually installed me a 64-bit Linux... then using the 32-bit libraries and headers may give a small performance boost. Less data needs to be shifted around, though since the VAST majority of the work is done inside the GPU cores, where the word length is fixed and the kernel the same regardless of your OS, perhaps OS bit-ness is a red herring.

      Regardless, running 64-bit on 32-bit systems sounds problematic. Since the 32-bit instructions work on all my machines, and my machines may even be 64-bit... a simple method is ALWAYS to choose the 32-bit libraries. They work.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bansal on July 29, 2011, 06:19:38 PM
      Check to be sure it's not throttling because of temp

      It's actually running cooler than the card that is giving the higher hash rate.  Bizzarre, there doesn't seem to be anything wrong with the card.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 29, 2011, 06:53:25 PM
      All my miners use Ubuntu 11.04 natty and my setup procedure is less complicated than this - but similar so I won't post another Linux miner build guide as I'd just be whoring for attention :) Yours is just fine :)

      So I'm somewhat confused on your post.  What steps would you remove?

      The rest of your post talks about 32bit and 64 bit, but doesn't come to any conclusions.  There are instructions for installing 32 bit and 64 bit flavors of the libraries you need.  If you are not smart enough to figure out that you need 64 bit libraries for 64 bit installs and 32 bit libraries for 32 bit installs it's likely you aren't really destined to run Linux anyway. The Ubuntu installer won't arbitrarily install a 64 bit or a 32 bit install since you need to explicitly download either the 32 bit or 64 bit ISO.

      Quote
      My card performance is in the top quartile of the Mining Comparison Guide for all cards that I've got running (except the 5670, which I put in as a joke, and ended up stable at 103 Mh/s which blows all the other examples out of the water, heh).

      I'm not sure what this has to do with installing Ubuntu.

      Quote
      If the standard Ubuntu 11.04 natty install actually installed me a 64-bit Linux... then using the 32-bit libraries and headers may give a small performance boost. Less data needs to be shifted around, though since the VAST majority of the work is done inside the GPU cores, where the word length is fixed and the kernel the same regardless of your OS, perhaps OS bit-ness is a red herring.

      It will not give a performance boost.  There is absolutely no compelling reason to install the 32 bit version of Ubuntu unless you need to for an explicit reason (a 32 bit cpu or other application that only runs in 32 bit for example).  It's time to move on and sticking with 32 bit is like clinging to Windows 95.  There's no reason for it and it offers absolutely nothing as far as advantages go and you are only limiting yourself going forward. It's backwards thinking to install a 32 bit OS in this day and age.

      Quote
      Regardless, running 64-bit on 32-bit systems sounds problematic. Since the 32-bit instructions work on all my machines, and my machines may even be 64-bit... a simple method is ALWAYS to choose the 32-bit libraries. They work.

      Why would you even attempt this?

      A simple method is to ALWAYS choose a 64 bit install unless there is a compelling, specific reason not to.  Being a Luddite or technophobe is not a compelling reason and only serves to harm not only yourself but also everyone else, since your statistics will be rolled into the statistics at large, making the move to 64 bit take longer than necessary because you are too scared to move on.  Stick with 32 bit if you want to, but don't expect people to support you, your decisions, hardware or software going forward.  You are on your own.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 29, 2011, 06:57:49 PM
      Check to be sure it's not throttling because of temp

      It's actually running cooler than the card that is giving the higher hash rate.  Bizzarre, there doesn't seem to be anything wrong with the card.

      And your clock setting on the cards?  (aticonfig --odgc --adapter=all)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: catfish on July 29, 2011, 07:52:00 PM
      The rest of your post talks about 32bit and 64 bit, but doesn't come to any conclusions.  There are instructions for installing 32 bit and 64 bit flavors of the libraries you need.  If you are not smart enough to figure out that you need 64 bit libraries for 64 bit installs and 32 bit libraries for 32 bit installs it's likely you aren't really destined to run Linux anyway. The Ubuntu installer won't arbitrarily install a 64 bit or a 32 bit install since you need to explicitly download either the 32 bit or 64 bit ISO.

      <snip>

      A simple method is to ALWAYS choose a 64 bit install unless there is a compelling, specific reason not to.  Being a Luddite or technophobe is not a compelling reason and only serves to harm not only yourself but also everyone else, since your statistics will be rolled into the statistics at large, making the move to 64 bit take longer than necessary because you are too scared to move on.  Stick with 32 bit if you want to, but don't expect people to support you, your decisions, hardware or software going forward.  You are on your own.
      Whoa there, had a bad day?

      I've been running Linux since 1993. Normally it's a good idea not to claim people are idiots until you know a little more about their experience and technical ability... the 'technophobe' jibe made me laugh... 13 years running a tech company, perhaps you need to realise that bitcoin mining also has a business element - profit is highly dependent on power consumption and only the GPUs matter... I don't want a pissing contest so let's leave the snarks there, eh?

      However it's good to learn something every day. I've been using OS X on my GUI boxes since Apple released it, leaving Linux for the servers. And with OS X, the installer builds a 64-bit or 32-bit system automatically depending on what hardware you have. I presumed that the latest download of Ubuntu would do exactly that... I was wrong. Two different ISOs, one for each architecture. Fairy nuff, you've taught me something there, which makes a bunch of my comments meaningless.


      BUT... If you're building multiple mining boxes, and are scavenging hardware, then the ONLY real thing that matters is the number of PCIe slots on the logic board, the GPUs you're using, and the quality of your PSU. Hence having ONE system build that works on all is efficient. This is why I recommend the 32-bit platform. Obviously, an old board I picked up for nothing isn't likely to run 64-bit. Otherwise, you need two Ubuntu ISOs and two sets of scripts to build a miner.

      Also, power concerns are important. Performance of mining is all in the GPUs - processor and system RAM performance is irrelevant. Hence you get *absolutely zero* gain from using 64-bit code anywhere. My thinking is that the doubling of size of all code in 64-bit implementations could increase power consumption of the bits that *don't matter* - the CPU and system RAM. I presume you have a broad knowledge of CPU microarchitecture, specifically how x86-64 operates when switched into 32-bit mode? If running 32-bit code on a 64-bit CPU required emulation or execution in a separate core (as per the old Itanium) then I'd agree completely with you. But at least with x86-64, this is not the case, and 32-bit code can be run using *less of the CPU die* than in full 64-bit mode. Remember that x86-64 has many more registers, for one - the fewer transistors actually *used* corresponds to a reduction in power consumption by the CPU. I'd like to see some hard stats to validate my theory though... perhaps I'll download the 64-bit Ubuntu and do exactly that...


      Look - don't take this personally - I'm saying that bitcoin mining is the sort of job that could be efficiently done on an Atom Netbook if it had enough PCIe slots! The rest of the system doesn't matter. So why increase the size of the OS, the size of the apps, the amount of data moved around, etc. with 64-bit implementations?

      I simply stick with the right tool for the job. Unless you're using your miner for something else, there's no need to have anything other than a basic 32-bit build which will work on all boxes you decide to start mining on. Simple as that. I don't consider 'time to move on' or 'keeping up with technology' a valid reason. A mining machine is a dedicated unit where all the work is done on the GPUs. The rest of the system is simply management, control and networking. Can you see my point here?

      None of us *want* the CPU, northbridge and integrated peripherals (other than networking...) consuming more power than absolutely necessary. Using a 32-bit implementation reduces the amount of data the OS throws around. I also underclock the CPUs for exactly the same reason. Using a 32-bit build gives a generic 'miner' install that will work on any cheap, old board you throw at it.

      If you can't see the validity of this argument, and prefer to sling insults, don't bother replying.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bansal on July 29, 2011, 08:00:30 PM
      Check to be sure it's not throttling because of temp

      It's actually running cooler than the card that is giving the higher hash rate.  Bizzarre, there doesn't seem to be anything wrong with the card.

      And your clock setting on the cards?  (aticonfig --odgc --adapter=all)
      Huh the clock on the slower card is running at 500, even though I had set it to 800 earlier.  Thanks I feel stupid for not checking that...  Any idea as to why that one would be running slower, I tried to change it to 800 but it stays at 500, I increased the other one to 840 the max aticonfig would let me.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: catfish on July 29, 2011, 08:24:30 PM
      Check to be sure it's not throttling because of temp

      It's actually running cooler than the card that is giving the higher hash rate.  Bizzarre, there doesn't seem to be anything wrong with the card.

      And your clock setting on the cards?  (aticonfig --odgc --adapter=all)
      Huh the clock on the slower card is running at 500, even though I had set it to 800 earlier.  Thanks I feel stupid for not checking that...  Any idea as to why that one would be running slower, I tried to change it to 800 but it stays at 500, I increased the other one to 840 the max aticonfig would let me.
      Have you enabled Overdrive on ALL devices? i.e. (aticonfig --od-enable --adapter=all)

      It's easy to forget and leave off the --adapter=all option, which will apply the changes to the default device only...

      That said, 500 seems rather low for the default?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bansal on July 29, 2011, 08:29:12 PM
      Check to be sure it's not throttling because of temp

      It's actually running cooler than the card that is giving the higher hash rate.  Bizzarre, there doesn't seem to be anything wrong with the card.

      And your clock setting on the cards?  (aticonfig --odgc --adapter=all)
      Huh the clock on the slower card is running at 500, even though I had set it to 800 earlier.  Thanks I feel stupid for not checking that...  Any idea as to why that one would be running slower, I tried to change it to 800 but it stays at 500, I increased the other one to 840 the max aticonfig would let me.
      Have you enabled Overdrive on ALL devices? i.e. (aticonfig --od-enable --adapter=all)

      It's easy to forget and leave off the --adapter=all option, which will apply the changes to the default device only...

      That said, 500 seems rather low for the default?
      Yup did that, did it again just to make sure, and the clock still won't go above 500.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on July 29, 2011, 09:28:31 PM
      I've been running Linux since 1993. Normally it's a good idea not to claim people are idiots until you know a little more about their experience and technical ability... the 'technophobe' jibe made me laugh... 13 years running a tech company, perhaps you need to realise that bitcoin mining also has a business element - profit is highly dependent on power consumption and only the GPUs matter... I don't want a pissing contest so let's leave the snarks there, eh?

      The "you" in the above quote was a collective you, not a personal you.  Perhaps I could have been a bit more clear on that front.


      Quote
      BUT... If you're building multiple mining boxes, and are scavenging hardware, then the ONLY real thing that matters is the number of PCIe slots on the logic board, the GPUs you're using, and the quality of your PSU. Hence having ONE system build that works on all is efficient. This is why I recommend the 32-bit platform. Obviously, an old board I picked up for nothing isn't likely to run 64-bit. Otherwise, you need two Ubuntu ISOs and two sets of scripts to build a miner.

      It's pretty unlikely that you're going to find a system board that has PCI-e slots that will not run a 64 bit CPU.  It's far more likely you'll find a 32 bit only CPU, and in the case of AMD chips, it's unlikely you'll find even that.  Intel chips it's a little more likely.  64 bit has been around and been the standard in chips since 2000 or so with the introduction of the Athlon 64.  Intel was a couple years behind on that front, but started shipping 64 bit chips in the mid 2000's.  If you're scavaging hardware from earlier than that, it's unlikely to have more than one or possibly two PCI-e slots.  The number of people that absolutely MUST run a 32 bit install is exceptionally small and catering to the lowest common denominator is counter productive and does a disservice to everyone else.

      Quote
      Also, power concerns are important. Performance of mining is all in the GPUs - processor and system RAM performance is irrelevant. Hence you get *absolutely zero* gain from using 64-bit code anywhere. My thinking is that the doubling of size of all code in 64-bit implementations could increase power consumption of the bits that *don't matter* - the CPU and system RAM. I presume you have a broad knowledge of CPU microarchitecture, specifically how x86-64 operates when switched into 32-bit mode? If running 32-bit code on a 64-bit CPU required emulation or execution in a separate core (as per the old Itanium) then I'd agree completely with you. But at least with x86-64, this is not the case, and 32-bit code can be run using *less of the CPU die* than in full 64-bit mode. Remember that x86-64 has many more registers, for one - the fewer transistors actually *used* corresponds to a reduction in power consumption by the CPU. I'd like to see some hard stats to validate my theory though... perhaps I'll download the 64-bit Ubuntu and do exactly that...

      This is an argument that is dragged out and beat to death ad infinitum and has been thoroughly debunked far better than I could do it.  Feel free to Google it.  The bottom line, though, is that the theoretical additional power usage from using 64 bit words to transport 32 bit data is so infinitesimally small as to be virtually immeasurable except by very sophisticated equipment.  For the purposes of the macro world and more specifically for the extreeeeemly high current draw of these machines when mining, the difference would not even show up in a statistical margin of error on all but the most precise measurements.  By all means, if you wish to save a small fraction of a watt per month on your power bill, install the 32 bit version... but you'll use up more power than you save over the life of your equipment downloading either ISO.

      Quote
      Look - don't take this personally - I'm saying that bitcoin mining is the sort of job that could be efficiently done on an Atom Netbook if it had enough PCIe slots! The rest of the system doesn't matter. So why increase the size of the OS, the size of the apps, the amount of data moved around, etc. with 64-bit implementations?

      I am not aware of a meaningful size difference between any 64 bit or 32 bit install.  If there is in fact a size difference in a given distro, it has everything to do with what's included in the distro and not whether it's 32 bit or 64 bit.  But the root of your question is why do it?  I've already given you several reasons.  Another reason is that what do you do when someone releases a 64 bit miner or other application that you wish to run?  You'll have to reinstall... in the meantime, those with a 64 bit installation can run both 32 bit and 64 applications.

      Quote
      I simply stick with the right tool for the job. Unless you're using your miner for something else, there's no need to have anything other than a basic 32-bit build which will work on all boxes you decide to start mining on. Simple as that. I don't consider 'time to move on' or 'keeping up with technology' a valid reason. A mining machine is a dedicated unit where all the work is done on the GPUs. The rest of the system is simply management, control and networking. Can you see my point here?

      I see your point and I find it to be somewhat lacking for reasons already stated.  If for no other reason than the one I just stated above.  You can do everything that you need to do now and in the future on a 64 bit install; the same can't be said for a 32 bit install.  There is no downside to installing 64 bit, therefore installing a 32 bit OS is artificially limiting for absolutely no reason.

      Quote
      None of us *want* the CPU, northbridge and integrated peripherals (other than networking...) consuming more power than absolutely necessary. Using a 32-bit implementation reduces the amount of data the OS throws around. I also underclock the CPUs for exactly the same reason. Using a 32-bit build gives a generic 'miner' install that will work on any cheap, old board you throw at it.

      Again, you save more power by underclocking your CPU than you will save over the lifetime of your equipment by installing a 32 bit OS in favor of a 64 bit OS... and if the time comes down the road that you decide to repurpose your machine and need a 64 bit, you'll use up much, much more power than you saved just reinstalling the OS.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: catfish on July 29, 2011, 10:38:46 PM
      Fairy nuff. From a point of view where the machine may be repurposed as a general purpose computer, I agree with you 100%. Your argument works perfectly in all such cases.

      And perhaps I should be a little more circumspect about what I'm going to do with these miner hack-boxes once the 'next big thing' (FPGAs, ASICs, perhaps) turns up and I don't need 5 graphics cards racked out on a home-made wooden frame, with some random free old machine providing the 'system controller'.

      The thing is that you don't need more than a basic 32-bit install to run a Bitcoin mining rig. If the rig is specialised (no drives, too many GPUs, etc.) then you're going to rebuild it anyway if you return it to 'general computing' use... at which point you'll probably re-install the OS - you can put 64-bit on then.

      My point of view is a one-stop easy solution that does everything for a mining setup... it appears to be a bit quicker than most of the 64-bit setups on the same card, but the differences aren't statistically significant.

      I will try to find time to try it out though. Same box, same Linux install process, same miner setup process... but the 64-bit ISO of Ubuntu natty instead. I'm downloading it now :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jbanna on August 02, 2011, 05:56:15 PM
      does anybody know what my problem is?
      I followed all those directions, and when i try to open poclbm.py only my cpu is shown ([0])
      i can run the other commands and see the fan rate of all 4 gpu's but can't open them in poclbm.

      thanks,
      jbanna


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cicada on August 02, 2011, 06:51:00 PM
      does anybody know what my problem is?
      I followed all those directions, and when i try to open poclbm.py only my cpu is shown ([0])
      i can run the other commands and see the fan rate of all 4 gpu's but can't open them in poclbm.

      thanks,
      jbanna

      If your X server is running, and you've got all your cards initialized ( aticonfig --initial -f --adapter=all as root to fix these if not ), you probably forgot to set DISPLAY=:0

      Try:

      #>  DISPLAY=:0 poclbm.py

      and see if it lists your GPUs.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jbanna on August 02, 2011, 07:26:26 PM
      I'm running 4 gpus, and have a dual monitor setup. Does anybody have any other suggestions to for my problem?

      I followed all those directions, and when i try to open poclbm.py only my cpu is shown ([0])
      i can run the other commands and see the fan rate of all 4 gpu's but can't open them in poclbm.

      Could it be an OpenCL problem? I have it installed, but it doesn't seem to working.

      thanks


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on August 02, 2011, 08:28:47 PM
      Did you follow the instructions cicada posted?  It sounds like the drivers are not being initialized in your xorg.conf file.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jbanna on August 02, 2011, 09:51:34 PM
      When i ran the command cicada posted, it still only displayed my cpu


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on August 02, 2011, 10:01:37 PM
      aticonfig --initial -f --adapter=all does not display any information about your CPU or GPU so I'm not sure how you'd get that information from that command.  Try doing it again.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jbanna on August 03, 2011, 03:11:03 AM
      ohhh, yeah it says, uninitialised file found, configuring,
      using /etc/X11/xorg.conf


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on August 03, 2011, 03:49:54 AM
      And did you reboot and does it work now?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Jbanna on August 03, 2011, 04:11:29 AM
      I rebooted and the same thing happens, only shows the cpu


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Nivco on August 04, 2011, 03:01:13 PM
      Great guide, used to set up 2 miner with 8 GPU : flawless ! Keep in mind NOT to update when prompted by Ubuntu (I tried, it failed to set up everything right).

      Tipped :)

      Thanks Inaba


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BitcoinPappi on August 07, 2011, 12:41:44 PM
      Hi,

      I am getting the following error. I tried the suggestion in the forums, but nothing works so far. Any push in the right direction is appreciated

      Uninitialised file found, configuring.
      PowerXpress error: Cannot stat '/usr/lib/fglrx/switchlibGL': No such file or directory
      Failed to initialize libglx for discrete GPU
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.fglrx-4



      Here is the output of lspci -v
      http://pastebin.com/wmwbgDhx


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BitcoinPappi on August 07, 2011, 05:27:00 PM
      Did a reinstall. I now get the following error instead. I followed the instructions to the T, had to get the python-json using bzr checkout http://bzr.json-rpc.org/trunk instead though

      Uninitialised file found, configuring.
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.original-0



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: cicada on August 07, 2011, 09:31:27 PM
      Uninitialised file found, configuring.
      Using /etc/X11/xorg.conf
      Saving back-up to /etc/X11/xorg.conf.original-0

      That's not an error.  Those are the normal messages aticonfig spits out when you have it reconfigure your X server. 

      It's telling you that the current xorg.conf isn't initialized (also happens with -f to force),  that it's using the previous xorg.conf as it's base, and that it's saving you a backup of the previous config to xorg.conf.original-0. 

      If it failed to create a new xorg.conf for some reason, it would tell you that instead.



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BitcoinPappi on August 07, 2011, 11:04:38 PM
      thanks cicada. Found that out after mutiple os reinstalls. I was using 32 bit before, I am now using 64 bit. However for some that might not have there cards showing up when going doing  ./poclbm.py only shows your cpu. Try doing  sudo ./poclbm.py it should list all your video cards then.

      If all else fails try the following below


        59  DISPLAY=:0 sudo aticonfig --initial --adapter=all
         60  echo export DISPLAY=:0 >> ~/.bashrc
      source ~/.bashrc
      sudo aticonfig --initial -f --adapter=all


      All my cards are now detected


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: the_joey_o on August 08, 2011, 12:52:40 PM
      I'm a bit of a n00b to the whole command line thing. I'm getting the following error when I try to execute "./poclbm.py":
      Code:
      Traceback (most recent call last):
        File "./poclbm.py", line 3, in <module>
          from BitcoinMiner import *
        File "/home/joey/poclbm/BitcoinMiner.py", line 4, in <module>
          from log import *

      I tried a different way to get my machine mining bitcoin with the poclbm miner that did not work, and I'm wondering if the previous method is interfering with this attempt.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on August 09, 2011, 02:46:03 AM
      thanks cicada. Found that out after mutiple os reinstalls. I was using 32 bit before, I am now using 64 bit. However for some that might not have there cards showing up when going doing  ./poclbm.py only shows your cpu. Try doing  sudo ./poclbm.py it should list all your video cards then.

      If all else fails try the following below


        59  DISPLAY=:0 sudo aticonfig --initial --adapter=all
         60  echo export DISPLAY=:0 >> ~/.bashrc
      source ~/.bashrc
      sudo aticonfig --initial -f --adapter=all


      All my cards are now detected

      THANK YOU SO MUCH FOR THIS LINES

      It was 2 weeks trying to understand why it not recognize the GPU I though was my hardware or a bad following the installation!
      u just save my @$$ :D

      please PM a worker I can contribute on your mining for a day!

      Same to u too Inaba if u give me worker I will contribute for a day!

      Unfortunately I am one of the victim of MyBitcoin and I got nothing left I have to start all over
      but thank you of this forum and Inaba I am able to mining and keep move on.

      I am glade to be part of this community and get an education of this technology, plus there is not ony @$$&le scammers on the net
      but we know it's enough to have one bad to make the work of ten to go shadow at list for a wile.

      Keep moving...

      Thank you again!!!


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BitcoinPappi on August 10, 2011, 01:01:05 AM
      Hi Christian,

      No problem, glad I could help, PM coming right up, perhaps I should put donations accepted. A worker would be great, since I just started myself


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BitcoinPappi on August 10, 2011, 01:04:01 AM
      I'm a bit of a n00b to the whole command line thing. I'm getting the following error when I try to execute "./poclbm.py":
      Code:
      Traceback (most recent call last):
        File "./poclbm.py", line 3, in <module>
          from BitcoinMiner import *
        File "/home/joey/poclbm/BitcoinMiner.py", line 4, in <module>
          from log import *

      I tried a different way to get my machine mining bitcoin with the poclbm miner that did not work, and I'm wondering if the previous method is interfering with this attempt.

      Hey,

      I think if you redo the following steps, use the example for whether 2.1 or 2.4. You basically need to redo from here cd pyopencl-0.92. But before you do that remove all .pyc files and siteconf.py. Redo the instructions and you should be up and running

      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


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: dishwara on August 16, 2011, 07:12:42 AM
      Code:
      svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
      gives this error
      svn: OPTIONS of 'http://svn.json-rpc.org/trunk/python-jsonrpc': Could not resolve hostname `svn.json-rpc.org': No address associated with hostname (http://svn.json-rpc.org)

      How to solve it?
      Also many links in 1st & 2nd post not working due to amd site change.
      please update.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bboques on August 16, 2011, 06:37:10 PM
      What does this mean?

      bit@Bit:~$ aticonfig --odgc --adapter=all
      aticonfig: This program must be run as root when no X server is active


      I just bought a new computer, had a computer shop make it, and went through all the steps but I can't tell what number my GPUs are.  I am mine successfully on my CPU so it works, but why won't my cards show up?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: stellan0r on August 16, 2011, 07:05:04 PM
      What does this mean?

      bit@Bit:~$ aticonfig --odgc --adapter=all
      aticonfig: This program must be run as root when no X server is active


      I just bought a new computer, had a computer shop make it, and went through all the steps but I can't tell what number my GPUs are.  I am mine successfully on my CPU so it works, but why won't my cards show up?


      try "sudo aticonfig --initial --adapter=all" (enter password) and then "sudo reboot" and try the "aticonfig --odgc --adapter=all" after booting again. do you get the same error?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: ThiagoCMC on August 19, 2011, 06:16:46 PM
      Guys!

       Pyopencl fails to install, look:

      Code:
      martinx@garimpeiro-4:~/pyopencl-0.92$ sudo make install
      ctags -R src || true
      /bin/sh: ctags: not found
      /usr/bin/python setup.py install
      running install
      install_dir /usr/local/lib/python2.7/dist-packages/
      Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
      /usr/bin/python -E -c pass
      TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
      running bdist_egg
      running egg_info
      writing requirements to pyopencl.egg-info/requires.txt
      writing pyopencl.egg-info/PKG-INFO
      writing top-level names to pyopencl.egg-info/top_level.txt
      writing dependency_links to pyopencl.egg-info/dependency_links.txt
      reading manifest file 'pyopencl.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'pyopencl.egg-info/SOURCES.txt'
      installing library code to build/bdist.linux-i686/egg
      running install_lib
      running build_py
      running build_ext
      creating build/bdist.linux-i686/egg
      creating build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/elementwise.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/array.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/version.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/clmath.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/__init__.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/_cl.so -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/tools.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/clrandom.py -> build/bdist.linux-i686/egg/pyopencl
      byte-compiling build/bdist.linux-i686/egg/pyopencl/elementwise.py to elementwise.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/array.py to array.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/version.py to version.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/clmath.py to clmath.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/__init__.py to __init__.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/tools.py to tools.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/clrandom.py to clrandom.pyc
      creating stub loader for pyopencl/_cl.so
      byte-compiling build/bdist.linux-i686/egg/pyopencl/_cl.py to _cl.pyc
      creating build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
      writing build/bdist.linux-i686/egg/EGG-INFO/native_libs.txt
      zip_safe flag not set; analyzing archive contents...
      creating 'dist/pyopencl-0.92-py2.7-linux-i686.egg' and adding 'build/bdist.linux-i686/egg' to it
      removing 'build/bdist.linux-i686/egg' (and everything under it)
      Processing pyopencl-0.92-py2.7-linux-i686.egg
      removing '/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg' (and everything under it)
      creating /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg
      Extracting pyopencl-0.92-py2.7-linux-i686.egg to /usr/local/lib/python2.7/dist-packages
      pyopencl 0.92 is already the active version in easy-install.pth

      Installed /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg
      Processing dependencies for pyopencl==0.92
      Searching for decorator>=3.2.0
      Reading http://pypi.python.org/simple/decorator/
      No local packages or download links found for decorator>=3.2.0
      error: Could not find suitable distribution for Requirement.parse('decorator>=3.2.0')
      make: *** [install] Error 1

       At the site http://pypi.python.org/simple/decorator/ there is only decorator-3.3.1.tar.gz!!

       This is happening with somebody!? To temporally workaround this issue, I just copy a "pre-compiled" pyopencl from my other rig to this one and the "make install" works!

       But for a brand new installation, this does not work anymore... Anyway, I'll try to compile this again in a new server next week.

      Thanks!
      Thiago


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Crispin on August 21, 2011, 09:44:45 PM
      Linux noob here.  I am posting a couple questions somewhat related to this thread because of my need for some HOWTO action.

      I followed the 64bit edition of this guide and it's working great for my 4 6790s. (I thought I did my homework on those but now I'm kinda stuck with them and would like to get the most out of them.) Anyway, since I am new to Linux, what can I do to make sure I have everything from this guide properly updated? I am not terribly afraid of the command line, but I still don't know enough about it to just start poking around. Is there anything to update at this time? If so, would someone be so kind as to post the couple lines it would take to get the job done?

      I have also seen some posts about 6xxx cards not being able to be adjusted a whole lot. In my case, I am running at 950/850 @ 1.19V. Is there any kind of software utility I could install to let me further underclock my RAM and possibly undervolt to save a couple watts and degrees C?  I haven't had much luck looking around online.  I want to maximize efficiency, profit, etc. So I am looking for the sweet spot and would rather not toast my cards too soon. Perhaps I could even sell them at some point.

      In case anyone has a setup similar to mine with really specific suggestions to offer, please PM (or post here for others' sake).

      My system specs as follows:

      Mobo: 790fx gd70
      CPU: Sempron 140
      RAM 1GB
      GPU: 4x Sapphire 6790   950/850/1.19   
      PSU: Corsair AX850

      Mining at ~860Mhash/s @ 580W
      Temps 65-80C depending on card and location on board

      ./phoenix.py ... -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=13

      I know some info here might be extraneous, but I wanted to post it for posterity and just in case...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Tuxi on August 23, 2011, 09:25:33 AM
      Another linux newb here :P

      I installed Poclbm to Ubuntu 11.04 and I got the first GPU run but the second one says this: http://koti.mbnet.fi/tuxii/error.png

      I tried disabling CF through CCC but then I lost the whole adapter, though I left the CF adapter in place.

      My setup:

      PII X3 720BE - stock
      2x 6950 watercooled - unlocked but at stock clocks

      I installed the Poclbm following this guide: http://sectio-aurea.blogspot.com/2011/05/bitcoin-mining-on-ubuntu-1104-natty.html

      So I have 2.4 SDK installed I think. I then found out that there was a newer SDK and I just downloaded it and did the SDK steps again in the guide. Both SDKs gave me the hardware error. Ati drivers were installed and downloaded by Ubuntu.

      I don't believe it's the adapters that really fail since I've been mining with them for almost two months now. If the problem won't go away I will try flipping the GPU back to stock BIOS if it really is unstable with unlocked shaders. Also the adapters are practically new, just the few months of mining 24/7 runnin around 45-60c depending on ambient temperatures.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Crispin on August 26, 2011, 09:21:05 PM
      I tried setting up a new system today with a 5850. I used the 2.1 guide for a 64bit system but my CPU went up to 100%. I've read a bit about there being a bug, but it doesnt seem to be affecting everyone. Just because of this, the 2.4 guide is far better. But I have also seen how some have gotten really good results from the 2.1 setup. Does anyone have any suggestions? I have used to search button already and it didn't seem to turn anything up except to upgrade from 2.1 to something else.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BkkCoins on August 27, 2011, 09:07:25 AM
      I tried setting up a new system today with a 5850. I used the 2.1 guide for a 64bit system but my CPU went up to 100%. I've read a bit about there being a bug, but it doesnt seem to be affecting everyone. Just because of this, the 2.4 guide is far better. But I have also seen how some have gotten really good results from the 2.1 setup. Does anyone have any suggestions? I have used to search button already and it didn't seem to turn anything up except to upgrade from 2.1 to something else.

      I think the CPU bug is in the driver not the SDK and you can use 11.6 but not 11.7 or later. This is what I found for myself using Ubuntu (2.4 and 11.6, high cpu usage bug went away).

      Also be sure to use the newer Phoenix 1.6.2 instead of 1.48. When I finally got around to updating I immediately got a 10 MH/s gain on each card.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Crispin on August 27, 2011, 09:27:41 PM
      I tried setting up a new system today with a 5850. I used the 2.1 guide for a 64bit system but my CPU went up to 100%. I've read a bit about there being a bug, but it doesnt seem to be affecting everyone. Just because of this, the 2.4 guide is far better. But I have also seen how some have gotten really good results from the 2.1 setup. Does anyone have any suggestions? I have used to search button already and it didn't seem to turn anything up except to upgrade from 2.1 to something else.

      I think the CPU bug is in the driver not the SDK and you can use 11.6 but not 11.7 or later. This is what I found for myself using Ubuntu (2.4 and 11.6, high cpu usage bug went away).

      Also be sure to use the newer Phoenix 1.6.2 instead of 1.48. When I finally got around to updating I immediately got a 10 MH/s gain on each card.

      Thanks for your reply. How do I go about upgrading what I have? -both the driver and Phoenix. I followed the 2.4 guide to the letter as of today. I am really quite new to linux and so I have no idea what or where to make an update happen. Could you post some commands for me to follow?


      My new system stats:

      Mobo: ASRock 970Extreme4
      CPU: Sempron 140
      RAM 1GB
      GPU: 1x Sapphire 5850  
      PSU: Corsair AX850



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BkkCoins on August 28, 2011, 01:51:19 AM
      I had to go back and look at #1 post to see how the drivers get installed. It looks like this tutorial uses default repository drivers and I'm not sure what version those are now (maybe 11.7?).

      You could look at the driver install step from this headless Ubuntu install below. It's actually the one I ended up using myself as I wanted a headless config (no monitor or desktop) and it looked simpler to me too.

      But even with a desktop I think the driver install step should work. I used the same process to test out 11.5, 11.6 and 11.7. You've likely already done the other steps in this install so no need to repeat.

      http://bitcointalk.org/index.php?topic=9239.0

      The only thing is to change the number 5 to 6 in the filenames referenced. Also I remember I deleted *.deb between testing each driver out just in case dpkg didn't overwrite them.

      This line below is important any time you change the GPUs in your system or move between slots. You get unpredictable results if the config isn't updated each time and the system restarted.

      sudo aticonfig -f --initial --adapter=all

      For phoenix you can follow the same steps in that tutorial but don't start with the 1.48 file choose the 1.6.2 one instead or "latest" (see link in Phoenix forum post). You can have them both present in separate directories, just make sure your miner start-script uses the one you intend by either using the full path or by cd'ing to correct version before running phoenix.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on September 02, 2011, 12:49:18 AM
      help try to reinstall and after
      13. tar zxfv pyopencl-0.92.tar.gz

      tar (child): pyopencl-0.92.tar.gz: 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

      and mainly wont work anything after this step  :-X


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on September 03, 2011, 06:57:50 AM
      Guys!

       Pyopencl fails to install, look:

      Code:
      martinx@garimpeiro-4:~/pyopencl-0.92$ sudo make install
      ctags -R src || true
      /bin/sh: ctags: not found
      /usr/bin/python setup.py install
      running install
      install_dir /usr/local/lib/python2.7/dist-packages/
      Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
      /usr/bin/python -E -c pass
      TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
      running bdist_egg
      running egg_info
      writing requirements to pyopencl.egg-info/requires.txt
      writing pyopencl.egg-info/PKG-INFO
      writing top-level names to pyopencl.egg-info/top_level.txt
      writing dependency_links to pyopencl.egg-info/dependency_links.txt
      reading manifest file 'pyopencl.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'pyopencl.egg-info/SOURCES.txt'
      installing library code to build/bdist.linux-i686/egg
      running install_lib
      running build_py
      running build_ext
      creating build/bdist.linux-i686/egg
      creating build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/elementwise.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/array.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/version.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/clmath.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/__init__.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/_cl.so -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/tools.py -> build/bdist.linux-i686/egg/pyopencl
      copying build/lib.linux-i686-2.7/pyopencl/clrandom.py -> build/bdist.linux-i686/egg/pyopencl
      byte-compiling build/bdist.linux-i686/egg/pyopencl/elementwise.py to elementwise.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/array.py to array.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/version.py to version.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/clmath.py to clmath.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/__init__.py to __init__.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/tools.py to tools.pyc
      byte-compiling build/bdist.linux-i686/egg/pyopencl/clrandom.py to clrandom.pyc
      creating stub loader for pyopencl/_cl.so
      byte-compiling build/bdist.linux-i686/egg/pyopencl/_cl.py to _cl.pyc
      creating build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO
      copying pyopencl.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
      writing build/bdist.linux-i686/egg/EGG-INFO/native_libs.txt
      zip_safe flag not set; analyzing archive contents...
      creating 'dist/pyopencl-0.92-py2.7-linux-i686.egg' and adding 'build/bdist.linux-i686/egg' to it
      removing 'build/bdist.linux-i686/egg' (and everything under it)
      Processing pyopencl-0.92-py2.7-linux-i686.egg
      removing '/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg' (and everything under it)
      creating /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg
      Extracting pyopencl-0.92-py2.7-linux-i686.egg to /usr/local/lib/python2.7/dist-packages
      pyopencl 0.92 is already the active version in easy-install.pth

      Installed /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg
      Processing dependencies for pyopencl==0.92
      Searching for decorator>=3.2.0
      Reading http://pypi.python.org/simple/decorator/
      No local packages or download links found for decorator>=3.2.0
      error: Could not find suitable distribution for Requirement.parse('decorator>=3.2.0')
      make: *** [install] Error 1
      same problem here :(

       At the site http://pypi.python.org/simple/decorator/ there is only decorator-3.3.1.tar.gz!!

       This is happening with somebody!? To temporally workaround this issue, I just copy a "pre-compiled" pyopencl from my other rig to this one and the "make install" works!

       But for a brand new installation, this does not work anymore... Anyway, I'll try to compile this again in a new server next week.

      Thanks!
      Thiago


      Title: poclbm and phoenix won't start on fresh 11.04 install
      Post by: sunbird on September 05, 2011, 04:41:08 AM
      Hi all,

      Trying to get my first rig going.

      Fresh 11.04 install.

      Followed every step of the guide, without any errors, but I'm getting this error for poclbm

      Code:
      $ ./poclbm.py
      Traceback (most recent call last):
        File "./poclbm.py", line 47, in <module>
          platforms = cl.get_platforms()
      pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

      and this one on phoenix:

      Code:
      $ ./phoenix.py
      Traceback (most recent call last):
        File "./phoenix.py", line 29, in <module>
          import minerutil
        File "/media/meerkat/phoenix/minerutil/__init__.py", line 25, in <module>
          from RPCProtocol import RPCClient
        File "/media/meerkat/phoenix/minerutil/RPCProtocol.py", line 26, in <module>
          from twisted.web.iweb import IBodyProducer
      ImportError: No module named web.iweb

      I'm sure they are related. I've browsed this thread but haven't found a solution. Would appreciate any help. This is with the 2.1 sdk.

      Edit: I noticed that most of the instructions ask for 11.04 desktop, I used server, so I'm going to reinstall and try again with a clean desktop install. It would be great to get this working with the -server versions for folks who are planning to run headless.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on September 05, 2011, 07:04:16 AM
      After a PM to Inaba he answer me:
      "I will look into rewriting it sometime in the near future."

      but not much more for now :(

      I am totally stuck I wish to help more


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BkkCoins on September 05, 2011, 07:17:26 AM
      After a PM to Inaba he answer me:
      "I will look into rewriting it sometime in the near future."

      but not much more for now :(

      I am totally stuck I wish to help more

      You might check this alternate Ubuntu install thread to see if it works better for the steps you have trouble with.

      https://bitcointalk.org/index.php?topic=9239.0

      I started with the one in this thread but ended with better results following that one.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: sunbird on September 05, 2011, 05:29:18 PM
      Hi all,

      This post did work for me https://bitcointalk.org/index.php?topic=9239.0 - at least partially. I now have the graphics cards working with the drivers and AMDsdk installed and working. But my graphics card doesn't show up with opencl:

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

      [0] AMD Sempron(tm) 145 Processor

      running /.clinfo also shows only the processor, not the card.

      But the card is installed and the graphics driver sees it:

      Code:
      $ DISPLAY=:0 sudo aticonfig --odgt --adapter=all

      Adapter 0 - ATI Radeon HD 4800 Series         
                  Sensor 0: Temperature - 48.50 C

      Thoughts from the group?



      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on September 05, 2011, 05:36:40 PM
      Hi all,

      This post did work for me https://bitcointalk.org/index.php?topic=9239.0 - at least partially. I now have the graphics cards working with the drivers and AMDsdk installed and working. But my graphics card doesn't show up with opencl:

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

      [0] AMD Sempron(tm) 145 Processor

      running /.clinfo also shows only the processor, not the card.

      But the card is installed and the graphics driver sees it:

      Code:
      $ DISPLAY=:0 sudo aticonfig --odgt --adapter=all

      Adapter 0 - ATI Radeon HD 4800 Series        
                  Sensor 0: Temperature - 48.50 C

      Thoughts from the group?


      see
      https://bitcointalk.org/index.php?topic=7514.msg438546#msg438546

      and reboot


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: sunbird on September 05, 2011, 06:52:13 PM
      Hi all,

      This post did work for me https://bitcointalk.org/index.php?topic=9239.0 - at least partially. I now have the graphics cards working with the drivers and AMDsdk installed and working. But my graphics card doesn't show up with opencl:

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

      [0] AMD Sempron(tm) 145 Processor

      running /.clinfo also shows only the processor, not the card.

      But the card is installed and the graphics driver sees it:

      Code:
      $ DISPLAY=:0 sudo aticonfig --odgt --adapter=all

      Adapter 0 - ATI Radeon HD 4800 Series        
                  Sensor 0: Temperature - 48.50 C

      Thoughts from the group?


      see
      https://bitcointalk.org/index.php?topic=7514.msg438546#msg438546

      and reboot

      Thanks. I tried this but poclbm still doesn't see my video card when running as standard user. However, in the same thread you referenced, someone mentioned running poclbm as root and that does see both my cards. The ati sdk directories are owned by root, but all the files are chmod'd 755, so they should be executable by a non-priv user. Obviously, i'm not going to run my mining as root...

      Any ideas?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Christian Pezza on September 08, 2011, 04:08:33 AM
      After a PM to Inaba he answer me:
      "I will look into rewriting it sometime in the near future."

      but not much more for now :(

      I am totally stuck I wish to help more

      You might check this alternate Ubuntu install thread to see if it works better for the steps you have trouble with.

      https://bitcointalk.org/index.php?topic=9239.0

      I started with the one in this thread but ended with better results following that one.


      same problem but the real deal is:
      Cannot write to `bitcoin-0.3.21-linux.tar.gz' (Read-only file system).

      cannot write to 'anything doesent matter what u do'

      any Idea... never changed and what make different now from 2 moths a go  ???

      Cheers

      BTW I am stuck I don't have time to study more stuff :(


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 20, 2011, 07:43:59 PM
      I got this on step 13 (I tried to traduce it):
      Code:
      user@computername:~$ tar zxfv pyopencl-0.92.tar.gz
      tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now

      Could some one explain me, what that means and how I can fix it?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: BkkCoins on September 21, 2011, 12:33:37 AM
      I got this on step 13 (I tried to traduce it):
      Code:
      user@computername:~$ tar zxfv pyopencl-0.92.tar.gz
      tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now

      Could some one explain me, what that means and how I can fix it?

      You need a dash in front of zxfv ie. -zxfv since it's options, not a filename.
      Also the order is wrong as the filename follows so the f must be last,

      -xzvf


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: amazingrando on September 22, 2011, 06:02:53 PM
      I have several machines set up with the original config (2.4) in the first post.  The driver is 11.4 and I want to upgrade to 11.6 or newer so I can over/underclock past BIOS limits.

      I tried this process, but I get a "No protocol specified" error after the upgrade
      Code:
      cd ~
      sudo apt-get remove fglrx
      wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-6-x86.x86_64.run
      sudo sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg Ubuntu/natty
      sudo dpkg -i *.deb
      sudo apt-get -f install
      sudo aticonfig -f --initial --adapter=all
      sudo reboot

      Is there a better way to do the upgrade?

      Also, can the newest version, 11.8, work with APP SDK 2.4, or would that need to be upgraded too?  If so, I'd just stick with 11.6.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 24, 2011, 03:27:49 PM
      I got this on step 13 (I tried to traduce it):
      Code:
      user@computername:~$ tar zxfv pyopencl-0.92.tar.gz
      tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now

      Could some one explain me, what that means and how I can fix it?

      You need a dash in front of zxfv ie. -zxfv since it's options, not a filename.
      Also the order is wrong as the filename follows so the f must be last,

      -xzvf

      Well, I tried some changes out and it changed nothing. I still get:

      Code:
      user@computer:~$ tar -xzvf pyopencl-0.92.tar.gz
      tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now
      Code:
      user@computer:~$ sudo tar -xzvf pyopencl-0.92.tar.gz
      tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now
      Code:
      user@computer:~$ sudo tar -xzvf pyopencl-0.92.tar.gz -C /
      tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: fivebells on September 24, 2011, 03:52:04 PM
      Well, I tried some changes out and it changed nothing. I still get:
        Tell us the output of
      Code:
      file pyopencl-0.92.tar.gz


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 24, 2011, 04:11:54 PM
      Well, I tried some changes out and it changed nothing. I still get:
        Tell us the output of
      Code:
      file pyopencl-0.92.tar.gz

      I got this:
      Code:
      user@computer:~$ file pyopencl-0.92.tar.gz
      pyopencl-0.92.tar.gz: ERROR: cannot open `pyopencl-0.92.tar.gz' (No such file or directory)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: fivebells on September 24, 2011, 04:31:03 PM
      Either you're in the wrong directory, or the download didn't succeed.  Send the output of the following command (may take a while to run, as it is crawling your entire filesystem.)

      Code:
      sudo find / -name pyopencl

      If you followed the instructions in the OP, you might also try
      Code:
      screen -r stream
        If that runs w/o errors, try Cntrl-a Cntrl-Space a few times until you cycle through.  One of the windows you see in this process will contain the wget pyopencl command.  If the download has finished, run the command
      Code:
      pwd
      , note the directory path it reports,  and follow the instructions from there.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 24, 2011, 06:37:52 PM
      Either you're in the wrong directory, or the download didn't succeed.  Send the output of the following command (may take a while to run, as it is crawling your entire filesystem.)

      Code:
      sudo find / -name pyopencl

      If you followed the instructions in the OP, you might also try
      Code:
      screen -r stream
        If that runs w/o errors, try Cntrl-a Cntrl-Space a few times until you cycle through.  One of the windows you see in this process will contain the wget pyopencl command.  If the download has finished, run the command
      Code:
      pwd
      , note the directory path it reports,  and follow the instructions from there.

      Code:
      user@computer:~$ sudo find / -name pyopencl
      [sudo] password for user:
      /usr/lib/pymodules/python2.7/pyopencl
      /usr/lib/pyshared/python2.7/pyopencl
      /usr/lib/pyshared/python2.6/pyopencl
      /usr/share/pyshared/pyopencl

      I'll try what you suggested.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: fivebells on September 24, 2011, 06:52:23 PM
      That won't work, because the output of the find command indicates that the download did not succeed.  Did you complete step 13. from the OP (https://bitcointalk.org/index.php?topic=7514.msg110331#msg110331)?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 24, 2011, 07:00:29 PM
      That won't work, because the output of the find command indicates that the download did not succeed.  Did you complete step 13. from the OP (https://bitcointalk.org/index.php?topic=7514.msg110331#msg110331)?
      Actually, it's step 13 that doesn't work for any reason.

      P.S.: I took the second Tutorial, because I have a 6670. Did I understood correctly the text?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: fivebells on September 24, 2011, 07:58:43 PM
      Can you point me at the second tutorial?  I am only aware of the one in the OP.

      Hmm, I read carelessly, thought step 13 was the download of pyopencl, since it was the first place it appears in the sequence.  It appears that those instructions are incomplete.   Try downloading it with the command
      Code:
      wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 24, 2011, 08:18:12 PM
      Can you point me at the second tutorial?  I am only aware of the one in the OP.

      Hmm, I read carelessly, thought step 13 was the download of pyopencl, since it was the first place it appears in the sequence.  It appears that those instructions are incomplete.   Try downloading it with the command
      Code:
      wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz


      (Stop speaking so complex English. I'm just a poor french guy, who got lost here :D)

      It worked, thank you very much :)

      Well, as I understood the post, the second tutorial shall be for the V2.4 of AMD SDK and the 6XXX Series.

      But don't ask me something about the command lines. I just understand the idea behind all that.

      I got one more error on step 15.
      Code:
      user@computer:~$ svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
      svn: OPTIONS de 'http://svn.json-rpc.org/trunk/python-jsonrpc': Could not resolve hostname `svn.json-rpc.org': No adress is associated with the host name (http://svn.json-rpc.org)

      While the link on step 16. works, this one doesn't.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: fivebells on September 24, 2011, 08:51:08 PM
      The python-json repository has moved.  The OP should update those instructions.  This is the new way to download that code:
      Code:
      sudo apt-get upgrade
      sudo apt-get install mercurial
      hg clone https://bitbucket.org/Kommit/python-jsonrpc


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Anonymous on September 24, 2011, 09:31:58 PM
      I finally got it installed  :D

      Thank you very much for your help :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Littleshop on September 27, 2011, 01:18:23 AM
      The python-json repository has moved.  The OP should update those instructions.  This is the new way to download that code:
      Code:
      sudo apt-get upgrade
      sudo apt-get install mercurial
      hg clone https://bitbucket.org/Kommit/python-jsonrpc
      Which steps does this replace?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: fivebells on September 27, 2011, 01:39:48 AM
      Step 15 in the OP.  I notice that there is also a wget of a python-jsonrpc at step 8, so perhaps it's redundant.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on October 30, 2011, 09:26:07 PM
      Just so you guys know, I set out to create a new guide for v11.10 (Oneiric Ocelot)... but after spending a better part of whole day trying to get it to work properly with multiple GPUs, I have given up for the time being.

      v11.10 is just plain not good for mining for a number of reasons if you have more than 1 GPU (it's ok for 1 GPU though).

      I am going to re-do the v11.04 guide and remove the x32 version, only doing an x64.  I'm pretty ticked off I wasted a whole day on v11.10 and I'm pretty ticked off at both AMD for not fixing their crap ass drivers for 3+ revisions and at Ubuntu for foisting the ultra crap that Unity is on us and also for using the crap AMD drivers that are a bag of fail (v11.8) as their base fglrx install.  

      Look for the new guide soon.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: colorprint on October 31, 2011, 10:12:30 PM
      Just so you guys know, I set out to create a new guide for v11.10 (Oneiric Ocelot)... but after spending a better part of whole day trying to get it to work properly with multiple GPUs, I have given up for the time being.

      v11.10 is just plain not good for mining for a number of reasons if you have more than 1 GPU (it's ok for 1 GPU though).

      I am going to re-do the v11.04 guide and remove the x32 version, only doing an x64.  I'm pretty ticked off I wasted a whole day on v11.10 and I'm pretty ticked off at both AMD for not fixing their crap ass drivers for 3+ revisions and at Ubuntu for foisting the ultra crap that Unity is on us and also for using the crap AMD drivers that are a bag of fail (v11.8) as their base fglrx install.  

      Look for the new guide soon.
      The ATI drivers after 11.6 have a bug that makes them consume 100% of CPU.
      But drivers before 11.7 not work with kernel 3.0+
      So I have found a patch:
      http://eduard-x.blogspot.com/2011/05/amd-catalyst-115-2639-debian.html
      and using 3.1 kernel and 11.6 drivers with this patch on Ubuntu oneiric.
      Everything works fine (also spent full day to found this solution).


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on October 31, 2011, 10:58:56 PM
      I just recommend staying away from Oneric all together.

      Here's a link to the new guide:  https://bitcointalk.org/index.php?topic=50388.0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: catfish on November 20, 2011, 08:54:58 PM
      Hi chaps

      Inaba - you may have noticed I've dropped from 2nd to 3rd in your pool - having all sorts of problems with some new style XFX 5850s and 5830s that seem to refuse to play ball with the Linux Catalyst drivers I use.

      To recall, my fastest config (which works on ALL my other systems - with 5770s to 6950s, all overclocked) is based on Lubuntu (LXDE instead of Gnome, no Unity, no Compiz, lightweight and works), using the Catalyst 11.6 proprietary driver and the 2.4 APP SDK. It works just fine, and I get some reasonably quick miners as a result.

      However, the new spiral-heatpipe XFX cards will NOT play with these settings. I thought the problem was hardware, but I'm getting OVER 50% FAILURE RATE with my 7 cards. On top of this, the cards boot fine, run through POST fine, and will install Lubuntu all the way to a full system **just fine**.

      It's only after installing the Catalyst proprietary drivers (11.6) that the whole thing fails. The machine boots into Linux, and as soon as the fglrx modules are loaded, the screen goes to chequerboard red squares (the typical failure mode for these cards, from extensive Googling). So it appears to be the driver, rather than the card.

      Since I know that the card has different voltage / frequency settings for different situations, and that they're only utilised by the proprietary driver (booting into DOS, for example, has the card stuck on the 'boot' voltage and frequencies), I've also tried a hacked BIOS. In other words - I know that the Boot settings don't crash - so I set ALL power settings to the same voltage, frequency, etc. The testing idea being that perhaps the 'idle' low-power setting crashes the card (it's 157 MHz core / 300 MHz mem). However, with everything set to 725 core / 1000 mem / 1.088V and force flashed, the card POSTs OK, boots into Linux OK, then as the Catalyst driver kicks in - red squares and complete hard lockup.

      So... I'm not willing to use the 11.7 to 11.9 drivers because of the CPU utilisation bug. But Catalyst 11.11 apparently fixes this on Linux - and also apparently installs the APP SDK in the process for you...


      OK - it makes all that script development I did a waste... but I'm now trying the 11.11 Catalyst drivers on Lubuntu 11.04 Natty to see whether this makes these cards work properly... if so, I'll update the script setup.

      Just thought a few here may be interested in this - especially if they've 'invested' in the *cheap* new XFX 5830 and 5850 cards, which apparently have GOOD core components, but poor memory (which isn't cooled in any significant way). For bitcoin mining, with underclocked memory, these cards ought to be good value, esp. with 'allegedly' top-bin GPU cores but cut-price everything else...

      I'll report back when I have solid results.

      :)

      (then perhaps I'll get back to number two on your pool Inaba!!!! ;) )


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: amazingrando on November 20, 2011, 09:42:23 PM
      Thanks catfish for this info.  I have quite a few of the XFX's but no problems like you're describing (still they do seem more flaky thank my other cards).  I'm on Ubuntu 11.04 x64 with Catalyst 11.6 and APP SDK 2.4.  Please let us know what you find out.  I am interested to see if 11.11 fixes the CPU bug, though 11.6 works just fine for me.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on November 20, 2011, 10:42:50 PM
      Well, the CPU bug is still there, at least in Windows, for 11.11.  I have a pair of 6990's that I use as my gaming rig which mines in it's off time and I installed 11.11 to solve some BF3 graphic issues, but the CPU bug remains.

      I'll be interested to know what you come up with, but I've not experienced any problems like you are describing myself.  The only XFX cards I have are some 6990s, a couple 5870's and I think one or two 5970's.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: catfish on November 21, 2011, 10:09:44 AM
      Quick update - 11.11 doesn't make the XFX cards work, but since the failure mode means:

      1. POST works
      2. Logic board BIOS / EFI works - even pretty EFI screens, no artefacts or problems
      3. Linux boots OK
      4. As soon as Catalyst drivers load in kernel - crash, red squares all over screen and *board locks up*
      5. Ethernet interface, which is smack between the GPUs in the PCI list (usually GPUs at 1:0, 2:0, Ethernet at 3:0, GPUs at 4:0 and 5:0) locks up too, so no way of getting into machine, game over

      there's no way of telling whether 11.11 fixes the CPU bug in Linux or not. Other reports say that it has.

      Once I've worked out a way to get the XFX cards working under Linux then I'll continue - clearly the bug here is with the drivers switching the GPUs into the different power modes (idle clock / voltage, power clock / voltage, 3d etc.) because the cards work just fine in DOS and BIOS screens, however complicated (and the EFI BIOSes can be rather 'flashy'). I'll start another thread to see if anyone here has hacked BIOSes enough with RBE to be able to fix this, but my initial common-sense approach (make all different levels the same as the Boot voltage / clock) didn't work, so I'm not confident...

      If the AMD APP SDK is integrated in the 11.11 Catalyst installer, as is claimed, then it'd make the Linux setup scripts a bit more simple and foolproof, and I haven't tested 11.11 on Linux for performance yet. Clearly there's little need for me - the sensible approach would be to return the faulty graphics cards and chalk it up to experience - and since my current 11.04 Lubuntu / 11.6 Catalyst / 2.4 APP SDK / catfish scripts are a two-step unattended install on any *functioning* system now, further R&D is really wasted effort. However, I've got the best part of 1.5 GH/sec of duff XFX cards that could be put to work, and now England is getting cold and my Catfish Mining Shelf Rigs are performing the very useful function of heating the house :) I ought to get them working...

      I'm giving the cards one more try, then sending them back...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: check_status on February 14, 2012, 12:27:50 PM
      Based on this guide, are there any additional things required if installing from an Ubuntu 11.04 mini.iso a.k.a. minimal install?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on February 14, 2012, 03:15:57 PM
      Yes, lots.  This guide isn't for a mini install.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Andrew Vorobyov on February 25, 2012, 11:03:04 AM
      Never mind


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: phr0stbyt3 on March 12, 2012, 05:32:18 AM
      This guide is incredible. I'm having a small problem though.

      I can run poclbm miner just fine with one card on a 2 card system(2x5850).

      When I open up a second ssh window and start another poclbm on -d1 instead of -d0, it starts, but it on has half the hash rate and it reduces the other miners hash rate by half.

      No matter what combo i use -d1 -d0  --platform etc, the second miner always cuts the first miners hash rate in half. Any ideas?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: DILLIGAF on March 12, 2012, 05:55:45 AM
      This guide is incredible. I'm having a small problem though.

      I can run poclbm miner just fine with one card on a 2 card system(2x5850).

      When I open up a second ssh window and start another poclbm on -d1 instead of -d0, it starts, but it on has half the hash rate and it reduces the other miners hash rate by half.

      No matter what combo i use -d1 -d0  --platform etc, the second miner always cuts the first miners hash rate in half. Any ideas?

      That seems like you are only starting the miners on the one card regardless of the -d switch used, I would give phoenix or cgminer a try and see if they work better with your setup and use something like below to make sure you have two devices initialized by the X server.

      Code:
      ~$ grep -i /dev/ati /var/log/Xorg.0.log
      [    20.834] ukiOpenDevice: node name is /dev/ati/card0
      [    20.834] ukiOpenDevice: node name is /dev/ati/card1
      [    21.802] ukiOpenDevice: node name is /dev/ati/card0
      [    22.196] ukiOpenDevice: node name is /dev/ati/card0
      [    22.196] ukiOpenDevice: node name is /dev/ati/card1
      [    22.378] ukiOpenDevice: node name is /dev/ati/card0
      [    22.519] ukiOpenDevice: node name is /dev/ati/card0
      [    22.519] ukiOpenDevice: node name is /dev/ati/card1
      [    22.615] ukiOpenDevice: node name is /dev/ati/card0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on March 12, 2012, 12:26:53 PM
      This guide is outdated.  There is an updated guide, though I'm not sure that it will address your problem.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bulanula on March 12, 2012, 05:59:46 PM
      This guide is outdated.  There is an updated guide, though I'm not sure that it will address your problem.


      Care to post it ? I think people stopped using Ubuntu after the stupid switch to 11.10 and forced Unity onto the users.

      At least I did ...


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on March 12, 2012, 07:02:50 PM
      It's already posted ... I don't have a link, but it's in the same forum as this guide.  Search of Oneric I think.


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Red Emerald on March 12, 2012, 09:15:10 PM
      This guide is outdated.  There is an updated guide, though I'm not sure that it will address your problem.


      Care to post it ? I think people stopped using Ubuntu after the stupid switch to 11.10 and forced Unity onto the users.

      At least I did ...
      Xubuntu ftw


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: kano on March 13, 2012, 11:01:30 AM
      There's the cgminer one ... in my sig ... that I wrote :)


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: Inaba on March 13, 2012, 12:26:32 PM
      Here's the updated guide:  https://bitcointalk.org/index.php?topic=50388.0


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: bulanula on March 13, 2012, 08:21:41 PM
      So it seems like there are 4 options for new rig software ( Linux ) :

      -DIY with Inaba's tutorial

      -kano's xubuntu guide

      -Linuxcoin which is dead

      -BAMT which is alive and kicking

      Any others I have missed ?


      Title: Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
      Post by: milazi on April 24, 2013, 04:26:48 AM
      thx,very nice.