• VMware无法为 vGPU "profile_name" 初始化插件


    打开虚拟机电源时报错:无法为 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),请执行以下操作:
    1. 在 vCenter Server 6.5 中,选择ESXi 6.5 主机。
    2. 选择配置选项卡。
    3. 单击图形。
    4. 选择必须使用 vGPU 的每个 GPU。
    5. 单击编辑以修改图形设备设置。
    6. 为 vGPU 选择直接共享。
    7. 重新启动 xorg 服务或重新引导 ESXi 以便更改生效。

      通过 SSH 运行以下命令以重新启动 xorg 服务:

      #/etc/init.d/xorg restart
     
    注意:vGPU 虚拟机正常启动。
  • 相关阅读:
    oracle函数查询数据字典
    股票市场不是年轻人应该去的地方
    惊蟄
    大学问
    教条示龙场诸生
    生成器表达式
    三次锁定(文件加强版)
    文件的增删改查
    Python试题(1)
    Python入门(1)
  • 原文地址:https://www.cnblogs.com/TImeroot/p/16263032.html
Copyright © 2020-2023  润新知