【问题标题】:ssh opengl error: X Error of failed request BadRequestssh opengl error: X Error of failed request BadRequest
【发布时间】:2012-10-05 16:36:32
【问题描述】:

远程电脑是 Ubuntu 12.04(精确)64 位,带有 NVIDIA 显卡和驱动程序(版本当前更新),本地电脑是带有 Intel HD graphics 3000 运行 Mac OS X Lion 10.7 的 macbook-air。 5

我的目标是能够运行当前因X Error of failed request BadRequest 而失败的openGL 应用程序。一个(黑色)窗口在一毫秒内出现,然后关闭,X 错误出现在终端上。

glxgears 打开,但齿轮移动得非常慢,一开始我以为是静态图像。

glxinfo 输出:

name of display: localhost:10.0
display: localhost:10  screen: 0
direct rendering: No
(etc)

我已经尝试过ssh -Xssh -Y 两种方法都失败了。 任何指向我该如何解决这个问题的指针?

【问题讨论】:

    标签: opengl ssh x11-forwarding


    【解决方案1】:

    您使用的是间接 OpenGL,它通过 ssh 传输 GL 命令。它只支持旧的 OpenGL 子集(iirc ~version 1.3)。

    如果您想使用 Linux GPU,VirtualGL 将帮助您这样做。

    【讨论】:

    • 另一种可能的方法,我成功使用的方法是在远程机器上使用 Xpra,其中 Xpra 服务器配置为在目标 GPU 上使用“常规”X 服务器。当然,远程计算机上的用户不再可以使用那个 GPU。
    猜你喜欢
    • 2013-03-12
    • 2017-03-31
    • 2018-06-29
    • 1970-01-01
    • 2022-09-24
    • 2022-12-19
    • 2018-06-19
    • 2021-09-10
    相关资源
    最近更新 更多