gazebosim / gazebosim/gz-rendering
Crash at starting with OGRE2.1 and OpenGL
- Dominant language
- C++
- Stars
- 81
- Forks
- 90
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 10
Description
**Original report ([archived issue](https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-rendering/issues/51)) 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
```
Contributor guide
Research direction
Reproduce with `ign gazebo shapes.sdf` on Ubuntu 18 LTS and the Intel graphics setup described. Start by examining the errors at Ogre2RenderEngine.cc:450 and :484, then trace the crash reported at /usr/lib/ruby/ignition/cmdgazebo2.rb:302. Done means the sample starts without the Ogre plugin failure or segmentation fault.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ruby
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100