Bitcoin Forum

Other => Beginners & Help => Topic started by: sokay on July 14, 2011, 02:12:04 PM



Title: GPU mining on machines that are not logged in
Post by: sokay on July 14, 2011, 02:12:04 PM
Hello,

I have been searching these boards for some time, as well as the rest of the interwebs.  And I would like to know if there is a way to GPU mine on a PC before a user is logged in.  From what I can tell, graphical drivers are not accessible by programs until a user is logged in.  I have a group of computers that sit idle and can remotely run programs on said machines but I am not able to log these machines into any account or boot to another OS.  They are running Win 7 x64.

I have tried several different miners.  But the only one i have been able to get working is ufasoft's CPU miner.  I get OpenCL errors for most of the other miners.


Title: Re: GPU mining on machines that are not logged in
Post by: BTCPOOLMINING on July 14, 2011, 04:05:41 PM
Hi,

Have you tried GUI Miner using command lines in a batch file? This may work, I have not tried it though for a machine that isn't logged in, but you should be able to have this in as a startup entry when the OS loads?


Title: Re: GPU mining on machines that are not logged in
Post by: sokay on July 15, 2011, 01:55:12 PM
I am using psexec to run a batch file on each computer that will launch the mining client.  I have not tried adding the batch file as a start up item as it would be harder for me to interact with the running miner.  But I guess that is my next step.

The latest miner I tried was cgminer, and when it is launched I get the error  "Redirection is not supported".  As my account is still a newbie i have been unable to post in the proper thread when looking for support.  As this is the first miner to give me an error other than OpenCL.

When I log onto one of these machines I am able to launch any mining client and start mining with out any hiccups.


Title: Re: GPU mining on machines that are not logged in
Post by: xcooling on July 15, 2011, 02:37:06 PM
you could strat it as a system service in windows to load on machine start. (without having to be logged in)

http://www.computing.net/answers/windows-2003/run-a-program-before-login/4772.html

http://www.vistax64.com/net-general/211765-start-application-before-user-logon.html


Title: Re: GPU mining on machines that are not logged in
Post by: sokay on July 15, 2011, 09:09:00 PM
you could strat it as a system service in windows to load on machine start. (without having to be logged in)

http://www.computing.net/answers/windows-2003/run-a-program-before-login/4772.html

http://www.vistax64.com/net-general/211765-start-application-before-user-logon.html

I did try that, and process did not start successfully.  The same errors - that alude to no GPU detected were found in the log.  From looking around, it seems that graphics drivers and computer are not made available by the system until a user is actually logged into the machine.  I am guessing it is either a win 7 security 'feature' or some sort of power saving function to limit the active processes running before a user is actually trying to do work.