Bitcoin Forum
December 10, 2016, 01:30:40 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   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 95120 times)
thesaint4cs
Newbie
*
Offline Offline

Activity: 2


View Profile
May 24, 2011, 06:31:07 PM
 #121

Hi there,

I followed the instructions above (thank you very much!!!) and it runs hashes - but only the CPU is showing up in ./CLInfo and poclbm.  apiconfig --list-adapters shows  "0. 02:00.0 ATI Radeon HD 3850" though.
I'm not quite sure what could be wrong.

Thank you in advance,
thesaint4cs
1481333440
Hero Member
*
Offline Offline

Posts: 1481333440

View Profile Personal Message (Offline)

Ignore
1481333440
Reply with quote  #2

1481333440
Report to moderator
1481333440
Hero Member
*
Offline Offline

Posts: 1481333440

View Profile Personal Message (Offline)

Ignore
1481333440
Reply with quote  #2

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

Posts: 1481333440

View Profile Personal Message (Offline)

Ignore
1481333440
Reply with quote  #2

1481333440
Report to moderator
Raulo
Full Member
***
Offline Offline

Activity: 238


View Profile
May 24, 2011, 06:39:54 PM
 #122

shows  "0. 02:00.0 ATI Radeon HD 3850" though.

OpenCL is supported on HD4xxx, HD5xxx, and HD6xxx only.
http://developer.amd.com/gpu/AMDAPPSDK/pages/DriverCompatibility.aspx

HD3850 will not work with OpenCL miners neither in Linux nor Windows.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
thesaint4cs
Newbie
*
Offline Offline

Activity: 2


View Profile
May 24, 2011, 08:01:19 PM
 #123

*err* I must have missed that...
It seems misinterpreted the opencl-capability of the driver as a support for all cards you can actually use the driver for.

Thank you anyway, at least I can stop trying Wink
Sicness
Newbie
*
Offline Offline

Activity: 18


View Profile
June 01, 2011, 09:59:38 AM
 #124

Hi.
I'm trying to make it on Ubuntu Server 11.04 (No X, via ssh). I have HD5770.
./CLInfo don't see GPU, only CPU
And poclbm too:

Code:
sicness@demon:~/poclbm$ python ./poclbm.py
No device specified or device not found, use -d to specify one of the following

[0]     Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz

I installed fglrx from http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English becouse it don't want to be installed form ubuntu reps Sad

Code:
sicness@demon:~/poclbm$ lsmod | grep fg
fglrx                2434640  0
sicness@demon:~/poclbm$ lspci | grep VGA
04:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series]

I don't know why... Help! Any idea?
Laminator
Newbie
*
Offline Offline

Activity: 10


View Profile
June 02, 2011, 02:11:33 PM
 #125

Hello. I've tried to follow this guide on ubuntu 11.04 with sdk 2.3 (coz I have 3x6950)
./CLInfo |grep CL_DEVICE_TYPE_GPU shows 3 gpu same as ./poclbm.py so everything is fine until this:

Code:
/poclbm$ ./poclbm.py --host=mining.bitcoin.cz --port=8332 --user=username --pass=pass --device=0
Traceback (most recent call last):
  File "./poclbm.py", line 3, 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

I don't understand what file or directory does not exist? Can anyone help me?
blap
Jr. Member
*
Offline Offline

Activity: 53


=)


View Profile
June 02, 2011, 02:43:24 PM
 #126

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 finally got it working on a clean 10.10 install with Catalyst 11.04 and SDK 2.1 and poclbm
I kept getting this segmentation fault afther the catalyst install on 11.04, 10.10 and 10.04, then i thought i must be the hardware so i changed the monitor, but the same segmentation fault kept showing up again on 10.04 10.10 and 11.04 even gave a error ./default policy.sh does not support version. Oke they were nameless monitor brands that someone gave to me, but that shouldn't matter. Finally i switched to the monitor of my main computer and YES, this time no segmentation fault. i have used the install procedure from all around the forum and beyond and it went smoothly first time install, from catalyst to SDK/OpenCL up to poclbm.

Edit:
Working version on 64 bits Ubuntu 11.04 - Ati Catalyst 11.4 - Ati SDK 2.3 with poclbm and phoenix miner in 31 steps:
Hardware:(budget mining)MSI 770-c45 Mobo with athlon2 X2 cpu - cooler master 650w powersupply - 1x GPU Ati 58xx


1. sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 g++ libboost-all-dev subversion git-core python-numpy
2. sudo apt-get install ia32-libs
3. cd ~/; mkdir catalyst11.4; cd catalyst11.4/
4. wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-4-x86.x86_64.run
5. chmod +x ati-driver-installer-11-4-x86.x86_64.run
6. sudo apt-get remove --purge xserver-xorg-video-radeon
7. sh ati-driver-installer-11-4-x86.x86_64.run --buildpkg Ubuntu/natty
8. sudo dpkg -i fglrx*.deb
9. sudo aticonfig --initial -f
10. sudo aticonfig --input=/etc/X11/xorg.conf --tls=1
10a.reboot
11. wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.3-lnx64.tgz
12. wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz
13. sudo tar xvfz ati-stream-sdk-v2.3-lnx64.tgz -C /opt
14. sudo tar xvfz icd-registration.tgz -C /
15. echo export DISPLAY=:0 >> .bashrc
16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc
17. source .bashrc
18. wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz
19. svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
20. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk
21. git clone git://github.com/m0mchil/poclbm poclbm
22. mv trunk phoenix
23. tar zxfv pyopencl-0.92.tar.gz
24. cd pyopencl-0.92
25. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.3-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64
26. make -j3
27. sudo make install
28. cd ../python-jsonrpc
29. sudo python setup.py install
30. cd ~
31. chmod +x phoenix/phoenix.py poclbm/poclbm.py

Its works here!
but I will add something in your tutorial for GUIMINER:

32. sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev libgtk2.0-dev
33. wget https://github.com/Kiv/poclbm/tarball/v2011-05-21/Kiv-poclbm-v2011-05-21.tar.gz
34. tar zxfv Kiv-poclbm-v2011-05-21.tar.gz
35. cd Kiv-poclbm-89f9bd4; python guiminer.py
36. if you want, run your bitcoin

if you do not want to digit all time "cd Kiv-poclbm-89f9bd4; python guiminer.py":
37. gedit ~/.bash_aliases
38. put in there: alias guiminer="cd Kiv-poclbm-89f9bd4; python guiminer.py"
39. save, exit and reboot
40. now, you only need to put "guiminer", without the "s,  in terminal and it will run.

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

Activity: 53


=)


View Profile
June 02, 2011, 03:00:51 PM
 #127

Hello. I've tried to follow this guide on ubuntu 11.04 with sdk 2.3 (coz I have 3x6950)
./CLInfo |grep CL_DEVICE_TYPE_GPU shows 3 gpu same as ./poclbm.py so everything is fine until this:

Code:
/poclbm$ ./poclbm.py --host=mining.bitcoin.cz --port=8332 --user=username --pass=pass --device=0
Traceback (most recent call last):
  File "./poclbm.py", line 3, 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

I don't understand what file or directory does not exist? Can anyone help me?

I think "--device" starts in 1, but you put 0, and then you got an error.

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

Activity: 10


View Profile
June 02, 2011, 03:31:25 PM
 #128

I think "--device" starts in 1, but you put 0, and then you got an error.
nope, there is no libopencl.so in /usr/lib  but why?
I finally got it working on a clean 10.10 install with Catalyst 11.04 and SDK 2.1 and poclbm
I kept getting this segmentation fault afther the catalyst install on 11.04, 10.10 and 10.04, then i thought i must be the hardware so i changed the monitor, but the same segmentation fault kept showing up again on 10.04 10.10 and 11.04 even gave a error ./default policy.sh does not support version. Oke they were nameless monitor brands that someone gave to me, but that shouldn't matter. Finally i switched to the monitor of my main computer and YES, this time no segmentation fault. i have used the install procedure from all around the forum and beyond and it went smoothly first time install, from catalyst to SDK/OpenCL up to poclbm.

Edit:
Working version on 64 bits Ubuntu 11.04 - Ati Catalyst 11.4 - Ati SDK 2.3 with poclbm and phoenix miner in 31 steps:
Hardware:(budget mining)MSI 770-c45 Mobo with athlon2 X2 cpu - cooler master 650w powersupply - 1x GPU Ati 58xx


1. sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 g++ libboost-all-dev subversion git-core python-numpy
2. sudo apt-get install ia32-libs
3. cd ~/; mkdir catalyst11.4; cd catalyst11.4/
4. wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-4-x86.x86_64.run
5. chmod +x ati-driver-installer-11-4-x86.x86_64.run
6. sudo apt-get remove --purge xserver-xorg-video-radeon
7. sh ati-driver-installer-11-4-x86.x86_64.run --buildpkg Ubuntu/natty
8. sudo dpkg -i fglrx*.deb
9. sudo aticonfig --initial -f
10. sudo aticonfig --input=/etc/X11/xorg.conf --tls=1
10a.reboot
11. wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.3-lnx64.tgz
12. wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz
13. sudo tar xvfz ati-stream-sdk-v2.3-lnx64.tgz -C /opt
14. sudo tar xvfz icd-registration.tgz -C /
15. echo export DISPLAY=:0 >> .bashrc
16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc
17. source .bashrc
18. wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz
19. svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
20. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk
21. git clone git://github.com/m0mchil/poclbm poclbm
22. mv trunk phoenix
23. tar zxfv pyopencl-0.92.tar.gz
24. cd pyopencl-0.92
25. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.3-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64
26. make -j3
27. sudo make install
28. cd ../python-jsonrpc
29. sudo python setup.py install
30. cd ~
31. chmod +x phoenix/phoenix.py poclbm/poclbm.py

Works for me too, thanks!
But I have 3 gpu, and when I use only one of them everything is ok, when I start second, I've got 350 mh/s with -d 0 and 12mh/s with -d 1, and when I start third I've got 200, 112 and 90 mh/s respectively. wtf?
CPU is -d 3
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1722

Let's talk governance, lipstick, and pigs.


View Profile
June 06, 2011, 07:13:50 PM
 #129

I'm using this as a first time Linux user. Thanks for doing this, I'll donate if I get it to work!

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
blap
Jr. Member
*
Offline Offline

Activity: 53


=)


View Profile
June 07, 2011, 03:16:12 PM
 #130

I think "--device" starts in 1, but you put 0, and then you got an error.
nope, there is no libopencl.so in /usr/lib  but why?

I got this error (similar of yours):
Code:
  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-x86_64.egg/pyopencl/__init__.py", line 3, in <module>
    import pyopencl._cl as _cl
ImportError: libOpenCL.so: cannot open shared object file: No such file or directory
when I made a script in ubuntu 11.04. But manually in the terminal its run normal. I do not kown why this happen. Maybe we need to put
Code:
echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc
and
Code:
./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.3-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64
in other place too. Anyone can help?
o.0

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

Activity: 20


View Profile
June 11, 2011, 11:00:20 AM
 #131

Quote
Edit:
Working version on 64 bits Ubuntu 11.04 - Ati Catalyst 11.4 - Ati SDK 2.3 with poclbm and phoenix miner in 31 steps:
Hardware:(budget mining)MSI 770-c45 Mobo with athlon2 X2 cpu - cooler master 650w powersupply - 1x GPU Ati 58xx

1. sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 g++ libboost-all-dev subversion git-core python-numpy
2. sudo apt-get install ia32-libs
3. cd ~/; mkdir catalyst11.4; cd catalyst11.4/
4. wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-4-x86.x86_64.run
5. chmod +x ati-driver-installer-11-4-x86.x86_64.run
6. sudo apt-get remove --purge xserver-xorg-video-radeon
7. sh ati-driver-installer-11-4-x86.x86_64.run --buildpkg Ubuntu/natty
8. sudo dpkg -i fglrx*.deb
9. sudo aticonfig --initial -f
10. sudo aticonfig --input=/etc/X11/xorg.conf --tls=1
10a.reboot
11. wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.3-lnx64.tgz
12. wget http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgz
13. sudo tar xvfz ati-stream-sdk-v2.3-lnx64.tgz -C /opt
14. sudo tar xvfz icd-registration.tgz -C /
15. echo export DISPLAY=:0 >> .bashrc
16. echo export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64/:$LD_LIBRARY_PATH >> .bashrc
17. source .bashrc
18. wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz
19. svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
20. svn checkout http://svn3.xp-dev.com/svn/phoenix-miner/trunk
21. git clone git://github.com/m0mchil/poclbm poclbm
22. mv trunk phoenix
23. tar zxfv pyopencl-0.92.tar.gz
24. cd pyopencl-0.92
25. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.3-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.3-lnx64/lib/x86_64
26. make -j3
27. sudo make install
28. cd ../python-jsonrpc
29. sudo python setup.py install
30. cd ~
31. chmod +x phoenix/phoenix.py poclbm/poclbm.py

Its works here!
but I will add something in your tutorial for GUIMINER:

32. sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev libgtk2.0-dev
33. wget https://github.com/Kiv/poclbm/tarball/v2011-05-21/Kiv-poclbm-v2011-05-21.tar.gz
34. tar zxfv Kiv-poclbm-v2011-05-21.tar.gz
35. cd Kiv-poclbm-89f9bd4; python guiminer.py
36. if you want, run your bitcoin

I followed these instructions but when i restarted the machine, my cards were no longer being seen as opencl devices. Can anybody help me with why that would happen?

I have tried export DISPLAY=:0
and the export LD_LIBRARY_PATH line again after the reboot and they have made no difference.
Yeti
Member
**
Offline Offline

Activity: 112

Firstbits: 1yetiax


View Profile
June 12, 2011, 11:47:19 PM
 #132

Raulo, thanks a lot for your detailed guide! It helped me a lot setting up my miner. Phoenix or pobclm did not work for me, however I finally got DiabloMiner running.
I have tipped you the "change" from my first mining payout!

1YetiaXeuRzX9QJoQNUW84oX2EiXnHgp3 or http://payb.tc/yeti

Since Bitcoin Randomizer is dead, join the Bitcoin Pyramid (referrer id #203)! Be quick, be on top! Instant payout as soon as one of your referrals deposits!
ewibit
Legendary
*
Offline Offline

Activity: 1749


View Profile
July 03, 2011, 03:08:12 PM
 #133


The X should run. To check if the correct driver is installed:
$ fglrxinfo

Hi
if I do this I get this:
------------------------
Speicherzugriffsfehler
-----------------------
in OpenSuse 11.4

and
-----------------------
aticonfig --initial=check
Check: Found fglrx section.
-----------------------
seems to be ok

any hints?
TIA
Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302



View Profile WWW
July 26, 2011, 10:26:06 PM
 #134

Code:
svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
is timing out for over a week, anyone have a mirror for python jsonrpc or the updated url if it's changed? Thanks.

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://bitcointalk.org/index.php?topic=6128.0
newminerr
Member
**
Offline Offline

Activity: 70

like no other.


View Profile
July 28, 2011, 08:29:03 PM
 #135

Code:
svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
is timing out for over a week, anyone have a mirror for python jsonrpc or the updated url if it's changed? Thanks.
I got it from this https://github.com/davvid/python-jsonrpc
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
January 20, 2012, 10:11:23 PM
 #136

Hmm found someone still using this so I thought they should use something at least a little more updated Tongue
See my sig Smiley

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
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!