Bitcoin Forum
December 04, 2016, 08:14:52 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 [5] 6 7 »  All
  Print  
Author Topic: 50 BTC if you write a complete guide on GPU mining on Ubuntu using ATI  (Read 95046 times)
Raulo
Full Member
***
Offline Offline

Activity: 238


View Profile
April 15, 2011, 07:54:38 PM
 #81

I will try v2.1...

Do you have 5xxx card or 6xxx? If the former, 2.1 is no brainer. If the latter, from what I heard, 2.1 does not work and one must use 2.3 or above. I tested my 5xxx with 2.3 and it works, albeit slower than 2.1 but 2.3 works with these instructions.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
1480839292
Hero Member
*
Offline Offline

Posts: 1480839292

View Profile Personal Message (Offline)

Ignore
1480839292
Reply with quote  #2

1480839292
Report to moderator
1480839292
Hero Member
*
Offline Offline

Posts: 1480839292

View Profile Personal Message (Offline)

Ignore
1480839292
Reply with quote  #2

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

Posts: 1480839292

View Profile Personal Message (Offline)

Ignore
1480839292
Reply with quote  #2

1480839292
Report to moderator
blap
Jr. Member
*
Offline Offline

Activity: 53


=)


View Profile
April 15, 2011, 08:11:37 PM
 #82

I will try v2.1...

Do you have 5xxx card or 6xxx? If the former, 2.1 is no brainer. If the latter, from what I heard, 2.1 does not work and one must use 2.3 or above. I tested my 5xxx with 2.3 and it works, albeit slower than 2.1 but 2.3 works with these instructions.

I put an error in v2.4!
now
Code:
export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.4-lnx64/lib/x86_64/
is correct.
but
Code:
$ cd /opt/AMD-APP-SDK-v2.4-lnx64/samples/opencl/bin/x86_64
$ ./clinfo |grep CL_DEVICE_TYPE_GPU
not found again...

now I get this:
Code:
Traceback (most recent call last):
  File "poclbm.py", line 27, in <module>
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

yeah...
I will reinstall ubuntu...

UPDATE
Sorry, my configurations:
Ubuntu 10.10
ATI Mobility Radeon HD 5650

I could be killing, I could be stealing. But I'm begging here:
http://payb.tc/blap or
1LLqF5bdbhQoH37ztTsZ5tmyE5Lq7jYmns
=)
aistto
Legendary
*
Offline Offline

Activity: 1005


View Profile
April 15, 2011, 09:37:09 PM
 #83

did you unzip icd-registration.tgz to /?
blap
Jr. Member
*
Offline Offline

Activity: 53


=)


View Profile
April 15, 2011, 10:27:35 PM
 #84

did you unzip icd-registration.tgz to /?

yes, with sudo.
/etc/OpenCL/vendors/
with
atiocl32.icd  atiocl64.icd
=(

I could be killing, I could be stealing. But I'm begging here:
http://payb.tc/blap or
1LLqF5bdbhQoH37ztTsZ5tmyE5Lq7jYmns
=)
aistto
Legendary
*
Offline Offline

Activity: 1005


View Profile
April 16, 2011, 10:25:02 AM
 #85

Make sure that you installed suitable drivers.
Show results of
$ fglrxinfo
valefor
Newbie
*
Offline Offline

Activity: 1


View Profile
April 20, 2011, 12:35:35 AM
 #86

I'm running into a small problem running CLInfo on ubuntu 10.10 server with a full desktop using SDK 2.1. When I run ./CLInfo I get

Code:
  Device Type: CL_DEVICE_TYPE_GPU

Rather than my GPU which is a mobile 5870.
sniper_sniperson
Full Member
***
Offline Offline

Activity: 124


View Profile
April 28, 2011, 09:37:05 AM
 #87

Is there a chance some good guy to make an installer script for 2.4 SDK?
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
April 28, 2011, 01:11:40 PM
 #88

I'm running into a small problem running CLInfo on ubuntu 10.10 server with a full desktop using SDK 2.1. When I run ./CLInfo I get

Code:
 Device Type: CL_DEVICE_TYPE_GPU

Rather than my GPU which is a mobile 5870.

This always looks like that.

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
drgr33n
Sr. Member
****
Offline Offline

Activity: 266



View Profile
April 28, 2011, 02:18:06 PM
 #89

I wrote a guide on how to get your cards mining via backtrack linux. Would be exactly the same as ubuntu Cheesy I'll link it here it may help some people out. 

http://www.backtrack-linux.org/forums/backtrack-howtos/39969-how-gpu-bitcoin-mine-backtrack-4-your-hardware-could-now-pay-rent.html

Its a complete guide with a patch for fglrx for kernels > 2.6.38.

Hope this helps you out and for the recorc v2.4 is fine with bitcoin mining Cheesy I'm getting 267MH/s using phoenix with AMD APP v2.4 with a xfx 5830 Cheesy
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
May 02, 2011, 02:15:13 PM
 #90

Hi guys,

I am having trouble getting a decent hash rate with my XFX HD5770 850M PCIe/1GB

Should be over 100mhash/s according to https://en.bitcoin.it/wiki/Mining_hardware_comparison

Does anyone have any ideas or more questions that may help me?

I have tried to include as much information as possible. I am running Kubuntu  x64 11.04 and the other specifics are included below.

Most of this assumes the problem is software. I will include my hardware details if we can rule out software.

Thank you


xserver-xorg-core                    2:1.10.1-1ubuntu1  

AMD-APP-SDK-v2.4-lnx64.tgz                
ati-driver-installer-11-4-x86.x86_64.run  

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

[ 0 ]     Juniper
[ 1 ]     AMD Athlon(tm) II X4 630 Processor


chris@galaxy:~/Downloads/bitcoin-0.3.21/bin/64$ ./poclbm.py  -d 0 -u un --pass=pw
133721 khash/s^C                                            
bye

./poclbm.py -v -w 128 -f 30 -d 0 -u un --pass=pw
171353 khash/s^C                                    

Achris@galaxy:~/Downloads/bitcoin-0.3.21/bin/64$ ./poclbm.py  -d 1 -u un --pass=pw
3433 khash/s^C                                              
bye
chris@galaxy:~/Downloads/bitcoin-0.3.21/bin/64$ ./poclbm.py  --version
poclbm/2011.beta4

name -a
Linux galaxy 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


aticonfig --list-adapters
* 0. 01:00.0 ATI Radeon HD 5700 Series

* - Default adapter



fglrxinfo

display: :0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 4.1.10666 Compatibility Profile Context


cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"c

        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:1: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


printevn
No command 'printevn' found, did you mean:
 Command 'printenv' from package 'coreutils' (main)
printevn: command not found
chris@galaxy:~/Downloads$ printenv
SSH_AGENT_PID=1332
KDE_MULTIHEAD=false
DM_CONTROL=/var/run/xdmctl
SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=6222fe216f83ced3241def2d00000008-1304328121.288897-1766637577
XDM_MANAGED=method=classic
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/chris/.gtkrc-2.0:/home/chris/.gtkrc-2.0-kde4:/home/chris/.kde/share/config/gtkrc-2.0
KONSOLE_DBUS_SERVICE=:1.73
GS_LIB=/home/chris/.fonts
GTK_RC_FILES=/etc/gtk/gtkrc:/home/chris/.gtkrc::/home/chris/.kde/share/config/gtkrc
WINDOWID=88112908
OLDPWD=/home/chris/Downloads/bitcoin-0.3.21/bin/64
SHELL_SESSION_ID=9912e85e4dee400094918fdac59f7761
AMDAPPSSAMPLESROOT=/opt/AMD-APP-SDK-v2.4-lnx64
*snip*
LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
LIBGL_DRIVERS_PATH=/usr/lib32/dri:/usr/lib64/dri
SSH_AUTH_SOCK=/tmp/ssh-DucjsWiF1273/agent.1273
SESSION_MANAGER=local/galaxy:@/tmp/.ICE-unix/1479,unix/galaxy:/tmp/.ICE-unix/1479
DESKTOP_SESSION=default
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/home/chris/Downloads
AMDAPPSDKROOT=/opt/AMD-APP-SDK-v2.4-lnx64
KDE_SESSION_UID=1000
LANG=en_AU.UTF-8
UBUNTU_MENUPROXY=libappmenu.so
KONSOLE_DBUS_SESSION=/Sessions/6
HOME=/home/chris
COLORFGBG=15;0
SHLVL=1
KDE_SESSION_VERSION=4
LANGUAGE=en_AU:en
XCURSOR_THEME=default
LOGNAME=chris
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-vsx2o0OTYh,guid=0435c55d5783dde763471f0f00000015
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
PROFILEHOME=
DISPLAY=:0
QT_PLUGIN_PATH=/home/chris/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/printenv

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
May 02, 2011, 03:39:17 PM
 #91

Hm, seems like you're getting 133Mhash/s and 171Mhash/s with switches. What's the problem?

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
May 03, 2011, 12:51:33 AM
 #92

Thanks Mahkul.  Phew I was about to pave the thing and put BackTrack Linux on as I downloaded the Torrent last night. Still might play with it on a new machine though.

The kilohash reading didn't look half as impressive as the megahash readings people give but it looks like you just divide by 1000 or put the decimal place before the last three digits.
Can I get the client program to do this for me?

Also I worked out how to get my gputemp:

aticonfig --odgt

Default Adapter - ATI Radeon HD 5700 Series
                  Sensor 0: Temperature - 58.00 C

Shame I didn't try doing all of this last year!

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
caston
Hero Member
*****
Offline Offline

Activity: 720



View Profile WWW
May 03, 2011, 03:28:53 AM
 #93

The other question I have is that if I buy a newer card e.g. a  a 6800, 6900 series will I need to change much? e.g. do I have to uninstall and reinstall the drive and run aticonfig again?

18jL18iH96BBhwUCQn27FQp7ocodSxvJAB
jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
May 04, 2011, 01:26:56 PM
 #94

Thanks for the useful information here.. I'm expecting my 5850 to arrive this week and have a couple of other questions that don't seem to be covered here:

- Is there a performance difference between using the 32 and 64 bit distributions of Ubuntu?
- Any reason this wouldn't work with Ubuntu server edition?
- Do you know of any good tutorials on adjusting the ATI card clock, voltage, memory clock, etc?


thanks!

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

Activity: 868


View Profile
May 04, 2011, 05:19:46 PM
 #95

Code:
$ ./CLInfo
terminate called after throwing an instance of 'cl::Error'
  what():  clGetPlatformIDs
Aborted

I'm struggling to get pass this error. Help, anyone?

- I have 64-bit system
- ATI Radeon 5850
- LD_LIBRARY_PATH is set
- DISPLAY is set


I have this same error and can't solve it.

I'm using Ubuntu Server 10.04 32-bit with a single 5970.

'env' shows: (output trimmed)

Code:
LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx32/lib/x86/
DISPLAY=0:0

I have also added the library path to /etc/ld.so.conf.d/OpenCL.conf (creating a new file), and run 'sudo ldconfig -v' (my own ideas).  Up until I did this CLInfo would give a missing library error.

'ldd CLInfo' shows:

Code:

linux-gate.so.1 =>  (0xb7897000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7875000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7871000)
libOpenCL.so => /opt/ati-stream-sdk-v2.1-lnx32/lib/x86/libOpenCL.so (0xb786b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7775000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb774f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7730000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75d6000)
/lib/ld-linux.so.2 (0xb7898000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb75cc000)

'fglrxinfo' shows:

Code:
display: 0:0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5900 Series
OpenGL version string: 4.1.10362 Compatibility Profile Context

'strace ./CLInfo' shows a lot of output.  I notice a lot of failed attempts to open something called libGLU.so.1, followed by failed attempts to open libatiocl64.so:

