Bitcoin Forum
April 24, 2024, 10:00:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 [109] 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805211 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
ancow
Full Member
***
Offline Offline

Activity: 373
Merit: 100


View Profile WWW
December 01, 2011, 10:22:26 PM
Last edit: December 02, 2011, 12:35:10 AM by ancow
 #2161

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
1713952833
Hero Member
*
Offline Offline

Posts: 1713952833

View Profile Personal Message (Offline)

Ignore
1713952833
Reply with quote  #2

1713952833
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713952833
Hero Member
*
Offline Offline

Posts: 1713952833

View Profile Personal Message (Offline)

Ignore
1713952833
Reply with quote  #2

1713952833
Report to moderator
jjshabadoo
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
December 04, 2011, 04:48:06 AM
 #2162

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 Offline

Activity: 52
Merit: 0


View Profile
December 04, 2011, 05:12:02 AM
 #2163

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"  Undecided

And if you're underclocking the memory, then you may want to try "-w 256"
vapourminer
Legendary
*
Offline Offline

Activity: 4312
Merit: 3506


what is this "brake pedal" you speak of?


View Profile
December 04, 2011, 07:48:02 AM
 #2164

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
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
December 04, 2011, 09:28:28 AM
Last edit: December 04, 2011, 07:26:47 PM by P4man
 #2165

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 Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
December 04, 2011, 06:45:53 PM
 #2166

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 Offline

Activity: 1400
Merit: 1005



View Profile
December 04, 2011, 09:01:09 PM
 #2167

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 Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
December 04, 2011, 09:27:18 PM
 #2168

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
Full Member
***
Offline Offline

Activity: 373
Merit: 100


View Profile WWW
December 04, 2011, 10:33:53 PM
 #2169

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 Offline

Activity: 266
Merit: 36


View Profile
December 04, 2011, 11:05:21 PM
 #2170

> Linux 64 bit ubuntu 11.10 binary

Any reason to think it wouldn't work with 10.04?
Proofer
Member
**
Offline Offline

Activity: 266
Merit: 36


View Profile
December 04, 2011, 11:31:36 PM
 #2171

> 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
Full Member
***
Offline Offline

Activity: 373
Merit: 100


View Profile WWW
December 04, 2011, 11:41:38 PM
 #2172

> 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 Offline

Activity: 266
Merit: 36


View Profile
December 05, 2011, 12:34:09 AM
 #2173

(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
Full Member
***
Offline Offline

Activity: 373
Merit: 100


View Profile WWW
December 05, 2011, 12:49:43 AM
 #2174

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 Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
December 05, 2011, 02:51:54 AM
 #2175

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? Tongue

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 Tongue

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? Smiley

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Proofer
Member
**
Offline Offline

Activity: 266
Merit: 36


View Profile
December 05, 2011, 04:43:51 AM
Last edit: December 05, 2011, 05:20:26 AM by Proofer
 #2176

(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 Offline

Activity: 1400
Merit: 1005



View Profile
December 05, 2011, 05:18:14 AM
 #2177

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 Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
December 05, 2011, 05:55:35 AM
 #2178

"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.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
SgtSpike
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
December 05, 2011, 06:33:23 AM
 #2179

"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 Offline

Activity: 1400
Merit: 1005



View Profile
December 05, 2011, 07:13:54 AM
 #2180

"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 Huh?? 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.

Code:
{
"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"
}

Code:
{
"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 Huh you see above is three question marks.
Thanks, that appears to have worked, but:

Pages: « 1 ... 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 [109] 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!