Author

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

full member
Activity: 155
Merit: 100
...
I see a bunch of stuff about SDKs flaoting around. Do I need to do anything with that or does that only apply to Linux/AMD/whatever?
That applies to mining ...

Again, I have no idea about nVidia and CUDA but I even typed your google search for you and found this page:
http://developer.nvidia.com/cuda-downloads

No idea if you need something else to mine, but no doubt the fact that your NON-ATI miner doesn't work at all probably means you are missing something to make it work ... and at a wild guess it may be that? (I don't know)

Thanks for doing that search for me, I don't think I'd have ever thought to search for that particular string.
I'd downloading the GPU compuing SDK and the CUDA toolkit. They're massive downloads, about a gig between the 2.
It seems odd to me that we'd need development tools to run miners, but I guess I'll add that to the list of things I don't understand about mining! lol
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
...
I see a bunch of stuff about SDKs flaoting around. Do I need to do anything with that or does that only apply to Linux/AMD/whatever?
That applies to mining ...

Again, I have no idea about nVidia and CUDA but I even typed your google search for you and found this page:
http://developer.nvidia.com/cuda-downloads

No idea if you need something else to mine, but no doubt the fact that your NON-ATI miner doesn't work at all probably means you are missing something to make it work ... and at a wild guess it may be that? (I don't know)
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hi Con,

in be8ad579 you fixed some missing includes in the modularized logging module. Was this required for Windows or OS/X builds?

I'm asking because I always perform full builds of all potential configuration combinations on my Linux system before I commit and never saw a problem with that missing include. Do you have some automated build scripts to check commits for regressions and QA? I'd like to ensure that my future modifications do not break anything before I issue a pull request.

Thanks,
Zefir

Windows. Manual build just before release usually  Undecided
donator
Activity: 919
Merit: 1000
Hi Con,

in be8ad579 you fixed some missing includes in the modularized logging module. Was this required for Windows or OS/X builds?

I'm asking because I always perform full builds of all potential configuration combinations on my Linux system before I commit and never saw a problem with that missing include. Do you have some automated build scripts to check commits for regressions and QA? I'd like to ensure that my future modifications do not break anything before I issue a pull request.

Thanks,
Zefir
legendary
Activity: 3583
Merit: 1094
Think for yourself
I see a bunch of stuff about SDKs flaoting around. Do I need to do anything with that or does that only apply to Linux/AMD/whatever?

I like using the AMD Catalyst 11.6 which includes the OpenCL SDK 2.4.  That seems to work pretty good for me.  But if you get one of the newer GPU's you may need to get a newer Catalyst version.  Post that question again when you get said GPU and someone will, I'm sure, have a more informed suggestion for you.

In the meantime, while I'm still on the GTX480, do I need to be concerned with anything SDK-related?

I don't know anything about Nvidia GPU or Cuda, so I couldn't say.
Sam
full member
Activity: 155
Merit: 100
I see a bunch of stuff about SDKs flaoting around. Do I need to do anything with that or does that only apply to Linux/AMD/whatever?

I like using the AMD Catalyst 11.6 which includes the OpenCL SDK 2.4.  That seems to work pretty good for me.  But if you get one of the newer GPU's you may need to get a newer Catalyst version.  Post that question again when you get said GPU and someone will, I'm sure, have a more informed suggestion for you.

In the meantime, while I'm still on the GTX480, do I need to be concerned with anything SDK-related?
legendary
Activity: 1988
Merit: 1012
Beyond Imagination
I have never upgraded SDK, always used original 2.4 from LinuxCoin final, but still have problem with every newly compiled cgminer (those compiled one month ago still works fine)
legendary
Activity: 3583
Merit: 1094
Think for yourself

@Sam: I'm not interested in trying another miner, since I plan to get a good AMD card, and have heard great things about cgminer.
I'll try the new drivers and report back.

That was probably going to be one of the next "suggestions" someone was going to make.  When you get the AMD GPU CGMiner is definitely what you will want to use.

I see a bunch of stuff about SDKs flaoting around. Do I need to do anything with that or does that only apply to Linux/AMD/whatever?

I like using the AMD Catalyst 11.6 which includes the OpenCL SDK 2.4.  That seems to work pretty good for me.  But if you get one of the newer GPU's you may need to get a newer Catalyst version.  Post that question again when you get said GPU and someone will, I'm sure, have a more informed suggestion for you.

Good Luck,
Sam
full member
Activity: 155
Merit: 100

@Elmojo: you forgot to add at least some of the following arguments, otherwise the header wouldn't show:
-D -T --verbose

Here's a sample of what it should look like:

Yeah, I put in all the args.
It looked just like your example, until it crashed the GPU driver, then it went crazy.
By the time I could get control back, that's the part I could copy/paste.
No, because when you use -T you will not get that output you pasted ...

However, the problem is CUDA related (from the -n output)
nVidia mining, not ATI mining - in case anyone didn't notice

I did, that's why I suggested the ufasoft miner.

Not having ADL support and not needing failover, since he's mining to localhost, there is not much need to use CGMiner, regardless of where the problem lies.
Sam

Hi guys, thanks for staying on this for me.

@Kano:I promise I DID use the -D and -T args. I can make a video if that will help.
I'm updating my GPU drivers to the latest Beta right now, so see if that has any effect.

@Sam: I'm not interested in trying another miner, since I plan to get a good AMD card, and have heard great things about cgminer.
I'll try the new drivers and report back.

I see a bunch of stuff about SDKs flaoting around. Do I need to do anything with that or does that only apply to Linux/AMD/whatever?
donator
Activity: 1218
Merit: 1079
Gerald Davis
Containing "metadata like SDK" is just as useful as asking for the output of -n which tells you the same thing. It won't stop people from asking and it won't make them read the readme which has lots about hashrate dropping... but then it's TOO WELL DOCUMENTED now since there's so much in the readme... Short of a loud message repeatedly saying "you are running sdk 2.6 SDK which sucks dicks" I don't think anyone is gonna get the message =(

"Short of a loud message repeatedly saying "you are running sdk 2.6 SDK which sucks dicks"

Could implement that as a popup. Smiley

Seriously I understand your frustration was just trying to think of ways to make it more "idiot" proof.

Reminds me of this quote (which I am sure you have heard):

Quote
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning.
- Rich Cook

Still the point I was (possibly badly) trying to make is -n & -d -t simply shows the system as configured however w/ cached bin files it doesn't necessarily reflect the "execution plan" (to borrow some SQL Server terminology).
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Likely has nothing to do w/ cgminer and everything to do w/ updated drivers / SDK.

I think your assumption is correct, I recall upgrading drivers/SDK/something about a month ago.
So what you are saying is I should downgrade the drivers / SDK and upgrade CGminer?

ckolivas: You could try including "you are running sdk 2.6 SDK which sucks dicks" as a flashing warning in the actual program :-)
Sad

How often should this flashing warning be said?  Roll Eyes

If for whatever reason you need to run sdk2.6, it sucks lesser dicks on cgminer 2.2.5.

hero member
Activity: 529
Merit: 500
Likely has nothing to do w/ cgminer and everything to do w/ updated drivers / SDK.

I think your assumption is correct, I recall upgrading drivers/SDK/something about a month ago.
So what you are saying is I should downgrade the drivers / SDK and upgrade CGminer?

ckolivas: You could try including "you are running sdk 2.6 SDK which sucks dicks" as a flashing warning in the actual program :-)
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I tried upgrading from 2.0.8 to 2.2.5 but my 5s average dropped from 715 Mh/s to 600 Mh/s.

Dual 5850, one at 850, the other at 900 Mhz, memory at 300 Mhz on both. Windows 7, intensity 9.

Likely has nothing to do w/ cgminer and everything to do w/ updated drivers / SDK.

To Conman:
I really think including the SDK in the product title is a good idea.

This scenario keeps happening over and over.

a) person is running one version of cgminer and one version of SDK (say 2.1)
b) they upgrade drivers but cgminer caches the bin files (SDK 2.1) so they see no change in performance.  "wow 12.1 w/ SDK 2.6 works great on my 5970".
c) some time later person upgrades cgminer = no bin files
d) on first run bin files are created (SDK 2.6) and performance is lower.  wow cgminer 2.2.x really sucks.
e) to confirm they try running older version of cgminer (w/ cached SDK 2.1 bin) and performance is good again.

It really complicates troubleshooting as I am sure you are aware.

Would it be possible to modify bin files so they contain "metadata like SDK version at time of compilation"?

Then it might be more obvious to users.

cgminer 2.1.2 (w/ SDK 2.1 binaries) = 715 MH/s.
cgminer 2.1.2 (w/ SDK 2.6 binaries) = 600 MH/s.
cgminer 2.2.5 (w/ SDK 2.6 binaries) = 600 MH/s.

Pretty obvious there where the problem lies. Smiley


