gazebosim / gz-rendering

C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications.
https://gazebosim.org
Apache License 2.0
52 stars 49 forks source link

Crash at starting with OGRE2.1 and OpenGL #51

Open osrf-migration opened 5 years ago

osrf-migration commented 5 years ago

Original report (archived issue) by Anonymous.


Description

After installing ignition-blueprint with apt, Ign gazebo crash with the shapes.sdf sample. It's not able to load properly OGRE2.1 . I've already try to compile OGRE but nothing changed. I'm running gazebo with Ubuntu-18 LTS and I only have a Graphic Intel chipset.

You can see bellow the error message :

#!bash

[GUI] [Err] [Ogre2RenderEngine.cc:450] Unable to load Ogre Plugin[/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus]. Rendering will not be possible.Make sure you have installed OGRE properly.
[GUI] [Err] [Ogre2RenderEngine.cc:484] unable to find OpenGL rendering system. OGRE is probably installed incorrectly. Double check the OGRE cmake output, and make sure OpenGL is enabled.
/usr/lib/ruby/ignition/cmdgazebo2.rb:302: [BUG] Segmentation fault at 0x0000000000000000

I didn't find any fix for my issue that's why i'm writing here. Thank

Steps to Reproduce

  1. Follow this tutorial : https://ignitionrobotics.org/docs/blueprint
  2. run ign gazebo shapes.sdf

Expected behavior:

Gazebo start normally.

Actual behavior:

Get this error message :

#!bash

[GUI] [Err] [Ogre2RenderEngine.cc:450] Unable to load Ogre Plugin[/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus]. Rendering will not be possible.Make sure you have installed OGRE properly.
[GUI] [Err] [Ogre2RenderEngine.cc:484] unable to find OpenGL rendering system. OGRE is probably installed incorrectly. Double check the OGRE cmake output, and make sure OpenGL is enabled.
/usr/lib/ruby/ignition/cmdgazebo2.rb:302: [BUG] Segmentation fault at 0x0000000000000000
osrf-migration commented 5 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


The output looks like you have an opengl problem on your system. Have you installed Ogre2.1? If so, can you post the output of glxinfo?

osrf-migration commented 5 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


do you see this GL3Plus shared library: /usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so ?