Author

Topic: CGMiner Ubuntu 11.10 tutorial (Read 9005 times)

legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
February 15, 2012, 04:43:54 PM
#18
Works great for me this config:

- Ubuntu 11.10 64 bits
- Catalyst 11.6
- SDK v2.4
- CGMiner 2.2.4 - compiled

How you install Catalyst 11.6 in your Ubuntu 11.10?!

Here, I'm unable to compile the kernel module, the command option "--buildpkg Ubuntu/oneiric" of it does not complete.

I mean, the deb package can be built but, the fglrx does not install...

I'll try it and report the error log here soon...
hero member
Activity: 574
Merit: 500
February 14, 2012, 01:06:23 PM
#17
Works great for me this config:

- Ubuntu 11.10 64 bits
- Catalyst 11.6
- SDK v2.4
- CGMiner 2.2.4 - compiled
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
February 14, 2012, 01:54:24 AM
#16
in 11.12 catalyst is the 2.6 sdk, change it to 2.5 or lower and it should work fine.

I'll try it!
hero member
Activity: 686
Merit: 500
February 13, 2012, 02:29:09 AM
#15
in 11.12 catalyst is the 2.6 sdk, change it to 2.5 or lower and it should work fine.
hero member
Activity: 642
Merit: 500
February 12, 2012, 04:23:15 AM
#14
1- CGMiner consumes +100% of CPU while mining at GPUs;
2- I need to use "GPU_USE_SYNC_OBJECTS=1" as a workaround to the 100% CPU bug;
3- My mining rig with two 5970 doesn't work, even using GPU_USE_SYNC_OBJECTS=1;
4- My mining rig with two 5870 doesn't work, even using GPU_USE_SYNC_OBJECTS=1;

 Using the option GPU_USE_SYNC_OBJECTS=1 make the system usable only when 1 5870 or 1 5850 is on board... It is useless for the rest...

 I already try to compile Catalyst 11.6 @ Ubuntu 11.10 but the ATI/AMD kernel module does not compile under Linux 3.0.

Cheers!
Thiago

1.  CGMiner will do this if your intensity is cranked also.
2.  What's wrong with using GPU_USE_SYNC_OBJECTS=1?
3.  I don't know what you're saying.  You mean CPU usage is high regardless?  If so, lower your intensity.

I didn't notice that you were trying to compile an old driver with Linux 3.0...  Haven't tried this.
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
February 12, 2012, 01:48:46 AM
#13
If I try with this:

- Ubuntu 11.10 64 bits
- Catalyst 11.12
- CGMiner 2.2.4 - binary distribution

SDK version?

With new Catalyst 11.12, there is no need to SDK, because it is already there...

You can check this by running:

Code:
ldd ~/cgminer-2.2.4-x86_64-built/cgminer

All CGMiner dependencies was satisfied without installing any SDK, so, it is "works"...

Best,
Thiago
donator
Activity: 798
Merit: 500
February 12, 2012, 01:42:36 AM
#12
If I try with this:

- Ubuntu 11.10 64 bits
- Catalyst 11.12
- CGMiner 2.2.4 - binary distribution

SDK version?
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
February 12, 2012, 01:35:59 AM
#11
I have no idea. It simple does not work with Ubuntu 11.10.

I have the following setup which works PERFECTLY (for 10 mining rigs):

- Ubuntu 11.04 64 bits
- Catalyst 11.6
- SDK v2.4
- CGMiner 2.2.4 - binary distribution


If I try with this:

- Ubuntu 11.10 64 bits
- Catalyst 11.12
- CGMiner 2.2.4 - binary distribution

... it doesn't work at all.

I have a lots of problems with new setup, as follows:

1- CGMiner consumes +100% of CPU while mining at GPUs;
2- I need to use "GPU_USE_SYNC_OBJECTS=1" as a workaround to the 100% CPU bug;
3- My mining rig with two 5970 doesn't work, even using GPU_USE_SYNC_OBJECTS=1;
4- My mining rig with two 5870 doesn't work, even using GPU_USE_SYNC_OBJECTS=1;

 Using the option GPU_USE_SYNC_OBJECTS=1 make the system usable only when 1 5870 or 1 5850 is on board... It is useless for the rest...

 I already try to compile Catalyst 11.6 @ Ubuntu 11.10 but the ATI/AMD kernel module does not compile under Linux 3.0.

Cheers!
Thiago
hero member
Activity: 642
Merit: 500
February 11, 2012, 09:57:33 PM
#10
because?
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
February 11, 2012, 07:36:12 PM
#9
hero member
Activity: 642
Merit: 500
February 04, 2012, 02:55:53 PM
#8
hero member
Activity: 574
Merit: 500
February 04, 2012, 02:44:45 PM
#7
11.10 works just fine.
hero member
Activity: 686
Merit: 500
February 04, 2012, 02:02:19 PM
#6
Use 11.04 and not 11.10 if you are mining with more than 1 gpu.

You can read the guide by Inaba but ignore the pyopencl stuff as it isn't needed for cgminer.  Just get the 11.06 driver and 2.4 SDK as described in the cgminer github README.

why not 11.10?
donator
Activity: 798
Merit: 500
February 04, 2012, 01:35:05 PM
#5
You could just use the pre-built binaries on the fist page of cgminer thread......
sr. member
Activity: 349
Merit: 250
February 04, 2012, 12:36:56 PM
#4
i have got it all downloaded but when i do ./configure i get the following.

Configuration Options Summary:

  OpenCL...............: NOT FOUND. GPU mining support DISABLED
  ADL..................: SDK NOT found, GPU monitoring support DISABLED

  BitForce.FPGAs.......: Disabled

I know i have openCL installed as i am able to run poclbm fine on my gpus

You are missing the *.h files in the ADL_SDK directory. Read the readme.txt located there to get the files.

Assuming $AMDAPPSDKROOT is defined, then the proper configure command should be similar to:
Code:
CFLAGS="-O3 -Wall -I$AMDAPPSDKROOT/include" LDFLAGS="-L${AMDAPPSDKROOT}lib/x86_64" ./configure
If you are using BitForce.FPGAs then:
Code:
CFLAGS="-O3 -Wall -I$AMDAPPSDKROOT/include" LDFLAGS="-L${AMDAPPSDKROOT}lib/x86_64" ./configure --enable-bitforce
See how these changes work for you. If using 32-bit, change to above paths to reflect 32-bit libs.
newbie
Activity: 45
Merit: 0
February 04, 2012, 11:45:29 AM
#3
i have got it all downloaded but when i do ./configure i get the following.

Configuration Options Summary:

  OpenCL...............: NOT FOUND. GPU mining support DISABLED
  ADL..................: SDK NOT found, GPU monitoring support DISABLED

  BitForce.FPGAs.......: Disabled

  CPU Mining...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............:  -lpthread
  LDADD................:  -lcurl   compat/jansson/libjansson.a -lpthread  -lncurses   -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local


I know i have openCL installed as i am able to run poclbm fine on my gpus

legendary
Activity: 1666
Merit: 1000
February 04, 2012, 11:20:57 AM
#2
Use 11.04 and not 11.10 if you are mining with more than 1 gpu.

You can read the guide by Inaba but ignore the pyopencl stuff as it isn't needed for cgminer.  Just get the 11.06 driver and 2.4 SDK as described in the cgminer github README.
newbie
Activity: 45
Merit: 0
February 04, 2012, 08:01:41 AM
#1
Is there an installation tutorial for CGMiner running on Ubuntu 11.10 including any required packages e.g openCL

Thanks
Trilby
Jump to: