Adjusting virtual machine GPU refresh rate to remote desktop stream frame rate
A system and method of adjusting a refresh rate to match a given remote desktop stream frame rate is described. The system may include a processing device to transmit, as a media stream, a portion of a remote desktop image with a frame rate that matches a refresh rate to a remote desktop client.
1. A non-transitory computer-readable medium including instructions that, when executed by a processing device, cause the processing device to:
transmit, by the processing device as a media stream, a portion of a remote desktop image with a frame rate that matches a refresh rate to a remote desktop client.
2. The non-transitory computer-readable medium of claim 1 , wherein the processing device further to receive a request to establish a remote desktop session from the remote desktop client.
3. The non-transitory computer-readable medium of claim 1 , wherein the frame rate is determined by a hypervisor in a virtual machine server environment.
4. The non-transitory computer-readable medium of claim 3 , wherein the refresh rate is to be changed by the hypervisor.
5. The non-transitory computer-readable medium of claim 2 , wherein the frame rate is determined by a plurality of parameters associated with the request, the plurality of parameters characterizing the remote desktop client.
6. The non-transitory computer-readable medium of claim 5 , wherein the plurality of parameters includes one or more of an operating system or a protocol version.
7. The non-transitory computer-readable medium of claim 3 , wherein the virtual machine server environment executes on one or more host machines, and includes a plurality of virtual machines managed by a hypervisor.
8. The non-transitory computer-readable medium of claim 3 , wherein the virtual machine server environment comprises a virtual machine graphics processing unit (GPU).
9. The non-transitory computer-readable medium of claim 5 , wherein the plurality of parameters includes one or more of a size of a display device or a refresh rate of the display device.
10. A system comprising:
a memory device;
a processing device operatively coupled to the memory device, the processing device to:
transmit, as a media stream, a portion of a remote desktop image with a frame rate that matches a refresh rate to a remote desktop client.
11. The system of claim 10 , wherein the processing device further to receive a request to establish a remote desktop session from the remote desktop client.
12. The system of claim 10 , wherein the frame rate is determined by a hypervisor in a virtual machine server environment.
13. The system of claim 12 , wherein the refresh rate is to be changed by the hypervisor.
14. The system of claim 11 , wherein the frame rate is determined by a plurality of parameters associated with the request, the plurality of parameters characterizing the remote desktop client.
15. The system of claim 14 , wherein the plurality of parameters includes one or more of an
operating system, a protocol version, a size of a display device, or a refresh rate of the display device.
16. The system of claim 12 , wherein the virtual machine server environment executes on one or more host machines, and includes a plurality of virtual machines managed by a hypervisor.
17. The system of claim 12 , wherein the virtual machine server environment comprises a virtual machine graphics processing unit (GPU).
18. A method, comprising:
receiving, by a graphics processing unit (GPU) in a virtual machine a first refresh rate based on a frame rate; and
drawing framebuffers to create a portion of a remote desktop image at a second refresh rate that matches the frame rate.
19. The method of claim 18 , wherein the first refresh rate is adjusted to match the frame rate of a remote desktop.
20. The method of claim 18 , wherein information of the frame rate is stored in at least one of a graphics driver or the GPU.