ancow
|
|
December 01, 2011, 10:22:26 PM Last edit: December 02, 2011, 12:35:10 AM by ancow |
|
Edit: Your version is pretty old, which I could have figured out earlier, seeing as how you're using centos. For the record, your video ABI version is 6.0, which is the oldest version still supported by the fglrx driver. Yes, I am indeed using --auto-fan. I tried omitting this option (first setting the fanspeed manually with aticonfig) and it still causes the same error when I instruct cgminer to quit and X crashes.
You should know that cgminer really can't do much about it. Your backtrace suggests that fglrx does an invalid floating point operation somewhere in its "NIslands_FanCtrl_SetFanSpeedRPM" function. My first guess was that it might be to do with cgminer restoring the fan profile or something, but it might simply be triggered by decreasing the fan speed due to the decreasing temperature. Either way, you should report this to your distro or directly to ATI since cgminer can't really fix driver errors.
|
BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
|
|
|
jjshabadoo
|
|
December 04, 2011, 04:48:06 AM |
|
From what I can tell, cgminer seems to auto optimize your cards for maximum hash. Is this correct? I'm used to phoenix where you really need to tweak your settings. I'm using the basic command line code with -u I,9 and my overclock/fanspeed settings. Is there anything else I should do to get better hash rates?
Thanks.
|
|
|
|
SleeperUnit
Newbie
Offline
Activity: 52
Merit: 0
|
|
December 04, 2011, 05:12:02 AM |
|
From what I can tell, cgminer seems to auto optimize your cards for maximum hash. Is this correct? I'm used to phoenix where you really need to tweak your settings. I'm using the basic command line code with -u I,9 and my overclock/fanspeed settings. Is there anything else I should do to get better hash rates?
Thanks.
I hope you mean "-I 9" And if you're underclocking the memory, then you may want to try "-w 256"
|
|
|
|
vapourminer
Legendary
Offline
Activity: 4508
Merit: 4093
what is this "brake pedal" you speak of?
|
|
December 04, 2011, 07:48:02 AM |
|
you can add a couple more pools to it if you only have one currently. couple reasons: failover if the main pool goes down and also cgminer will dribble work to the other pools if the primary cant feed it fast enough. that dribble feature (cant remember whats its called) adds up.
|
|
|
|
P4man
|
|
December 04, 2011, 09:28:28 AM Last edit: December 04, 2011, 07:26:47 PM by P4man |
|
I have this issue too. If I start some download which consumes 100% of my link, the miners can't reach the pool and, the hashrate slowsdown and, never come up again automatically. So, I need to stop/start cgminer.
Ive had it again today. It does seem related with bittorrent which was running overnight. Now you might expect the cause to be in the router (some routers do not cope well with bittorrent), but also this time, restarting the router didnt solve it. I had to restart all my instances of cgminer.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
December 04, 2011, 06:45:53 PM |
|
From what I can tell, cgminer seems to auto optimize your cards for maximum hash. Is this correct? I'm used to phoenix where you really need to tweak your settings. I'm using the basic command line code with -u I,9 and my overclock/fanspeed settings. Is there anything else I should do to get better hash rates?
Thanks.
Read the "Executive Summary" in the top post. It has allot of good suggestions on settings. You'll need to tell CGMiner how much you want to overclock your GPU engine and underclock your GPU memory and that will still take some trial and error to get the best settings for your system. 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?
|
|
|
SgtSpike
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
December 04, 2011, 09:01:09 PM |
|
I am attempting to run the Windows binary. I have changed the example.conf to include my pool username/password, and changed the hash method to "auto". When it is benchmarking, some of the methods fail, and the others bench between 0.8 and 1.4 MH/s, so it's only using the CPU. What do I need to change or add to the .conf file to make it detect my GPU (5870)? Running Windows 7 x64 with 11.1 drivers (I believe), and guiminer runs fine.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
December 04, 2011, 09:27:18 PM |
|
I am attempting to run the Windows binary. I have changed the example.conf to include my pool username/password, and changed the hash method to "auto". When it is benchmarking, some of the methods fail, and the others bench between 0.8 and 1.4 MH/s, so it's only using the CPU. What do I need to change or add to the .conf file to make it detect my GPU (5870)? Running Windows 7 x64 with 11.1 drivers (I believe), and guiminer runs fine.
The default is to use GPU's if they exist. You have to actively disable a GPU if you didn't want to use it. At least that has been my experience. 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?
|
|
|
ancow
|
|
December 04, 2011, 10:33:53 PM |
|
I am attempting to run the Windows binary. I have changed the example.conf to include my pool username/password, and changed the hash method to "auto". When it is benchmarking, some of the methods fail, and the others bench between 0.8 and 1.4 MH/s, so it's only using the CPU. What do I need to change or add to the .conf file to make it detect my GPU (5870)? Running Windows 7 x64 with 11.1 drivers (I believe), and guiminer runs fine.
The "auto" hashing method only applies to CPU-based hashing. Once you get GPU mining to work, it won't have any effect at all. Anyway, once you made sure appropriate OpenCL stuff is installed for your card, if it still doesn't work you may want to post your settings since otherwise all we can do is guess blindly at what you're trying to do... The default is to use GPU's if they exist. You have to actively disable a GPU if you didn't want to use it. At least that has been my experience. Sam
Actually, I'd first make sure the OpenCL drivers/dlls/however that is handled in windows are actually installed. Otherwise it won't be able to talk to the GPU, which means it can't detect it, which results in a fallback to CPU(s).
|
BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
|
|
|
Proofer
Member
Offline
Activity: 266
Merit: 36
|
|
December 04, 2011, 11:05:21 PM |
|
> Linux 64 bit ubuntu 11.10 binary
Any reason to think it wouldn't work with 10.04?
|
|
|
|
Proofer
Member
Offline
Activity: 266
Merit: 36
|
|
December 04, 2011, 11:31:36 PM |
|
> Linux 64 bit ubuntu 11.10 binary
Any reason to think it wouldn't work with 10.04?
Yes not a hope in hell you have the required libraries available for it to work. (1) Which libraries, or types of libraries, would those be? (2) Could I build from source and have a hope in hell the result would work? (These questions are part of my Linux/Ubuntu Newbie Education Project)
|
|
|
|
ancow
|
|
December 04, 2011, 11:41:38 PM |
|
> Linux 64 bit ubuntu 11.10 binary
Any reason to think it wouldn't work with 10.04?
Yes not a hope in hell you have the required libraries available for it to work. (1) Which libraries, or types of libraries, would those be? There's been some re-organisation in the latest version of Ubuntu. Basically, some libraries have changed versions and/or names and won't be present the same way in earlier versions of Ubuntu. If you want to find out which, you can just try executing the binary, the runtime linker should at least tell you what it can't find. (2) Could I build from source and have a hope in hell the result would work?
Sure. The problem is not in the code, it is in the fact that the binary is a lot less flexible than the source code with regard to path/dependency changes.
|
BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
|
|
|
Proofer
Member
Offline
Activity: 266
Merit: 36
|
|
December 05, 2011, 12:34:09 AM |
|
(2) Could I build from source and have a hope in hell the result would work?
Sure. The problem is not in the code, it is in the fact that the binary is a lot less flexible than the source code with regard to path/dependency changes. One of the dependencies, the AMD APP SDK, is said by AMD to be for "Linux® (..., Ubuntu® 10.0*, ...)". This was one reason I am currently planning to use Ubuntu 10.04 rather than 11.10. But since cgminer 2.0.8 for Ubuntu 11.10 was built successfully using the SDK, I guess that AMD's Ubuntu version spec is merely obsolete rather than a real restriction.
|
|
|
|
ancow
|
|
December 05, 2011, 12:49:43 AM |
|
One of the dependencies, the AMD APP SDK, is said by AMD to be for "Linux® (..., Ubuntu® 10.0*, ...)". This was one reason I am currently planning to use Ubuntu 10.04 rather than 11.10. But since cgminer 2.0.8 for Ubuntu 11.10 was built successfully using the SDK, I guess that AMD's Ubuntu version spec is merely obsolete rather than a real restriction. That only means it is supported for 10.*, not that it won't work anywhere else. Basically, if you report any bugs using a different OS, the AMD guys might just ignore you. I'm using the APP SDK on a debian system, and it works fine.
|
BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
December 05, 2011, 02:51:54 AM |
|
ckolivas' binaries obviously work on 11.10 and also with one minor system edit on 11.04 (basically to copy the 11.04 curses library to the new name in 11.10 - see how to in my script in my sig) So basically any derivative of those 2 OS's should be fine Once you have that, then you should use the suggested AMD SDK version also ... or if you have problems with some other version ... ... ... well ... ... ... why not use the suggested version? I do actually wonder, however, about some of the people asking to run it on other OS's Of course there are those who chose those OS's for their own reasons, but often it is someone who is only using some problematic OS coz someone else told them to. Simple solution, replace the OS with a debian/ubuntu/xubuntu/whatever 11.10 The one really big issue I have with some other choices of non-standard Linux OS's is trust. My script in my sig gets you to download a standard release of linux plus downloads standard software to run (e.g. ATI/AMD) as also matches ckolivas' README. Thus you don't need to trust anything but the actual cgminer program and who you got it from (or you just need to trust the source code if you compiled it) If you go with someone's bitcoin targeted OS then you are trusting that person to do 2 things (not just 1 thing) 1) To not put anything in the OS that shouldn't be there (should be rare) 2) Check their source of the OS that they use to build it, to ensure it is OK (do any do this?) Bitcoin is about making money. No matter how you look at it, that is the basis. Who do you trust your money with?
|
|
|
|
Proofer
Member
Offline
Activity: 266
Merit: 36
|
|
December 05, 2011, 04:43:51 AM Last edit: December 05, 2011, 05:20:26 AM by Proofer |
|
(Caution: Linux/Ubuntu newbie has commandeered a keyboard. I'm the one who inquired about Ubuntu 10.04 a few posts up.)
I'm building a rig, and while waiting for some of the components to be delivered I'm acquainting myself with some Linux distros. I thought I had settled on Ubuntu 10.04. Ubuntu because I like the documentation/support network behind it; 10.04 for a few reasons: it's the current LTS (Long-Term Support) version, which to me is appealing; AMD cites it on the APP SDK download page; and I like its default GUI better than 11.10's. Obviously, none of these reasons is compelling and I'm leaning towards 11.10.
It does seem like it's going to be a PITA for (a newbie) to build cgminer on 10.04, at least if all of the performance features are wanted. After spending a couple of hours thus far I still don't have the requisite version of yasm, and I don't know why the configure script isn't finding OpenCL. I DL'd the current yasm source and building that looks like it'll be at least as daunting.
So as of now it's onward to 11.10...
Edit: A little later I did succeed in building cgminer under 10.04.
|
|
|
|
SgtSpike
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
December 05, 2011, 05:18:14 AM |
|
I am attempting to run the Windows binary. I have changed the example.conf to include my pool username/password, and changed the hash method to "auto". When it is benchmarking, some of the methods fail, and the others bench between 0.8 and 1.4 MH/s, so it's only using the CPU. What do I need to change or add to the .conf file to make it detect my GPU (5870)? Running Windows 7 x64 with 11.1 drivers (I believe), and guiminer runs fine.
The "auto" hashing method only applies to CPU-based hashing. Once you get GPU mining to work, it won't have any effect at all. Anyway, once you made sure appropriate OpenCL stuff is installed for your card, if it still doesn't work you may want to post your settings since otherwise all we can do is guess blindly at what you're trying to do... Hmmm... ok, I'm just having really odd errors. If I use "algo" : "sse2_64", I get "Unknown algorithm" when trying to run it. If I use "algo" : "4way", I get "Invalid value passed to set_gpu_vddc". If I use "algo" : "via", I get the Invalid set_gpu_vddc error again. If I use "algo" : "sse4_64", I get unknown algorithm again. If I use "algo" : "cryptopp", I get the invalid set_gpu_vddc error again. What's going on? I've double checked and am using 11.9 drivers, with the SDK and everything installed.
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
December 05, 2011, 05:55:35 AM |
|
"algo" has nothing to do with GPU mining. There is no algo option for GPU mining. There is a 'kernel' option however. The algo option is to specify what code is used when CPU mining.
|
|
|
|
SgtSpike
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
December 05, 2011, 06:33:23 AM |
|
"algo" has nothing to do with GPU mining. There is no algo option for GPU mining. There is a 'kernel' option however. The algo option is to specify what code is used when CPU mining.
Ok then. Can someone give me an example.conf made for GPU mining?
|
|
|
|
SgtSpike
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
December 05, 2011, 07:13:54 AM |
|
"algo" has nothing to do with GPU mining. There is no algo option for GPU mining. There is a 'kernel' option however. The algo option is to specify what code is used when CPU mining.
Ok then. Can someone give me an example.conf made for GPU mining? Replace the ?? with your pool settings and you do not need this many pools you can have less so you can delete the sections you do not want like in second example where I show two pools. You will want to change the gpu-engine and gpu-memclock to match your card if oveclocking it or just delete them if not overclocking to use the default speeds of your card. The donation is setup to give 1% back to Con for his work on the cgminer if you wish to give less then use a .5 or something like that or if completely stingy delete the line entirely to give nothing. If you have more than the one card then add an extra 8 to the intensity line so it would look like "intensity" : "8,8", if three add another and so on for the amount of cards to use. { "pools" : [ { "url" : "?????", "user" : "?????", "pass" : "?????" }, { "url" : "?????", "user" : "?????", "pass" : "?????" }, { "url" : "?????", "user" : "?????", "pass" : "?????" }, { "url" : "?????", "user" : "?????", "pass" : "?????" }, { "url" : "?????", "user" : "?????", "pass" : "?????" } ],
"intensity" : "8", "gpu-engine" : "0-925", "gpu-memclock" : "1200", "gpu-threads" : "2", "log" : "5", "queue" : "1", "retry-pause" : "5", "scan-time" : "60",
"donation" : "1", "shares" : "0", "kernel-path" : "/usr/local/bin" }
{ "pools" : [ { "url" : "?????", "user" : "?????", "pass" : "?????" }, { "url" : "?????", "user" : "?????", "pass" : "?????" } ],
"intensity" : "8", "gpu-engine" : "0-925", "gpu-memclock" : "1200", "gpu-threads" : "2", "log" : "5", "queue" : "1", "retry-pause" : "5", "scan-time" : "60",
"donation" : "1", "shares" : "0", "kernel-path" : "/usr/local/bin" }
Edit: and the stupid you see above is three question marks. Thanks, that appears to have worked, but:
|
|
|
|
|