“Could not initialize plugin '/usr/lib64/vmware/plugin/libnvidia-vgx.so' for vGPU "profile_name"” error when powering on the VM
book
Article ID: 322001
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms:
Unable to power on the virtual machine using nvidia graphics card.
You see the error:
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'.
Environment
VMware vSphere ESXi 7.x VMware vCenter Server 7.0.x VMware vCenter Server 6.5.x
Cause
This issue occurs when the default GPU mode is Shared (vSGA) instead of Shared Direct (vGPU).
Resolution
To resolve this issue, change the GPU mode from Shared (vSGA) to Shared Direct (vGPU) using vCenter Server:
To 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 or reboot the ESXi for the changes to take effect.
Run this command through SSH to restart the xorg service: #/etc/init.d/xorg restart