Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: jjshabadoo on November 29, 2011, 05:08:03 AM



Title: What is the best linux, amd driver and cgminer combo right now?
Post by: jjshabadoo on November 29, 2011, 05:08:03 AM
Can you run ubuntu 11.10 amd catalyst 11.11 and cgminer 2.08 without cpu bug and stable?

I'm looking for a nice stable combo for a new rig and want to get everything down nice and clean. I've been using linuxcoin, but I'd like just a bare linux install with drivers and mining software only.

Is this over my head if I'm a linux noob?

Thanks.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: btc_artist on November 29, 2011, 05:46:16 AM
Answers to this question are of interest to me as well.  If I end up figuring it out on my own, I'll post here again.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: kano on November 29, 2011, 12:19:46 PM
See my sig :)


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on December 30, 2011, 06:55:05 AM
* Ubuntu 11.04 64 bits
* Catalyst 11.6
* SDK v2.4
* CGminer 2.0.6

For CGMiner 2.0.8~2.1.0 binary at Ubuntu 11.04, you'll need to modify a few things at your Linux to get it running.

I try a lots of times to run CGminer 2.0.8 at Ubuntu 11.10 64 bits and with Catalyst 11.11 but, CGminer consumes all my CPUs.

I was unable to install Catalyst 11.6 at Ubuntu 11.10. The fglrx kernel modules does not compile.

Best!
Thiago


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: 3phase on January 01, 2012, 06:00:32 PM

For CGMiner 2.0.8~2.1.0 binary at Ubuntu 11.04, you'll need to modify a few things at your Linux to get it running.


Thiago, what did you do to get CGminer 2.0.8 or 2.1.0 to work in Ubuntu 11.04. I tried to search the cgminer thread but I don't seem to find what is the catch. CGMiner 2.06 works fine for me as well.

Thanks,


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on January 01, 2012, 06:55:53 PM

For CGMiner 2.0.8~2.1.0 binary at Ubuntu 11.04, you'll need to modify a few things at your Linux to get it running.


Thiago, what did you do to get CGminer 2.0.8 or 2.1.0 to work in Ubuntu 11.04. I tried to search the cgminer thread but I don't seem to find what is the catch. CGMiner 2.06 works fine for me as well.

Thanks,

You must run as root:

Code:
cd /lib/
ln -s libncurses.so.5 libtinfo.so.5

after that, run:

Code:
ldd /path/to/cgminer-2.1.0-x86_64_built/cgminer

You must see:

Code:
	linux-vdso.so.1 =>  (0x00007fff9adff000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1e856cc000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f1e85473000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1e85254000)
libOpenCL.so.1 => /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/libOpenCL.so.1 (0x00007f1e8504f000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007f1e84e0b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1e84a76000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1e858e2000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x00007f1e84843000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f1e84635000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f1e843e9000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1e841e1000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f1e83fac000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f1e83d58000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f1e839c9000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1e837b1000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1e83595000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f1e8337b000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f1e830da000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f1e82e5f000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f1e82b9b000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f1e82974000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f1e8276f000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f1e82567000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f1e82364000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007f1e82152000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f1e81f4e000)

 You you see "File not found" here, post here...

Best!
Thiago


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: kano on January 01, 2012, 10:39:14 PM
You should only have that one problem with cgminer 2.1.1 on 11.04 - and creating the link fixes it.
There should be no other problems or errors.
yeah that fix is from my sig script :)

I've only been running versions I compiled since cgminer 2.0.8 but I just ran a test again of the released 2.1.1 binary and it still works fine on 11.04 with that link fix.
Any other errors would be due to not installing the required libraries as listed in my script or ckolivas' README
(or problems generating the .bin file)


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: -ck on January 02, 2012, 02:57:53 AM
It's only needed if you grab a binary for 11.11 and use it on earlier. If you build it yourself it wont be needed...


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: 3phase on January 02, 2012, 06:56:41 AM

For CGMiner 2.0.8~2.1.0 binary at Ubuntu 11.04, you'll need to modify a few things at your Linux to get it running.


Thiago, what did you do to get CGminer 2.0.8 or 2.1.0 to work in Ubuntu 11.04. I tried to search the cgminer thread but I don't seem to find what is the catch. CGMiner 2.06 works fine for me as well.

Thanks,

You must run as root:

Code:
cd /lib/
ln -s libncurses.so.5 libtinfo.so.5

after that, run:

Code:
ldd /path/to/cgminer-2.1.0-x86_64_built/cgminer

You must see:

Code:
	linux-vdso.so.1 =>  (0x00007fff9adff000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1e856cc000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f1e85473000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1e85254000)
libOpenCL.so.1 => /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/libOpenCL.so.1 (0x00007f1e8504f000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007f1e84e0b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1e84a76000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1e858e2000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x00007f1e84843000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f1e84635000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f1e843e9000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1e841e1000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f1e83fac000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f1e83d58000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f1e839c9000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1e837b1000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1e83595000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f1e8337b000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f1e830da000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f1e82e5f000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f1e82b9b000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f1e82974000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f1e8276f000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f1e82567000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f1e82364000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007f1e82152000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f1e81f4e000)

 You you see "File not found" here, post here...

Best!
Thiago

Thanks Thiago, 0.231 BTC donated to your wallet as a symbolic thanks.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on January 02, 2012, 09:47:37 PM

For CGMiner 2.0.8~2.1.0 binary at Ubuntu 11.04, you'll need to modify a few things at your Linux to get it running.


Thiago, what did you do to get CGminer 2.0.8 or 2.1.0 to work in Ubuntu 11.04. I tried to search the cgminer thread but I don't seem to find what is the catch. CGMiner 2.06 works fine for me as well.

Thanks,

You must run as root:

Code:
cd /lib/
ln -s libncurses.so.5 libtinfo.so.5

after that, run:

Code:
ldd /path/to/cgminer-2.1.0-x86_64_built/cgminer

You must see:

Code:
	linux-vdso.so.1 =>  (0x00007fff9adff000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1e856cc000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f1e85473000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1e85254000)
libOpenCL.so.1 => /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/libOpenCL.so.1 (0x00007f1e8504f000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007f1e84e0b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1e84a76000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1e858e2000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x00007f1e84843000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f1e84635000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f1e843e9000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1e841e1000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f1e83fac000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f1e83d58000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f1e839c9000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1e837b1000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1e83595000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f1e8337b000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f1e830da000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f1e82e5f000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f1e82b9b000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f1e82974000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f1e8276f000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f1e82567000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f1e82364000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007f1e82152000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f1e81f4e000)

 You you see "File not found" here, post here...

Best!
Thiago

Thanks Thiago, 0.231 BTC donated to your wallet as a symbolic thanks.


WOW!!! THANK YOU SO MUCH!!!  :-D


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on January 19, 2012, 01:46:59 AM
Can you run ubuntu 11.10 amd catalyst 11.11 and cgminer 2.08 without cpu bug and stable?

I'm looking for a nice stable combo for a new rig and want to get everything down nice and clean. I've been using linuxcoin, but I'd like just a bare linux install with drivers and mining software only.

Is this over my head if I'm a linux noob?

Thanks.

* Ubuntu 11.10 - 64 bits
* Catalyst 11.12
* NO NEED FOR SDK! Or, SDK probably included...
* CGMiner 2.1.2 binary distribution

Run export the var "GPU_USE_SYNC_OBJECTS=1" to CGminer to fix the "100% CPU usage BUG".

Cheers!
Thiago


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on January 19, 2012, 06:12:24 PM
Can you run ubuntu 11.10 amd catalyst 11.11 and cgminer 2.08 without cpu bug and stable?

I'm looking for a nice stable combo for a new rig and want to get everything down nice and clean. I've been using linuxcoin, but I'd like just a bare linux install with drivers and mining software only.

Is this over my head if I'm a linux noob?

Thanks.

* Ubuntu 11.10 - 64 bits
* Catalyst 11.12
* NO NEED FOR SDK! Or, SDK probably included...
* CGMiner 2.1.2 binary distribution

Run export the var "GPU_USE_SYNC_OBJECTS=1" to CGminer to fix the "100% CPU usage BUG".

Cheers!
Thiago

This is CRAP!

Does not work for 2 x 5970.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: BinaryMage on January 21, 2012, 07:08:11 PM
I would not recommend 11.10, it has issues running more than one videocard.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on January 22, 2012, 12:38:51 AM
I would not recommend 11.10, it has issues running more than one videocard.

Well... I can run CGMiner @ Ubuntu 11.10 with 3 5870 just fine. The GPU_USE_SYNC_OBJECTS=1 var is a requirement.

But, when I try the same setup at my 2 5970... It doesn't work.

Right now, I have one 5850 @ Ubuntu 11.10 64 bits, Catalyst 11.12 and CGMiner 2.1.2 working fine.

Anyway, why ckolivas make a cgminer binary for Ubuntu 11.10 if no one is able to run on it?!


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: BinaryMage on January 22, 2012, 12:59:02 AM

Well... I can run CGMiner @ Ubuntu 11.10 with 3 5870 just fine. The GPU_USE_SYNC_OBJECTS=1 var is a requirement.

But, when I try the same setup at my 2 5970... It doesn't work.

Right now, I have one 5850 @ Ubuntu 11.10 64 bits, Catalyst 11.12 and CGMiner 2.1.2 working fine.

Anyway, why ckolivas make a cgminer binary for Ubuntu 11.10 if no one is able to run on it?!

Did't work w/five 5870s on a GA-EP45-UD3P for me, and I've read reports of other users having problems with multiple GPUs on it. Glad it worked for you though.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: kano on January 22, 2012, 10:35:42 AM
I would not recommend 11.10, it has issues running more than one videocard.

Well... I can run CGMiner @ Ubuntu 11.10 with 3 5870 just fine. The GPU_USE_SYNC_OBJECTS=1 var is a requirement.

But, when I try the same setup at my 2 5970... It doesn't work.

Right now, I have one 5850 @ Ubuntu 11.10 64 bits, Catalyst 11.12 and CGMiner 2.1.2 working fine.

Anyway, why ckolivas make a cgminer binary for Ubuntu 11.10 if no one is able to run on it?!
As you already know and have quoted elsewhere from the script in my sig - there is no issue with using the 11.10 binary on 11.04 as long as you link the curses library to the new name.

However, from a development platform point of view, it makes simple sense as to why anyone might upgrade.

From the point of view of a mining rig, I would stick to the version with the least problems and the best performance ... 11.04
(until there is a good security related reason - related to mining - to update it)


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: DBordello on January 22, 2012, 05:05:33 PM
For what it is worth, I am on Ubuntu 11.04, Catalyst 11.6, SDK 2.1 with cgminer 2.1.2 and have been humming along with 58xx cards.

However, I am unable to restart a crashed GPU.  I have to restart the entire machine.  This is observed on both of my rigs.

Does anybody have a setup where cgminer can restart sick GPUs?


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: The LT on January 23, 2012, 12:12:01 AM
Can you run ubuntu 11.10 amd catalyst 11.11 and cgminer 2.08 without cpu bug and stable?

I'm looking for a nice stable combo for a new rig and want to get everything down nice and clean. I've been using linuxcoin, but I'd like just a bare linux install with drivers and mining software only.

Is this over my head if I'm a linux noob?

Thanks.

* Ubuntu 11.10 - 64 bits
* Catalyst 11.12
* NO NEED FOR SDK! Or, SDK probably included...
* CGMiner 2.1.2 binary distribution

Run export the var "GPU_USE_SYNC_OBJECTS=1" to CGminer to fix the "100% CPU usage BUG".

Cheers!
Thiago

This is CRAP!

Does not work for 2 x 5970.

Did work for me for 11.12 / cgminer 2.1.1 and SDK 2.6. Two rigs, one 2x5870 and other 2x5850


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: The LT on January 23, 2012, 12:13:05 AM
For what it is worth, I am on Ubuntu 11.04, Catalyst 11.6, SDK 2.1 with cgminer 2.1.2 and have been humming along with 58xx cards.

However, I am unable to restart a crashed GPU.  I have to restart the entire machine.  This is observed on both of my rigs.

Does anybody have a setup where cgminer can restart sick GPUs?

I think that it depends on how far you're overclocking. Just lower the clock a little.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ThiagoCMC on January 23, 2012, 07:21:00 AM
I would not recommend 11.10, it has issues running more than one videocard.

Well... I can run CGMiner @ Ubuntu 11.10 with 3 5870 just fine. The GPU_USE_SYNC_OBJECTS=1 var is a requirement.

But, when I try the same setup at my 2 5970... It doesn't work.

Right now, I have one 5850 @ Ubuntu 11.10 64 bits, Catalyst 11.12 and CGMiner 2.1.2 working fine.

Anyway, why ckolivas make a cgminer binary for Ubuntu 11.10 if no one is able to run on it?!
As you already know and have quoted elsewhere from the script in my sig - there is no issue with using the 11.10 binary on 11.04 as long as you link the curses library to the new name.

However, from a development platform point of view, it makes simple sense as to why anyone might upgrade.

From the point of view of a mining rig, I would stick to the version with the least problems and the best performance ... 11.04
(until there is a good security related reason - related to mining - to update it)

Sure, I understand you.

But, releasing a binary version of a program that doesn't work for the system it was compile for, does not make any sense. This force people to do workarounds (like linking the curses library), which isn't easy for new people to do, and loose too much time on it... And the problems with new Catalyst versions is just another negative point of CGMiner for Ubuntu 11.10...

I need to most recent version of Ubuntu because my mining rig isn't dedicated only to mining... So, as I saw cgminer binary FOR ubuntu 11.10, I spent a lot of time on it just to see that it is impossible to use it on top of the system that it was supposed built for.

Anyway, I can live with that, CGMiner is the best miner out there... I'll never try another miner software anymore. I just think that release cgminer for Ubuntu 11.10, which clearly doesn't work because of AMD bad work on its Catalyst, just confuses new people.

Best,
Thiago


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: miscreanity on January 23, 2012, 07:29:45 PM
Ubuntu 11.04 x64 (kernel 2.6.38-13-generic)
Catalyst 11.11
APPSDK 2.5
cgminer 2.1.2

Multiple 69xx cards running under this configuration provides the same results as Cat 11.6 with APPSDK 2.4 and cgminer 2.0.8-2.1.0 only 2.1.2 offers even further reduced rejects/stales. No 100% CPU utilization issue.

Using APPSDK 2.6 appeared to negatively impact overall hashing speed by ~5-20MH/s per GPU with no clear reason. Considered switching to Arch, but time investment doesn't seem worthwhile at the moment with a smoothly running setup (uptime 4 days, no resets since last cgminer git build). No testing done with 5xxx cards.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: JWU42 on January 27, 2012, 10:51:23 PM
For what it is worth, I am on Ubuntu 11.04, Catalyst 11.6, SDK 2.1 with cgminer 2.1.2 and have been humming along with 58xx cards.

However, I am unable to restart a crashed GPU.  I have to restart the entire machine.  This is observed on both of my rigs.

Does anybody have a setup where cgminer can restart sick GPUs?

You sure about SDK 2.1?  I don't think cgminer will run unless it has 2.4...


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: jake262144 on January 28, 2012, 11:28:50 AM
You sure about SDK 2.1?  I don't think cgminer will run unless it has 2.4...
The SDK version necessary depends solely on your cards: 2.1 supports all 5xxx cards but some 6xxx require at least 2.4.
The 7970 won't run without SDK 2.6.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: jake262144 on January 28, 2012, 09:20:32 PM
Nifty set-up, Catfish.
The only question I have is, why bother with lxde at all if you're going to manage the rig via ssh?
Run the X server manually and just disable the desktop manager.
If you ever need desktop access (why?) just re-enable lxde and you're done.

Make sure you have enabled all the CPU-related powers saving options in the BIOS and that you have cpufrequtils installed - the CPU should throttle all inactive cores to 800MHz cutting down power usage and heat significantly.

Any bios-flashed ASUS 6950 DCII 1GB-s? Have you been able to drop the voltages or memory speeds?


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: kano on January 28, 2012, 10:22:16 PM
Not actually sure why it's necessary to manually do anything to the CPU ...
Unless 'Lubuntu' is back in the dark ages?

Most (all? Well I guess not all?) Linux distros will down clock your CPU when it's not busy - with mine down to about 1/3 of the clock, it's still always under 5% utilised with cgminer and the right drivers.

