Bitcoin Forum
March 19, 2024, 09:14:13 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
  Print  
Author Topic: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO  (Read 281363 times)
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
May 07, 2011, 09:40:52 PM
Last edit: September 01, 2011, 07:43:23 PM by Inaba
 #1

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

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
1710839653
Hero Member
*
Offline Offline

Posts: 1710839653

View Profile Personal Message (Offline)

Ignore
1710839653
Reply with quote  #2

1710839653
Report to moderator
1710839653
Hero Member
*
Offline Offline

Posts: 1710839653

View Profile Personal Message (Offline)

Ignore
1710839653
Reply with quote  #2

1710839653
Report to moderator
1710839653
Hero Member
*
Offline Offline

Posts: 1710839653

View Profile Personal Message (Offline)

Ignore
1710839653
Reply with quote  #2

1710839653
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710839653
Hero Member
*
Offline Offline

Posts: 1710839653

View Profile Personal Message (Offline)

Ignore
1710839653
Reply with quote  #2

1710839653
Report to moderator
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
May 07, 2011, 09:41:53 PM
Last edit: September 01, 2011, 07:43:42 PM by Inaba
 #2

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

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
gusta
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 07, 2011, 10:21:32 PM
 #3

Wow cool. Gonna try this out.
Spirals
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
May 07, 2011, 10:57:04 PM
 #4

Great guide. I just went through all this on my own yesterday before you posted this.  Cheesy

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!
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
May 07, 2011, 10:59:36 PM
 #5

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.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
jondecker76
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
May 09, 2011, 02:24:20 AM
 #6

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?

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2347


Eadem mutata resurgo


View Profile
May 09, 2011, 02:58:42 AM
 #7


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.

Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
May 09, 2011, 03:14:23 AM
 #8

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!

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
billywilly
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
May 09, 2011, 06:21:26 AM
 #9

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)
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
May 09, 2011, 06:46:25 AM
 #10

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.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Artefact2
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
May 09, 2011, 06:50:41 AM
 #11

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 and amdstream from the AUR.
2. Install python2-pyopencl from the official packages and python2-jsonrpc-svn 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.

A pool-biased blockchain representation, by me: pident (WTFPL)
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481
Merit: 500


View Profile
May 09, 2011, 05:21:50 PM
 #12

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

1. Install catalyst and amdstream from the AUR.
2. Install python2-pyopencl from the official packages and python2-jsonrpc-svn 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
Spirals
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
May 09, 2011, 07:42:47 PM
 #13

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
uck
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
May 09, 2011, 11:34:46 PM
 #14

might be $LD_LIBRARY_PATH is blank (?)

marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2347


Eadem mutata resurgo


View Profile
May 10, 2011, 03:27:02 AM
 #15

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?

sniper_sniperson
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
May 10, 2011, 01:12:17 PM
 #16

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
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
May 10, 2011, 02:38:08 PM
 #17

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?

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
sniper_sniperson
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
May 10, 2011, 05:01:08 PM
 #18

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
Spirals
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
May 10, 2011, 08:50:57 PM
 #19

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.
Vasili Sviridov
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile WWW
May 10, 2011, 10:12:33 PM
 #20

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.

1JHYtsmsGq2McwGHmWayVjVtHds8rp1R5
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!