Gazebo | Ignition | Community
Ask Your Question
0

Ignition crashes directly after start

asked 2021-11-23 07:05:13 -0500

Nils_ gravatar image

Hi,

hope you guys can help me out. I want to start ignition, but it directly crashes on start. Any ideas?

Ignition / Gazebo:

Version: - https://ignitionrobotics.org/docs/for... - Installation: According to https://ignitionrobotics.org/docs/for...

System: - OS: Ubuntu 20.04.3 LTS, virtualization via VMWare / ESXi 7 - GPU: 1x Nvidia RTX A4000 (OpenGL 4.5) via GPU passthrough - GPU drivers: Ubuntu meta-package, 470, (proprietary, tested) - I've tried different ones, also from nvdia homepage, same error

glxinfo | grep "OpenGL version"

OpenGL version string: 3.1 Mesa 21.2.2

ign gazebo shapes.sdf

ibEGL warning: DRI2: failed to create dri screen libEGL warning: DRI2: failed to create dri screen VMware: No 3D enabled (0, Success). libEGL warning: DRI2: failed to create dri screen VMware: No 3D enabled (0, Success). libEGL warning: DRI2: failed to create dri screen [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI] [Err] [Ogre2RenderEngine.cc:905] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3364) [GUI ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-11-23 13:36:25 -0500

Nils_ gravatar image

updated 2021-11-24 05:29:43 -0500

Things I've tried:

  • Forcing newer OpenGL with MESA_GL_VERSION_OVERRIDE=...
  • Forcing dedicated GPU with DRI_PRIME=...
  • Different variations of GPU driver installation approaches (incl. blacklist nouveau driver, different versions, insecure-mode)

Results so far: Best I can get is that it doesn't crash. World window remains black. (Error: libEGL warning: DRI2: failed to create dri screen)

Edit:

Result - not a gazebo issue - no solution: Issue is most likely linked to incompatibilities between VMware display driver and Nvidia driver. Dedicated GPU is not accessible in this setting. According to Nvidia support, an external display has to be connected to the dedicated gpu port in order to make the gpu accessible in an Ubuntu guest.

edit flag offensive delete link more
0

answered 2022-01-27 12:05:07 -0500

shonigmann gravatar image

I had a similar issue trying to run Ignition Fortress, since it defaults to trying to use the Ogre2 render engine which requires OpenGL > 3.3, but my machine was stuck using OpenGL 3.1; I've had no luck setting MESA_GL_VERSION_OVERRIDE=.

However, forcing Ignition to use Ogre1 allowed me to use Fortress as expected.

ign gazebo shapes.sdf --render-engine ogre
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-11-23 07:05:13 -0500

Seen: 4,052 times

Last updated: Jan 27 '22