Containing "metadata like SDK" is just as useful as asking for the output of -n which tells you the same thing. It won't stop people from asking and it won't make them read the readme which has lots about hashrate dropping... but then it's TOO WELL DOCUMENTED now since there's so much in the readme... Short of a loud message repeatedly saying "you are running sdk 2.6 SDK which sucks dicks" I don't think anyone is gonna get the message =(
donator
Activity: 1218
Merit: 1079
Gerald Davis
I tried upgrading from 2.0.8 to 2.2.5 but my 5s average dropped from 715 Mh/s to 600 Mh/s.

Dual 5850, one at 850, the other at 900 Mhz, memory at 300 Mhz on both. Windows 7, intensity 9.

Likely has nothing to do w/ cgminer and everything to do w/ updated drivers / SDK.

To Conman:
I really think including the SDK in the product title is a good idea.

This scenario keeps happening over and over.

a) person is running one version of cgminer and one version of SDK (say 2.1)
b) they upgrade drivers but cgminer caches the bin files (SDK 2.1) so they see no change in performance.  "wow 12.1 w/ SDK 2.6 works great on my 5970".
c) some time later person upgrades cgminer = no bin files
d) on first run bin files are created (SDK 2.6) and performance is lower.  wow cgminer 2.2.x really sucks.
e) to confirm they try running older version of cgminer (w/ cached SDK 2.1 bin) and performance is good again.

It really complicates troubleshooting as I am sure you are aware.

Would it be possible to modify bin files so they contain "metadata like SDK version at time of compilation"?

Then it might be more obvious to users.

cgminer 2.1.2 (w/ SDK 2.1 binaries) = 715 MH/s.
cgminer 2.1.2 (w/ SDK 2.6 binaries) = 600 MH/s.
cgminer 2.2.5 (w/ SDK 2.6 binaries) = 600 MH/s.

Pretty obvious there where the problem lies. Smiley

hero member
Activity: 529
Merit: 500
I tried upgrading from 2.0.8 to 2.2.5 but my 5s average dropped from 715 Mh/s to 600 Mh/s.

Dual 5850, one at 850, the other at 900 Mhz, memory at 300 Mhz on both. Windows 7, intensity 9.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
export DISPLAY=:0
before running, and try latest  cgminer only please
legendary
Activity: 1988
Merit: 1012
Beyond Imagination
This is what I experienced during the weekend:

I received a 5970 and replaced one of my 5870 with it, after graphic card change, the previous LinuxCoin installation cannot start correctly

So, I took another USB stick, installed freshly a new LinuxCoin on it, boot it into LinuxCoin, run phoenix miner, and all 5 GPU gave decent hash rates stable for 6 hours

Then, I downloaded cgminer 2.2.4, updated and installed other dependency packages, then compiled and started it, after 1 minute, it claimed 2 of 5 GPUs dead and rest of GPUs' hash rate dropped 20%

I downloaded cgminer 2.1.2 (which worked flawlessly on the original USB stick), compiled and started (after removing the .bin file from home directory), same problem

Then, I rebooted the machine, fall back to my original phoenix miner method, surprisingly found out that even phoenix only worked on one of the GPU and hang on rest of them

There is one thing I remember: Last time when I tried to compile cgminer 2.1.2, I tried to install libcurl4-openssl-dev and  libncurses5-dev but one of them just can not be found, so eventually I installed something else to bypass the dependency check. But this time, it went all smooth. I think one or both of the packages have changed since one month ago and caused these new issues

Finally I have to switch back to the previous working HW/SW configuration, hoping that I could just fix the xorg.conf to get new graphic card recognized



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

Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README Smiley
(well that's what I used to do it)
Someone else is trying to make a detailed one at the moment that may or may not work well.
Stay tuned ... for a few more weeks maybe? Smiley

Hehe ;-) I actually read over that in the README... I'll see whether I can get it build as well ;-)
It's a disaster, don't waste your time. It just happened to build with certain versions of all the necessary packages when I got it working at one time in the past approximately 6 months ago, and if you get the latest versions of all the packages, it won't build. One day we'll slowly shake out that mess, but given windows users are not used to compiling their own software, it has priority zero at the moment.
sr. member
Activity: 349
Merit: 250
Con, Kano,

Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README Smiley
(well that's what I used to do it)
Someone else is trying to make a detailed one at the moment that may or may not work well.
Stay tuned ... for a few more weeks maybe? Smiley

Hehe ;-) I actually read over that in the README... I'll see whether I can get it build as well ;-)
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Con, Kano,

Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README Smiley
(well that's what I used to do it)
Someone else is trying to make a detailed one at the moment that may or may not work well.
Stay tuned ... for a few more weeks maybe? Smiley
Jump to: