Bitcoin Forum
May 23, 2024, 10:14:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: starting miner from rc.local  (Read 2155 times)
Ortulas (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 03, 2013, 07:13:26 PM
 #1

I've followed some other information on the forum to put together a script that starts cgminer at boot in xubuntu.

So far I've got my script running from rc.local starting cgminer in a detached screen after 120 second delay. When i run rc.local manually everything works perfect, but when i reboot i get,

Code:
 [2013-04-03 12:58:42] Started cgminer 2.11.2
No protocol specified
No protocol specified
 [2013-04-03 12:58:42] Error -1: Getting Device IDs (num)
 [2013-04-03 12:58:42] clDevicesNum returned error, no GPUs usable
All devices disabled, cannot mine!

Is it trying to load cgminer before the GPU drivers load? I feel like i'm so close but just can't get over this hump. Any ideas what's happening here?

Thanks for any help you can offer.
rick2718
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
May 13, 2013, 10:15:19 PM
 #2

Did you ever find an answer? I am facing the same problem.

rc.local (usually) runs as the last thing coming up into run level 3... via S99rc.local  in /etc/rc3.d,

so it does not seem like it should be the driver... I just started looking into environment issues,
but saw this and thought I'd ask if you solved it yet.

thanks
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!