Author

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

legendary
Activity: 980
Merit: 1008
Thanks for your quick responses guys!
Code:
sudo aticonfig -f --initial --adapter=all
was the command I needed to make it work.

It's running steadily at 660 Mh/s now. Smiley
sr. member
Activity: 252
Merit: 250
Code:
Section "ServerLayout"
Identifier     "aticonfig Layout"
Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection
Does anyone know what the issue could be?
Your xorg.conf doesn't look good. It also needs screens and monitor sections for the second card, and another entry in the ServerLayout section. Regenerate your xorg.conf with aticonfig --initial, you'll see the differences. You need to restart the X server after that, of course.
omo
full member
Activity: 147
Merit: 100

Does anyone know what the issue could be?

did u set the DISPLAY variable? (export DISPLAY=:0)
legendary
Activity: 980
Merit: 1008
Hello guys

I'm having trouble getting cgminer to recognize both my graphics cards. In my box I have a 5870 and a 5770. The 5870 is recognized without problems by cgminer, but it fails to see my 5770.
The 5870 is plugged into the motherboard's PCI-E 16x connector, and the 5770 is connected via two PCI-E riser cables to a PCI-E 1x connector on the motherboard. aticonfig sees the 5770.

Code:
user@linuxcoin:~$ Desktop/cgminer-2.0.6/cgminer --ndevs
1 GPU devices detected
user@linuxcoin:~$ sudo aticonfig --list-adapters
* 0. 01:00.0 ATI Radeon HD 5800 Series
  1. 03:00.0 ATI Radeon HD 5700 Series

* - Default adapter

Here is my xorg.conf. I added the second adapter but it doesn't seem to make a difference:

Code:
Section "ServerLayout"
Identifier     "aticonfig Layout"
Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
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 "Device"
        Identifier  "aticonfig-Device[0]-1"
        Driver      "fglrx"
        BusID       "PCI:3: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


Does anyone know what the issue could be?
full member
Activity: 210
Merit: 100
I'm Still having some issues with Windows 7 & cgminer. regarding Memory clock. i can adjust core clock fine within cgminer.. or by using the .bat file. i cant adjust the mem clock in cgminer. or with the .bat file

Which card is giving you trouble Mash?
My Asus EAH6950 1GB DCII cards will only allow up to 125 MHz lower for the memory core than GPU. You try downclocking more and the card will just ignore it.
newbie
Activity: 47
Merit: 0
I'm Still having some issues with Windows 7 & cgminer. regarding Memory clock. i can adjust core clock fine within cgminer.. or by using the .bat file. i cant adjust the mem clock in cgminer. or with the .bat file

i've removed catalyst drivers and reinstalled (latest version)

i'd obviously like to adjust the mem clock as its too hot and draws 450w instead of 300w when it was running mem @ 250

any help??

the good part is i have my 6870's running @ 320mh/s, but still..

Edit:

So i open Trixx to manually clock via trixx. which seems to have 0 effect.. however i can change the clocks in cgminer on one card correctly.
but my second card changes to rather small values i didnt punch in..Huh

i'd really like to swap this rig over to be dedicated on linux but i have no idea when it comes to linux
rjk
sr. member
Activity: 448
Merit: 250
1ngldh
I have just been trying out the --conf=cgminer.conf functionality, and it seems to be working OK, however the number of pools is doubled up when I load a stored configuration this way. For example, I have 4 pools in my config as failover etc, but when I start cgminer it shows that there are 8 pools (!).
...
Read the last section of:
https://bitcointalksearch.org/topic/m.680573
(the last post on the previous page)
Thanks for that. I guess I didn't realize this functionality because I had always tried starting cgminer without having a proper config in place. Now that the config is in place, i won't even have to pass a fancy command line to it - just start cgminer and off I go! Thanks.
member
Activity: 266
Merit: 36
(mainly @ckolivas:)
I read those documents as well, but since many others apparently don't: how about an "examples" subdirectory with the example.conf, perhaps an example runner script and the examples from the readme? That way the examples wouldn't be "hidden away" in the readme.
Also, a separate FAQ document might unclutter the readme, so that it pretty much only contains important info (a text document as huge as the current readme kinda turns one off reading it).

All good ideas.  A footnote about example.conf:  I'd suggest forcing the user to edit values, such as gpu-engine, that could crash a GPU.  My blithe use of example.conf with minimal change is what led to my overrunning this forum a couple of weeks ago with pitiful cries of anguish.

For example,
"gpu-engine" : "GPU-clock-speed-goes-here",
full member
Activity: 373
Merit: 100
Does anyone read readmes, manuals or the --help these days? Just wondering if I should bother or just provide paid support only and delete all of those.

I find the readmes and executive summary helpful. I would be asking much more questions without them. I think inclusion of a simple auto start script and setup would be useful.  It seems to come up a lot.

(mainly @ckolivas:)
I read those documents as well, but since many others apparently don't: how about an "examples" subdirectory with the example.conf, perhaps an example runner script and the examples from the readme? That way the examples wouldn't be "hidden away" in the readme.
Also, a separate FAQ document might unclutter the readme, so that it pretty much only contains important info (a text document as huge as the current readme kinda turns one off reading it).
donator
Activity: 798
Merit: 500
Does anyone read readmes, manuals or the --help these days? Just wondering if I should bother or just provide paid support only and delete all of those.

I find the readmes and executive summary helpful. I would be asking much more questions without them. I think inclusion of a simple auto start script and setup would be useful.  It seems to come up a lot.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
I have just been trying out the --conf=cgminer.conf functionality, and it seems to be working OK, however the number of pools is doubled up when I load a stored configuration this way. For example, I have 4 pools in my config as failover etc, but when I start cgminer it shows that there are 8 pools (!).
...
Read the last section of:
https://bitcointalksearch.org/topic/m.680573
(the last post on the previous page)
rjk
sr. member
Activity: 448
Merit: 250
1ngldh
I have just been trying out the --conf=cgminer.conf functionality, and it seems to be working OK, however the number of pools is doubled up when I load a stored configuration this way. For example, I have 4 pools in my config as failover etc, but when I start cgminer it shows that there are 8 pools (!).

Also, on windows I am unable to resize the window, is this intentional?
hero member
Activity: 807
Merit: 500
I know this isn't the ubuntu forums, but here's my script right now:
Code:
#!/bin/sh
ubuntu@ubuntu:~$ export DISPLAY=:0
ubuntu@ubuntu:~$ /mining/cgminer -c cgminer.conf
that's basically from my research, functional.

--snip--

i noticed that i set the conf file to have d,d as the intensity.  is d=dedicated, the one to go with?  i just modified example.conf and they had it to d,9,9,9 so i figured d,d was good for my setup.
Re: your script:  Researching a new OS sometimes sucks because there is misleading info out on the web (and even in the errors you get returned to you).  I don't actually know about Ubuntu specifically, but my experience in any OS is that your experience with BAT files in Windows should help you here (hint: if you copied what you typed in command prompt to a BAT file, you wouldn't leave "{PATH}>" yet you appear to be leaving "{user}@{host}:{path}$" in your script even though it clearly isn't part of the command).

Re: intensity, D=dynamic, and what number is best for dedicated depends on the card.  I think there are specific recommendations (based on the card in use) on the first post or somewhere in this thread, so you may look for that, however, I would say in your scenario you want to use d for the first card and the appropriate number for each subsequent card (which you can determine by testing with 8, 9, and 10 to see what yiedls best results on each card [start with 8 and see if increasing it helps or brings instability using long averages for each trial].  If you're instable at 8 (d on the first card should prevent GUI lockups although you'd be better off using ssh and not worrying about the gui being locked up so you could dedicate all cards instead of making the first dynamic), you'll probably benefit from lowering your OC (assuming you are overclocking) or improving your cooling vs lowering your intensity.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
If you look in the USB script near the end it says you need "DISPLAY=:0" if you are running from ssh

However, you don't need it when run from the screen itself (otherwise I would have said so before that) since anything run on the screen of the miner computer will already have that set correctly.
So the Launcher can run cgminer directly like you type it in a terminal window.

However, per a post reply I made a while back, a script can be useful to create a log file with the current date/time in the name.
The script could be:
Code:
#!/bin/sh
#
now="`date +%Y%m%d%H%M%S`"
#
./cgminer --options --options --options "$@" 2> run.$now.$$.log
Don't forget to 'chmod +x scriptfilename'
(and of course put your options in place of '--options' Tongue)
... and the "$@" means it also adds any parameters you put at the end of the Launcher command in there

OR

if you want it to restart over and over so that you can tell it to quit using the API and it will restart:
Code:
#!/bin/sh
#
while true ; do
 now="`date +%Y%m%d%H%M%S`"
 #
 ./cgminer --options --options --options "$@" 2> run.$now.$$.log
done

I will also add that there is a minor issue about using the ~/.cgminer/cgminer.conf
That will always be loaded when you start cgminer.
So if you put a pool in that file and also specify a pool on the command line or in a script - it will load BOTH pools.
The person who added the load/save script code set it so it ALWAYS loads ~/.cgminer/cgminer.conf if it exists.
Edit: made clear what file I was referring to in the last line.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Sure but I figured "executive summary" couldn't get much easier  Undecided

Perhaps we need a cgminer newbie thread or something...
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Does anyone read readmes, manuals or the --help these days? Just wondering if I should bother or just provide paid support only and delete all of those.
sr. member
Activity: 274
Merit: 250
I`m using I 8,9,9,9
Desktop does not hangs while mining..... 10 gives me nothink.
legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
i figured you could put the DISPLAY=:0 in the script, i haven't quite figured the script out, if i run the script as a launcher on the desktop, it says "Failed to execute child process "/mining/miningscript.sh" (Permission denied)."  and googling around, others seem to have the permissions blues like me.  the *.conf file is a huge help though.

I know this isn't the ubuntu forums, but here's my script right now:
Code:
#!/bin/sh
ubuntu@ubuntu:~$ export DISPLAY=:0
ubuntu@ubuntu:~$ /mining/cgminer -c cgminer.conf
that's basically from my research, functional.  but then the permissions thing stops us.   if i right click on "mining" (folder) and open a terminal there, and execute the script, it will error out saying not found.  so something is broken in my script plus the permissions arn't working for the shortcut, but i'm not overly concerned because TeamViewer works fine, and I plan on making a few copies of this USB to put in all my systems so I can run them without HDD's, and if i can TeamView in there, I can just start the miners manually.

Did you set an intensity? Cause the default settings (not using -k -w -v or -q) usually are better than anything you set, whereas the intensity is set to low and dynamic by default.
i never really messed with intensity before, but wow.  i set the intensity to 10 and i could feel the heat jump up.  the 2nd card didn't like the 1st card being at 10 intensity and then i noticed that my whole interface was right down to a crawl.  setting it to 8 intensity on one card and 6 on the other, the numbers just jumped around like crazy.

i noticed that i set the conf file to have d,d as the intensity.  is d=dedicated, the one to go with?  i just modified example.conf and they had it to d,9,9,9 so i figured d,d was good for my setup.
sr. member
Activity: 274
Merit: 250
I thought so, but i`m used to do it my way  Roll Eyes

Since i figured that cgminer crushes with my manual stuff, i`ts running for weeks with no reboots.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Did you set an intensity? Cause the default settings (not using -k -w -v or -q) usually are better than anything you set, whereas the intensity is set to low and dynamic by default.
Jump to: