Current state and solutions for OpenGL over Windows Remote

为君一笑 提交于 2019-12-04 08:05:48

Windows Remote Desktop will open a remote session. I think, at least when it comes to NVIDIA, only the drivers for professional (Quadro) workstation cards have remote session support (never tested this myself though). Normal GeForce drivers do not work in a remote session (in my experience). That not only affects OpenGL. As far as I remember, e.g., CUDA will also not work in a remote session.

Personally, if you have to work remotely on stuff that's using the GPU, I would recommend TeamViewer or VNC. They probably need more bandwidth, but since they will simply remote control the local interactive session rather than work in a remote session, everything will work just like it would if you were sitting in front of the machine. One thing to be aware of, is that using TeamViewer/VNC will, of course, interfere with anyone who is actually sitting in front of the machine…

Remote Desktop and OpenGL does not play very well. When you connect to a Windows box the OpenGL Driver is unloaded and you end up with software emulation of OpenGL.

When you disconnect from the Windows box the OpenGL driver is not reloaded. This causes issues when you are running tests on the machine as you have to physically login to the machine to reset the drivers.

The solution I ended up using was to:

  • Disable Remote Desktop.
  • Delete all other software for remote desktop access. Because if it's used for logging in remotely the current set of drivers loaded may be messed up.
  • Install NoMachine

NoMachine is my personal favourite (when it does not play up) for a number of reasons:

  • Hardware acceleration of compression (video of desktop).
  • Works on Windows and Linux.
  • Works well on low-bandwidth connections especially if the client and server have the necessary hardware for compression of the data stream.
  • On Linux you get your desktop as you last left it when you were sitting in front of the machine.
  • On Windows it does not affect OpenGL.
  • currently free for personal and commercial use. Do check the licence in case it's changed.

When NoMachine plays up it hogs the CPU but this happens rarely. It is however in active development

Others to consider:

  • TurboVNC
  • TightVNC
  • TeamWare - only free for personal use.
Джон Доу

OpenGL works great by RDP with professional Nvidia cards without anything like virtual machines and RemoteFX. For Quadro (Quadro 4000 tested) you need driver 377.xx. For M60 you can use the same driver. If you want to use last driver with M60, you have to change the driver mode to WDDM mode (see c:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.1.pdf). It is possible that there are some problems with licensing in this last case.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!