VMware vSphere

 View Only
  • 1.  Trouble conecting VM with vGPU k2

    Posted Jun 06, 2016 03:55 PM

    I have tried to follow the basic instructions found everywhere but as soon as I go to add a PCI Device the new PCI device is unavalible for two of my VMs and the third simply will not allow me to go the edit settings tab at all. Is there something I'm missing? Is it possibly a problem with a view agent (which was one manual's pre-rec), but I never installed a vies agent and I could find it. Or is it a memory allocation problem?



  • 2.  RE: Trouble conecting VM with vGPU k2

    Posted Jun 06, 2016 09:11 PM

    Ok...does your ESXi host have the NVidia drivers installed for the K2?

    You need that before you can add a PCI device to your VM, you then need to install the drivers on the guest OS but you won't get that far if you have not installed the K2 drivers in ESXi...

    After that and after adding it to the VM and installing drivers in the guest OS you can then configure the View part to use it...



  • 3.  RE: Trouble conecting VM with vGPU k2

    Posted Jun 06, 2016 09:20 PM

    Yes,the drives are on the host and from the report I got back tells me that the k2 cards and the host are connected and talking to each other fine. It's just when I go to install the the GPUs on the VM that I have a problem... do I need to install the drivers on the guest OS before I can add a PCI device to my VM. I didn't see that as a prerec in any of the guides.



  • 4.  RE: Trouble conecting VM with vGPU k2

    Posted Jun 07, 2016 07:01 AM

    Your problem is not because View Agent.

    First verify that the NVIDIA kernel driver can successfully communicate with the GRID physical GPUs in your system by running the nvidia-smi command, which should produce a listing of the GPUs in your platform. Check the attachment for sample reference. If there is output for above command then drivers are working fine.

    Power off the VM, go to edit settings, In add new device select Shared PCI Device and click add 

    K2 has a graphics card of 8gb. So if you select type of vGpu as K280Q its amounts to 4gb, so you can use graphics card for max 2 VM's Choose the following guide lines while assigning vGpu.

    K280Q- 4gb

    K260Q- 2gb

    K240Q- 1gb

    K220Q- 512mb

    K200   - 256mb

    Pre-requisites- Horizon 6.1+

                        Vsphere 6 U1+

    Hope this helps,

    In case you have any further quires, write back to me 

    Regards

    Rishi



  • 5.  RE: Trouble conecting VM with vGPU k2

    Posted Jun 07, 2016 02:25 PM

    So I've done the nvidia-smi and as far as I can see it looks normal and seems to be communicating fine. Attached is the output... if you see something wrong that I missed, please tell me. I always power off the machine when I try to select a shared PCI Device, but I won't allow me to select that option, although I can add any other device. Is there maybe a way to connect the drivers through ssh or the VM's command line?

    Thanks :smileyhappy:



  • 6.  RE: Trouble conecting VM with vGPU k2

    Posted Jun 11, 2016 05:37 AM

    Everything  looks fine from image you have sent. It should work. Once try rebooting server. If still it doesn't solve problem, i will solve using remote desktop application