Bitcoin Forum
November 15, 2024, 05:12:40 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
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 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805632 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. (3 posts by 1+ user deleted.)
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 798
Merit: 500


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

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
Merit: 1079


Gerald Davis


View Profile
November 12, 2011, 06:28:56 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?

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: 234
Merit: 100



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

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
Merit: 100


View Profile
November 12, 2011, 06:56:49 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

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

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 12, 2011, 07:23:37 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.

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

Activity: 2688
Merit: 1240



View Profile WWW
November 12, 2011, 08:09:45 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. 

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

Activity: 373
Merit: 100


View Profile WWW
November 12, 2011, 08:16:57 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

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: 234
Merit: 100



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

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: 4620
Merit: 1851


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Tartarus
Newbie
*
Offline Offline

Activity: 47
Merit: 0


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

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...
-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Bitbird
Full Member
***
Offline Offline

Activity: 234
Merit: 100



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

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

Activity: 3472
Merit: 1724



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

Maybe your GPUs operate on 2D clocks?

Signature space available for rent.
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


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

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: 4620
Merit: 1851


Linux since 1997 RedHat 4


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

@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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Bitbird
Full Member
***
Offline Offline

Activity: 234
Merit: 100



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

@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: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 15, 2011, 08:57:39 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.
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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


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

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.
tnkflx
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
November 15, 2011, 10:16:56 PM
 #2080

Hello,

I'm running cgminer 2.0.8 on Windows 7 64 bit with 4 ATI 6990 cards.

cgminer is started with "cgminer.exe --intensity 9 --gpu-powertune 20 --gpu-engine 900 --gpu-memclock 800 --auto-fan --auto-gpu -v 2 -w 128 -o xxx -u xxx -p xxx"

However, can it be that "--auto-fan" is not working?

When I monitor my cards with GPU-Z, the fan speed is always 30%, it doesn't change at all...  Previously under GUI Miner, it changed automatically...

Also, when I go into GPU Management, I only get:
Code:
Last initialised: [2011-11-15 22:58:40]
Intensity: 9
Thread 3: 176.3 Mh/s Enabled ALIVE
Thread 11: 190.4 Mh/s Enabled ALIVE

GPU 4: 376.0 / 373.9 Mh/s | A:68  R:0  HW:0  U:4.76/m  I:9
Last initialised: [2011-11-15 22:58:41]
Intensity: 9
Thread 4: 191.1 Mh/s Enabled ALIVE
Thread 12: 184.7 Mh/s Enabled ALIVE

GPU 5: 376.0 / 373.5 Mh/s | A:84  R:0  HW:0  U:5.88/m  I:9
Last initialised: [2011-11-15 22:58:42]
Intensity: 9
Thread 5: 186.8 Mh/s Enabled ALIVE
Thread 13: 189.3 Mh/s Enabled ALIVE

GPU 6: 377.0 / 374.4 Mh/s | A:68  R:0  HW:0  U:4.76/m  I:9
Last initialised: [2011-11-15 22:58:43]
Intensity: 9
Thread 6: 198.7 Mh/s Enabled ALIVE
Thread 14: 177.8 Mh/s Enabled ALIVE

GPU 7: 405.9 / 402.2 Mh/s | A:95  R:0  HW:0  U:6.66/m  I:9
Last initialised: [2011-11-15 22:58:44]
Intensity: 9
Thread 7: 201.6 Mh/s Enabled ALIVE
Thread 15: 204.4 Mh/s Enabled ALIVE

[E]nable [D]isable [I]ntensity [R]estart GPU
Or press any other key to continue

So I lose the output of the first 4 GPUs. Is there a way to scroll up?

Also, why do I not see the fan speed, rpm, etc?

| Operating electrum.be & us.electrum.be |
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 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!