This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
多会话 Linux VDA 上的共享 GPU 加速
HDX™ 3D PRO 仅支持配置为 VDI 桌面(单会话模式)的 Linux VDA。对于多会话 Linux VDA,您可以在其上启用共享 GPU 加速以加速 OpenGL 3D 应用程序。
注意:
Wayland 显示服务器不支持共享 GPU 加速。
配置
要在多会话 Linux VDA 上启用共享 GPU 加速以加速 OpenGL 3D 应用程序,请完成以下配置步骤:
步骤 1:安装 VirtualGL
从 https://sourceforge.net/projects/virtualgl/files 下载并安装 VirtualGL。下载适用于基于 Debian 的 Linux 发行版的 .deb 软件包以及适用于基于 RHEL 的 Linux 发行版的 .rpm 软件包。
- ### 步骤 2:配置 VirtualGL
- 1. 停止 Linux 显示管理器,例如 LightDM 或 GNOME 显示管理器 (GDM)。
-
通过运行以下命令执行 VirtualGL 配置脚本:
- #/opt/VirtualGL/bin/vglserver_config <!--NeedCopy-->我们建议您在脚本执行期间进行以下选择:
-
选择“1”以“配置服务器以与 VirtualGL 结合使用 (GLX + EGL 后端)”
-
选择“n”以“将 3D X 服务器访问限制为 vglusers 组”
-
选择“n”以“将帧缓冲设备访问限制为 vglusers 组”
-
选择“n”以“禁用 XTEST 扩展”
-
-
退出配置脚本并重新启动 Linux 显示管理器。
步骤 3:运行具有 GPU 加速的 OpenGL 3D 应用程序
在 Linux VDA 会话中运行具有 GPU 加速的 OpenGL 3D 应用程序有两种方法:
-
方法 1: 为所有 OpenGL 3D 应用程序启用共享 GPU 加速
为此,请在 Linux VDA 上打开 bash 终端,运行以下命令,然后重新启动 bash 终端。此方法可为从 bash 终端启动的所有 OpenGL 3D 应用程序启用共享 GPU 加速。
#/opt/Citrix/VDA/sbin/ctxgpushare.sh enable <!--NeedCopy--> -
方法 2: 为特定的 OpenGL 3D 应用程序启用共享 GPU 加速:
为此,请在 Linux VDA 上打开终端,并运行以下命令,其中指定了应用程序的名称:
#vglrun <AppName> <!--NeedCopy-->
限制
- 共享 GPU 加速与 Linux VDA 上的显示管理器密切相关。建议使用 LightDM 作为共享 GPU 加速的显示管理器,以实现预期的功能和性能。
- WebGL 硬件加速仅在 Ubuntu 和 Debian 上的 Firefox 中受支持。
可伸缩性
可共享 GPU 的最大并发会话数取决于 CPU 和系统内存。它还高度依赖于 GPU 的最大视频内存。
例如:
| 如果 | 则 |
|---|---|
| NVIDIA M10-2B vGPU 具有 2,048 MB 视频内存,并且像 VariCAD 查看器这样的 OpenGL 应用程序在每个会话中为其工作负载使用 100 MB 视频内存, | 理论上,最大支持的并发会话数不能超过 20。 |
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.