我已经从他们的网站上下载了ParaView for Linux(我从他们的网站上)。我尝试运行代码,但是
vtkXOpenGLRenderWindow (0x37418c0): 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.
我的gl信息
glxinfo | grep "OpenGL version"
OpenGL version string: 2.1 Mesa 11.0.0-rc1
milenko@milenko-HP-Compaq-6830s:~/ParaView-5.0.1/bin$ glxinfo | grep 'version'
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 2.1 Mesa 11.0.0-rc1
OpenGL shading language version string: 1.30
glxinfo | egrep 'OpenGL|glx'
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV620 (DRM 2.40.0, LLVM 3.4.0)
OpenGL version string: 2.1 Mesa 11.0.0-rc1
OpenGL shading language version string: 1.30
OpenGL extensions:
与lspci | grep -i vga
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3410/3430]
我的X驱动程序
glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: X.Org
梅萨(Mesa)并不落伍,我不知道该怎么办。我在Ubuntu 14.04,64bit上。
最佳答案
您的GL实现不足以满足5.0版ParaView的新要求。来自paraview.org的Linux二进制文件与适当的具有所需扩展名的Mesa 3D构建 bundle 在一起。尝试按以下方式运行paraview以使用该Mesa:
paraview --mesa-llvm
有关详细信息,请参见this blog。