Author

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

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Sadly, that always happens to me. Haven't debugged but worked around it. Open configure.ac, remove the pkg_config check for libcurl, open Makefile.am, and replace @LIBCURL_FLAGS@ or whatever the keyword is with direct paths to the library directory where libcurl.a resides and add -lcurl then.

OK, gotcha.  I actually found after fooling around some that if you comment the lines thus:

#PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.15.6], [AC_DEFINE([CURL_HAS_SOCKOPT], [1], [Defined if version of curl supports sockopts.])],
#[PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.10.1], ,[AC_MSG_ERROR([Missing required libcurl dev >= 7.10.1])])])
#AC_SUBST(LIBCURL_LIBS)

and add the line:

LIBCURL_LIBS=-lcurl

you don't have to change Makefile.am

Of course now it's bitching about include files in the Platform SDK.
I spent MANY hours to get my api.c additions to compile under mingw32 (in a linux VirtualBox VM) - a lot of the time was spent messing with configure.ac and the generated Makefile
I can't even tell you exactly what I had to do to fix it coz I just kept hacking at the configure and Makefile until it worked.
Then, oddly, it worked fine so I kept that configure.ac file and have done the same change to it every time needed.
Running a diff now it looks like the ONLY thing I did was comment out the first two lines you listed (not the 3rd) and all was OK after that.
Hard to tell if there was anything special in the Makefile, but Makefile's aren't that difficult to mess with, whereas I knew very little about a configure.ac when I started down the path to hell known as mingw32
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
Avast fail: it report cgminer as a virus. And i don't find a way to tell it to ignore it. Avast double fail.

Code:
Real-time Shields -> File System Shield -> Expert Settings -> Exclusions
Thank you!
I was looking for that but i didn't know where to find it... cause there was nothing in Settings.
legendary
Activity: 916
Merit: 1003
Sadly, that always happens to me. Haven't debugged but worked around it. Open configure.ac, remove the pkg_config check for libcurl, open Makefile.am, and replace @LIBCURL_FLAGS@ or whatever the keyword is with direct paths to the library directory where libcurl.a resides and add -lcurl then.

OK, gotcha.  I actually found after fooling around some that if you comment the lines thus:

#PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.15.6], [AC_DEFINE([CURL_HAS_SOCKOPT], [1], [Defined if version of curl supports sockopts.])],
#[PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.10.1], ,[AC_MSG_ERROR([Missing required libcurl dev >= 7.10.1])])])
#AC_SUBST(LIBCURL_LIBS)

and add the line:

LIBCURL_LIBS=-lcurl

you don't have to change Makefile.am

Of course now it's bitching about include files in the Platform SDK.
hero member
Activity: 642
Merit: 500
Problem with Fan < 400 RPM

I've noticed on a 5870 with Accelero Cooler that as soon as it drops under 400 RPM cgminer shows really funny values:

http://www.imagebanana.com/view/52o8lhqs/Bildschirmfoto20120121um16.56.18.png

Its probably just a cosmetic issue as it keeps running, as soon as the fan goes over 400 RPM everything is ok again.

I had this happen quite some time ago with some Gigabyte 6870 non-reference boards.  The PCB had 3 fans and the fan controller did some sort of averaging between the fans to send the fan speed to the driver.  If one of the fans stalled (I had a cable sitting in it once) or if one of the fans spun at a much slower speed, the card would report an insane value for the fan speed.  It's not a fault of CGMiner, it's what the ATI API is reporting back for the speed of the fan.
newbie
Activity: 36
Merit: 0
Avast fail: it report cgminer as a virus. And i don't find a way to tell it to ignore it. Avast double fail.

Code:
Real-time Shields -> File System Shield -> Expert Settings -> Exclusions
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
Sadly, that always happens to me. Haven't debugged but worked around it. Open configure.ac, remove the pkg_config check for libcurl, open Makefile.am, and replace @LIBCURL_FLAGS@ or whatever the keyword is with direct paths to the library directory where libcurl.a resides and add -lcurl then.
legendary
Activity: 2576
Merit: 1186
BTW - I'm a software professional, not a n00b.  I've even used libcurl in the past with Visual Studio C++ before.  The mingw32 thing is new to me.
Fine, a n00b software professional...
legendary
Activity: 916
Merit: 1003
I'm trying to build cgminer under mingw32 on windows but I'm having problems.  I've been searching this thread, reading ckolivas documentation on github and basically beating my head against the wall for a couple of days now.

I've successfully installed pkg-config-0.26, PDCurses-3.4 and curl-7.23.1.
After building libcurl from source under mingw32, I copied libcurl.m4 to /mingw/share/aclocal
I copied pkg.m4 to /mingw/share/aclocal

I also installed Microsoft platform SDK, AMD APP sdk, and AMD ADL sdk


When I tried building cgminer I did the following from within MSYS of mingw32:
autoreconf -fvi (ran fine)
CFLAGS="-O2 -msse2" ./configure

I get an error from .configure:

checking for LIBCURL... no
checking for LIBCURL... no
configure: error: Missing required libcurl dev >= 7.10.1

I'm positive I installed libcurl so I'm stumped why it's complaining.

I searched this thread and found someone else with the same error but I couldn't find what the resolution was.

BTW - I'm a software professional, not a n00b.  I've even used libcurl in the past with Visual Studio C++ before.  The mingw32 thing is new to me.
legendary
Activity: 2688
Merit: 1240
Problem with Fan < 400 RPM

I've noticed on a 5870 with Accelero Cooler that as soon as it drops under 400 RPM cgminer shows really funny values:

http://www.imagebanana.com/view/52o8lhqs/Bildschirmfoto20120121um16.56.18.png

Its probably just a cosmetic issue as it keeps running, as soon as the fan goes over 400 RPM everything is ok again.
sr. member
Activity: 378
Merit: 250
Why is it so damn hot in here?
Avast fail: it report cgminer as a virus. And i don't find a way to tell it to ignore it. Avast double fail.

Yeah, they don't make it easy override avast.  Make sure everything is set to "Ask" under your "Expert" File System Settings. You can also add exclusions there also.

If you just do a normal install and leave it, Avast will just make shit disappear without asking or notifying you.   That's pretty fucking annoying.  Same with most anit-virus programs today.   Just imagine if any other software type acted like that,  your PDF reader just decides to disappear your  MP3 files...
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Avast fail: it report cgminer as a virus. And i don't find a way to tell it to ignore it. Avast double fail.
Just about every virus checker now considers cgminer as a virus. One of the advantages of me removing CPU mining from cgminer is that the false positives should decrease as most trojans for botnets that package cgminer as the "helper" for their evil activities do so because of the CPU mining.

Anyway I keep saying any serious miner should be using linux, but I do understand why people are addicted to McDonalds, KFC and Windows.
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
Avast fail: it report cgminer as a virus. And i don't find a way to tell it to ignore it. Avast double fail.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Updated my 11.04 USB install script to include details at the end about how to start the HDD install (and then jump into the middle of the USB install)
As usual: see my sig for the link.

Nothing spectacularly difficult, but just in case anyone wanted to install on an HDD and not a USB, wasn't sure about it and also didn't want to guess at it.

That new version will be in ckolivas' git soon also.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
2 things Smiley

1) Yeah the status of the git at the moment means I'm best to stay away until Luke's stuff is resolved

2) Your 'pool' request is not a pool attribute, that's a cgminer attribute.
 So I guess you want another command to report the cgminer strategy?

(I have actually done the CPU code removal from api.c but not sent a pull yet - again I'm waiting to see what happens currently first)

Edit: https://bitcointalksearch.org/topic/m.700674
legendary
Activity: 1876
Merit: 1000



But yeah - state exactly what you want with those 2 commands and once the CPU changes happen I'll put those 2 on first priority (for 5 BTC Smiley


I would like to add V to the list.  the more i read about undervolting, the more I want to try it.  especially with summer approaching.
Also, since reconfiguring a bunch of rigs will be easy to do from this interface, would be nice to be able to write the config to a file.


Kano,  I am willing to up the anti to get this stuff in....  10btc? anyone else willing to contribute?



1. ability to switch pools (i think setting a pools priority to 0 would work?)
2.  setting the following, for gpus's:
  • "intensity" : "newValue",
  • "gpu-engine" : "newValue",
  • "gpu-vddc" : "newValue",
  • "gpu-memclock" : "newValue",
  • "gpu-fan":      "newValue",  ex(50-85)
3. ability to write current config to text file:   {command writeConfig,  param filename) (please fix the volt config bug)



I think Kano main objection to modification now is the code base will be changed significantly when cpu mining is removed.  He would rather wait until cpu mining is complete, finalized, and then work off that version for more PRC enhancements.

Thanks DAT.

while making the webmonitor. I cannot report what the pool strategy is from the rpc request. can we add the pool strategy? here is a sample of a pool get that is currently in load balance mode.:

Code:
[POOLS] => Array
        (
            [0] => Array
                (
                    [POOL] => 0
                    [URL] => http://us.eclipsemc.com:8337
                    [Status] => Alive
                    [Priority] => 0
                    [Long Poll] => Y
                    [Getworks] => 5937
                    [Accepted] => 11365
                    [Rejected] => 210
                    [Discarded] => 399
                    [Stale] => 26
                    [Get Failures] => 5
                    [Remote Failures] => 115
                )

            [1] => Array
                (
                    [POOL] => 1
                    [URL] => http://bitcoind:8332
                    [Status] => Alive
                    [Priority] => 1
                    [Long Poll] => N
                    [Getworks] => 107160
                    [Accepted] => 0
                    [Rejected] => 0
                    [Discarded] => 3053
                    [Stale] => 0
                    [Get Failures] => 37
                    [Remote Failures] => 0
                )
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Git tree currently doesn't set auto gpu features properly on >1 card. Waiting on someone to git bisect the exact commit responsible before I can move forward with this code to a new release.
legendary
Activity: 1316
Merit: 1005
It already searches for it in the current directory. You want yet more paths to be checked?

Like I said - minor. I just changed the working directory instead.
donator
Activity: 1218
Merit: 1079
Gerald Davis
I noticed that [P]ool Management->[*I*]nformation does not display the Accepted shares for a pool, simply because the line is hidden due to too much content being displayed.
On Windows of course.

You just need to make the command prompt window larger.  Right click properties.  Increase vertical size.
Doesn't work.

It does for me.  What do you mean it doesn't work?  What exactly doesn't happen?

You may also need to change the screen buffer size.
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
I noticed that [P]ool Management->[*I*]nformation does not display the Accepted shares for a pool, simply because the line is hidden due to too much content being displayed.
On Windows of course.

You just need to make the command prompt window larger.  Right click properties.  Increase vertical size.
Doesn't work.
donator
Activity: 1218
Merit: 1079
Gerald Davis
I noticed that [P]ool Management->[*I*]nformation does not display the Accepted shares for a pool, simply because the line is hidden due to too much content being displayed.
On Windows of course.

You just need to make the command prompt window larger.  Right click properties.  Increase vertical size.
Jump to: