<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VirtualBox 虚拟机中 无法打开Rviz的临时解决办法]]></title><description><![CDATA[<p dir="auto">在VirtualBox 虚拟机中使用ros 的rviz可视化组件可能会出现如下错误：</p>
<pre><code>VirtualBox:~$ rviz
[ INFO] [1458826436.975227564]: rviz version 1.11.10
[ INFO] [1458826436.975437443]: compiled against OGRE version 1.8.1 (Byatis)
pci id for fd 24: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
[ INFO] [1458826438.108511921]: Stereo is NOT SUPPORTED
[ INFO] [1458826438.110075462]: OpenGl version: 2.1 (GLSL 1.2).
Segmentation fault (core dumped)
</code></pre>
<p dir="auto">启动失败原因是因为虚拟机的OPENGL驱动存在问题，这部分驱动涉及虚拟机的3d加速支持扩展包，暂时没有好的解决办法。通过设置环境变量，强制Rviz使用软件OPRNGL模式，就可以暂时使用Rviz了，指令如下，留意重启控制台使更改生效</p>
<pre><code>echo "export LIBGL_ALWAYS_SOFTWARE=1" &gt;&gt; ~/.bashrc
</code></pre>
<p dir="auto"><a href="http://answers.ros.org/question/66250/rviz-segfault-opengl-warning/" target="_blank" rel="noopener noreferrer">点击参考这个链接</a></p>
]]></description><link>http://community.bwbot.org/topic/13/virtualbox-虚拟机中-无法打开rviz的临时解决办法</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 01:02:02 GMT</lastBuildDate><atom:link href="http://community.bwbot.org/topic/13.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Mar 2016 14:07:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VirtualBox 虚拟机中 无法打开Rviz的临时解决办法 on Thu, 26 May 2016 12:57:32 GMT]]></title><description><![CDATA[<p dir="auto">windows环境下，建议使用vmware，可以完美开启rviz</p>
]]></description><link>http://community.bwbot.org/post/34</link><guid isPermaLink="true">http://community.bwbot.org/post/34</guid><dc:creator><![CDATA[frank]]></dc:creator><pubDate>Thu, 26 May 2016 12:57:32 GMT</pubDate></item></channel></rss>