Why is my Windows 8 virtual machine not using my NVIDIA card?
Solution 1
A virtual machine does not get direct access to your hardware. The hypervisor emulates hardware, what hardware that is emulated depends on which hypervisor you are using.
The Vmware Compatibility Guide includes details about exactly what Guest Operating systems are supported. Windows 8 is not on the list.
For supported guest operating systems VMware does provide a set of drivers for officially support Operating systems that greatly improve the performance of this emulation. With Windows 7 the graphics performance is good enough for Aero to work. Windows 8 is not supported, and I would bet is not likely to be supported for a while.
Solution 2
To my knowledge, most VMs use a special guest driver to emulate graphics; in some cases, passing the host GPU's capabilities via the aforementioned guest driver.
VirtualBox's user manual describes how VirtualBox (in particular) emulates 2D/3D acceleration.
https://www.virtualbox.org/manual/ch04.html#guestadd-video
Solution 3
Your virtual machine doesn't have a virtual nVidia card to use. The physical machine has a physical nVidia card, and presumably it's using it. Virtual machines operate on virtual hardware or physical hardware that is virtualized. The video card is not virtualized.
Related videos on Youtube
prongs
Updated on September 18, 2022Comments
-
prongs almost 2 years
I have a Dell XPS with an NVIDIA GT540 card and it's with Optimus. The main OS is Windows 7.
I have installed Windows 8 inside VMware Workstation 8, and it works very slowly. Inside NVIDIA Control Panel it tells me that no application is using the GPU. Why?
Why is the VM using the Intel GPU when I have an NVIDIA at my disposal?
UPDATE: well, I installed vmware tools and the performance has improved. But still I sense nVidia is not getting used. :(
UPDATE: And now that I see in the notification area,
vmx.exe
is indeed using my gpu. :) yipeee!!-
ChrisF over 12 yearsI'm fairly sure that virtual machines don't have access to the GPU - but I'm willing to to proved wrong.
-
Zoredache over 12 years@ChrisF, on some hardware, they theoretically could if the the CPU and hypervisor both supportedVT-d. AFAIK, no desktop VM solution supports this yet though.
-
Oxwivi over 12 yearsNormally, there is no hardware acceleration for virtual operating systems at all. Your hardware, software and the virtual operating system would need proper support. I don't know about your hardware, VMware Workstation probably supports GPU acceleration, and you need VMware drivers installed in Windows 8, which probably isn't supported by VMware as it's still in development.
-
Oxwivi over 12 years@Zoredache I thought VMware, Xen, KVM all support VT-d (and the AMD equivalent) extension for paravirtualization and hardware virtualization? Of course that is separate from GPU acceleration which can work with the necessary drivers in the guest OS (albeit slowly).
-
-
prongs over 12 yearsso the request for display goes to my intel card(via some complex mechanism, I know)?
-
Zoredache over 12 yearsNo, I suspect Vmware is emulating a emulating generic Intel Video card.
-
prongs over 12 yearsso it's being transferred to my cpu?
-
Vomit IT - Chunky Mess Style almost 7 yearsSo what is the proposed solution again in this answer?
-
timofonic timofonic almost 7 yearsI'm still at research phase. I have to ask more and prepare my system for some tests. I'll be able to give more info the next week approximately.
-
timofonic timofonic almost 7 years