Author

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

legendary
Activity: 1022
Merit: 1000
BitMinter
Well, I ran it overnight, and came back to a gray screen of death.  What settings should I change?

I was happy that I was getting about 30 mh/s more on my 5870 than I was with guiminer, but obviously that point is moot if it locks up periodically.  The card isn't overclocked, but this particular case isn't very well ventilated.  Maybe the extra mhs caused a bit more stress on the card and a bit more heat, enough to the point where it locked up?  It was at 87.5c when I left it last night...

87.5C seems very high. My two 5850 run below 70C at around 42 to 49% fan speed. Try to downclock the memory to 300 MHz. What intensity did u run ?
legendary
Activity: 1400
Merit: 1005
Well, I ran it overnight, and came back to a gray screen of death.  What settings should I change?

I was happy that I was getting about 30 mh/s more on my 5870 than I was with guiminer, but obviously that point is moot if it locks up periodically.  The card isn't overclocked, but this particular case isn't very well ventilated.  Maybe the extra mhs caused a bit more stress on the card and a bit more heat, enough to the point where it locked up?  It was at 87.5c when I left it last night...
legendary
Activity: 1022
Merit: 1000
BitMinter
Does the automatic temperature cutoff only work above 85 degree C and will it also work if you don't use cgminers fan and overclock settings ?
legendary
Activity: 1400
Merit: 1005
Meh, for the average idiot, what AVG is doing may not be so bad.  If you knowingly installed cgminer, you will probably know its safe, if you dont know what it is, you are likely a victim of a trojan.  That warning AVG gives is actually fairly accurate, its potentially an unwanted program users should be made aware off.
Well that's the thing - I'm not really in to trusting anything posted here.  It's not that I'm an idiot, just that I've learned to be precautionary with anything and everything to do with people associated with Bitcoin.

Just wanted some confirmation that it was just a false positive and ok to use though, so thanks to all!
hero member
Activity: 518
Merit: 500
Meh, for the average idiot, what AVG is doing may not be so bad.  If you knowingly installed cgminer, you will probably know its safe, if you dont know what it is, you are likely a victim of a trojan.  That warning AVG gives is actually fairly accurate, its potentially an unwanted program users should be made aware off.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Actually - it's worse than that.
It's AVG saying that they have blocked cgminer.exe based on stupidity.
If it was based on what cgminer does then any online game would be classified as a trojan.
What do online games do? Lots of internet access on a single port and lots of GPU processing - sound familiar?
Yeah sounds just like a bitcoin miner program Smiley
Imagine if you wrote a trojan that installed AVG ...
Now would AVG actually detect itself or the trojan?
Of course the answer is the trojan that did the install, not the app it installed.
Just contact AVG and tell them they are morons.
legendary
Activity: 1400
Merit: 1005
legendary
Activity: 1400
Merit: 1005
"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?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
"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.
legendary
Activity: 1400
Merit: 1005
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.
member
Activity: 266
Merit: 36
(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.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
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
full member
Activity: 373
Merit: 100
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.
member
Activity: 266
Merit: 36
(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.
full member
Activity: 373
Merit: 100
> 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.
member
Activity: 266
Merit: 36
> 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)
member
Activity: 266
Merit: 36
> Linux 64 bit ubuntu 11.10 binary

Any reason to think it wouldn't work with 10.04?
full member
Activity: 373
Merit: 100
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).
legendary
Activity: 3583
Merit: 1094
Think for yourself
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
legendary
Activity: 1400
Merit: 1005
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.
Jump to: