paraview在Mesa中需要更高的OpenGL



我试图在 CentOS 中使用 paraview 5.3.0。

我用Qt5编译了它。当我开始paraview时,它告诉我:

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.

这是板载显卡:

lspci |grep VGA
03:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. Device 0536 (rev 04)

和glxinfo:

glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
OpenGL version string: 2.1 Mesa 17.0.1
OpenGL shading language version string: 1.30
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.0.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

我不明白什么"...确保你的司机在梅萨..."方法。

亲切问候

当将llvmpipe/gallium与mesa(软件渲染器(一起使用时,OpenGL功能可能会被错误地检测到。解决此问题的最简单方法是强制它:

MESA_GL_VERSION_OVERRIDE=3.3 ./bin/paraview

llvmpipe是软件渲染驱动程序。

我不知道你是否在虚拟机上运行CentOS(即使glxinfo说"OpenGL供应商字符串:VMware,Inc.",这并不一定意味着你在VMware上运行(。

如果你没有以 VM 来宾身份运行 CentOS,请考虑为你的视频卡安装适当的 mesa 驱动程序。

最新更新