paraview需要在Mesa中使用更高的OpenGL [英] paraview needs higher OpenGL in Mesa

查看:672
本文介绍了paraview需要在Mesa中使用更高的OpenGL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在CentOS中使用paraview 5.3.0.

Im trying to use paraview 5.3.0 in CentOS.

我用Qt5编译了它.当我开始进行paraview时,它会告诉我:

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.

这是OnBoard显卡:

Here is the OnBoard graphics card:

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:

我不明白"...确保您在Mesa中的驱动程序..."的含义.

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

亲切的问候

推荐答案

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

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

这篇关于paraview需要在Mesa中使用更高的OpenGL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