I know that the first round of advice is going to be "don't use VMs for gaming," but I've got a real use case for it and in an ideal world I'd like it to work. This isn't a post on the merits of using a VM for gaming, but a question to see if there's anything I'm overlooking, or if someone who's done something similar has any ideas.
This is my setup:
Dell T630 PowerEdge
Xeon 1650 v4 (3.5ghz) [Note, previously I had 2 2687w v4s but switched to see if it was a CPU limitation]
128gb 2400 RAM
AMD 7900xtx
16tb Hardware RAID 10 w/ 730p PERC controller (8x4tb sas drives)
1tb SSD via PCI Adapter (moved games to here in case there was an issue of r / w speeds)
I've tried both an Ubuntu and a Windows desktop. It was a pain in the ass to get PCI passthrough for the GPU working (due to some oddities with the PowerEdge) but managed to get it working. I've done two different methods of passthrough, both blacklisting and having vfio bound early (as well as just letting it figure itself out with the AMDGPU driver). Both VMs have the latest version of AMD drivers installed locally and can fully interact with the GPU.
The game I'm testing with is Deadlock, which is far from resource intensive. On both VMs I get the exact same performance of 35fps on 1080p..... which is less than my potato of a laptop that only has a 1650 in it....
Additionally, using resource monitor within the VMs I can clearly see that *none* of the resources are pegged. CPU usage sits around 40%, ram usage is low, disk usage is minimal, and GPU usage never goes above 20%. So I really cannot find a bottleneck.
I've tried giving the VM 6 and 12 CPU, 16, 32, and 64gb RAM, I've tried having the games local (on the raid) and installed on the passed through SSD. I switched from dual socket to only running on one cpu with everything (memory gpu etc) on the CPU1 slots to ensure that it wasn't trying to pass resources between the CPU and overloading the bus. In every single test I've gotten the exact same 35fps.
I've tried with a few other games on both storages, Ghostrunner as a "heavier" game and Deep Rock Galactic as a "lighter" game. Both of these have heavy stutters every 10 to 30 seconds making them unplayable. Through AMD's tooling I see that the 99th percentile frames are dropping down to the 5 to 15 fps.
Before I give up entirely, is there something I'm blatantly overlooking? Thanks in advance
This is my setup:
Dell T630 PowerEdge
Xeon 1650 v4 (3.5ghz) [Note, previously I had 2 2687w v4s but switched to see if it was a CPU limitation]
128gb 2400 RAM
AMD 7900xtx
16tb Hardware RAID 10 w/ 730p PERC controller (8x4tb sas drives)
1tb SSD via PCI Adapter (moved games to here in case there was an issue of r / w speeds)
I've tried both an Ubuntu and a Windows desktop. It was a pain in the ass to get PCI passthrough for the GPU working (due to some oddities with the PowerEdge) but managed to get it working. I've done two different methods of passthrough, both blacklisting and having vfio bound early (as well as just letting it figure itself out with the AMDGPU driver). Both VMs have the latest version of AMD drivers installed locally and can fully interact with the GPU.
The game I'm testing with is Deadlock, which is far from resource intensive. On both VMs I get the exact same performance of 35fps on 1080p..... which is less than my potato of a laptop that only has a 1650 in it....
Additionally, using resource monitor within the VMs I can clearly see that *none* of the resources are pegged. CPU usage sits around 40%, ram usage is low, disk usage is minimal, and GPU usage never goes above 20%. So I really cannot find a bottleneck.
I've tried giving the VM 6 and 12 CPU, 16, 32, and 64gb RAM, I've tried having the games local (on the raid) and installed on the passed through SSD. I switched from dual socket to only running on one cpu with everything (memory gpu etc) on the CPU1 slots to ensure that it wasn't trying to pass resources between the CPU and overloading the bus. In every single test I've gotten the exact same 35fps.
I've tried with a few other games on both storages, Ghostrunner as a "heavier" game and Deep Rock Galactic as a "lighter" game. Both of these have heavy stutters every 10 to 30 seconds making them unplayable. Through AMD's tooling I see that the 99th percentile frames are dropping down to the 5 to 15 fps.
Before I give up entirely, is there something I'm blatantly overlooking? Thanks in advance