打开虚拟机电源时报错:无法为 vGPU "profile_name" 初始化插件 "/usr/lib64/vmware/plugin/libnvidia-vgx.so" (Could not initialize plugin '/usr/lib64/vmware/plugin/libnvidia-vgx.so' for vGPU "profile_name") (2151161)
- 无法使用 nvidia 显卡打开虚拟机的电源。
- 您会看到以下错误:
 父资源池中的可用图形资源不足,无法执行该操作
 (The amount of graphics resource available in the parent resource pool is insufficient for the operation)。
 打开虚拟机 <vm_name> 的电源时,从 ESX 主机接收到错误
 (An error was received from the ESX host while powering on VM <VM_name>)
 无法启动虚拟机
 (Failed to start the virtual machine)。
 打开模块“DevicePowerOn”的电源失败
 (Module 'DevicePowerOn' power on failed)。
 无法为 vGPU“Profile_name”初始化插件 “/usr/lib64/vmware/plugin/libnvidia-vgx.so”
 (Could not initialize plugin '/usr/lib64/vmware/plugin/libnvidia-vgx.so' for vGPU 'Profile_name')。
 没有可用于 vGPU “Profile_name” 的图形设备
 (No graphics device is available for vGPU 'Profile_name')。
 Cause
当默认 GPU 模式为共享 (vSGA) 而不是直接共享 (vGPU) 时,会出现此问题。
 Resolution
要解决此问题,请通过 vCenter Server 将 GPU 模式由共享 (vSGA) 更改为直接共享 (vGPU):
要将 GPU 模式更改为直接共享 (vGPU),请执行以下操作:
- 在 vCenter Server 6.5 中,选择ESXi 6.5 主机。
- 选择配置选项卡。
- 单击图形。
- 选择必须使用 vGPU 的每个 GPU。
- 单击编辑以修改图形设备设置。
- 为 vGPU 选择直接共享。
- 重新启动 xorg 服务或重新引导 ESXi 以便更改生效。
 通过 SSH 运行以下命令以重新启动 xorg 服务:
 #/etc/init.d/xorg restart
注意:vGPU 虚拟机正常启动。
 
                    
                     
                    
                 
                    
                 
 
         
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号