Bitcoin Forum
May 27, 2024, 10:47:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Remotely running rpcminer-cuda fails "could not initialize cuda"  (Read 2192 times)
sharpie64 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 28, 2012, 01:54:16 AM
 #1

I'm in a particular bind.  I can use Windows WMI to remotely execute processes and manage processes.  This is useful in the environment for which I intend to mine coins.

Specifically, 3 lines of python code like this can start a process on a remote system:

 
Code:
import wmi
c=wmi.WMI(computer="remotehost")
c.Win32_Process.Create(target="path\to\exe")

The miner executable and the flags I pass work when I run them as a user at the actual computer, but when running them through this method or through remote desktop they fail.  I specifically mention that they fail during remote desktop because nvidia released a doc saying RDP replaces the video driver with one that CUDA supposedly can not work with during RDP sessions.

Is there a way to initialize cuda?

Is there a way to remotely start rpcminer-cuda.exe?
sharpie64 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 28, 2012, 05:41:22 PM
 #2

So what do I do since I can't post this in the actual RPCminer thread?
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 28, 2012, 05:46:12 PM
 #3

You can't.  With WMI or RDP the process won't have access to the host GPU.

It is failing to "initialize CUDA" because it isn't seeing any valid GPU.

You will need an alternative form of remote management.  ssh, logmein, pcanywhere, etc.
TheStig
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile
March 28, 2012, 06:21:46 PM
 #4

There's a free remote application called Team Viewer

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!