Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have VMware Workstation running on Ubuntu host with a Ubuntu Guest. Is it possible to directly access the GPU from the VM?

I want to run CUDA on the VM

share|improve this question

2 Answers 2

up vote 7 down vote accepted

It isn't unless nVidia provides a VMware-compatible paravirtualized driver for that purpose.

This discussion on the nVidia forums explains why.

Now, newer CPUs and chipsets support "IOMMU", which could serve the similar function as "PCI-E passthrough" that they discuss on that forum. However, this still requires support and cooperation from both VMware's paravirtualized drivers and nVidia's drivers, which does not exist yet.

share|improve this answer
    
The nVidia forums have been down for a few months now. Could you post another link with that explanation? –  sep332 Sep 7 '12 at 19:21
    
+1 and the forums are back up, btw. –  Anirudh Ramanathan Dec 9 '12 at 14:05

If you are ready to use Xen instead of VMware Workstation, you can try out Xen VGA Passthrough and see if your hardware configuration is supported. This would give you full control over the graphic card in the VM.

Here is an example of what you can accomplish: http://www.youtube.com/watch?v=Gtmwnx-k2qg

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.