Possible to create a VM with both VNC & Pass-through GPU?


Recommended Posts

Trying to create a headless VM that passes through an Nvidia GPU. I use the GPU for compute and not for display. Is there a way to create a VM where the VNC video interface is primary, and pass-through GPU a secondary video interface? When I try to do this the VM won't start.

Link to comment
9 minutes ago, ensnare said:

Maybe this is a stupid question, but how do I set up a headless VM w/ GPU passthrough? Do I start with VNC to set it up, then change the GPU to the Nvidia card?

Yep, use VNC to install OS + enable whatever remote access software you need.

Then change the graphics card to the Nvidia card and access the VM through that remote access software you set up.

 

Note though that some graphics cards won't initialise properly without a monitor plugged in so if that's the case, you will need to buy a dummy HDMI plug.

Link to comment
  • 1 year later...

I'm running a Windows VM with GPU passthrough without monitor connected.

RDP runs fine for most purposes.

But there are situations where RDP does not work - i.e. some bigger Windows Updates require multiple reboots, the only way I got them runnig was using VNC.

Now I have following problem: Activting VNC and GPU passthrough results in an Error in Windows Hardware-Manager (Code 12 - not enough resources...).

So my passthrough-GPU does not run, when VNC is activated.

How can I run both??

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.