How To Create A Master Image For vGPU.
Prepare a master image for GPU-capable machines on XenServer - When using XenServer for your hosting infrastructure, GPU-capable machines require a dedicated master image. Those VMs require video card drivers that support GPUs and must be configured to allow the VM to operate with software that uses the GPU for operations.
In XenCenter, create a VM with standard VGA, networks, and vCPU.
Update the VM configuration to enable GPU use (either Passthough or vGPU).
Install a supported operating system and enable RDP.
Install XenServer Tools and NVIDIA drivers.
Turn off the Virtual Network Computing (VNC) Admin Console to optimize performance, and then restart the VM.
You are prompted to use RDP. Using RDP, install the VDA and then restart the VM.
Optionally, create a snapshot for the VM as a baseline template for other GPU master images.
Using RDP, install customer-specific applications that are configured in XenCenter and use GPU capabilities.