Bitcoin Forum
March 28, 2024, 06:05:08 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CGMiner Ubuntu 11.10 tutorial  (Read 8999 times)
trilby (OP)
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
February 04, 2012, 12:01:41 PM
 #1

Is there an installation tutorial for CGMiner running on Ubuntu 11.10 including any required packages e.g openCL

Thanks
Trilby
1711649108
Hero Member
*
Offline Offline

Posts: 1711649108

View Profile Personal Message (Offline)

Ignore
1711649108
Reply with quote  #2

1711649108
Report to moderator
1711649108
Hero Member
*
Offline Offline

Posts: 1711649108

View Profile Personal Message (Offline)

Ignore
1711649108
Reply with quote  #2

1711649108
Report to moderator
1711649108
Hero Member
*
Offline Offline

Posts: 1711649108

View Profile Personal Message (Offline)

Ignore
1711649108
Reply with quote  #2

1711649108
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711649108
Hero Member
*
Offline Offline

Posts: 1711649108

View Profile Personal Message (Offline)

Ignore
1711649108
Reply with quote  #2

1711649108
Report to moderator
1711649108
Hero Member
*
Offline Offline

Posts: 1711649108

View Profile Personal Message (Offline)

Ignore
1711649108
Reply with quote  #2

1711649108
Report to moderator
JWU42
Legendary
*
Offline Offline

Activity: 1666
Merit: 1000


View Profile
February 04, 2012, 03:20:57 PM
 #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.

trilby (OP)
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
February 04, 2012, 03:45:29 PM
 #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

fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
February 04, 2012, 04:36:56 PM
Last edit: February 04, 2012, 06:08:50 PM by fred0
 #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.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 798
Merit: 500


View Profile
February 04, 2012, 05:35:05 PM
 #5

You could just use the pre-built binaries on the fist page of cgminer thread......

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
Chefnet
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
February 04, 2012, 06: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?

vampire
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
February 04, 2012, 06:44:45 PM
 #7

11.10 works just fine.
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 642
Merit: 500


View Profile
February 04, 2012, 06:55:53 PM
 #8

11.10 works just fine.
2nd.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 11, 2012, 11:36:12 PM
 #9

11.10 works just fine.

Not for me.
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 642
Merit: 500


View Profile
February 12, 2012, 01:57:33 AM
 #10

because?

14u2rp4AqFtN5jkwK944nn741FnfF714m7
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 12, 2012, 05: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
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 798
Merit: 500


View Profile
February 12, 2012, 05: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?

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 12, 2012, 05: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
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 642
Merit: 500


View Profile
February 12, 2012, 08: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.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
Chefnet
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
February 13, 2012, 06: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.

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 14, 2012, 05: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!
vampire
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
February 14, 2012, 05: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
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 15, 2012, 08:43:54 PM
Last edit: February 15, 2012, 08:54:00 PM by ThiagoCMC
 #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...
Pages: [1]
  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!