manneychin
Member
- May 8, 2017
- 450
- 1,275
I need to run [porn] games inside a Windows-hosted virtual machine (VM) (via Hyper-V, VirtualBox, VMware Workstation, etc.).
Most games use one of these major rendering APIs: Direct3D, OpenGL or Vulkan. This includes Ren'Py-based games which use OpenGL (Just because Ren'Py is so popular I'll mention that
Problem is, these APIs can easily underperform, singlehandedly making games unplayable unless the specific API [major] version being used has good-enough low level access to a GPU via some form of
This thread is about harvesting experiences from those who've already tried the above, considering that the endeavour is not mainstream, can require a lot of time & other resources and when success is achieved it's often with fragile solutions that are specific to certain needs & hardware so it can't easily be replicated by others.
So, in this particular case your actual experiences would be of great help. What worked and to what extent? Are you using a 2nd GPU passed-through to a VM? Are you using API remoting enabled by the hypervisor?
Here's some information I gathered:
I'll ping skwada by including this answer from Jun 2003 from an older thread on a topic that was somewhat similar:
WheresLucifer and Osider, you've also made passing mentions you run games in VMs. Again, if you have the time, how?
Most games use one of these major rendering APIs: Direct3D, OpenGL or Vulkan. This includes Ren'Py-based games which use OpenGL (Just because Ren'Py is so popular I'll mention that
You must be registered to see the links
; out of the many Ren'Py games I've tried over the years, all seemed to run via OpenGL and I wasn't even aware of the DirectX option).Problem is, these APIs can easily underperform, singlehandedly making games unplayable unless the specific API [major] version being used has good-enough low level access to a GPU via some form of
You must be registered to see the links
.This thread is about harvesting experiences from those who've already tried the above, considering that the endeavour is not mainstream, can require a lot of time & other resources and when success is achieved it's often with fragile solutions that are specific to certain needs & hardware so it can't easily be replicated by others.
So, in this particular case your actual experiences would be of great help. What worked and to what extent? Are you using a 2nd GPU passed-through to a VM? Are you using API remoting enabled by the hypervisor?
Here's some information I gathered:
- Wikipedia says this is the current
You must be registered to see the links(API remoting is when the VM uses your main GPU through special/magic drivers):
- VirtualBox is a popular hypervisor in some circles but when it comes to GPU virtualization it seems to be [very] insufficient for gaming.
- It
You must be registered to see the links.
- API remoting support is limited to old API versions so it's doubtful even most Ren'Py games will run well while anything based on newer Unreal/Unity versions is unlikely to run at all.
- It
- VMware Workstation is probably OK for some games but I can't tell how many "some" is.
- It
You must be registered to see the links.
- It seems to have decent API remoting support.
- Extra problem with Workstation is $ price vs. benefits.
- The free VMware Player is likely too limited for most in other key ways.
- It
- Hyper-V seems to be the best option but "best" may be a strong word.
- On Windows 10/11 Pro GPU pass-through support is very shady. The feature seems to be
You must be registered to see the linksfor just some special cases.
-
You must be registered to see the linkswhere you don't need a 2nd GPU exclusively assigned to the VM, you can fully and deeply share the main GPU between VMs and host. Again it's unclear how well this works, seems like an exotic configuration which is sure to be fragile and riddled with all kinds of obscure problems you'd be lucky to find someone else on the Internet even asking about and when you do it's just the question with no answers...
-
- I'm very confused about API Remoting support in Windows 10/11 Pro. RemoteFX vGPU seems deprecated and instead... ???
- On Windows 10/11 Pro GPU pass-through support is very shady. The feature seems to be
- One very tricky aspect of API Remoting solutions is the apparent complete lack of support for DXVA which to me means that video GPU hardware acceleration is not available in any way over API Remoting. This means video playback (including in Ren'Py games) could easily be visually degraded and/or working like a slide-show making games unplayable depending on how they encode their videos...
I'll ping skwada by including this answer from Jun 2003 from an older thread on a topic that was somewhat similar:
skwada, if you have the time, any comments/details on exactly how you achieved GPU pass-through would be appreciated.I've tried all the major free virtualization software available for Windows: Hyper-V, Virtual Box, VMWare Player. I'd say Hyper-V is the best by far in terms of performance and features:
The only downside is it requires Windows Pro. If you don't have Pro and aren't willing to buy it (costs literally $2 through the right websites) then VMWare Player was the second best in my exp
- Supports GPU pass-through, though it's annoying to enable (neither of the other two support this), and generally has better performance. I think because it is built-in to Windows maybe it has less overhead
- Headless mode (i.e. run the VM in the background with no GUI)
- Pausing is instantaneous and immediately hides the VM GUI from your screen - I remember VBox taking a while and VMWare is sometimes instant and other times slow as shit
- Can create checkpoints of the hard disk (VBox has this, VMWare does not)
- Can easily disable networking (my attempts at doing this with the others is fuzzy but remember it being a pain in the ass)
- Has a CLI available for custom automation (VBox has this too, VMWare does not for the free version)
Oh yeah word of advice for anyone trying to use Hyper-V: use a Windows Pro image for your guest VM to have support for enhanced mode - it is absolutely necessary to get the best experience
WheresLucifer and Osider, you've also made passing mentions you run games in VMs. Again, if you have the time, how?
You don't have permission to view the spoiler content.
Log in or register now.
Last edited: