Author

Topic: CGMINER Running on Ubuntu 12.04 - Require GUI? (Read 5187 times)

full member
Activity: 224
Merit: 100
legendary
Activity: 1064
Merit: 1001
itkylin.com
full member
Activity: 224
Merit: 100
Thanks for all your inputs guys.  I will try reinstall this again on Tuesday.

Thanks
sr. member
Activity: 351
Merit: 250
Basically, I need the Desktop version?  Darn, gotta reinstall.  Any other input before I have to reinstall the desktop version?

I know! For mine I was trying to use a USB stick so I think I had downloaded 4 ISOs and flashed my USB stick about 10 times before I got it working... But then again, I'm kinda slow...

Yes - the Desktop is what you want. I followed the google doc guide I don't recall doing anything else special.

I would recommend creating a bash script to launch cgminer from within byobu. The benefit there is it makes it easier to specify different cgminer config files for testing or whatever.

good luck!
sr. member
Activity: 322
Merit: 250
Supersonic
Basically, I need the Desktop version?  Darn, gotta reinstall.  Any other input before I have to reinstall the desktop version?

Short answer yes.

Long answer, not really, but you need some sort of x-server running since its Xorg that loads the fglrx module. I too started with a minimal server install, spent time to figure out the xorg relation. If i had spent some more time i could perhaps get it working without full blown desktop install. Its on my todo list to have a minimal live USB build... since the ancient HDD on the mining box is showing signs of dieing.

You need to make sure that your user is auto-logged in. Its an option during installing, easiest to set it there. I did not do that initially, needed to hook in monitor on each reboot to login. Now that ive set it to autologin, i dont need a monitor at all.

full member
Activity: 224
Merit: 100
Basically, I need the Desktop version?  Darn, gotta reinstall.  Any other input before I have to reinstall the desktop version?
sr. member
Activity: 322
Merit: 250
Supersonic
Run.
Code:
aticonfig --odgt

If that shows your cards and cgminer doesnt then u have a problem.

If the aticonfig --odgt runs with sudo then u need to run cgminer with sudo.

How i have it setup, is to install the desktop version of ubuntu (no need to have monitor after installation). Set to autologin to the user.

And then you can run the aticonfig or cgminer by prepending them with DISPLAY=:0.0

Code:
DISPLAY=:0.0 aticonfig --odgt
DISPLAY=:0.0 cgminer [...]

Basically, if u can get "aticonfig --odgt" to work, cgminer should work also.
sr. member
Activity: 351
Merit: 250
I had trouble getting the Server version of Ubuntu to run. I installed the desktop version of Ubuntu and followed this guide: https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/preview?sle=true

Worked like a charm.

full member
Activity: 224
Merit: 100
Do you need to install the GUI version of Ubuntu 12.04 to run Cgminer?  I can't seem to get my card to detect properly.

When I run cgminer -n to test i get the following:

[2013-05-25 18:05:04] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
 [2013-05-25 18:05:04] CL Platform 0 name: AMD Accelerated Parallel Processing                   
 [2013-05-25 18:05:04] CL Platform 0 version: OpenCL 1.2 AMD-APP (1113.2)                   
 [2013-05-25 18:05:04] Error -1: Getting Device IDs (num)                   
 [2013-05-25 18:05:04] clDevicesNum returned error, no GPUs usable                   
 [2013-05-25 18:05:04] 0 GPU devices max detected 

when I run :  sudo aticonfig --lsa
I get this:

[sudo] password for administrator:
* 0. 01:00.0 AMD Radeon HD 7900 Series
  1. 02:00.0 AMD Radeon HD 7900 Series

It seems to see the two 7950 cards but cgminer doesn't like.  Can someone assist please.

Thank you
Jump to: