Bitcoin Forum
December 08, 2016, 12:35:48 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 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 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4822060 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.
MadHacker
Full Member
***
Offline Offline

Activity: 154



View Profile
September 08, 2011, 12:21:13 AM
 #1321


1) Dual GPU cards don't get adjusted/disabled correctly. For example, a 5970 will only disable the one GPU that has the temp sensor:

Code:
GPU 3: [80.5 C] [DISABLED /78.5 Mh/s] [Q:2 A:11 R:1 HW:0 E:550% U:1.81/m]
 GPU 4: [327.3/324.5 Mh/s] [Q:25 A:23 R:1 HW:0 E:92% U:3.78/m]

2) It'd be awesome if cgminer would record the current clocks on startup, and restore them on exit if the auto tuning changed them at all.

3) Pressing "G" when you have more than a couple of cards makes it impossible to read the output, because the window the output is displayed to is too small unless you have a HUGE screen.

4) I'd love a way to specify different temperature thresholds per GPU on the command line. If I have different model cards in there, they have different points where they're happy. 5770s get crashy above 90-95, where 5970 and 6990 cards idle near there at times. Smiley

5) My ideal dream would be a way of somehow saying "Any 5970 cards you see, set the temperature thresholds to X/Y, the voltage to Z, etc. Any 5770 cards, the temperature threshold is..." so that I don't have to look up which cards are in which system, just to pass that along to cgminer.

6) Temperatures >100C should be allowed, no matter how bad of an idea that sounds. We have some cards that go up to 105-107C without issue.

7) Specifying an overclock/underclock range that cgminer is allowed to adjust the clock in would be handy.

Cool One step further, having it attempt to determine (maybe even saved into a local file) how high the clock was able to go without problems, and self-tuning the max clock rate while under the threshold temperature.
1: Not sure how to fix that since they don't return a different adapter id. I'll poke around some more.
2: It already does.
3: I'll consider trimming it somehow
4: Doable.
5: *cough*
6: Doable
7: Doable
8: *cough


actual 5 & 8 wouldn't be that difficult to implement.
for 5 u need a text file listing all the GPU's and max voltage\max overclock. Then just load the text file on start up and find the matching GPU.
I imagine if you posted a format, you would have a lot of help getting the values from other people here in the thread.
as for 8, write to a text file the GPU frequency, voltage, FanSpeed and temperature and how long it was at that setting. write every minute or so. (configurable)
that way if it hangs... user can look at the settings and determine what was the max overclock.
1481157348
Hero Member
*
Offline Offline

Posts: 1481157348

View Profile Personal Message (Offline)

Ignore
1481157348
Reply with quote  #2

1481157348
Report to moderator
1481157348
Hero Member
*
Offline Offline

Posts: 1481157348

View Profile Personal Message (Offline)

Ignore
1481157348
Reply with quote  #2

1481157348
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 12:23:45 AM
 #1322

Let me spell it out then: I'm writing this in c and I FSCKING HATE WRITING PARSERS FOR FILES.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
MadHacker
Full Member
***
Offline Offline

Activity: 154



View Profile
September 08, 2011, 12:36:15 AM
 #1323

Let me spell it out then: I'm writing this in c and I FSCKING HATE WRITING PARSERS FOR FILES.

No worries...
I hate file parsing as well...
but i think i can implement something in C.
Note I'm a windows developer. don't know Linux for sh!t.
but i can put a function that will read in a text file, parse out the values and fill in a structure.
I can easily do that this weekend.

question, C only or C++?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 12:37:26 AM
 #1324

1) Dual GPU cards don't get adjusted/disabled correctly. For example, a 5970 will only disable the one GPU that has the temp sensor:

Code:
GPU 3: [80.5 C] [DISABLED /78.5 Mh/s] [Q:2 A:11 R:1 HW:0 E:550% U:1.81/m]
 GPU 4: [327.3/324.5 Mh/s] [Q:25 A:23 R:1 HW:0 E:92% U:3.78/m]
Out of curiosity, what does AMDOverdriveCtrl -h return as a list of adapters on machines with dual core GPUs like this one?
The output should be something like:
Code:
INF: Nr. of Adapters: 16
INF: Adapter index: 0, active, ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 1, inact., ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 2, inact., ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 3, inact., ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 4, active, ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 5, inact., ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 6, inact., ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 7, inact., ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 8, active, ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 9, inact., ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 10, inact., ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 11, inact., ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 12, active, ID:36388256, AMD Radeon HD 6900 Series
INF: Adapter index: 13, inact., ID:36388256, AMD Radeon HD 6900 Series
INF: Adapter index: 14, inact., ID:36388256, AMD Radeon HD 6900 Series
INF: Adapter index: 15, inact., ID:36388256, AMD Radeon HD 6900 Series

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 12:40:59 AM
 #1325

Let me spell it out then: I'm writing this in c and I FSCKING HATE WRITING PARSERS FOR FILES.

No worries...
I hate file parsing as well...
but i think i can implement something in C.
Note I'm a windows developer. don't know Linux for sh!t.
but i can put a function that will read in a text file, parse out the values and fill in a structure.
I can easily do that this weekend.

question, C only or C++?

I happily take patches Cheesy

C only please for consistency, and please try to stick to code style. (1TBS)
http://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
MadHacker
Full Member
***
Offline Offline

Activity: 154



View Profile
September 08, 2011, 12:49:14 AM
 #1326

Let me spell it out then: I'm writing this in c and I FSCKING HATE WRITING PARSERS FOR FILES.

No worries...
I hate file parsing as well...
but i think i can implement something in C.
Note I'm a windows developer. don't know Linux for sh!t.
but i can put a function that will read in a text file, parse out the values and fill in a structure.
I can easily do that this weekend.

question, C only or C++?

I happily take patches Cheesy

C only please for consistency, and please try to stick to code style. (1TBS)
http://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS

I'll grab a copy of your source later and look at your coding style...
do my best to match it. (pretty busy until the weekend, but shouldn't take me to long.)
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 04:50:46 AM
 #1327

Waiting on debugging output on dual core cards before I can get out the next release.

Meantime, git tree updated since 2.0:
      Ideally we should like with -ldl for dlopen() dlclose().
      ByteReverse is not used and the bswap opcode breaks big endian builds. Remove it.
      Ignore whether the display is active or not since only display enabled devices work this way, and we skip over repeat entries anwyay.
      Win32 does not use dlopen so link in -ldl only when not on win32 and display what ldflags are being passed on ./configure.
      Only reset values on exiting if we've ever modified them.
      Flag adl as active if any card is successfully activated.
      Add a thermal cutoff option as well and set it to 95 degrees by default.
      Change the fan speed by only 5% if it's over the target temperature but less than the hysteresis value to minimise overshoot down in temperature.
      FAQ updates.
      Add a --no-adl option to disable ADL monitoring and GPU settings.
      More readme docs.
      Only show longpoll received delayed message at verbose level.
      Latest glibc appears to want linking against -lm as well for dlopen.
      Allow temperatures greater than 100 degrees.
      We should be passing a float for the remainder of the vddc values.
      Implement accepting a range of engine speeds as well to allow a lower limit to be specified on the command line.
      Allow per-device fan ranges to be set and use them in auto-fan mode.
      Display which GPU has overheated in warning message.
      Allow temperature targets to be set on a per-card basis on the command line.
      Document the temperature command line changes.
      Display fan range in autofan status.
      Setting the hysteresis is unlikely to be useful on the fly and doesn't belong in the per-gpu submenu.
      With many cards, the GPU summaries can be quite long so use a terse output line when showing them all.
      Use a terser device status line to show fan RPM as well when available.
      Define max gpudevices in one macro.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Big Time Coin
Sr. Member
****
Offline Offline

Activity: 332



View Profile
September 08, 2011, 04:57:10 AM
 #1328

CGMiner just got detected as a rootkit by Avast free antivirus.  32-bit windows

version 1.6.2-win32

Detected as :

cgminer.exe is infected by Win32:Rootkit-gen [Rtk]

Big time, I'm on my way I'm making it, big time, oh yes
- Peter Gabriel
PLaci1982
Full Member
***
Offline Offline

Activity: 168


Live long and prosper. \\//,


View Profile
September 08, 2011, 05:43:54 AM
 #1329

CGMiner just got detected as a rootkit by Avast free antivirus.  32-bit windows

version 1.6.2-win32

Detected as :

cgminer.exe is infected by Win32:Rootkit-gen [Rtk]
Update to 2.0.0...
Again someone put an older relase into some trojan AND renamed it to svchost.exe, like with 1.5.4...

Hardware Expert / WinXP, Win7 Expert

1J5oPkyGVdb4mv44KGZQYsHS2ch6e1t4rc
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
September 08, 2011, 06:06:35 AM
 #1330

Again that's your virus scanner proving it's stupidity.

It's not detecting the trojan - it's detecting cgminer.
Thus it is allowing the trojan code to do as it pleases, but then complain about a valid program.
Go tell the AV company they are morons.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
dlasher
Sr. Member
****
Offline Offline

Activity: 468



View Profile WWW
September 08, 2011, 07:32:41 AM
 #1331

When I build 2.0.0 (with the original or newer -1 source), it works fine as long as I don't add the ADL header files to the ADL_SDK folder.  When I do that, I get this at the end of the make step:
Code:
/usr/bin/ld: cgminer-adl.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [cgminer] Error 1
make[2]: Leaving directory `/usr/src/cgminer-2.0.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer-2.0.0'
make: *** [all] Error 2
This is running Fedora 15 with GLIBC 2.14-4.  I'm guessing that is the problem, and I'm guessing it is due to the AMD header files and outside of ck's control, but wanted to report it just in case.  I may look for some repo with a newer GLIBC at some point if I can find time, but in the meantime, FYI:  It would appear that you have to have a pretty recent version of GLIBC to compile the gpu monitoring support.

Same issue for me under Fedora 14, little googlefoo, and I got it resolved.. here's my "configure" line.. it's the addition of the "ldl" and "lpthread":

Quote
CFLAGS="-O3 -Wall -msse2 -I/usr/src/AMD-APP-SDK-v2.4-lnx32/include -g" LDFLAGS="-L/usr/src/AMD-APP-SDK-v2.4-lnx32/lib/x86/ -g -ldl -lpthread"  ./configure

sadly, none of the GPU options appear to be working, so I suspect I'm not fixed yet.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 07:55:21 AM
 #1332

It's fixed in git. You should have been able to see it in the last 2 git changelogs I posted.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
dlasher
Sr. Member
****
Offline Offline

Activity: 468



View Profile WWW
September 08, 2011, 08:15:19 AM
 #1333

It's fixed in git. You should have been able to see it in the last 2 git changelogs I posted.

Latest GIT, still unhappy on fedora14 without the "-ldl" switch:

Quote
/usr/bin/ld: cgminer-adl.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [cgminer] Error 1
make[2]: Leaving directory `/usr/src/cgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer'
make: *** [all] Error 2

Even with the ldl switch, it compiles, the command-line "GPU fun" options show up, but once cgminer is running, and you hit [g] for GPU options, none of the "new" stuff is there.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 08:17:18 AM
 #1334

It's fixed in git. You should have been able to see it in the last 2 git changelogs I posted.

Latest GIT, still unhappy on fedora14 without the "-ldl" switch:

Quote
/usr/bin/ld: cgminer-adl.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [cgminer] Error 1
make[2]: Leaving directory `/usr/src/cgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer'
make: *** [all] Error 2




Sigh it gets tiring saying "If building from git, do ./autogen.sh first"

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
dlasher
Sr. Member
****
Offline Offline

Activity: 468



View Profile WWW
September 08, 2011, 08:31:05 AM
 #1335

Sigh it gets tiring saying "If building from git, do ./autogen.sh first"

Sorry, my fault for not posting my entire build log.. As you'll see, I did do that first.. Smiley

http://www.pastie.org/2501731

Anything I missed?




-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 08:52:46 AM
 #1336

Sigh it gets tiring saying "If building from git, do ./autogen.sh first"

Sorry, my fault for not posting my entire build log.. As you'll see, I did do that first.. Smiley

http://www.pastie.org/2501731

Anything I missed?
Oh wow, sorry.

LDFLAGS..............: -L/usr/src/AMD-APP-SDK-v2.4-lnx32/lib/x86/ -g -pthread -ldl -lm

It's there, so ...NFI

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 11:43:30 AM
 #1337

Doh, -lpthread, not -pthread is also an issue it seems?

Anyway, try pulling the git tree again please.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
September 08, 2011, 11:51:26 AM
 #1338

1) Dual GPU cards don't get adjusted/disabled correctly. For example, a 5970 will only disable the one GPU that has the temp sensor:

Code:
GPU 3: [80.5 C] [DISABLED /78.5 Mh/s] [Q:2 A:11 R:1 HW:0 E:550% U:1.81/m]
 GPU 4: [327.3/324.5 Mh/s] [Q:25 A:23 R:1 HW:0 E:92% U:3.78/m]
Out of curiosity, what does AMDOverdriveCtrl -h return as a list of adapters on machines with dual core GPUs like this one?
The output should be something like:
Code:
INF: Nr. of Adapters: 16
INF: Adapter index: 0, active, ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 1, inact., ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 2, inact., ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 3, inact., ID:29775168, AMD Radeon HD 6900 Series
INF: Adapter index: 4, active, ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 5, inact., ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 6, inact., ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 7, inact., ID:31979904, AMD Radeon HD 6900 Series
INF: Adapter index: 8, active, ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 9, inact., ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 10, inact., ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 11, inact., ID:34184080, AMD Radeon HD 6900 Series
INF: Adapter index: 12, active, ID:36388256, AMD Radeon HD 6900 Series
INF: Adapter index: 13, inact., ID:36388256, AMD Radeon HD 6900 Series
INF: Adapter index: 14, inact., ID:36388256, AMD Radeon HD 6900 Series
INF: Adapter index: 15, inact., ID:36388256, AMD Radeon HD 6900 Series

Anyone with 6990, even one on linux to try this?

"Out of curiosity, what does AMDOverdriveCtrl -h return as a list of adapters on machines with dual core GPUs like this one?"

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
sirky
Sr. Member
****
Offline Offline

Activity: 407



View Profile
September 08, 2011, 12:52:46 PM
 #1339

My primary pool was having issues last night, and at one point it looks like CGMiner just idled my gfx cards instead of switching to the backup. Also I was getting a lot of caching. When exactly does the miner make the switch to the backup when the primary is messed up? I had to manually change the backup to my primary when I saw that.
RvdE
Newbie
*
Offline Offline

Activity: 10


View Profile
September 08, 2011, 02:29:55 PM
 #1340

[...]
      Win32 does not use dlopen so link in -ldl only when not on win32 and display what ldflags are being passed on ./configure.
[...]

FreeBSD doesn't have a separate -ldl either, since dlopen() and dlclose() are part of the FreeBSD libc library. The same might be true for MacOSX and any other BSD OS.
Pages: « 1 ... 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 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 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!