Author

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

hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
Can anyone give an example of a config file? I still can't get cgminer to make one.

Also, does anyone else have their cgminer.exe start using 100% CPU randomly?

Code:
{
"pools" : [
{
"url" : "http://gpumax.com:8332",
"user" : "UserName",
"pass" : "Password"
},
{
"url" : "http://us3.eclipsemc.com:8337",
"user" : "UserName",
"pass" : "Password"
},
{
"url" : "http://localhost:8331",
"user" : "UserName",
"pass" : "Password"
}
]
,
"api-port" : "####",
"disable-gpu" : true,
"expiry" : "600",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"log" : "5",
"net-delay" : true,
"no-submit-stale" : true,
"protocol-dump" : true,
"queue" : "1",
"retry-pause" : "5",
"scan-time" : "90",
"temp-hysteresis" : "1",
"shares" : "0",
"scan-serial" : [ "bitforce:COM5" ],
"kernel-path" : "/usr/local/bin"
}


I have never seen CGMiner use 100% CPU.
newbie
Activity: 59
Merit: 0
I can post my config when I get home from work.

What is your I: ?

Thanks, it's just on dynamic.
legendary
Activity: 952
Merit: 1000
Can anyone give an example of a config file? I still can't get cgminer to make one.

Also, does anyone else have their cgminer.exe start using 100% CPU randomly?

I can post my config when I get home from work.

What is your I: ?
newbie
Activity: 59
Merit: 0
Can anyone give an example of a config file? I still can't get cgminer to make one.

Also, does anyone else have their cgminer.exe start using 100% CPU randomly?
legendary
Activity: 952
Merit: 1000
Thanks. Plan to once a stable release is out.
2.7.4 gets me ~10% less hashrate than all recent versions (including 2.7.1, 2.7.0 and 2.6.5 for fresh comparisons) on a 5870 with SDK 2.1 (ati-drivers 11.6) on Gentoo amd64.
Didn't test 2.7.2 or 2.7.3.
2.7.2/3 will not even work on sdk2.1. It appears the kernel changes are not so great for sdk2.1. Oh well.
There's a suggestion from IRC that those with ultra low memory clock speeds on sdk2.4/2.5 are seeing this, and going from say 150 to 250 is enough to recover it. Perhaps it's not the SDK at all but the memory speed.

EDIT: Just to further explain why these changes have been made to ALL the kernels. Basically there are some small probability scenarios where some shares are missed by the existing kernel designs. It's not a lot, but given btc mining is entirely a probability game, we need everything on our side.

So there's a chance that previous kernels were hashing just fine, but weren't finding shares. Will this increase U: even by a small amount?
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
Having trouble with mingW.
Windows 7 64 bit.
Followed the directions I believe correctly.
Problem:
No errors on the line with configure
CFLAGS="-O2 -msse2" ./configure --disable-opencl --disable-adl --enable-bitforce

Make gives me a bunch of lines that seemed ok. then missing a imp_curl

ending with this
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cgminer.exe] Error 1
make[2]: Leaving directory `/home/user/ckolivas-cgminer-b768758'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/ckolivas-cgminer-b768758'
make: *** [all] Error 2
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
What are you guys using when there is more then one COM in the double digits? This was my best idea and it's not working

-S COM8 -S COM9 -S \\.\COM10 -S \\.\COM11

cgminer should automatically see BFL devices by itself now, unless you're using something else.

Also, I think 2.6.5 is in the spot for 2.6.6 @ "cgminer-2.6.6-x86_64-built.tar.bz2".

Thanks,
I stopped upgrading when the new version started picking up my gpu's in the same window. I could probably use the "device" command to get around it.
Simplest way to avoid picking up any available GPUs is to use -G on the command line or "disable-gpu" : true, in the config file
I use this with my BFL coz I have an old 8600GTS nVidia card in my desktop and I don't want that mining ...
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hi, sorry for being stupid – What do I put if I don’t want to touch a rather finicky GPU?

Like 5850/5830/5770 with 5830 being faulty – 750,???,900 core, 250,???,250 memory 100,???,100 fan?

I cannot touch any of those without a forced restart. Setting defaults does not work either. Auto gpu/fan restarts as well.

The card works okay with no modification on any kernel/vectors/aggression setting, the only thing is, I cannot overclock the stable cards on the same machine. Or can i (without afterburner's/etc's manual set up)?

TIA.
Just don't give it any gpu parameters and it won't try to set anything. Or if you want to disable all the gpu monitoring entirely, start it with --no-adl
member
Activity: 96
Merit: 10
Hi, sorry for being stupid – What do I put if I don’t want to touch a rather finicky GPU?

Like 5850/5830/5770 with 5830 being faulty – 750,???,900 core, 250,???,250 memory 100,???,100 fan?

I cannot touch any of those without a forced restart. Setting defaults does not work either. Auto gpu/fan restarts as well.

The card works okay with no modification on any kernel/vectors/aggression setting, the only thing is, I cannot overclock the stable cards on the same machine. Or can i (without afterburner's/etc's manual set up)?

TIA.
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
or the flag --disable-gpu when you start cgminer.
sr. member
Activity: 392
Merit: 250
What are you guys using when there is more then one COM in the double digits? This was my best idea and it's not working

-S COM8 -S COM9 -S \\.\COM10 -S \\.\COM11

cgminer should automatically see BFL devices by itself now, unless you're using something else.

Also, I think 2.6.5 is in the spot for 2.6.6 @ "cgminer-2.6.6-x86_64-built.tar.bz2".

Thanks,
I stopped upgrading when the new version started picking up my gpu's in the same window. I could probably use the "device" command to get around it.
newbie
Activity: 63
Merit: 0
What are you guys using when there is more then one COM in the double digits? This was my best idea and it's not working

-S COM8 -S COM9 -S \\.\COM10 -S \\.\COM11

cgminer should automatically see BFL devices by itself now, unless you're using something else.

Also, I think 2.6.5 is in the spot for 2.6.6 @ "cgminer-2.6.6-x86_64-built.tar.bz2".
sr. member
Activity: 392
Merit: 250
What are you guys using when there is more then one COM in the double digits? This was my best idea and it's not working

-S COM8 -S COM9 -S \\.\COM10 -S \\.\COM11
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
What OS?
On windows I did experience an issue where the command window was unable to be selected. When Clicked on there is a generic windows "bing" as though a popup was called for but was not in the foreground like if you on IE right click and on the options click print preview and before the print preview came up tried selecting a different tab or to click refresh button. I am unsure what happened. CGMiner did keep functioning. I did kill it manually and restart giving me access to the options again. This happened to me once about 6 hours maybe into my second run. It did not happen in the 12 hour first run and has not happened in my 30 plus hours on the current run.
Crashing when trying to write a config file seems odd. I have 0 idea why it would happen. If the user didn't have write access a 0 byte file shouldn't even show up. You could use a previous config file. I am using one written by 2.6.5 and running 2.7.4. You could write one by hand or change some parts by hand from an older CGMiner. You may not be able to write one for 2.7.4. I have just tried on my win7 64bit machine and created with no crash test.conf. It is 1 KB in size and CGminer is still running. Possibly I could set one up by hand for you if you would like.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
On network delays 2.7.4 seems to not bleed shares to my backup pool. I am showing 600Mhahs on pool 0 with pool not providing work fast enough. Using a BFL single with 864 bitstream. Not throttling and no HW errors. If the pool it is on is able to handle the load then it will hit 860 and stay at greater then or equal to 859.
...
Just a small note about BFLs
The actual MH/s value is slightly affected by difficulty change.
The change is very small, but it is big enough to see in the screen display (and the API)

Firstly as everyone probably knows, you lose on average 1/2 a nonce range per LP.
With an LP average time of 10mins, on the 864MH/s bitstream:
Nonce range time is ~4.971 seconds so on average you lose (half that) ~2.4855 seconds per LP or ~2.4855 / 600 = ~0.414%
So 864 - 0.414% = 864 - 3.58MH/s or a max expected average hash rate of 860.4MH/s

However, if the difficulty is increasing - e.g. last difficulty increased 11.4% - that means you got the LP's 11.4% faster, on average, for the entire 2016 blocks (almost 2 weeks)
Thus the above ~0.414% increases to ~2.4855 / ~531.6 = ~0.468% which is 4.04MH/s
So the maximum average expected hash rate was actually 860.0MH/s for those 2016 blocks.

Now that's not much different, but it is enough to actually see the difference on the screen and in the API and also explain where that tiny 0.4 MH/s disappeared to Smiley
newbie
Activity: 59
Merit: 0
So anyone else crashing when they try to write the config?

But now there's another issue, no keypresses will go to to the window, or the cgminer doesn't respond to any.
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
Thank You!
Any chance of a binary of it? MingW seems to disagree with me in the past. If not I will try building one later tonight.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
On network delays 2.7.4 seems to not bleed shares to my backup pool. I am showing 600Mhahs on pool 0 with pool not providing work fast enough. Using a BFL single with 864 bitstream. Not throttling and no HW errors. If the pool it is on is able to handle the load then it will hit 860 and stay at greater then or equal to 859. What can I do to help track it down as an issue with eclipsemc seems to be causing it and it will likely get fixed fast enough?
This is confirmed not working in 2.7.4 now. It should be fixed in git.
sr. member
Activity: 383
Merit: 250
I'm trying to compile cgminer on my Windows 7 Pro 64 bit desktop. I'm at the point where I need to start building cgminer, but I'm getting the following error:
Code:
The Joey-O@Mr_Compy ~
$ cd cgminer-2.7.4

The Joey-O@Mr_Compy ~/cgminer-2.7.4
$ adl.sh
/mingw/bin/adl.sh: /mingw/bin/adl.sh: cannot execute binary file

The Joey-O@Mr_Compy ~/cgminer-2.7.4
$ file adl.sh
adl.sh: ERROR: cannot open `adl.sh' (No such file or directory)

I made the adl.sh file with the following contents:
Code:
cp -av ../ADL_SDK/*.h ADL_SDK
Then I saved it in \MinGW\msys\1.0\bin. I also made the ADL_SDK directory and placed it in \MinGW\msys\1.0\home\The Joey-O\ with adl_defines.h, adl_sdk.h & adl_structures.h inside.

Any idea on what I'm doing wrong?

Make sure you have the adl.sh file there. And the CGMiner source code in there somewhere. Not the CGminer already compiled, but you need the source.

Ok. I definitely have the adl.sh file where it's supposed to be according to the documentation. How do I know if what I downloaded is source or precompiled code?

Pre-Compiled code will have cgminer.exe in the folder.

I wrote that documentation. I just followed it step by step and it still works. Are you sure the adl.sh file does not have .txt on the end?

Make sure you have a cr/lf after "cp -av ../ADL_SDK/*.h ADL_SDK".

You could also try putting the file in \MinGW\bin.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
FWIW, my 5850 (stock settings, SDK 2.1) has a 5 MH/s performance loss with the new kernels.
Looks worse than -5 ...
Jump to: