Product Documentation

Non-GRID 3D graphics

May 22, 2017

Overview

With this feature enhancement, the Linux VDA supports not only NVIDIA GRID 3D cards but also non-GRID 3D cards.

Installation

To use the non-GRID 3D graphics feature, you must install XDamage as a prerequisite. Typically, XDamage already exists as an extension of XServer.  

Configuration

Xorg configuration files

If your 3D card driver is NVIDIA, the configuration files are installed and set automatically.

Other types of 3D cards

If your 3D card driver is NOT NVIDIA, you must modify the four template configuration files installed under /etc/X11/:

  • ctx-driver_name-1.conf
  • ctx-driver_name-2.conf
  • ctx-driver_name-3.conf
  • ctx-driver_name-4.conf

Using ctx-driver_name-1.conf as an example, follow the steps below to modify the template configuration files:

  1. Replace driver_name with your actual driver name.

    For example, if your driver name is "intel," you can modify the configuration file name to "ctx-intel-1.conf."

  2. Add the video driver information.

    Each template configuration file contains a section named "Device," which is commented out. This section describes the video driver information. You must enable this section before adding your video driver information. To enable this section:

    a. Refer to the 3D card guide provided by the manufacturer for configuration information. A native configuration file will be generated. Verify that your 3D card works in a local environment with the native configuration file when you are not using a Linux VDA ICA session.

    b. Copy the "Device" section of the natice configuration file to ctx-driver_name-1.conf.

  3. Run the following command to set the registry key to let the Linux VDA recognize the configuration file name modified in Step 1.
Command Copy

/opt/Citrix/VDA/bin/ctxreg create -k "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Citrix\XDamage" -t "REG_SZ" -v "DriverName" -d "intel" --force

Enable the non-GRID 3D graphics feature

The non-GRID 3D graphics feature is disabled by default. You can run the following command to enable it by setting XDamageEnabled to 1.

Command Copy

/opt/Citrix/VDA/bin/ctxreg create -k "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Citrix\XDamage" -t "REG_DWORD" -v "XDamageEnabled" -d "0x00000001" --force

Troubleshooting

No or garbled graphic output

If you can run 3D applications locally and all configurations are done correctly, missing or garbled graphic output is the result of a bug. Use /opt/Citrix/VDA/bing/setlog and set GFX_X11 to verbose to collect the trace information for debugging.

Hardware encoding does not work

This feature supports only software encoding.