rviz and openGL
I am trying to run rviz but I face this error:
[ INFO] [1433549504.115313245]: rviz version 1.11.7
[ INFO] [1433549504.115355680]: compiled against OGRE version 1.8.1 (Byatis)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[ INFO] [1433549504.568675398]: Stereo is NOT SUPPORTED
[ INFO] [1433549504.568842811]: OpenGl version: 1.4 (GLSL 0).
terminate called after throwing an instance of 'std::runtime_error'
what(): Your graphics driver does not support OpenGL 2.1. Please enable software rendering before running RViz (e.g. type 'export LIBGL_ALWAYS_SOFTWARE=1').
Aborted (core dumped)
I run this: export LIBGL_ALWAYS_SOFTWARE=1 but I still have the same problem.
I installed ork(http://wg-perception.github.io/object_recognition_core/install.html#install) on ROS some days ago and it asked me to install MESA. I installed this version of MESA.10.5.4 from this link: http://www.mesa3d.org/
I want to know if the problem is my graphic driver? Is anyone know how I can resolve it?
This is my openGL info:
OPENGL info:
Renderer: GeForce GTX/745
Version: 1.4 (2.1.2 NVIDIA 331.113
the graphic driver:
description: VGA compatible controller
product: GM107 [GeForce GTX 745]
vendor: NVIDIA Corporation
Edit:
To install ORK, I run catkin_make, and it failed in the middle and said it couldn't find mesa libraries. That's why I installed mesa. It needed this library: libosmesa
http://wg-perception.github.io/object...
For mesa, I run this:
./configure --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --enable-osmesa --with-osmesa-bits=32
and then make it.
I use UBUNTU 14.04 LTS(Trusty) ROS indigo
You say you "installed this version of MESA 10.5.4 from this link". What did you do exactly? I doubt orc requires the newest Mesa libs, installing them using your platform's package manager would probably have been enough. If you
make && sudo make install
, then some things are probably broken now.Also: which OS, version of OS, which ROS release, etc.