Author

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

sr. member
Activity: 434
Merit: 250
The README needs updated on the display:

Quote
The cgminer status line shows:
 ST: 1  SS: 0  NB: 1  LW: 8  GF: 1  RF: 1  WU:4.4/m

Since there is a DW now as well, which isn't listed. It's for Discarded Work per the pool info screen. What does that actually mean though? I have 3 rejected shares, 11 stale submissions discarded due to new blocks, and 5049 discarded work due to new block. But I don't know what discard work actually is. Shares not submitted similar to stales? Or something else?

With 4716 share submissions (3 rejected) at difficulty 2 (so 9426 accepted / 6 rejected at difficulty 1) is 5049 discarded work due to new blocks high? It seems like a big number. Smiley

Thanks.
legendary
Activity: 3583
Merit: 1094
Think for yourself
I want to run cgminer for my ati 5850 and ati drivers 12.8 (i didnt installed any sdk), i try with this bat:

When I installed Catalyst 12.1 for use with my 5000 series cards I had to do a custom install and deselect SDK 2.6 and then manually install SDK 2.5.  So if you didn't deselect the OpenCL SDK then the version that came with catalyst got installed and the post 2.6 versions are terrible for 5000 series GPU.
Sam
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Oops, can`t compile latest git on windoze https://github.com/ckolivas/cgminer/commit/d5981f83804492a70a4aa309f8f83a200f88f478

ps. why "issues" are disabled on git?
Should be fixed now. 

Why issues disabled? Because people used to use it for support for their mining issues rather than meaningful code issues.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
Oops, can`t compile latest git on windoze https://github.com/ckolivas/cgminer/commit/d5981f83804492a70a4aa309f8f83a200f88f478
Code:
make[2]: Entering directory `/c/msysgit/cgminer'
  CC     cgminer-cgminer.o
  CC     cgminer-util.o
  CC     cgminer-sha2.o
  CC     cgminer-api.o
  CC     cgminer-logging.o
  CC     cgminer-driver-opencl.o
  CC     cgminer-ocl.o
  CC     cgminer-findnonce.o
  CC     cgminer-adl.o
  CC     cgminer-scrypt.o
  CCLD   cgminer.exe
cgminer-scrypt.o:scrypt.c:(.text+0x4f90): undefined reference to `le32toh'
cgminer-scrypt.o:scrypt.c:(.text+0x505d): undefined reference to `le32toh'
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cgminer-sc
rypt.o: bad reloc address 0x20 in section `.eh_frame'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cgminer.exe] Error 1
make[2]: Leaving directory `/c/msysgit/cgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/msysgit/cgminer'
make: *** [all] Error 2
ps. why "issues" are disabled on git?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
is there any way to "specify share difficulty" in cgminer, in .conf file maybe? i switched to P2Pool on stratum and was wondering if i can change to diff2 shares instead of diff1? or does it even matter?

P.S. Cgminer is the best miner out there in my opinion. Con keep up the great work!!!!
Thanks! Much nicer than the same newbie questions over and over again Smiley

Alas it's not up to stratum or cgminer to set difficulty as there is no official way to do so (yet?). Though some pools allow you to specify by the password field instead as you can see from rav3n_pl's  response.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
is there any way to "specify share difficulty" in cgminer, in .conf file maybe? i switched to P2Pool on stratum and was wondering if i can change to diff2 shares instead of diff1? or does it even matter?
If you use stratum and make over 1 diff1 share per second it will rise automagically.
You can add /n or +n at end of username to get share diff=n
It is useful only on high power or you need lower data stream miner<>pool.
newbie
Activity: 19
Merit: 0
is there any way to "specify share difficulty" in cgminer, in .conf file maybe? i switched to P2Pool on stratum and was wondering if i can change to diff2 shares instead of diff1? or does it even matter?

P.S. Cgminer is the best miner out there in my opinion. Con keep up the great work!!!!
sr. member
Activity: 476
Merit: 250
moOo
just upgraded pc and now cgminer cant find cards.. other miners can

says all devices disabled.


using cgminer 2.4.4
amd drivers 13.1
sdk 2.5.. tried 2.8 as well

Code:
cgminer  -n
 [2013-04-19 00:34:22] CL Platform 0 vendor: Intel(R) Corporation
 [2013-04-19 00:34:22] CL Platform 0 name: Intel(R) OpenCL
 [2013-04-19 00:34:22] CL Platform 0 version: OpenCL 1.1
 [2013-04-19 00:34:22] Error -1: Getting Device IDs (num)
 [2013-04-19 00:34:22] clDevicesNum returned error, no GPUs usable
 [2013-04-19 00:34:22] 0 GPU devices max detected

i'm guessing it is due to the intel opencl  on here?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hey tiktoc,


Nope it runs dual 5870Ms stock speeds the cards should be getting 150mhash each and OCed 185ish mhash.

bump for help.... when i specify to use one card of the other, it seems only the left card gets used as the right side dosnt even get warm.. not sure if its a cgminer glitch, driver issue or hardware problem :-/ still trying to work it out.

Driver baby.
hero member
Activity: 675
Merit: 507
Freedom to choose
Hey tiktoc,


Nope it runs dual 5870Ms stock speeds the cards should be getting 150mhash each and OCed 185ish mhash.

bump for help.... when i specify to use one card of the other, it seems only the left card gets used as the right side dosnt even get warm.. not sure if its a cgminer glitch, driver issue or hardware problem :-/ still trying to work it out.
newbie
Activity: 25
Merit: 1
I want to run cgminer for my ati 5850 and ati drivers 12.8 (i didnt installed any sdk), i try with this bat:

start /D "C:\cgminer" cgminer.exe -o http://api.bitcoin.cz:8332 -u XXXXXX.worker1 -p XXXXXXX -d 0 -I 9 -k diablo -v 2 -w 256

But it stop working, the alst time after 2 hours.

Phoenix 1.75 with Dia Kernel works for days.

Why i didnt installed any sdk?

Last time i try 2.5 sdks, i try to run cgminer with phatk, and cgminer said im running sdk 2.6 +, and phatk will not perform good.
Then i try more times doing clean installs, but it kepp saying that

Im running w7, using my oboard for my desktop (nvidia onboard graphics) and a second screen for ati, where runs phoenix its fine, but i want to run cgminer.
legendary
Activity: 1680
Merit: 1014
I have a puzzler. I am dabbling into Lightcoin mining and after setting up all major CPUs on my rigs to go for LTC, I decided to try one of my GPUs.
LTC on CPUs:
i7-3930K, @ 4.1GHz: ~80Khs (11 threads)
Q6600 @ 2.4GHz: ~19KHz

This is my reference for LTC speeds. GPUs should do better than CPUs, right?

My cards, currently mining for BTC are:
2xHD7970 (1150MHz, 300MHz, 1.140v, CrossFire): ~1300 Mhs together
2xHD6670 (960MHz, 400MHz, two different machines): ~127Mhs each
HD6570 (900MHz, 400MHz): ~117MHs
GTX 560 Ti (980MHz, 2400MHz, 1.062v): ~100MHs

All machines have Catalyst 13.1 with the bundled SDK installed.
2D Driver: 8.01.01.1266

Output from cgminer -n
 [2013-04-18 12:31:32] CL Platform 0 vendor: NVIDIA Corporation
 [2013-04-18 12:31:32] CL Platform 0 name: NVIDIA CUDA
 [2013-04-18 12:31:32] CL Platform 0 version: OpenCL 1.1 CUDA 4.2.1
 [2013-04-18 12:31:32] Platform 0 devices: 1
 [2013-04-18 12:31:32]  0       GeForce GTX 560 Ti
 [2013-04-18 12:31:32] CL Platform 1 vendor: Advanced Micro Devices, Inc.
 [2013-04-18 12:31:32] CL Platform 1 name: AMD Accelerated Parallel Processing
 [2013-04-18 12:31:32] CL Platform 1 version: OpenCL 1.2 AMD-APP (1084.4)
 [2013-04-18 12:31:32] Platform 1 devices: 2
 [2013-04-18 12:31:32]  0       Turks
 [2013-04-18 12:31:32]  1       Turks
 [2013-04-18 12:31:32] Failed to ADL_Adapter_ID_Get. Error -1
 [2013-04-18 12:31:32] Failed to ADL_Adapter_ID_Get. Error -1
 [2013-04-18 12:31:32] Failed to ADL_Adapter_ID_Get. Error -1
 [2013-04-18 12:31:32] Failed to ADL_Adapter_ID_Get. Error -1
 [2013-04-18 12:31:32] Failed to ADL_Adapter_ID_Get. Error -1
 [2013-04-18 12:31:32] Failed to ADL_Adapter_ID_Get. Error -1
 [2013-04-18 12:31:32] ADL found less devices than opencl!
 [2013-04-18 12:31:32] There is possibly more than one display attached to a GPU
 [2013-04-18 12:31:32] Use the gpu map feature to reliably map OpenCL to ADL
 [2013-04-18 12:31:32] WARNING: Number of OpenCL and ADL devices did not match!
 [2013-04-18 12:31:32] Hardware monitoring may NOT match up with devices!
 [2013-04-18 12:31:32] 2 GPU devices max detected
 [2013-04-18 12:31:32] USB all: found 12 devices - listing known devices
 [2013-04-18 12:31:32] No known USB devices

On PL 1: #0 is HD 6670, #1 is HD 6570
The screen is on nVidia; AMD cards are headless, used solely for mining.

Now that you have the reference speeds, here is what I experience with CGMiner, and Scrypt. I am trying things out on the HD6570 card, so as to see how things turn out and to not impact the ongoing BTC mining too much. I also see here that HD6570 can be pushed to give ~55Khs

When I run cgminer with almost all default setting, targeting this card, I get ~16Khs:
-T -l 1 --scrypt -g 2 -w 256 --lookup-gap 2 -I d --gpu-platform 1 -d 1

Adding --auto-gpu --thread-concurrency 5760 --gpu-memclock900 I get a whopping 18Khs, which is nowhere near the expected 55

The same story is on the other cards - they perform way below what I would expect to see, based on the tables in the link above.

Am I missing something? To me it looks like it is more profitable to use the cards for BTC mining and leave LTC to my CPUs...
hero member
Activity: 807
Merit: 500
Competing with myself in mining doesn't make any sense.
You aren't "competing with yourself."  Difficulty is programed to adjust periodically to a target of 6 blocks per hour.  Mining slower to only get 6 blocks per hour will prevent a difficulty change, but won't change how often you get a block vs mining faster once difficulty is done adjusting.  If you want difficulty to stay low, you could CPU mine (although not with cgminer).  If you need more than 6 blocks per hour, maybe modifying the code for your testchain would make more sense.  If you want to use less power, then it probably makes sense to "detune" your video card.  In that case, I would recommend starting with the tuning suggestions in the readme and trying to use logic to get the results you want (IE, underclock the video card).
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Whenever i start cgminer a windows pops up and says cgminer.exe has stopped working.
README (hint: driver and SDK choice)
member
Activity: 84
Merit: 10
   I am hoping you might know what's wrong with this ckolivas. I can use cgminer to mine literally any scrypt based coin, LTC, NVC, FTC, MNC, all with no problem what so ever. For some reason I just can't figure out I can't mine any sha256 coin at all, BTC, TRC, PPC, Whenever i start cgminer a windows pops up and says cgminer.exe has stopped working.

Here is a screenshot of the error from event viewer:


I am using Windows 7 Ultimate x64
HD6950 & 6970 not crossfired
And cgminer 2.11.4

I really hope someone can help because this problem even exists after a complete wipe and reinstall of windows. Thanks in advance!
James
legendary
Activity: 3583
Merit: 1094
Think for yourself
How to auto-fan and auto-gpu interract? I'd rather run up the fan than drop the clock speed so I have been using only auto-fan but I'm wondering if that's the best way or not.

--auto-fan and --auto-gpu are the commands that tell CGMiner to control you clocks and temps to maintain your target temp.  After these command you can then set your desired thresholds that CGMiner then attempts to maintain.  Rarely does CGMiner need to drop the clocks.  My target temp for one card is 75c and the other is 60c and they never have had the engine clock dropped.

Read the top post of this thread paying close attention to the executive summary examples.  I hear, unsubstantiated rumors that there is a readme file, or several, that are actually included with the software.  I have been too lazy to verify this for you but it may be worthwhile to look.

Good Luck,
Sam
legendary
Activity: 1540
Merit: 1001
Mining at terrakoin CPU 100%
why?
cgminer.exe -u login -p pass -o stratum+tcp://coinotron.com:3335 -w 256 -I 13
Win 7 x64

Probably the intensity.  Try I9.

M
legendary
Activity: 1904
Merit: 1185
notorious shrimp!
i'm looking for the best driver verisons for 2x7950
driver & SDKs.

thanks
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
How to auto-fan and auto-gpu interract? I'd rather run up the fan than drop the clock speed so I have been using only auto-fan but I'm wondering if that's the best way or not.
... and running the fan above 85% will kill it fast ...
Jump to: