Last couple of weeks played around with Ubuntu 12.10. This is running as a guest on Virtualbox hosted at Windows 7. There have been some challenges with the Unity 3D stuff. Particular due to not supporting X11 release 1.13 till very recently. Since today we are able to download Virtualbox version 4.2.2 which has through guest additions also support for X11 release 1.13. SO far great work everybody.
Since Unity now only runs in 3D mode it would be nice to access the graphics card directly from Virtualbox.
lshw -c display shows:
VGA compatible controller; product: VirtualBox Graphics Adapter.
QUESTION: how to get the 3D and other graphics directly supported by the hardware ie Nvidia GeForce M310
PCI passthrough is experimentally supported in recent Virtual Box closed source (PUEL) versions. However there are several limitation, i.e. for a graphics card we can read from the Virtual Box User Manual:
I cant tell if this is the case with the Nvidia M310, you will have to figure this out first before you try.
To get PCI passthrough working we also need a motherboard with an enabled IOMMU from BIOS settings (i.e. VT-d for Intel, AMD-Vi for AMD).
There are several additional prerequisites to be met (see Virtual Box Manual for details):
We can then attach a PCI device with its
bus:device.functionproperties read from
lspcito our virtual machine using:
See in the guest with
lspciif the device was attached properly before installing drivers for this device.
Please also refer to the Virtual Box Manual for further limitations.