Gazebo Sim crashes on start up on Ubuntu 22.04. in a Virtual Machine from Parallels on MacOS

asked 2023-04-19 07:24:46 -0600

janto gravatar image

Hi there,

I own a MacBook Pro with a M1 Pro Chip on Ventura. The Gazebo documentation recommends running Gazebo on Ubuntu for stability reasons.

I decided to use Parallels (Parallels) to install Ubuntu 22.04. on a Virtual Machine. It is quite easy and takes less then 5-10 Minutes.

Next I straight opened the command prompt and followed the instructions on how to install the binaries on Ubuntu Binary Installation on Ubuntu.

After successful installation I run Gazebo withgz sim. The command prompt outputs the following logs...

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: pci id for fd 42: 1ab8:0010, driver (null)
pci id for fd 43: 1ab8:0010, driver (null)

The Gazebo Quick Start Window poped up and showed me the information that I am running Gazebo Garden v 7.0.0.

When I click on Empty and afterwards click RUN, a second window with Gazebo Sim shows up for a second and exits suddenly with a User Alert message from Ubuntu that ruby3.0 has stopped unexpectedly.

Here are the logs from the command prompt...

libGL error: pci id for fd 51: 1ab8:0010, driver (null)
pci id for fd 53: 1ab8:0010, driver (null)
libEGL warning: pci id for fd 70: 1ab8:0010, driver (null)

pci id for fd 71: 1ab8:0010, driver (null)
terminate called after throwing an instance of 'Ogre::UnimplementedException'
  what():  OGRE EXCEPTION(9:UnimplementedException):  in GL3PlusTextureGpu::copyTo at ./RenderSystems/GL3Plus/src/OgreGL3PlusTextureGpu.cpp (line 685)
Stack trace (most recent call last):
#31   Object "/lib/aarch64-linux-gnu/", at 0xffffafafb06b, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#30   Object "/lib/aarch64-linux-gnu/", at 0xffffafb5b523, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#29   Object "/lib/aarch64-linux-gnu/", at 0xffffae932f13, in g_main_context_iteration
#28   Object "/lib/aarch64-linux-gnu/", at 0xffffae98a76b, in 
#27   Object "/lib/aarch64-linux-gnu/", at 0xffffae935a6f, in g_main_context_dispatch
#26   Object "/lib/aarch64-linux-gnu/", at 0xffffafb5c057, in 
#25   Object "/lib/aarch64-linux-gnu/", at 0xffffafafff87, in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
#24   Object "/lib/aarch64-linux-gnu/", at 0xffffafafcb8f, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#23   Object "/lib/aarch64-linux-gnu/", at 0xffffb0fa2abf, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#22   Object "/lib/aarch64-linux-gnu/", at 0xffffafb2cfd3, in QObject::event(QEvent*)
#21   Object "/usr/lib/aarch64-linux-gnu/gz-gui-7/plugins/", at 0xffff98e77e07, in gz::gui::plugins::RenderWindowItem::Ready()
#20   Object "/usr/lib/aarch64-linux-gnu/gz-gui-7/plugins/", at 0xffff98e77947, in 
#19   Object "/usr/lib/aarch64-linux-gnu/gz-gui-7/plugins/", at 0xffff98e83d17, in gz::gui::plugins::RenderThreadRhiOpenGL::Initialize[abi:cxx11]()
#18   Object "/usr/lib/aarch64-linux-gnu/gz-gui-7/plugins/", at 0xffff98e7b13f, in gz::gui::plugins::GzRenderer::Initialize[abi:cxx11]()
#17   Object "/lib/aarch64-linux-gnu/", at 0xffff6c173d23, in gz::rendering::v7::BaseRenderEngine::CreateScene(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#16   Object "/lib/aarch64-linux-gnu/", at 0xffff6c17b74f ...
edit retag flag offensive close merge delete