您的图形驱动程序不支持带有gpu_shader4扩展名的GL版本2.1

时间:2016-06-06 18:48:40

标签: linux opengl paraview

我已经下载了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.

我的信息

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

梅萨并不过时,我不明白我该怎么做。我在Ubuntu 14.04,64bit。

1 个答案:

答案 0 :(得分:5)

您的GL实现不足以满足版本5.0的ParaView的新要求。来自paraview.org的Linux二进制文件与一个具有所需扩展名的合适的Mesa 3D构建捆绑在一起。尝试按如下方式运行paraview以使用该Mesa:

paraview --mesa-llvm

有关详细信息,请参阅this blog