Bitcoin Forum
December 07, 2016, 10:33:39 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: mine with ubuntu 11.04?  (Read 2990 times)
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 26, 2011, 10: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!
1481106819
Hero Member
*
Offline Offline

Posts: 1481106819

View Profile Personal Message (Offline)

Ignore
1481106819
Reply with quote  #2

1481106819
Report to moderator
1481106819
Hero Member
*
Offline Offline

Posts: 1481106819

View Profile Personal Message (Offline)

Ignore
1481106819
Reply with quote  #2

1481106819
Report to moderator
1481106819
Hero Member
*
Offline Offline

Posts: 1481106819

View Profile Personal Message (Offline)

Ignore
1481106819
Reply with quote  #2

1481106819
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481106819
Hero Member
*
Offline Offline

Posts: 1481106819

View Profile Personal Message (Offline)

Ignore
1481106819
Reply with quote  #2

1481106819
Report to moderator
1481106819
Hero Member
*
Offline Offline

Posts: 1481106819

View Profile Personal Message (Offline)

Ignore
1481106819
Reply with quote  #2

1481106819
Report to moderator
1481106819
Hero Member
*
Offline Offline

Posts: 1481106819

View Profile Personal Message (Offline)

Ignore
1481106819
Reply with quote  #2

1481106819
Report to moderator
JWU42
Legendary
*
Offline Offline

Activity: 1484


View Profile
April 27, 2011, 06: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:  

http://bitcointalk.org/index.php?topic=3359.msg47174#msg47174

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


GPG PubKey | THREEMA | OTC | HeatWare | 1JWU42QLGFESoQCC4iPzUDTRiC9nx5bi95
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 28, 2011, 07: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?
niooron
Full Member
***
Offline Offline

Activity: 190


View Profile
April 28, 2011, 08: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.

14dxwuQwkQiLbZjJFfciZ26xSGdRU5mKEp
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 28, 2011, 10:51:44 PM
 #5

niooron: any chance you could walk me through that? I am not sure how to do that.
niooron
Full Member
***
Offline Offline

Activity: 190


View Profile
April 28, 2011, 11: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.

14dxwuQwkQiLbZjJFfciZ26xSGdRU5mKEp
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 29, 2011, 12:54:45 AM
 #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.
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 29, 2011, 06: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. =(
grndzero
Sr. Member
****
Offline Offline

Activity: 392


View Profile
April 29, 2011, 06: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: http://bitcointalk.org/index.php?topic=3359.msg47174#msg47174

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 29, 2011, 07: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.
grndzero
Sr. Member
****
Offline Offline

Activity: 392


View Profile
April 29, 2011, 07: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.

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
brybot
Newbie
*
Offline Offline

Activity: 24


View Profile
April 29, 2011, 07:34:48 AM
 #12

Ok. So when I switch to ATI, I'll lower my cpu usage?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!