Getting decent framerates using moonlight.

ComfySofa

Member
Feb 7, 2021
59
2
13
55
Hi there - as above im messing around with remote gaming and im not seeing great framerates so therefore wondered if my set up, was up to it....?

Precision 3460 compact with 12th gen i5 12500, 64gb memory (16gb assigned to the vm) 2x 2tb ssd's raided, zfs filesystem, with a 12gb A2000 RTX card assigned to the VM

from a network point of view 1gb hardwired and the client machine (my laptop) running moonlight is a dell 9575 2in1 i7 with 16gb of memory.

Im only seeing i would say at a guess 10fps through moonlight?

Thanks to anyone that takes a punt...!
 
Well, the a2000 is primarily a professional grade GPU and not a gaming GPU, for starters.

One thing I can think of off the top of my head is that you can pin the performance cores of your cpu tu your gaming vm[1]

10fps is very vague: which game, which resolution and what level of details? You can find some Benchmarks on Techpowerup[2] for the a2000 to compare to. You will have some performance loss in a vm but if the performance is way off (that is, more than 15% slower I'd guess), you might be bottlenecking somewhere. Might be a misconfiguration, too few cores or too little ram for the vm... I'd monitor the system under load (e.g. with htop and watch -n 1 nvidia-smi) to get a first idea.

Also, there is a reddit sub that is only about gaming in vms[3], you might find good tips there.

[1]: (german) https://forum.proxmox.com/threads/i9-13900k-performance-cores-p-cores-fest-einer-vm-zuweisen.119616/
[2]: https://www.techpowerup.com/review/nvidia-rtx-a2000/5.html
[3]: https://www.reddit.com/r/VFIO/
 
Hi there....well, i did watch one of the youtubers "Craft Computing" using an old tesla 4gb p4 and was getting 50fps running 2 GTA5 games at the same time, and watched videos of people using them natively (an A2000) natively on a windows 11 build pushing out some good numbers on current gen games. Im a bit of a sledgehammer to crack a nut type of person so opted for the 12gb version of the a2000!

Many thanks for the reply....i will go and look through the links youve put up. Cheers.
 
Sure thing :) Feel free to continue the thread if you should still get bad performance once you looked into the threads and whatnot a little
 
One more thing I forgot about, please share your config file, maybe there is something obvious in there. You can get it via qm config <vm_id>.
Also, make sure your cpu is set to `host`, not the default `kvm64`, since that is slow.
And finally, if you haven't seen it already, here is the link to the windows 11 best practices wiki guide: https://pve.proxmox.com/wiki/Windows_2022_guest_best_practices
 
And make sure you set the CPU type to "host". Not that the game requires some modern CPU features, that the physical CPU supports, but the VM can't make use of, because you are using the default "kvm64".
 
Hi - thanks very much for the link....yes mine is set on Host.....but i do build the os first and then add the virtio drivers afterwards....ill try another test build now. Thanks again for the support. Much appreciated.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!