paraview needs higher OpenGL in Mesa

て烟熏妆下的殇ゞ 提交于 2019-12-11 09:23:24

问题


Im trying to use paraview 5.3.0 in CentOS.

I compiled it with Qt5. When I start paraview it tells me:

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.

Here is the OnBoard graphics card:

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

And the 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:

I dont understand what "... make sure your driver in Mesa ..." means.

kind regards


回答1:


When using llvmpipe/gallium with mesa, a software renderer, the OpenGL capabilities can be incorrectly detected. The simplest way to fix that is to force it :

MESA_GL_VERSION_OVERRIDE=3.3 ./bin/paraview



回答2:


The llvmpipe is the software rendering driver.

I don't know if you are running CentOS on a VM or not (even if glxinfo says "OpenGL vendor string: VMware, Inc." that doesn't necessary imply you are running on VMware).

If you are not running CentOS as a VM guest, consider installing the appropriate mesa drivers for your video card.



来源:https://stackoverflow.com/questions/49878939/paraview-needs-higher-opengl-in-mesa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!