When you try to install the NVIDIA vGPU in a VM, you may receive the error message "VVTD is not supported on a virtual machine with vGPU device".
The issue appears when you add the NVIDIA vGPU to the VM. Add the vGPU and click OK to save the configuration.
The following error message is displayed:
VVTD (Intel Virtualization Technology for Directed I/O) is not supported on a virtual machine with vGPU device.
Fix error "VVTD is not supported on a virtual machine with vGPU device"
Power off the VM.
SSH the host on which the VM is running and list the available volumes with the command:
# cd /vmfs/volumes
Locate the folder name where the VM is stored.
# cd <volume name>
Enter the VM folder and edit the .VMX file.
# cd <VM folder>
# vi vm-name.vmx
To fix the VVTD is not supported error, locate the following three line entries in the .VMX file:
Set all three lines to FALSE and save the file.
Power on the VM and then Power off.
Edit the VM Settings and add the NVIDIA vGPU. Click OK to apply the configuration.
This time the configuration is applied successfully to the VM.
From the vSphere Client, right click the VM and select Power > Power ON.
Proceed with the installation of the NVIDIA driver.
The driver has been installed successfully.
Copy the NVIDIA client configuration token file to the appropriated folder and restart the VM.
When you login the VM, the NVIDIA license is acquired successfully.
The VM is working as expected and the VVTD is not supported error is now fixed.