Creating Citrix Policies for NVIDIA vGPU
This section describes the following:
Creating a Citrix Policy for NVIDIA vGPU
Creating a Microsoft Policy
A vGPU is not automatically accessible to a Citrix session. Citrix and Microsoft policies must be configured for a Citrix session to utilize the vGPU.
The Citrix HDX 3D Pro protocol can utilize NVIDIA NVENC (Hardware-Accelerated Video Encoding). To do so, the Optimize for 3D graphics workload Citrix Policy must be enabled.
Your full Citrix policy set depends on multiple parameters like application, bandwidth, and image quality requirements. Only enabling the Optimize for 3D graphics workloads policy is sufficient for a POC/trial purpose. Consult Citrix and your application partners to ensure your full Citrix Policy set is optimized for your deployment needs. Additionally, refer to the Graphics Section of the Citrix Virtual Apps and Desktop Product Documentation for additional details.
Log on to the Citrix Delivery Controller.
Launch Citrix Studio from the Windows Start Menu.
Select Policies on the left menu pane, then select Create Policy on the right-side Action menu.
Search for Optimize for 3D graphics workload and click Select.
On the Edit Settings popup window, select Enabled and click OK.
Click Next
Select the appropriate machines to which the policy applies. For POC/trial purposes, select All objects in the site and click Next.
Check the Enable policy checkbox and provide a name for the policy.
Click Finish.
Several policies within Citrix Studio affect performance and the efficient use of Virtual GPUs. Policies such as Use Video Codec for Compression, Use hardware encoding for video codec, and Target Frame Rate.
Please refer to the following Citrix document which refers to these settings in more detail.
On Windows Server 2016 and Windows Server 2012 R2, Remote Desktop Services (RDS) sessions on an RD Session Host server use the Microsoft Basic Render Driver as the default adapter. To use the virtual GPU in RDS sessions and Citrix HDX 3D Pro sessions, enable the Use the hardware default graphics adapter for all Remote Desktop Services sessions setting in the group policy.
Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment.