I set up an application that I wrote using the NVIDIA GRID SDK. It records everything with the NvFBC API on an Amazon EC2 GPU instance running Windows Server 2012 R2. Everything works well as long as a Remote Desktop or TeamViewer connection is active.
As soon as I close the Remote Desktop and TeamViewer connection no more frames are written into the .h264 file. It continues as soon as a new connection is established.
I assume that the NVIDIA K520 stops rendering frames when no display is used by a connection.
How can I make sure that frames are constantly being rendered even without an active connection?