Bitcoin Forum
March 28, 2024, 03:03:33 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Remotely running rpcminer-cuda fails "could not initialize cuda"  (Read 2190 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?
1711638213
Hero Member
*
Offline Offline

Posts: 1711638213

View Profile Personal Message (Offline)

Ignore
1711638213
Reply with quote  #2

1711638213
Report to moderator
1711638213
Hero Member
*
Offline Offline

Posts: 1711638213

View Profile Personal Message (Offline)

Ignore
1711638213
Reply with quote  #2

1711638213
Report to moderator
1711638213
Hero Member
*
Offline Offline

Posts: 1711638213

View Profile Personal Message (Offline)

Ignore
1711638213
Reply with quote  #2

1711638213
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711638213
Hero Member
*
Offline Offline

Posts: 1711638213

View Profile Personal Message (Offline)

Ignore
1711638213
Reply with quote  #2

1711638213
Report to moderator
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: 1063


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!