Code:
open("/opt/ati-stream-sdk-v2.1-lnx32/lib/x86/libatiocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libatiocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libatiocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libatiocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libatiocl64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
...etc

...a 64-bit library on a 32-bit OS?...hmm...

Thanks for any help given.

Edit: Looking further up in the strace output:

Code:
open("/etc/OpenCL/vendors/atiocl64.icd", O_RDONLY) = 4

It also went for the 64-bit flavor of that file.

I only installed the 32-bit edition by mistake and am getting ready to reinstall using the 64-bit edition, once it finishes downloading.  Hopefully that will solve my issue.

Edit 2: Looking more, I now see that it first opened /etc/OpenCL/vendors/atiocl32.icd, and /opt/ati-stream-sdk-v2.1-lnx32/lib/x86/libatiocl32.so, followed by /usr/lib/libX11.so.6 and /usr/lib/fglrx/libGL.so.1, all successfully.  Then, only after failing to open libGLU.so.1 does it appear to try to "fall back" to the 64-bit stuff...

"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
chungenhung
Legendary
*
Offline Offline

Activity: 1134


View Profile
May 04, 2011, 06:21:00 PM
 #96

so has anyone completed the full tutorial yet?

Trading MtGox USD for Dwolla/ACH deposit/Chase cash deposit
https://bitcointalk.org/index.php?topic=90115.0
Buy/Sell Call/Put Bitcoin options https://bitcointalk.org/index.php?topic=99853.0
Gnaffel
Jr. Member
*
Offline Offline

Activity: 53


View Profile
May 04, 2011, 08:48:19 PM
 #97

This should be a complete tutorial. Ask if you have some problems, as I might have had a different hardware/software configuration or forgot about a required package. that I installed before.  

$ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
# the following line added after moa comment later in the thread
$ sudo apt-get update
$ sudo apt-get install fglrx
$ sudo apt-get install fglrx-amdcccle
$ sudo apt-get install fglrx-modaliases

This should install Proprietary ATI Catalyst drivers.


Hi Raulo,

I tried to follow your ubuntu 10.10 install guide on a mobo msi 770 c-45/ graphics ati 5870, clean install, but i keep getting the problem that after the ATI 11.3 installation, i can't login to ubuntu, the screen stays black. I can login when i reset X to the default driver, but no login with the ATI 11.3. I have tried this guide on 10.10 and 11.04, with ati 11.3/11.4 and both give the same result: fglrxinfo segmentation fault.


khash@MiningRig:~$ grep "ATI Proprietary Linux Driver" /var/log/Xorg.0.log
[    15.468] (II) ATI Proprietary Linux Driver Version Identifier:8.80.5
[    15.468] (II) ATI Proprietary Linux Driver Release Identifier: 8.801                               
[    15.468] (II) ATI Proprietary Linux Driver Build Date: Nov 25 2010 21:36:26
khash@MiningRig:~$ dpkg -l |grep fglrx
ii  fglrx                      2:8.801-0ubuntu1~xup~maverick   Video driver for the ATI graphics accelerators
ii  fglrx-amdcccle    2:8.801-0ubuntu1~xup~maverick    Catalyst Control Center for the ATI graphics accelerators
ii  fglrx-modaliases    2:8.801-0ubuntu1~xup~maverick   Identifiers supported by the ATI graphics driver
khash@MiningRig:~$ fglrxinfo
Segmentation fault

any ideas?

1CKysMBXVd6qEAhrP7eXWFYwhfGkwqBEWS
Raulo
Full Member
***
Offline Offline

Activity: 238


View Profile
May 04, 2011, 09:17:43 PM
 #98

I tried to follow your ubuntu 10.10 install guide on a mobo msi 770 c-45/ graphics ati 5870, clean install, but i keep getting the problem that after the ATI 11.3 installation, i can't login to ubuntu, the screen stays black. I can login when i reset X to the default driver, but no login with the ATI 11.3. I have tried this guide on 10.10 and 11.04, with ati 11.3/11.4 and both give the same result: fglrxinfo segmentation fault.

Catalyst drivers are a major pain in the neck. They are frequently completely broken. I've written this guide with Catalyst 10.12 and SDK 2.1 and I recommend against any other versions unless one really has to (e.g. 6990). I used Ubuntu 10.04 but 10.10 worked for many as well.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
Gnaffel
Jr. Member
*
Offline Offline

Activity: 53


View Profile
May 04, 2011, 09:44:26 PM
 #99

I tried to follow your ubuntu 10.10 install guide on a mobo msi 770 c-45/ graphics ati 5870, clean install, but i keep getting the problem that after the ATI 11.3 installation, i can't login to ubuntu, the screen stays black. I can login when i reset X to the default driver, but no login with the ATI 11.3. I have tried this guide on 10.10 and 11.04, with ati 11.3/11.4 and both give the same result: fglrxinfo segmentation fault.

Catalyst drivers are a major pain in the neck. They are frequently completely broken. I've written this guide with Catalyst 10.12 and SDK 2.1 and I recommend against any other versions unless one really has to (e.g. 6990). I used Ubuntu 10.04 but 10.10 worked for many as well.


I didn't try those lower versions yet, 11.04/10.10 installing/configuring have cost me a lot of hours up till now, i wanted to know if it was possible to mine on the newest ubuntu. But this is something for comming weeks/months to find out.
Thanks

1CKysMBXVd6qEAhrP7eXWFYwhfGkwqBEWS
eleuthria
Legendary
*
Offline Offline

Activity: 1750


BTC Guild Owner


View Profile WWW
May 04, 2011, 09:51:48 PM
 #100

so has anyone completed the full tutorial yet?

I just followed Raulo's guide when setting up my 4th dedicated Miner.  Worked perfectly, although it's possible I interpreted an extra step from memories of setting up the other 3.

R.I.P. BTC Guild, 2011 - 2015.
BTC Guild Forum Thread
Pages: « 1 2 3 4 [5] 6 7 »  All
  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!