Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 744. (Read 5805728 times)

donator
Activity: 1218
Merit: 1079
Gerald Davis
I have a problem running cgminer in Linuxcoin.  I used what I run on Windows

cgminer -o pool.bitclockers.com:8332 -u xxx -p yyy -o http://pit.deepbit.net:8332 -u zzz -p zzz -I 9 --auto-fan --auto-gpu --gpu-engine 850-950 --gpu-memclock 300

But it does not recognize all the commands for eg autofan etc

Can anyone advise?

Likely means it isn't detecting your video cards and thus is getting confused on why you are using GPU commands for CPU mining.

Try cgminer -n how many videocards does cgminer report?
hero member
Activity: 756
Merit: 500
I have a problem running cgminer in Linuxcoin.  I used what I run on Windows

cgminer -o pool.bitclockers.com:8332 -u xxx -p yyy -o http://pit.deepbit.net:8332 -u zzz -p zzz -I 9 --auto-fan --auto-gpu --gpu-engine 850-950 --gpu-memclock 300

But it does not recognize all the commands for eg autofan etc

Can anyone advise?
legendary
Activity: 3583
Merit: 1094
Think for yourself
What's the ADL and how do I install it under Windows 7 64bit?

By installing a recent enough version of the Catalyst drivers that has that support.  That's why I asked what version you had.

I know that Catalyst 11.6 has that support because that is what I'm using.  And I'm using 11.6 because it doesn't have the 100% CPU utilization bug.

So what version are you using?
Sam

Edit: ADL is the ATI display library used for monitoring and setting GPU parameters.
sr. member
Activity: 349
Merit: 250
What's the ADL and how do I install it under Windows 7 64bit?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Yeah I just about to say the same thing (in different words Tongue)
If you were running on Linux that output would be what you'd get without "export DISPLAY=:0"
Which happens coz it can't access ADL
But since windows doesn't require anything special to access ADL - thus ADL must be missing.
So yes the fan will never change (which is BAD)

You should see the status lines at the top like:
GPU 0: 72.5C 3359RPM | 351.5/353.4Mh/s | A:44 R:2 HW:0 U:0.38/m I:9
The important part being the red text you are missing since ADL isn't working.
legendary
Activity: 3583
Merit: 1094
Think for yourself
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?

I created a .bat file and then a shortcut to point to that .bat file.  On the shortcut properties you can change the layout properties to increase the height and maybe see more of your GPU's in that screen

Also it looks like you don't have ADL support.  What version of Catalyst are you using?  I'm using 11.6 an have the additional line that shows the GPU Temp, Fan speeds, GPU Clock, Mem Clock, voltage and GPU utilization.

When I had an older version of the Catalyst driver set installed I didn't get that line either.  And CG Miner wouldn't manipulate the clocks and fans.
Sam
sr. member
Activity: 349
Merit: 250
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?
donator
Activity: 1218
Merit: 1079
Gerald Davis
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.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
@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)
full member
Activity: 234
Merit: 100
@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

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
@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)
full member
Activity: 225
Merit: 100
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.

legendary
Activity: 3472
Merit: 1724
Maybe your GPUs operate on 2D clocks?
full member
Activity: 234
Merit: 100
@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
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
newbie
Activity: 47
Merit: 0
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...
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
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.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
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 ...
full member
Activity: 234
Merit: 100
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...
full member
Activity: 373
Merit: 100
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.
Jump to: