passthrough graphics card to virtualbox

All we need is an easy explanation of the problem, so here it is.

So I’m trying to get my laptops NVIDIA fx 880m to pass to a virtual box running window seven on a linux mint 17 install.

So far everything seems to be (maybe) heading in the right direction:

the device passed through happily, when I booted the virtual box it installed a bunch of new drivers, but when I try to install the NVIDIA driver on the guest it can’t find the card. I looked under the device manager and there’s no listing for the nvidia card under the pci bus, my guess would be that I need to disable it in the host so that it can be passed through to the guest (the virtual box manual said they can’t be shared) but I’m not sure how to do so. Can anybody help with this? This question does not seem to me to be a duplicate of Cannot setup PCI Passthrough for display adapter in VirtualBox, because here the given solution was that it was not possible with a windows host, however in this case the host is linux

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

This feature is not yet supported in Virtualbox.

Your only alternative virtualization software that supports this that I am aware of are Qemu and Xen and possibly VMWare. Most success tales of passing through GPUs to virtual machines come from either Qemu or Xen so I would suggest you turn towards that until Virtualbox supports this.

There is a blog devoted to the subject(that is their 2015 tutorial on how to do this with qemu as a focus) which you may want to look into.

Keep in mind that VGA Passthrough is still very experimental technology and it requires Motherboard/CPU combinations that support very specific features, and usually it also requires a custom kernel configuration to actually be able to access these features from within Linux (to be able to use them in the virtual machine).

In light of this, please try not to overcommit. You are very likely to run into bugs or issues that can render either your physical or virtual system unstable or in some ways inoperable while using VGA Passthrough. Don’t expect it to work completely, nor easily. You need luck for that to really happen.

Method 2

It can’t be done.

You can pass through USB devices, no problem. But when you start dealing with PCI and PCIe devices, they will not get passed through. In theory, if you disabled your graphics card until you booted your host OS, then enabled your graphics card “magically”, your VM would still need full control over it (which your OS won’t give you). It’s not going to be possible given current technology

Method 3

Okay, so it seems that it can be done, however what is important is the graphics card and chipset that are being used. In my case, processor and motherboard are fine, but graphics card is not 🙁 but good news for the rest of you. Also it seems that the feature is better supported in xen or kvm than virtual box, see

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply