Are you talking about GPU optimized virtual machine sizes (Nx-Series)?
If so, as far as I know you have to install the corresponding needs to be installed on the vm.
Maybe this will help:
Frame rate is limited to 30 FPS in Windows 8 and Windows Server 2012 remote sessions
https://support.microsoft.com/en-us/help/2885213/frame-rate-is-limited-to-30-fps-in-windows-8-and-windows-server-2012-r#:~:text=The%20actual%20frame%20rate%20in,frame%20rate%20to%2030%20FPS.
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten