Screen Issues Connecting to 4K Resolution Monitors

Screen Issues Connecting to 4K Resolution Monitors

book

Article ID: CTX200257

calendar_today

Updated On:

Description

A blank or corrupt screen is displayed when connecting to Windows 7 XenDesktop Virtual Delivery Agents (standard mode) on a client which has one or more 4K resolution monitors.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

Complete the following procedure:

  1. Check for the current "System Video Memory" allocation located in the Control Panel, Display, Advanced Settings:

    User-added image

  2. Calculate the video memory that is required for all monitors using the following formula:
    Sum of total monitors (Width * Height * 8) where width and height are resolution of the monitor.

    To get a visualization of the video memory required and size up the MaxVideoMemoryBytes for your specific environment, download sysinternals process explorer and observe the GPU Dedicated Memory graph (View > System Information, or Ctrl+I > GPU tab) inside an active Citrix connection:

    User-added image

    User-added image

  3. Open the registry (regedit) and navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vd3d
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vbdenum

  4. Increase the value of "MaxVideoMemoryBytes” REG_DWORD value in both keys to the above calculated memory. Note: Multiple the value by 1024 to get the desired values in Bytes. See https://support.citrix.com/article/CTX200073 for example values.

  5. Reboot the VDA.

    Note:  The VDA machine must have enough system memory in order for Windows to be able to allocate video memory as needed. This process is controlled by the Windows OS and the amount of memory allocated may vary per machine or between reboots. The MaxVideoMemoryBytes key(s) should only be used in conjunction with the "Citrix Systems - WDDM Display Driver".  If the "Citrix Display Only Adapter" is in use, then these keys should not be set as memory is allocated dynamically. Not applicable for Windows server 2022 as driver does not exist on same.


Problem Cause

The Citrix WDDM driver requests a 64MB allocation for the video memory buffer at boot time, but for a 4K resolution display 64MB is not sufficient.
 

Issue/Introduction

A blank or corrupt screen is displayed when connecting to Windows 7 XenDesktop Virtual Delivery Agents (standard mode) on a client which has one or more 4K resolution monitors.

Additional Information

CTX201696 - Citrix XenDesktop and XenApp – Support for Monitors Including 4K Resolution and Multi-monitors
CTX200073 - Desktop Viewer not Displaying Correct Screen Size