ssh -X: GLXBadRenderRequest

ssh -X: GLXBadRenderRequest

我刚刚在我的上网本上设置了一个 ssh 服务器,运行的是 Linux Mint 15。我的上网本上安装了一个名为 fluxus 的程序,它基本上是 scheme/racket 代码的图形渲染。

我使用另一台运行 Ubuntu 13.04 的计算机通过 ssh 进入我的上网本,然后出现此错误:

laura@bbydhyonchord:~$ ssh -X laura@drukqs
laura@drukqs's password: 
Welcome to Linux Mint 15 Olivia (GNU/Linux 3.8.0-27-generic i686)

Welcome to Linux Mint
 * Documentation:  http://www.linuxmint.com

laura@drukqs ~/fluxus $ fluxus
Welcome to fluxus.
Type (help) for info.
X Error of failed request:  GLXBadRenderRequest
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  61
  Current serial number in output stream:  62
laura@drukqs ~/fluxus $ ./fluxus
Welcome to fluxus.
Type (help) for info.
X Error of failed request:  GLXBadRenderRequest
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  61
  Current serial number in output stream:  62

这可能是 ssh 问题、OpenGL 问题还是视频驱动程序问题?

答案1

这很可能是 OpenGL 和/或 Mesa 库问题。尝试在 Ubuntu 上安装此软件包:

$ sudo apt-get install mesa-utils

如果库已安装,您应该能够运行命令。此外,您可以通过本地和通过连接glxinfo运行来仔细检查一切是否正常工作。glxdemossh

您还可以尝试其他应用程序:

  • glxheads
  • 韓國

这些都应该可以顺利运行,如果不能,则说明您的 Ubuntu 系统的视频硬件和驱动程序无法显示此特定应用程序。如果是 ATI 和/或 NVidia 显卡,则您可能需要使用该卡的原生驱动程序!

如果它们像这样运行不顺畅,则说明您的配置不是最佳的:

$ glxgears 
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
25 frames in 5.0 seconds =  4.971 FPS
24 frames in 5.2 seconds =  4.626 FPS
25 frames in 5.1 seconds =  4.912 FPS
23 frames in 5.2 seconds =  4.398 FPS
23 frames in 5.0 seconds =  4.569 FPS
24 frames in 5.2 seconds =  4.599 FPS
23 frames in 5.0 seconds =  4.566 FPS
24 frames in 5.2 seconds =  4.608 FPS
23 frames in 5.1 seconds =  4.533 FPS
23 frames in 5.1 seconds =  4.495 FPS
24 frames in 5.2 seconds =  4.608 FPS
23 frames in 5.1 seconds =  4.480 FPS
24 frames in 5.1 seconds =  4.671 FPS
24 frames in 5.2 seconds =  4.619 FPS
23 frames in 5.1 seconds =  4.509 FPS
24 frames in 5.2 seconds =  4.646 FPS
24 frames in 5.2 seconds =  4.613 FPS
24 frames in 5.2 seconds =  4.646 FPS
24 frames in 5.1 seconds =  4.678 FPS
24 frames in 5.2 seconds =  4.635 FPS
23 frames in 5.0 seconds =  4.555 FPS
...
...
24 frames in 5.1 seconds =  4.727 FPS
24 frames in 5.0 seconds =  4.794 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"
      after 3488 requests (3488 known processed) with 0 events remaining.

相关内容