Bitcoin Forum

Bitcoin => Mining support => Topic started by: Ortulas on April 03, 2013, 07:13:26 PM



Title: starting miner from rc.local
Post by: Ortulas on April 03, 2013, 07:13:26 PM
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.


Title: Re: starting miner from rc.local
Post by: rick2718 on May 13, 2013, 10:15:19 PM
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