Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Qt paraview在Mesa中需要更高的OpenGL_Qt_Centos7_Paraview_Mesa - Fatal编程技术网

Qt paraview在Mesa中需要更高的OpenGL

Qt paraview在Mesa中需要更高的OpenGL,qt,centos7,paraview,mesa,Qt,Centos7,Paraview,Mesa,我正在尝试在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 us

我正在尝试在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是软件渲染驱动程序

我不知道您是否在VM上运行CentOS(即使glxinfo说“OpenGL供应商字符串:VMware,Inc.”这并不意味着您在VMware上运行)


如果您没有运行VistOS作为VM客户,请考虑为您的视频卡安装合适的台面驱动程序。

IM在硬件上运行。您的视频卡看起来是一个矩阵G200。这是一个非常旧的GPU,我怀疑你能找到任何OpenGL3.3兼容的驱动程序。您可以按照@Mathieu Westphal的建议覆盖llvmpipe使用的OpenGL版本。请注意,这将是非常缓慢的…我在硬件上运行这个。你可能想试试这个。@pwe嗨,我使用了这个解决方案,它似乎工作得很好。它有副作用吗?或者它工作正常吗?没有副作用。不过,您可能需要指定最高的OpenGL版本。