mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2012-09-04, 01:07   #1
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default MFAKTC won't start under RDP (win7)

Hi,
I'm running win7/64 (sp1) and discovered that I cannot start MFAKTC if I am using RDP to access my PC.

Nvidia driver 301.42
NvCuda.dll 4.2.1

When I try to start mfaktc I get the following error:

ERROR: CUDA runtime version must match the CUDA toolkit version used during comp
ile!


My attempt to work around this was to put a 15 second delay in my start-up file for mfaktc giving me time to disconnect the RDP session before program launch. Unfortunately it did not solve the problem.

Does anyone know a workaround
1. that does not require me to switch to linux
2. allows me to keep using RDP
swl551 is offline   Reply With Quote
Old 2012-09-04, 02:01   #2
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

101100011011102 Posts
Default

Quote:
Originally Posted by swl551 View Post
Does anyone know a workaround
1. that does not require me to switch to linux
2. allows me to keep using RDP
As far as I can tell, there isn't one -- but I'd be very happy to be proven wrong. The issue, as far as I can tell, is the need for a GUI context to allow mfaktc to gain access to the GPU.

I've been fighting with this myself. SSHing into a WinBlows box and trying to launch mfaktc results in:

Code:
CUDA version info
  binary compiled for CUDA  4.20
  CUDA runtime version      16711.34
  CUDA driver version       5111.90
ERROR: CUDA runtime version must match the CUDA toolkit version used during compile!
Launching a cygwin shell locally, and it works fine.

Further data... running a "scheduled task" works fine if it's set to only run when the user is logged in. But it will always fail (with the above error) if the task is set to always run -- even if the owning user is logged in!

Have I mentioned I hate WinBlows?
chalsall is offline   Reply With Quote
Old 2012-09-04, 02:28   #3
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego Coun

821 Posts
Default

Not necessarily a Windows (as in Microsoft) problem; RDP works fine with AMD 5770 and 7970 and Win7 Pro. Catalyst control center complains occasionally, but Mfakto works fine.

Last fiddled with by sdbardwick on 2012-09-04 at 02:29
sdbardwick is offline   Reply With Quote
Old 2012-09-04, 02:37   #4
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

My solution is to put a shortcut to a batch file that starts all my mfaktc instances in Windows startup folder. When I have to make changes through RDP, I just restart the computer and wait several minutes before I log back in to make sure everything is working.

Last fiddled with by flashjh on 2012-09-04 at 02:39
flashjh is offline   Reply With Quote
Old 2012-09-04, 04:10   #5
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×112×47 Posts
Default

Quote:
Originally Posted by sdbardwick View Post
Not necessarily a Windows (as in Microsoft) problem; RDP works fine with AMD 5770 and 7970 and Win7 Pro. Catalyst control center complains occasionally, but Mfakto works fine.
Interesting.

If you (or anyone running mfakto or mfaktc) have cygwin installed, could I ask you to try this experiment?

Launch a cygwin shell, and then run the mfakt* self test. Should work fine -- kill it as soon as it reports a success.

Then "ssh localhost" from the same shell. Or else ssh in from a remote machine. Try to run the self-test again. Does it work?
chalsall is offline   Reply With Quote
Old 2012-09-04, 10:19   #6
nucleon
 
nucleon's Avatar
 
Mar 2003
Melbourne

10000000112 Posts
Default

Once mfaktc is kicked off - you can then RDP into the machine.

It's got to do with the driver. Tesla cards don't have that limitation. From reading around the traps - the current understanding is that RDP is a server-esque tech and the Nvidia's thinking is the product to run on a server is Tesla and not the desktop cards.

It's a way for nvidia to separate their product lines.

I suggest using an alternate remote desktop program to kick off mfaktc then rdp. Painful I know - but that's what I've been doing. I have 5 windows machines running mfaktc. I use team viewer or vnc to kick mfaktc off, but then rdp into them to see how they are going. (At the time windows8 previews didn't run vnc all that well)

RDP is still way more responsive than either vnc or teamviewer.

-- Craig
nucleon is offline   Reply With Quote
Old 2012-09-04, 10:54   #7
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

2·5·11·47 Posts
Default

Please try LogMeIn freeware at https://secure.logmein.com/.
pinhodecarlos is offline   Reply With Quote
Old 2012-09-04, 11:55   #8
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

14508 Posts
Default The key must be in setting the video session back to "local"

Quote:
Originally Posted by chalsall View Post

Further data... running a "scheduled task" works fine if it's set to only run when the user is logged in. But it will always fail (with the above error) if the task is set to always run -- even if the owning user is logged in!
Based on the ability to launch through scheduler suggests that there is a way to "reset" the video context back to hardware and away from RDP.

I'll try a batch job that stops the RDP service, launches mfaktc and then restarts RDP.

thx for the suggestions and ideas so far.
swl551 is offline   Reply With Quote
Old 2012-09-04, 13:20   #9
BigBrother
 
Feb 2005
The Netherlands

110110102 Posts
Default

Quote:
Originally Posted by pinhodecarlos View Post
Please try LogMeIn freeware at https://secure.logmein.com/.
I use LogMeIn as well, works like a charm with CUDA programs.
BigBrother is offline   Reply With Quote
Old 2012-09-05, 07:03   #10
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

41×251 Posts
Default

Everything is easy if you have the right tools. An alternative is PsExec from the Sysinternals suite, downloadable at sysinternals.com. Be careful, that suite is not for the one having heart problems! It is very easy to totally f'up your system like in the duck story...

Last fiddled with by LaurV on 2012-09-05 at 07:04
LaurV is offline   Reply With Quote
Old 2012-09-07, 00:04   #11
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default stopping/starting RDP services did not solve.

Quote:
Originally Posted by swl551 View Post
Based on the ability to launch through scheduler suggests that there is a way to "reset" the video context back to hardware and away from RDP.

I'll try a batch job that stops the RDP service, launches mfaktc and then restarts RDP.

thx for the suggestions and ideas so far.
So I setup my batch file to stop the RDP services, launch mfaktc then start RDP. Unfortunately this did not solve the problem. This tells me the abstraction layer setup for RDP is most likely managed by a kernel level API as opposed to RDP itself.

What we want to find is how to set it back. We know that logging in locally (physically) to the machine removes the abstraction layer setup for an RDP session. Maybe the answer is in gina.dll
swl551 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run Prime95 as service in Win7? Matt Information & Answers 12 2022-03-28 16:00
Need Win7 install CD ewmayer Mlucas 41 2020-11-11 20:14
getting all cores to work on Win7 wildrabbitt Information & Answers 16 2014-07-16 06:01
The webpage cannot be found for win7 64 benDan Software 4 2012-12-17 05:59
XP 32-bit to Win7 64-bit slowdown willmore Software 6 2009-11-07 05:33

All times are UTC. The time now is 04:27.


Fri Jul 7 04:27:29 UTC 2023 up 323 days, 1:56, 0 users, load averages: 1.58, 1.76, 1.63

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