Author

Topic: mine with ubuntu 11.04? (Read 3311 times)

newbie
Activity: 24
Merit: 0
April 29, 2011, 02:34:48 AM
#12
Ok. So when I switch to ATI, I'll lower my cpu usage?
sr. member
Activity: 392
Merit: 250
April 29, 2011, 02:28:23 AM
#11
Thanks for the reply. I figured it out. Turns out its an NVIDIA issue. I had to edit several files to get the make to work. https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/540171

I have yet to order the ATI card. Right now I am running a GeForce 9500. Hash rate is terrible.

The only problem I am having now is that the CPU usage is through the roof. Its not maxed out, but all 3 cores are around 75%, which is pretty high. I thought the GPU was doing all the work here? GPU temp is 65 (what is safe?), so its obviously working.

65C is ok. I try to keep mine as close to 70C as possible. The general consensus I found was definitely keep it below 80C.

I forget where I read it, but apparently nvidia's implementation of OpenCL is using the processor, not just the GPU.
newbie
Activity: 24
Merit: 0
April 29, 2011, 02:15:43 AM
#10
Thanks for the reply. I figured it out. Turns out its an NVIDIA issue. I had to edit several files to get the make to work. https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/540171

I have yet to order the ATI card. Right now I am running a GeForce 9500. Hash rate is terrible.

The only problem I am having now is that the CPU usage is through the roof. Its not maxed out, but all 3 cores are around 75%, which is pretty high. I thought the GPU was doing all the work here? GPU temp is 65 (what is safe?), so its obviously working.
sr. member
Activity: 392
Merit: 250
April 29, 2011, 01:30:34 AM
#9
Not sure where I am going wrong. Using NVIDIA for now. Have not ordered the ATI card yet.

When I get to pyopencl installation I get errors.

Code:
bryan@bryan-desktop:~/Downloads/pyopencl-0.92$ make
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/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

Any idea what I am doing wrong? I installed all the packages you mentioned except for gcc for c++ which seemed to already be installed. I have been going through the pyopencl wiki, but still getting errors. =(

Looks like it can't locate open CL. Have you installed the ATI openCL package? If so then you need to do the following (change the path if you're not using SDK 2.1):

$ ./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
$ make
$ sudo make install

Download python-jsonrpc

$ svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc

$ cd python-jsonrpc

$ sudo python setup.py install

Full instructions here: https://bitcointalksearch.org/topic/m.47174
newbie
Activity: 24
Merit: 0
April 29, 2011, 01:10:50 AM
#8
Not sure where I am going wrong. Using NVIDIA for now. Have not ordered the ATI card yet.

When I get to pyopencl installation I get errors.

Code:
bryan@bryan-desktop:~/Downloads/pyopencl-0.92$ make
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/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

Any idea what I am doing wrong? I installed all the packages you mentioned except for gcc for c++ which seemed to already be installed. I have been going through the pyopencl wiki, but still getting errors. =(
newbie
Activity: 24
Merit: 0
April 28, 2011, 07:54:45 PM
#7
Awesome! thanks =). I'll upgrade and give it a try.

Hopefully it won't be a time waste. I just don't want to put windows on this computer.
full member
Activity: 193
Merit: 100
April 28, 2011, 06:19:17 PM
#6
First open the synaptic package manager, and install all the fglrx packages, including development. Also download boost, boost-dev, g++ or gcc for c++, and subversion. Now, go to http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=125792&enterthread=y and download the packages i386 or amd64 depending on what architecture you are using, and the dev package too. The ubuntu package manager will say some crap about them being unsupported, just force install them.

Now go to http://pypi.python.org/pypi/pyopencl/0.92, download the tar, unpack, and do the usual make and make install.
Then go to a terminal and execute these commands

svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
cd python-jsonrpc/
sudo python setup.py install

And finally, download the poclbm "source", all the files, drop them in a folder, and change poclbm.py to executable.

Open a terminal, go to the folder where you dropped the files, and type

./poclbm.py -u yourusername --pass=yourpassword -d 0 -o yourminingpoolurl -p 8332 -f 60

Then be happy about all the time you wasted to get 2 more mh/s.
newbie
Activity: 24
Merit: 0
April 28, 2011, 05:51:44 PM
#5
niooron: any chance you could walk me through that? I am not sure how to do that.
full member
Activity: 193
Merit: 100
April 28, 2011, 03:36:05 PM
#4
Im using 11.04 now, mining with a radeon 4670. You need to compile py-opencl and py-json from source, the package in ubuntu uses the nvidia drivers. And you can download the ati stream sdk from a post in the ATI forums.

Anyway I'm going back to windows, I didnt get more performance.
newbie
Activity: 24
Merit: 0
April 28, 2011, 02:33:45 PM
#3
I guess what I really wanted to know is whether or not the miners will be available to an 11.04 system?
legendary
Activity: 1666
Merit: 1000
April 27, 2011, 01:12:52 PM
#2
There are several guides on how to get GUI mining with an ATI card on Ubuntu in the forums.  This is what I used:  

https://bitcointalksearch.org/topic/m.47174

I am using 10.10 but several people prefer the LTS release...

newbie
Activity: 24
Merit: 0
April 26, 2011, 05:53:43 PM
#1
I am brand new to the bitcoin world. I have been trying slush pool mining on my laptop getting around 4.5 Mhash/s which is pretty bad, but its more for learning than anything.

I don't really want to invest in a full rig, but I would like to throw a http://www.newegg.com/Product/Product.aspx?Item=N82E16814102932&Tpk=100282XTREME (I know its out of stock, may get it on amazon) into my desktop. Its a relatively cheap card, but looks like it will get 250 Mhash/s. My mobo looks to be able to accommodate it and my 525W PSU would work too.

I run Ubuntu linux 9.10. I tried to install poclbm, but it does not seem to be available for my version of Ubuntu. Otherwise, I would be playing around with mining on linux. In two days Ubuntu 11.04 will be out. Will there be a compatible version of the mining softwares available for Ubuntu 11.04 (I plan to upgrade)? I would like to get one of these cards soon. Any tips or advice would be appreciated. Just keep in mind I don't plan on spending hundreds at this point. Thanks!
Jump to: