How to Enable vGPU (VGA) for Virtual Machines | VMware ESXi Tutorial Series

Dino

Member
After installing Windows for the virtual machine , do you know how to add a video card to the virtual machine?
This is a virtual machine that I have installed Windows on. Now I will try to install the VGA driver. (On the VMware server, I have plugged in a Nvidia GT 210 VGA).

DOWNLOAD VMWare ESXi ISO


After downloading the driver from Nvidia's homepage, I tried to install it.
The result was not good....😂😂

Sharevina-VMWare-ESXi-GPU-001.jpg



========================
Ok.. let's start fixing this error.
**Note , VGA is plugged into the server at this time, you cannot connect the monitor.
Step 1. Need to turn off all running virtual machines.

Sharevina-VMWare-ESXi-GPU-002.jpg



Step 2. In the Host section , go to Manage , then click on the Hardware Tab .
Step 3. Enable all items related to the Nvidia graphics card (Usually there are only 2 items as below).
When done, click Toggle Passthrough and then restart the ESXi Server .

Sharevina-VMWare-ESXi-GPU-003.jpg



Sharevina-VMWare-ESXi-GPU-004.jpg



======================
After the Host has finished booting.
You go to edit the virtual machine that needs to add GPU .
Virtual Machine *(1).
=> Select virtual machine *(2).
=> click Action *(3).
=> click Edit Settings *(4)

Sharevina-VMWare-ESXi-GPU-005.jpg



=> Select Add other device. *(1)
=> Select PCI device. *(2)
=> Select the GPU you want to add.

Sharevina-VMWare-ESXi-GPU-006.jpg



Sharevina-VMWare-ESXi-GPU-007.jpg



=> Click the triangle *(2) at New PCI device to expand.
=> Click " Reserve all memory " *(3) to clear the previous cache.

Sharevina-VMWare-ESXi-GPU-008.jpg



=> Go to " VM Option " tab *(1)
=> Select " Advance ". *(2)
=> select " Edit Configuration " *(3)

Sharevina-VMWare-ESXi-GPU-009.jpg



Sharevina-VMWare-ESXi-GPU-010.jpg



Click "Add Parameter"
Rename the key to "hypervisor.cpuid.v0"
Set the value to "FALSE"

Code:
hypervisor.cpuid.v0
FALSE

Sharevina-VMWare-ESXi-GPU-011.jpg



Save and you're done.
Start the virtual machine to test installing the VGA driver.
=============================================================================================
Sharevina-VMWare-ESXi-GPU-012.jpg


Sharevina-VMWare-ESXi-GPU-014.jpg


========================================================
The driver installation result is successful.
Thank you for reading the article, if you find it useful. Please share to support me.
***********************************************************
You can watch the detailed video here:

 
Top