Remote Desktop and CUDA


log in

Advanced search

Questions and Answers : GPU applications : Remote Desktop and CUDA

Author Message
JLConawayII
Send message
Joined: 2 Apr 02
Posts: 186
Credit: 2,762,491
RAC: 0
United States
Message 996753 - Posted: 17 May 2010, 19:02:20 UTC

I have recently run into this issue when setting up a remote boinc machine, whenever Remote Desktop is activated it kills any CUDA processing currently taking place on the remote machine, as well as killing every other CUDA WU in the queue. I understand that shutting down CUDA work is an expected behavior of Remote Desktop, however what I thought is that BOINC is supposed to STALL any CUDA processing until the CUDA driver returns, WITHOUT killing every single CUDA WU on the machine. I'm currently using boinc 6.10.18. Is this an issue that will be resolved in one of the newer implementations of the software? Or will I have to resort to using something like VNC in order to access my remote machine without killing my boinc applications?

Sidewinder
Avatar
Send message
Joined: 15 Nov 09
Posts: 65
Credit: 3,446,050
RAC: 0
United States
Message 996823 - Posted: 17 May 2010, 23:07:21 UTC - in response to Message 996753.
Last modified: 17 May 2010, 23:07:40 UTC

BOINC should just suspend GPU work. If you have a monitor, you can verify this.

My cruncher is a mostly stand-alone box. I use LogMeIn to remote into the machine. Others use TeamViewer and/or a flavor of VNC. I find that LogMeIn works the best for me.


https://secure.logmein.com/US/home.aspx
____________

JLConawayII
Send message
Joined: 2 Apr 02
Posts: 186
Credit: 2,762,491
RAC: 0
United States
Message 996844 - Posted: 18 May 2010, 1:24:29 UTC - in response to Message 996823.

BOINC should just suspend GPU work. If you have a monitor, you can verify this.



It is definitely killing all of the workunits as compute errors as soon as I use remote desktop to connect to the remote box. Not only that, but once disconnected from remote desktop it doesn't seem to reactivate the Nvidia driver on that system. I watched my tasks for that computer for awhile after disconnecting, and dozens upon dozens of WU's were all being returned with compute errors. It would download new WU's and then kick them back with errors. Logging back in on that system fixes the problem, but the system will be running headless.

The most obvious solution seems to be to use VNC instead of remote desktop. This leaves me with a bad feeling though, since I hate when things don't work the way they should and remote desktop should be competently enough designed to avoid these sorts of issues. Damn you Microsoft.

Profile BilBg
Volunteer tester
Avatar
Send message
Joined: 27 May 07
Posts: 2879
Credit: 6,453,381
RAC: 2,789
Bulgaria
Message 996862 - Posted: 18 May 2010, 3:26:20 UTC - in response to Message 996844.


You can read:

Remote Desktop
http://setiathome.berkeley.edu/forum_thread.php?id=54045

Crashing GPUs when coming in with Remote Desktop
http://setiathome.berkeley.edu/forum_thread.php?id=59604


____________



- ALF - "Find out what you don't do well ..... then don't do it!" :)

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12395
Credit: 2,666,323
RAC: 958
Netherlands
Message 996895 - Posted: 18 May 2010, 5:45:05 UTC - in response to Message 996844.
Last modified: 18 May 2010, 5:58:59 UTC

James, is this on your Windows Vista or Windows 7 system? Is this system fully updated with Windows Updates?
6.10.18 does have the "pause CUDA if remote desktop is detected" code, but this may have changed in your OS due to a Windows Update.

It may also possible that the machine you're "remote desktopping to" (phew, what bad English ;-)) has a task stuck in the GPU. You could try for a full reboot of that machine.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12395
Credit: 2,666,323
RAC: 958
Netherlands
Message 996972 - Posted: 18 May 2010, 15:37:34 UTC

Ah, it would appear that 6.10.18 only has the remote desktop kills tasks prevention code for ATI cards, not for Nvidia cards. Please update to the latest development version (.56) from http://boinc.berkeley.edu/download_all.php. That'll fix it.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

JLConawayII
Send message
Joined: 2 Apr 02
Posts: 186
Credit: 2,762,491
RAC: 0
United States
Message 996990 - Posted: 18 May 2010, 22:50:25 UTC

I installed UltraVNC, it seems to work fine for the functionality that I need with a minimal footprint on the system. Disaster has been averted once again. Thanks for your advice guys.
____________

Profile ignorance is no excuse
Avatar
Send message
Joined: 4 Oct 00
Posts: 9529
Credit: 44,433,321
RAC: 0
Korea, North
Message 997004 - Posted: 18 May 2010, 23:53:47 UTC - in response to Message 996990.

I was turned on to Logmein. they have a free webservice that can access windows machines. Unfortunately, they dont have anything for Linux yet
____________
In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope

End terrorism by building a school

StormprobeProject donor
Volunteer tester
Avatar
Send message
Joined: 20 May 99
Posts: 11
Credit: 8,734,241
RAC: 1,466
United States
Message 1000783 - Posted: 5 Jun 2010, 1:54:22 UTC - in response to Message 996753.

Do you have the same problem with SETI@home version 6.10.56?

Has anyone tested this Windows 7's RemoteFX in SP1?

Profile Grand Admiral Thrawn
Avatar
Send message
Joined: 19 Feb 01
Posts: 53
Credit: 22,263,601
RAC: 0
Austria
Message 1023019 - Posted: 6 Aug 2010, 12:48:13 UTC

I have tested this using BOINC 6.10.56 on Windows XP x64 Edition, running BOINC tasks under an unprivileged account.

RDP will still break CUDA SETI work. To fix it, you will need to log in to the machine locally, and restart BOINC (and the computation processes with it).

I'm using VNC now, until this gets properly fixed.
____________
3dfx Voodoo5 6000 AGP HiNT Rev.A 3700 prototype, dead HiNT bridge

Questions and Answers : GPU applications : Remote Desktop and CUDA

Copyright © 2014 University of California