ancow
|
|
February 13, 2012, 04:19:09 AM |
|
@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. OK, I'm too tired to do more than point you in a direction, so here goes: I'm pretty sure the command prompt supports some output redirection, and since the display is obviously screwed, you may want to try it. Just run cgminer with your normal arguments, the debugging ones and "> cgminer-stdout.log 2> cgminer-stderr.log". If that doesn't work, you may need to google how to redirect both stdout and stderr to a file on windows. Anyway, after that, the contents of the cgminer-stdout.log and cgminer-stderr.log files will hopefully provide some insight into what is going wrong.
|
BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
February 13, 2012, 04:29:57 AM |
|
@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 So unless the nVidia part of cgminer has stopped working, it's probably your drivers are not installed/setup properly I have no idea how to do that but I'm sure someone else here does?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
February 13, 2012, 04:42:25 AM |
|
@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
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
February 13, 2012, 05:25:09 AM |
|
New version: 2.2.5
Finally fixed the opencl created zero sized binary bug.
Hey, I finally have a brand spanking new set of .bin files for Windoze. Sam Excellent. I could cry seeing you say that Especially since the kernel filenames and format has changed and it's essential that it can actually create the binaries. In fact it was this bug that made me reluctant to try and make any new kernels in the past. Well it sounds like we can all move forward more confidently now. Since your not doing the --donation anymore is just sent you 1 BTC. Thanks, Sam
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
tnkflx
|
|
February 13, 2012, 06:38:47 AM |
|
Con, Kano,
Is there a readme somewhere on how to compile for Windows?
|
| Operating electrum.be & us.electrum.be |
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4256
Merit: 1644
Ruu \o/
|
|
February 13, 2012, 07:01:13 AM |
|
Since you're not doing the --donation any more is just sent you 1 BTC.
Thanks a lot! Looking at the numbers from --donation, the most I got was about 400Mhash which amounts to about .2BTC per day... not really worth the effort, plus the flaming I got for setting it up and suggesting it was on by default. Strangely, a lot of people haven't noticed nor care that p2pool has donation enabled by default. Anyway it's gone now so I don't need to stress over it.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
February 13, 2012, 07:45:39 AM |
|
Con, Kano,
Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README (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?
|
|
|
|
tnkflx
|
|
February 13, 2012, 07:50:18 AM |
|
Con, Kano,
Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README (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? Hehe ;-) I actually read over that in the README... I'll see whether I can get it build as well ;-)
|
| Operating electrum.be & us.electrum.be |
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4256
Merit: 1644
Ruu \o/
|
|
February 13, 2012, 09:52:35 AM |
|
Con, Kano,
Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README (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? 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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
johnyj
Legendary
Offline
Activity: 1988
Merit: 1012
Beyond Imagination
|
|
February 13, 2012, 11:55:02 AM |
|
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 (OP)
Legendary
Offline
Activity: 4256
Merit: 1644
Ruu \o/
|
|
February 13, 2012, 12:43:22 PM |
|
export DISPLAY=:0 before running, and try latest cgminer only please
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Global BTC
|
|
February 13, 2012, 01:41:54 PM |
|
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.
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
February 13, 2012, 01:50:43 PM |
|
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.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4256
Merit: 1644
Ruu \o/
|
|
February 13, 2012, 02:02:11 PM |
|
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. 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 =(
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Global BTC
|
|
February 13, 2012, 02:04:57 PM |
|
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 (OP)
Legendary
Offline
Activity: 4256
Merit: 1644
Ruu \o/
|
|
February 13, 2012, 02:13:50 PM |
|
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 :-) How often should this flashing warning be said? If for whatever reason you need to run sdk2.6, it sucks lesser dicks on cgminer 2.2.5.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
February 13, 2012, 02:20:55 PM Last edit: February 13, 2012, 02:33:10 PM by DeathAndTaxes |
|
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. 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): 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).
|
|
|
|
Elmojo
|
|
February 13, 2012, 02:29:14 PM |
|
@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?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
February 13, 2012, 02:44:19 PM |
|
@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
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
johnyj
Legendary
Offline
Activity: 1988
Merit: 1012
Beyond Imagination
|
|
February 13, 2012, 02:46:56 PM |
|
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)
|
|
|
|
|