Author

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

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Updated git tree: (new feature --temp-cutoff)

 Ideally we should link 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.

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/



Well if you could quickly test this version (drop the .exe in place of your existing one) and tell me if it works, that would be helpful:
http://ck.kolivas.org/apps/cgminer/cgminer.exe

(it's otherwise identical to 2.0)

Sure, I'll do that now.  Just to clarify, I should do this with the "extra" monitors disabled right?
Yes, try it on multiple cards with just the one monitor enabled.

It worked Cheesy    Sees all the cards even without the monitors "active".    Great job!
Great. I've updated the windows zip with the new executable and posted it in the top post since nothing else has changed, but it fixes the most common issue people are running into:

http://ck.kolivas.org/apps/cgminer/cgminer-2.0.0-win32_1.zip
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
just gave this a whirl on my 6770.. NICE! I love the customization options.

just running with autofan and temp set to 65 right now but looking forward to using the gpu engine clocking aspect which is my main reason for trying this. getting tired of clocking my 6870 up at night when its cool and down a bit during the day if I think it will be too warm.

of course the extra few MH/s doesnt hurt either heh.

gonna play with it and run it a few days on the 6770 and then once I get the hang of it stick it on the other 2 rigs.

BTW running it with vista ultimate 32 bit, sdk 2.4, 11.6 driver on my HTPC. thanks for letting us winblows folk play with the cool stuff too Smiley
hero member
Activity: 798
Merit: 1000



Well if you could quickly test this version (drop the .exe in place of your existing one) and tell me if it works, that would be helpful:
http://ck.kolivas.org/apps/cgminer/cgminer.exe

(it's otherwise identical to 2.0)

Sure, I'll do that now.  Just to clarify, I should do this with the "extra" monitors disabled right?
Yes, try it on multiple cards with just the one monitor enabled.

It worked Cheesy    Sees all the cards even without the monitors "active".    Great job!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/



Well if you could quickly test this version (drop the .exe in place of your existing one) and tell me if it works, that would be helpful:
http://ck.kolivas.org/apps/cgminer/cgminer.exe

(it's otherwise identical to 2.0)

Sure, I'll do that now.  Just to clarify, I should do this with the "extra" monitors disabled right?
Yes, try it on multiple cards with just the one monitor enabled.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Wow.  This works fantastic.  Great work, as always.

I love the Temperature display now.  Would it be possible to add an option to display the GPU and fan speed?  That would be nice to see if things are getting throttled down.

I'm rapidly running out of real estate in the status line...
hero member
Activity: 798
Merit: 1000


Well if you could quickly test this version (drop the .exe in place of your existing one) and tell me if it works, that would be helpful:
http://ck.kolivas.org/apps/cgminer/cgminer.exe

(it's otherwise identical to 2.0)

Sure, I'll do that now.  Just to clarify, I should do this with the "extra" monitors disabled right?

EDIT: Brilliant, that worked Cheesy    Great Job!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
The fan speeds and clock speeds seem to be updated too quick, it doesn't sound like it's doing anything at all. Though i have 4 cards in the one box so an adjustment of 5% is probably negligible in terms of audible sound.

Just to confirm, if i want to over clock my core speed to 825, set the fan to never go over 65% and to maintain 90 degrees i would use:
Code:
#!/bin/bash
cd ~/cgminer
DISPLAY=:0 ./cgminer -c p1.json -c p2.json --submit-stale --auto-fan --auto-gpu --gpu-engine 825 --gpu-memclock 300 --temp-overheat 95 --temp-target 90 --gpu-fan 65

Now i assume cgminer would automatically adjust the clock to the maximum possible with a ceiling of 825 while trying to maintain 90 degrees by adjusting the fan speed to a max of 65% (unless it hits the overheat value)?

I would prefer to sacrifice clock speeds to keep fan noise down.

Omitting the --auto-gpu/fan would set cgminer to always run the card at 820mhz and always run the fan at 65% (unless overheating)?

What happens if i use:

Code:
DISPLAY=:0 ./cgminer -c p1.json -c p2.json --submit-stale --auto-fan --auto-gpu  --temp-overheat 95 --temp-target 90

Does cgminer automatically overclock to the maximum possible for me?
You are partially right. The auto-fan ignores the set fan speed (intrinsically this is safer), so if you want a maximum fan speed of 65% you're limited with current options to just setting a static value for fanspeed. However the GPU ceiling you set will be adhered to when clocking up and down to maintain temp up to target. If you do *not* pass any engine speed to cgminer (like your last command line) it will only clock up and down if it already detects an overclock is already present. I'm obsessive about cgminer avoiding doing anything more than you specify is safe or is already running in terms of engine speed.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
As for it seeing cards, I need all 4 of my cards connected up and the monitors "activated" in the display settings.  Once that's done and cgminer is doing it's thing, you can disable the other two monitors in display settings and it'll be fine until you need to restart cgminer.
That's a very interesting observation. I may be able to code a workaround for that next version.

That'd be awesome if possible.  It's a PITA at the moment, but it's been like that for a fair while (I was using MSI Afterburner prior to this and the same problem existed).

Love the new version by the way, you're a smart cookie Smiley
Smiley

Well if you could quickly test this version (drop the .exe in place of your existing one) and tell me if it works, that would be helpful:
http://ck.kolivas.org/apps/cgminer/cgminer.exe

(it's otherwise identical to 2.0)
hero member
Activity: 798
Merit: 1000
As for it seeing cards, I need all 4 of my cards connected up and the monitors "activated" in the display settings.  Once that's done and cgminer is doing it's thing, you can disable the other two monitors in display settings and it'll be fine until you need to restart cgminer.
That's a very interesting observation. I may be able to code a workaround for that next version.

That'd be awesome if possible.  It's a PITA at the moment, but it's been like that for a fair while (I was using MSI Afterburner prior to this and the same problem existed).

Love the new version by the way, you're a smart cookie Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
As for it seeing cards, I need all 4 of my cards connected up and the monitors "activated" in the display settings.  Once that's done and cgminer is doing it's thing, you can disable the other two monitors in display settings and it'll be fine until you need to restart cgminer.
That's a very interesting observation. I may be able to code a workaround for that next version.
full member
Activity: 154
Merit: 100
Ahh well duh, I'm on 2.1 SDK... only way I could get rid of the 100% cpu usage
newbie
Activity: 52
Merit: 0
Works for me in Windows 7 on all 4 of my 6970's. I just used the pre compiled version he provided. I did not copy any files anywhere. I do however use dummy plugs. and I'm using 11.7

Same here with my 6850 and 5750 on Win7 / 64bit with 11.7 drivers. It looks like only cards with active displays are seen by ADL.


Unfortunately since it won't set the VRAM on my 6850 to anything bellow Core-100 MHz, I'm still stuck playing the close and relaunch game with MSI Afterburner.  Sad
hero member
Activity: 798
Merit: 1000
Seems to be working fine here on Win 7 x64.  Left it running all night (took a risk) and it was fine.

Didn't mess with any of the dependency stuff you've mentioned johnj, I just downloaded it to the desktop and ran a batch file with the settings.  

As for it seeing cards, I need all 4 of my cards connected up and the monitors "activated" in the display settings.  Once that's done and cgminer is doing it's thing, you can disable the other two monitors in display settings and it'll be fine until you need to restart cgminer.
sr. member
Activity: 349
Merit: 250
BTCPak.com - Exchange your Bitcoins for MP!
Can you make it so if the overheattemp >= currenttemp, goto out;

I.e if the temp is high than the set treshhold, stop mining completely and stop the thread?

I agree with this.  If a fan or something dies, cranking it to 100% isn't going to do much good.  I think killing mining on that GPU is a good idea. 
sr. member
Activity: 383
Merit: 250
Works for me in Windows 7 on all 4 of my 6970's. I just used the pre compiled version he provided. I did not copy any files anywhere. I do however use dummy plugs. and I'm using 11.7
full member
Activity: 154
Merit: 100
Yep, still not working.  Followed the readme, got the .h's in the right place, libcurl pkgconfig and mingw in (i think) the right places.  CGMiner runs, just doesn't recognize the AMD_ADL

Ah, Windows. That's become the red-headed step-child platform for cgminer. Earlier ckolivas mentioned that the command in Linux is simple, but he isn't sure what to do to get the ADL SDK in Windows to pay attention to multiple cards.

I'd stick with existing tools in Windows for now.

It's only one 5770.  But ahh yes, I got this OS before I had ever tried Linux.  Tried it the other day (making an offline wallet)... really enjoyed it.  I have no idea how to use it though.  Maybe one of these days I'll figure it out.
legendary
Activity: 3583
Merit: 1094
Think for yourself
Yep, still not working.  Followed the readme, got the .h's in the right place, libcurl pkgconfig and mingw in (i think) the right places.  CGMiner runs, just doesn't recognize the AMD_ADL

Ah, Windows. That's become the red-headed step-child platform for cgminer. Earlier ckolivas mentioned that the command in Linux is simple, but he isn't sure what to do to get the ADL SDK in Windows to pay attention to multiple cards.

I'd stick with existing tools in Windows for now.

So, the ADL/Auto mode support isn't supported in Windoze?
Sam
legendary
Activity: 1316
Merit: 1005
Yep, still not working.  Followed the readme, got the .h's in the right place, libcurl pkgconfig and mingw in (i think) the right places.  CGMiner runs, just doesn't recognize the AMD_ADL

Ah, Windows. That's become the red-headed step-child platform for cgminer. Earlier ckolivas mentioned that the command in Linux is simple, but he isn't sure what to do to get the ADL SDK in Windows to pay attention to multiple cards.

I'd stick with existing tools in Windows for now.
full member
Activity: 154
Merit: 100
Yep, still not working.  Followed the readme, got the .h's in the right place, libcurl pkgconfig and mingw in (i think) the right places.  CGMiner runs, just doesn't recognize the AMD_ADL
Jump to: