Bitcoin Forum
December 09, 2016, 03:54:46 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 [104] 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4824878 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
guinness
Newbie
*
Offline Offline

Activity: 20


View Profile
November 12, 2011, 06:09:38 PM
 #2061

Kano's instructions don't work with 11.10 and the latest cgminer. I tried it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481298886
Hero Member
*
Offline Offline

Posts: 1481298886

View Profile Personal Message (Offline)

Ignore
1481298886
Reply with quote  #2

1481298886
Report to moderator
1481298886
Hero Member
*
Offline Offline

Posts: 1481298886

View Profile Personal Message (Offline)

Ignore
1481298886
Reply with quote  #2

1481298886
Report to moderator
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
November 12, 2011, 06:27:49 PM
 #2062

Kano's instructions don't work with 11.10 and the latest cgminer. I tried it.

I'm still on 11.04.  I was considering upgrading.  What errors are you getting?

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
November 12, 2011, 06:28:56 PM
 #2063

Kano's instructions don't work with 11.10 and the latest cgminer. I tried it.

I'm still on 11.04.  I was considering upgrading.  What errors are you getting?

Lots of problems w/ 11.10.  There are a couple threads on it. Even if you get it working and stable given the single nature of mining there doesn't seem to be much reason to upgrade other than to upgrade for upgrade sake.
Bitbird
Full Member
***
Offline Offline

Activity: 233



View Profile WWW
November 12, 2011, 06:54:41 PM
 #2064

Quote
./cgminer: error while loading shared libraries: libOpenCL.so1: cannot open shared object file: No such file or directory

I got this. How can I fixed it? Huh

Pontius
Full Member
***
Offline Offline

Activity: 225


View Profile
November 12, 2011, 06:56:49 PM
 #2065

Quote
./cgminer: error while loading shared libraries: libOpenCL.so1: cannot open shared object file: No such file or directory

I got this. How can I fixed it? Huh

Locate the libOpenCL.so.1 and add the path to your LD_LIBRARY_PATH.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
November 12, 2011, 07:23:37 PM
 #2066

Quote
./cgminer: error while loading shared libraries: libOpenCL.so1: cannot open shared object file: No such file or directory

I got this. How can I fixed it? Huh

Locate the libOpenCL.so.1 and add the path to your LD_LIBRARY_PATH.

Can you provide a Linux for dummies version. 
ocminer
Legendary
*
Offline Offline

Activity: 1582



View Profile WWW
November 12, 2011, 08:09:45 PM
 #2067

Quote
./cgminer: error while loading shared libraries: libOpenCL.so1: cannot open shared object file: No such file or directory

I got this. How can I fixed it? Huh

Locate the libOpenCL.so.1 and add the path to your LD_LIBRARY_PATH.

Can you provide a Linux for dummies version. 

Do a "find / -name libOpenCL.so.1"

then copying the file to cgminer's directory would probably the easiest...

Change to cgminers directory then do a "cp /path/to/file/libOpenCL.so.1 ." and start cgminer with ./cgminer

suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
November 12, 2011, 08:16:57 PM
 #2068

Quote
./cgminer: error while loading shared libraries: libOpenCL.so1: cannot open shared object file: No such file or directory

I got this. How can I fixed it? Huh

Locate the libOpenCL.so.1 and add the path to your LD_LIBRARY_PATH.

Can you provide a Linux for dummies version. 

Do a "find / -name libOpenCL.so.1"

then copying the file to cgminer's directory would probably the easiest...

Change to cgminers directory then do a "cp /path/to/file/libOpenCL.so.1 ." and start cgminer with ./cgminer

Since you can't assume that the current directory or the directory the executable is in are in LD_LIBRARY_PATH, that might not help.

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
Bitbird
Full Member
***
Offline Offline

Activity: 233



View Profile WWW
November 12, 2011, 08:30:33 PM
 #2069

Thank you Pontius! Located 'libOpenCL.so.1' . But now...

./cgminer: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Can't located it...

kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
November 12, 2011, 09:35:30 PM
 #2070

Well there is one mistake in my old script but when it was found was during the time that no updates were happening Smiley

One line is missing a "sudo" before it (so it doesn't work if you aren't logged in as root):

10) aticonfig --adapter=all --initial

should be

10) sudo aticonfig --adapter=all --initial

As for other problems?

Kano's instructions don't work with 11.10 and the latest cgminer. I tried it.
Well that's really helpful Tongue
What doesn't work?
What was the error?
What were you doing when you got the error?

I guess I should try it with 11.10 and see if there are changes that have caused problems ...
(... downloading the image ... I'll try it some time in the future ...)
But yeah - 11.04 works fine ...

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
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
November 12, 2011, 09:50:29 PM
 #2071

However ......... Smiley
To fix:
Thank you Pontius! Located 'libOpenCL.so.1' . But now...

./cgminer: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Can't located it...

You do this:

cd /lib64/
sudo ln -s libncurses.so.5 libtinfo.so.5

and your away Smiley

Aside:
yes I am now running 2.0.8 ...
I haven't used anything since a patched/hacked 2.0.2 and I always build cgminer so I don't get that error
It appears "they" renamed the library somewhere around 11.10 and I'm not exactly sure what versions ckolivas is using now
He wasn't using ubuntu/xubuntu for a while but now I'm not sure.

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
Tartarus
Jr. Member
*
Offline Offline

Activity: 47


View Profile
November 12, 2011, 10:07:26 PM
 #2072

Yeah, as a CPU miner I'm in danger of extinction. Grin
On the other hand -  why let those CPUs idle the whole day and waste 600MH/s (in peaks)? Too bad cgminer doesn't build on Solaris10 (SPARC) cleanly. If it would I had work for about 1200 bored cores.

Anyway I'd really appreciate if could adjust the layout in the next release.

Have you posted the build problems?  If they aren't too hard to fix, perhaps they can be fixed and merged...

Find the above useful?  Send tips to 1KjoJihf7GWHWeQFhDmaw4g7xorkmD13u
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
November 12, 2011, 10:32:08 PM
 #2073

I kept one machine on ubuntu but I cannot keep it on the older version forever. The binaries are for Ubuntu 11.10, as the top post says.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Bitbird
Full Member
***
Offline Offline

Activity: 233



View Profile WWW
November 13, 2011, 05:05:36 PM
 #2074

@kano Thanks! It work. But seems not running at full speed as normality. It's under 500Mh/s instead of 1500Mh/s (HD5970x2's normal perform). I try to reinstall other versions of ATI drivers but still the same..  Undecided

malevolent
can into space
Staff
Legendary
*
Offline Offline

Activity: 1624



View Profile
November 13, 2011, 06:03:42 PM
 #2075

Maybe your GPUs operate on 2D clocks?
Pontius
Full Member
***
Offline Offline

Activity: 225


View Profile
November 13, 2011, 07:20:09 PM
 #2076

Have you posted the build problems?  If they aren't too hard to fix, perhaps they can be fixed and merged...

No, I haven't. One day I tried to catch conman on IRC but he was unavailable.

I got it compiled once with some older version (I think it was 2.0.2).
First problem was that Solaris10+ doesn't have 'err.h', so I used the WIN32 defs there. Shocked
Second I needed to include 'sys/byteorder.h' and added a "# define BSWAP32(x)  BSWAP_32(x)" somewhere (don't remember which file it was).
Then it compiled successfully but it was very unstable so I didn't use it for long.

kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
November 13, 2011, 08:55:08 PM
 #2077

@kano Thanks! It work. But seems not running at full speed as normality. It's under 500Mh/s instead of 1500Mh/s (HD5970x2's normal perform). I try to reinstall other versions of ATI drivers but still the same..  Undecided
Sorry - on the ATI side of things - I really have no idea why it would run at 1/3 the hash rate.
The fix should definitely make no difference to the hash rate of course, it is just the curses library has been renamed.

Maybe look at what it says it is doing with the GPU settings (press 'G') and see if some setting there is way off.
Of course to see those settings you need to have "export DISPLAY=:0" working properly also.
The GPU's would have to say they are all running at something like 850Mhz (or higher) to get around a total of 1500Mh/s
I think that card has 2 GPUs each.
So with 2 cards, cgminer would have to have detected 4 GPU's if that is correct?

Either way I don't really know much about the ATI driver itself (and older cards)
Someone else here may use those cards?

Edit: also you should mention which linux/version you are using and which ATI drivers you installed (the filename you got from ATI/AMD)

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
Bitbird
Full Member
***
Offline Offline

Activity: 233



View Profile WWW
November 15, 2011, 05:47:46 PM
 #2078

@kano

When I typed "export DISPLAY=:0" it didn't display anything. Then I try aticonfig related command.. these's what I got:

Quote
username@pcname / $ aticonfig --odgc --adapter=all
No layout section was found in the file: '/etc/X11/xorg.conf'.
Please run 'aticonfig --initial' first or modify your configuration file manually and run aticonfig again.
aticonfig: parsing the command-line failed.

username@pcname / $ aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-0
aticonfig: Writing to '/etc/X11/xorg.conf' failed. Permission denied.

Quote
I think that card has 2 GPUs each.
So with 2 cards, cgminer would have to have detected 4 GPU's if that is correct?
My GPU settings (press 'G') didn't right. It only showed 2 GPUs not 4.

Quote
Edit: also you should mention which linux/version you are using and which ATI drivers you installed (the filename you got from ATI/AMD)

I used Peppermint OS 64bit on my two PCs. When I try to update one OS to Ubuntu 11.10 by it's update manager it crash (can't opened OS after that). The other one which didn't do the update is working without any problem. These problem happened on the reinstalled linux(peppermint) pc and it didn't update to Ubuntu 11.10.

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

Thanks for your helped! Smiley


kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
November 15, 2011, 08:57:39 PM
 #2079

@kano

When I typed "export DISPLAY=:0" it didn't display anything. Then I try aticonfig related command.. these's what I got:

Quote
username@pcname / $ aticonfig --odgc --adapter=all
No layout section was found in the file: '/etc/X11/xorg.conf'.
Please run 'aticonfig --initial' first or modify your configuration file manually and run aticonfig again.
aticonfig: parsing the command-line failed.

username@pcname / $ aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-0
aticonfig: Writing to '/etc/X11/xorg.conf' failed. Permission denied.

Quote
I think that card has 2 GPUs each.
So with 2 cards, cgminer would have to have detected 4 GPU's if that is correct?
My GPU settings (press 'G') didn't right. It only showed 2 GPUs not 4.
Yeah I'm not too sure what number of GPU's cgminer should show.
I think 4 is correct but someone else who has those cards will have to say for sure.

Quote
Quote
Edit: also you should mention which linux/version you are using and which ATI drivers you installed (the filename you got from ATI/AMD)

I used Peppermint OS 64bit on my two PCs. When I try to update one OS to Ubuntu 11.10 by it's update manager it crash (can't opened OS after that). The other one which didn't do the update is working without any problem. These problem happened on the reinstalled linux(peppermint) pc and it didn't update to Ubuntu 11.10.

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

Thanks for your helped! Smiley
Unless you've found a security update in 11.10 that you think you need, there is no real need to update to 11.10

If you read the script in my sig ... Smiley
You need sudo in front of all the aticonfig commands.
(my sig now points to the latest version of the script - I created a git to store just it on it's own)

To ensure proper access to the cards you need to be sure the GUI is running and that your process has access to it.
If you are running a terminal on the screen as the same user that started x then it should be fine.
If you ssh into the machine, then ensure you ssh to the same user as the GUI and then "export DISPLAY=:0"

To check that you can see the cards:
 sudo aticonfig --lsa

Then to create the xorg.conf:
 sudo aticonfig --adapter=all --initial
I'd suggest you reboot after this (or at the least - stop and restart x)

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
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
November 15, 2011, 08:59:29 PM
 #2080

Quote
I think that card has 2 GPUs each.
So with 2 cards, cgminer would have to have detected 4 GPU's if that is correct?
My GPU settings (press 'G') didn't right. It only showed 2 GPUs not 4.
Yeah I'm not too sure what number of GPU's cgminer should show.
I think 4 is correct but someone else who has those cards will have to say for sure.
[/quote]

4 is the correct number.  OpenCL sees each GPU as a distinct unit.  A little trivia the dual GPU boards have a PCIe switch so effectively the single PCIe slot is converted into 2 slots and each GPU connected to that.  For all intents and purposes it is 2 graphics cards.
Pages: « 1 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 [104] 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 ... 830 »
  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!