Before using the hardware-based virtual Graphical Processing Unit (vGPU) funfction in vSphere, you must install and configure the NVIDIA GPU VIB (vSphere Installation Bundle) on ESXi.
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, you can use 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, you should ensure the xorg service is running properly.
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, vSphere Console will no longer be usable, and you will want to have an alternate route to manage the machine
To update the NVIDIA GPU VIB, you must uninstall the currently installed VIB and install the new 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