Pages:
Author

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

member
Activity: 112
Merit: 100
"I'm not psychic; I'm just damn good"
Hi tread starter. I hope you don't mind me linking my tread to yours. I'm consolidating build discussions Smiley
member
Activity: 82
Merit: 10
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:[email protected]: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
    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
    import pyopencl as cl
  File "/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-x86_64.egg/pyopencl/__init__.py", line 3, in
    import pyopencl._cl as _cl
ImportError: libOpenCL.so: cannot open shared object file: No such file or directory
member
Activity: 61
Merit: 10
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.
legendary
Activity: 1260
Merit: 1000
At 900, that's about the right MH rate.  You need to raise your clock more if you want to raise your hash rate.
newbie
Activity: 46
Merit: 0
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?
member
Activity: 99
Merit: 10
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. 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?
member
Activity: 222
Merit: 12
Oh - something else I forgot to mention.
My English is not very good. I hope you understand something.
It's advised to underclock the memory on the graphics card. Any other Linux utility I could use to do this?
Alternatively, if I plug the card into a Windows and change the clock speeds using Afterburner, will the card remember them when I put it back into my mining PC?
member
Activity: 222
Merit: 12
Quote
ERROR - X needs to be running to perform ATI Overdrive(TM) commands
This doesn't make sense because X running because the system automatically my Unity desktop. When can get physical access machine again I'll plugging a null monitor connector graphics card output see that helps - but I'd appreciate any other suggestions about what could causing this.

Hope this is helpful someone!

edit: Changed "xinit +" to "xhost +".
legendary
Activity: 1260
Merit: 1000
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.
newbie
Activity: 26
Merit: 0
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?
legendary
Activity: 1260
Merit: 1000
What does your lspci -v say?

What about aticonfig --lsa ?
newbie
Activity: 32
Merit: 0
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? Huh
member
Activity: 82
Merit: 10
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!
newbie
Activity: 14
Merit: 0
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?
legendary
Activity: 1260
Merit: 1000
Well, that will probably not work right!  Why would one do that, anyway?  Just to try it out?
newbie
Activity: 14
Merit: 0
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.
legendary
Activity: 1260
Merit: 1000
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).

newbie
Activity: 14
Merit: 0
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)
legendary
Activity: 1260
Merit: 1000
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?
newbie
Activity: 14
Merit: 0
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.
Pages:
Jump to: