【发布时间】:2020-05-29 10:58:44
【问题描述】:
我正在尝试在客户端/服务器模式下使用软件 (Paraview) 在我的台式机 (linux、debian 10) 上打开客户端并在远程服务器 (linux、CentOS 8) 上进行繁重的计算。该软件需要 OpenGL 3.2 或更高版本的实现,从下面显示的命令 glxinfo 的输出中可以看到,我的机器上安装的软件应该没问题:
myaccount@desktopmachine:$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: *GeForce GTX 650 Ti BOOST/PCIe/SSE2 OpenGL core*
profile version string: 4.6.0 NVIDIA 440.82 OpenGL core profile
shading language version string: 4.60 NVIDIA OpenGL core profile
context flags: (none) OpenGL core profile profile mask: core profile
OpenGL core profile extensions: OpenGL version string: 4.6.0 NVIDIA
440.82 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL extensions:
OpenGL ES profile version string: **OpenGL ES 3.2** NVIDIA 440.82 OpenGL
ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
问题是,当通过 SSH 连接到远程服务器时,同一命令产生的 OpenGL 是:
myaccount@server:$ glxinfo | grep "OpenGL"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: *GeForce GTX 650 Ti BOOST/PCIe/SSE2 OpenGL*
version string: **1.4** (2.1.2 NVIDIA 440.82) OpenGL extensions:
所以看起来OpenGL的版本没有正确传输。 我应该怎么做才能解决这个不允许我运行软件的问题?
【问题讨论】:
标签: linux opengl opengl-es paraview