Secondly, you need X running, well cgminer needs it at least.
If you use some other piece of mining software, that may not be the case, but your describing using my cgminer API - so you must be :)

However, there is no reason to not run an X desktop manager other than to say that you are saving some tiny fraction of used resources - that seriously makes no difference whatsoever.
Having at least some desktop manager always starting also means that if anything goes wrong with ssh access, and you have access to the computer, you can go 'visit' it and easily see what's up :)

Yes I probably know more about linux server management that most people around here, that's one of the things I do, but there are also many around here who know very little and it easiest for them if when they plug in and switch on the screen they see a GUI - since X is needed, why not also run a desktop manager - like xfce :) (yeah my USB install script :) which also includes HDD install details)


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: miscreanity on January 28, 2012, 10:27:57 PM
Any bios-flashed ASUS 6950 DCII 1GB-s? Have you been able to drop the voltages or memory speeds?

I have two of those with shaders that couldn't be unlocked. Flashing allowed for mem clock settings to be run down to 300. Haven't had any issue adjusting voltages with cgminer.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: JWU42 on January 29, 2012, 04:35:19 PM
You sure about SDK 2.1?  I don't think cgminer will run unless it has 2.4...
The SDK version necessary depends solely on your cards: 2.1 supports all 5xxx cards but some 6xxx require at least 2.4.
The 7970 won't run without SDK 2.6.
Understand all that - I couldn't get get 2.1 to work with cgminer on 2 boxes with nothin but 5xxx cards.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: greeners on February 01, 2012, 09:38:57 PM
Thanks Kano, I followed your linux-usb-cgminer guide today and got a working system with 4 x Sapphire 5830.

I was previously running win xp, but the install was getting flakey.

With the linux-usb-cgminer setup I am unable to get the clock speed over 900 MHz.  It ignores my command line option and picks 900 and when I try and change it in cgminer it tells me I am outside of the safe range and asks if I really want to and then says it can't do it when I say do it.

The cards all ran at 960 MHz under xp.

Can anyone point me in a direction?

Thanks in advance.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: JWU42 on February 01, 2012, 09:59:49 PM
I have the same issue with a 6950 card.  Afterburner lets me push it further than the bios will allow.  Will have to flash the bios on those cards (very likely) to get them to 965 in Ubuntu


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: kano on February 01, 2012, 10:45:35 PM
Thanks Kano, I followed your linux-usb-cgminer guide today and got a working system with 4 x Sapphire 5830.

I was previously running win xp, but the install was getting flakey.

With the linux-usb-cgminer setup I am unable to get the clock speed over 900 MHz.  It ignores my command line option and picks 900 and when I try and change it in cgminer it tells me I am outside of the safe range and asks if I really want to and then says it can't do it when I say do it.

The cards all ran at 960 MHz under xp.

Can anyone point me in a direction?

Thanks in advance.
As he said above :)

But what did you use to get 960 MHz under xp?

I presume you don't mean it was possible with cgminer - but rather some other tool (as suggested above) like afterburner.

Either way - I think the ATI ADL drivers (that cgminer uses) won't let you go past the BIOS settings in the card - so you'd need some other tool to do that (as you did with xp?) or need to flash the BIOS.

Correct me if I'm wrong since I've never GPU mined on windows ...


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: greeners on February 01, 2012, 11:46:16 PM
I was using cgminer under xp and it didn't complain about having 960 MHz for it's setting. 

I also had Sapphire Trixx running (Sapphire's over clock tool), but it was not being used to do the over clock.  It was installed on the from when I was using other mining software.  I wonder if having it running was what was allowing cgminer clock high.

Guess I need to start reading up on how to flash the BIOS  :-\

Thanks for the help!


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: 3phase on February 05, 2012, 08:13:14 AM
Thanks Kano, I followed your linux-usb-cgminer guide today and got a working system with 4 x Sapphire 5830.

I was previously running win xp, but the install was getting flakey.

With the linux-usb-cgminer setup I am unable to get the clock speed over 900 MHz.  It ignores my command line option and picks 900 and when I try and change it in cgminer it tells me I am outside of the safe range and asks if I really want to and then says it can't do it when I say do it.

The cards all ran at 960 MHz under xp.

Can anyone point me in a direction?

Thanks in advance.

Just upgrade to Catalyst 11.6 drivers, it'll let you go above 900 MHz


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: manifold on March 12, 2012, 11:14:32 AM
I'm working on kubuntu 64 bit.

Cataclyst 12.2
cgminer (latest git version)
ADL SDK 3.0
App SDK 2.6

It works perfectly with no cpu usage issues. (in other combinations a 100% cpu load is anoying)


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: echris1 on March 22, 2012, 08:51:16 AM
I am currently using:

Lubuntu 11.10 64bit
Cat 12.2 + SDK 2.6
latest cgminer, using included diablo kernel (avoids performance drop)


I used to have the export GPU_USE_SYNC_OBJECTS=1, but I just looked, and it is commented out in my cgminer launcher.

No CPU bug.

Two rigs, one is 2x6850+5850 on a sempron 145, also running p2pool just fine (which can have trouble if CPU is too busy)

Other is 3x5850, on a celeron G530. 


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ummas on March 23, 2012, 01:56:15 AM
I`m running 4 rigs with diffrent combinations of 5XXX and 6XXX.
all of then runs now with that:
xubuntu 11.04
Cat 12.2 + SDK 2.6
Cgminer 2.0.6 - 2.3.1 runs slow, dunno why - yet :D

I`m plannig to buy somme 7970 soon.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: -ck on March 24, 2012, 05:12:57 AM
Cgminer 2.0.6 - 2.3.1 runs slow, dunno why - yet :D
10 posts from people have tried to tell you why so far.   ::)


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: ummas on March 24, 2012, 08:51:49 AM
You`re right.
i`m not running SDK 2.6 in cgminer :/
But answers came later than that post.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: Dargo on May 29, 2012, 03:31:53 PM
I guess this thread is half-zombified, but I want to toss Peppermint Two into the ring as a great distro for running cgminer. Peppermint Two is based on Lubuntu 11.04, so kano's guide for installing cgminer on xubuntu 11.04 (linked in his sig above) works perfectly. The only potential snag is that Peppermint offers an automated install of proprietary AMD drivers, which you obviously don't want to do. After you install the drivers following kano's guide, Peppermint stops nagging you about the automated install. Also, if you have a display connected to your rig, you may want to set Preferences --> Power Management --> Put display to sleep when inactive for: Never (I think the inactive display caused a crash). I tried xubuntu as well, but I found Peppermint much quicker running from usb (I believe it is even leaner than Lubuntu, but I haven't tried Lubuntu). Switching from BAMT, I have ~2% improvement in efficiency and can clock my cards higher than I could in BAMT. Very happy with the results!

I did an "hd" install to a 16g usb stick (after you boot from live CD/usb, just insert the usb you want to install to and click the "Install Peppermint" icon - I think the install walks you through the same routine described in kano's guide, but I didn't pay close attention to this).

 


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: CoinDiner on July 02, 2012, 06:01:16 PM
@kano    Would you have any suggestions for making your linux-usb-cgminer system secure as it will be connected to the net 24/7.   I have thought about bastille and also removing apps that I wont need (like office apps , gimp etc etc)   is running tripwire overkill?    any suggestions?


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: kano on July 03, 2012, 01:59:42 PM
Well since there really are no important services needed on it - the first step would be to make sure both the root account and your usual login account are secure (have a safe password and/or you can't login directly to root)

The install I describe only has the following services available:
ssh (22), portmap (111), ipp/cups (631), rpc.statd and something else with a non-secure port (no idea what it is :P)

If you wanted to add a firewall you could just block all incoming ports except 22 (ssh) and 4028 (cgminer API)

That's more than enough in my opinion.
However, I've no idea what ssh issues there are since 11.04 - I guess go read up on that would be my answer.

If you want to describe how you think adjusting the firewall should be done, I'll test/fix it and add it to the script described as an optional security step.

Personally that as far as I'd go with it.


Title: Re: What is the best linux, amd driver and cgminer combo right now?
Post by: CoinDiner on July 04, 2012, 03:15:14 AM
ok thanks for that!    maybe I need to do some more research!