Before using the hardware-based virtual Graphical Processing Unit (vGPU) funfction in vSphere, the NVIDIA GPU VIB (vSphere Installation Bundle) must installed and configured on an ESXi host.
Note: This feature is supported in Horizon View 5.2 and later, and vSphere 5.1 and later.
To install the NVIDIA GPU VIB:
esxcli software vib install -v /path_to_vib/nvidia_vib
Alternatively, use the ESXi Image Builder to create a bootable image that contains the NVIDIA VIB. For more information, see Customizing Installations with vSphere ESXi Image Builder .
For more information on deployment, see the Nvidia GRID vGPU Deployment Guide for VMware Horizon on VMware vSphere .
After rebooting the ESXi host, ensure the xorg service is running properly on the ESXi host.
Note: These remaining steps only apply in cases where Shared Mode vSGA is being used in ESXi 7.0 U1 and above. They also apply in all use-cases of NVIDIA GPUs in versions of ESXi lower than 7.0 U1: Xorg service is no longer required for Nvidia vGPU profiles in vSphere 7.0 U1
To verify that the xorg service is running using the vSphere Web Client:
To verify that the xorg service is running using the command line:
/etc/init.d/xorg [start|stop|status]
To configure virtual machine video card 3D capabilities using the vSphere Client:
Power on the virtual machine, ensure Remote Desktop is enabled to allow remote connections into this guest OS.
After the Nvidia guest OS drivers are loaded, the vSphere Console will no longer be usable to connect to the VM console. Use an alternate method to connect and manage the machine.
To update the NVIDIA GPU VIB, the currently installed VIB must be uninstalled and then install the new/updated VIB.
To uninstall the currently installed VIB:
/etc/init.d/xorg stop
vmkload_mod -u nvidia
esxcli software vib list | grep NVIDIA
esxcli software vib remove -n nameofNVIDIAVIB