我正在尝试在ssh上运行使用vtk的二进制文件。二进制文件在服务器(ubuntu)中,我正在家用笔记本电脑(mac)中运行它。我尝试使用glxgears登录后使用ssh -Y ...
登录,它可以工作(它显示齿轮,但不会旋转或崩溃,但在终端机上可以看到libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
)。当我尝试运行使用vtk的应用程序时,出现错误,这次确实崩溃了
vtkXOpenGLRenderWindow (0x43321f0): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2.
server :
Ubuntu
GLX version: 1.4
OpenGL version string: 1.4
VTK 8.1.2
client :
mac
XQuartz 2.7.11
GLX version: 1.4
OpenGL version string: 2.1