Display adapter priority and monitor creation in Citrix sessions

Citrix have created this very important knowledge article CTX237608 about GPUs in Citrix from release 7.16 and forward.

This article is valid for following Citrix products:

  • Citrix XenDesktop 7.16 using Microsoft Windows 10
  • Citrix XenDesktop 7.17 using Microsoft Windows 10
  • Citrix XenDesktop 7.18 using Microsoft Windows 10

(IDD) Indirect Display Driver model was introduced in Microsoft Windows 10 and Citrix is now using this technology.
https://docs.microsoft.com/en-us/windows-hardware/drivers/display/indirect-display-driver-model-overview 

I experienced myself an issue with an AMD Radeon WX4100 GPU having a black screen or desktop “freezes” at login and by adding CitrixIDD registry key I got it working. Other GPUs may be impacted so please test. Please be aware that with implementing Citrix IDD you loose vendor specific (control panel) settings, because Citrix bypass the GPU vendor capture APIs and you will have less performance resulting in less FPS. But I have experience myself that performance works amazing with enabling CitrixIDD and it solved my issue with a black screen/desktop that froze.

Update 29 August 2018
Its recommended getting a native driver from the GPU vendor instead of using Citrix IDD to get the best performance the GPU vendors provide via their APi.

Below is relevant for Citrix customers

  • Connecting with HDX to machines provisioned manually or MCS or PVS to a virtual Microsoft Windows 10 with Citrix Client OS VDA 7.16 and above.
  • Connecting with HDX using Citrix RemotePC to a physically PC with Microsoft Windows 10 and Citrix Client OS VDA 7.16 and above.

Objective

This article includes information about the display adapter selection process, how virtual monitors are created, and manual configuration options for the same.
Starting with XenDesktop 7.16 the Citrix Virtual Desktop Agent (VDA) for Windows 10 automatically selects the best display adapter to use for the user session during connection time. This feature eliminates the HDX 3D Pro mode installation option from previous versions and allows for the same Windows image to be used for virtual machines with and without GPUs alike.
There are three different display adapters (or drivers) that may be used in a Citrix session:

  • Citrix Display Only (DOD) – This is the standard adapter used for all Citrix sessions when there is no GPU detected on the VDA.
  • GPU Vendor’s – This may be one of the GPU adapters from NVIDIA, AMD, or Intel that Citrix supports for HDX 3D Pro workloads as documented in CTX131385.
  • Citrix Indirect Display (IDD) – This adapter is used in sessions where a GPU is detected but no Citrix supported vendor driver is found. It can be considered as “generic” GPU support.

These can be seen in the Windows Device Manager or any tool that queries display configuration details.

Instructions

Manual configuration
By default, the optimal configuration will be automatically selected in most cases. Manual configuration options should only be used as needed to support specific use cases, as instructed by Citrix Technical Support, or for troubleshooting and diagnostic purposes.On VDAs version 7.16 and newer, administrators can pre-define how display adapters and monitors are configured for the user session using the following Windows Registry Key:

Path: HKLM\Software\Citrix\Graphics
Key: AdapterMerits

To select the preferred display adapter and assign usage priority (merits) for multiple display adapters

Possible Values [DWORD]: CitrixDoD, CitrixIDD, NVIDIA, AMD, Intel
Value data [number]: Highest number gets the first preference

To restrict the number of monitors that can be created per display adapter

Possible Values [DWORD]: CitrixIDDMax, NVIDIAMax, AMDMax, IntelMax
Value data [0-8]: depending on the number of monitors a GPU adapter can support

Configuration Example

User-added image

With the registry settings illustrated above, the administrator has configured the Citrix Indirect Display adapter with highest preference followed by the Nvidia adapter and maximum number of monitors allowed for both to 1. In this example, the session will use the Citrix IDD adapter for the primary monitor and the NVIDIA adapter for the secondary monitor, for a user connecting from an endpoint with two monitors.

There may be cases where using the Citrix IDD adapter (generic GPU support) is preferred or required, over the GPU vendor’s. Mainly as a troubleshooting step or a workaround to issues with GPU vendor adapters. For these cases the registry key may be configured with the single value as follows:

HKLM\Software\Citrix\Graphics\AdapterMerits
DWORD CitrixIDD = 3

Use Citrix IDD as a workaround to the following known issues:

Connecting to a VDA using Intel GPU from an endpoint with more than two 4k monitors fails. This is a known issue with Intel drivers, failure is due to insufficient memory.
Connecting to a VDA using Intel GPU from an endpoint with one or more monitors in portrait mode fails. This is a known issue with Intel drivers.
Connecting to a VDA with Nvidia GPU from an endpoint with 5 monitors results in the contents on the primary and 5th monitors being duplicated (mirrored).

Source

Comments (4)

  • Virtual Desktop Agent (VDA) for Windows 10 automatically selects the best display adapter to use for the user session during connection time. This feature eliminates the HDX 3D Pro mode installation option from previous versions and allows for the same Windows image to be used for virtual machines with and without GPUs alike

  • There may be cases where using the Citrix IDD adapter (generic GPU support) is preferred or required, over the GPU vendor’s. Mainly as a troubleshooting step or a workaround to issues with GPU vendor adapters. For these cases the registry key may be configured with the single value as follows:

  • Garmin Express with the location and not missing through most of the devices manufactured for functioning with the help of the Global Positioning Technology (GPS). It will help in avoiding traffic and the usual hurry that the user might encounter while travelling. Maximum of the times Garmin.com/Express is not limited to tell the time. We are available 24×7!

  • The problem you are facing is common for the printers. All i was able to get was you’re not able to Printer from Samsung Printer and It is showing Offline Issue.
    Well lets try to configure it out, i usually gives solutions for the printer connecting solution, Hope you will get the soultion for whta you are looking for-
    For the problem solution follow the following steps-
    Step 1: Checking for the Printer connection
    Step 2: Updating with the Printer Drivers Files
    Step 3: Install the latest software
    Step 4: Reset settings for the printer spooler, and then restart your computer
    Step 5: Try Adding a second Printer on it
    Step 6: Reinstalling with a Printer Driver
    Step 7: Try VPN process on connected printer
    Know More about: Samsung printer says offline

Leave a Reply

Your email address will not be published. Required fields are marked *

Turn on pictures to see the captcha *