Error: “Could not initialize plugin '/usr/lib64/vmware/plugin/libnvidia-vgx.so' for vGPU "<profile_name>"” when powering on VM
book
Article ID: 322001
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Unable to power on the virtual machine using a nvidia graphics card.
vpxd.log shows errors similar to the following:
The amount of graphics resource available in the parent resource pool is insufficient for the operation. An error was received from the ESX host while powering on VM <VM_name> Failed to start the virtual machine. Module 'DevicePowerOn' power on failed. Could not initialize plugin '/usr/lib64/vmware/plugin/libnvidia-vgx.so' for vGPU '<profile_name>'. No graphics device is available for vGPU '<profile_name>'.
Could not initialize plugin 'libnvidia-vgx.so' for vGPU 'nvidia_a2-16q'. Failed to start the virtual machine. Module PCIPluginLate power on failed.
Environment
ESXi 7.x, 8.x, 8.U3
vCenter Server 6.5.x, 7.0.x, 8.x, 8.U3
Cause
The default GPU mode is set to Shared (vSGA) instead of Shared Direct (vGPU).
Resolution
Change the GPU mode to Shared Direct (vGPU):
Select the ESXi host within the vCenter UI.
Select the Configure tab.
Click Graphics.
Select each GPUs that must use vGPU.
Click Edit to modify the Graphics device settings.
Select Shared Direct for vGPU.
Restart the xorg service via dcli or reboot the ESXi host: /etc/init.d/xorg restart