I have ros jazzy and gazebo sim8 on Ubuntu 24.04, powered by parallels desktop 20 on Macbook with the M series chip. The following issue can be avoided if it is forced to software rendering. That is if export LIBGL_ALWAYS_SOFTWARE=1
is set so I would assume it is a GPU related issue.
user:~/.gazebo/models/gazebo_models$ gz sim
terminate called after throwing an instance of ‘Ogre::RenderingAPIException’
what(): OGRE EXCEPTION(3:RenderingAPIException): Fragment Program 100000001PixelShader_ps failed to compile. See compile log above for details. in GLSLShader::compile at ./RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 361)
Stack trace (most recent call last) in thread 119651:
#10 Object “[0xffffffffffffffff]”, at 0xffffffffffffffff, in
#9 Object “/lib/aarch64-linux-gnu/libc.so.6”, at 0xe2353fa7ba4b, in
#8 Object “/lib/aarch64-linux-gnu/libc.so.6”, at 0xe2353fa1597b, in
#7 Object “/lib/aarch64-linux-gnu/libQt5Core.so.5”, at 0xe235368b4e4b, in
#6 Object “/lib/aarch64-linux-gnu/libQt5Core.so.5”, at 0xe235368907e7, in qTerminate()
#5 Object “/lib/aarch64-linux-gnu/libstdc++.so.6”, at 0xe2353a8a0e03, in std::terminate()
#4 Object “/lib/aarch64-linux-gnu/libstdc++.so.6”, at 0xe2353a8aa56f, in
#3 Object “/lib/aarch64-linux-gnu/libstdc++.so.6”, at 0xe2353a8ad4d7, in __gnu_cxx::__verbose_terminate_handler()
#2 Object “/lib/aarch64-linux-gnu/libc.so.6”, at 0xe2353f9b7dff, in abort
#1 Object “/lib/aarch64-linux-gnu/libc.so.6”, at 0xe2353f9ccb3b, in gsignal
#0 Object “/lib/aarch64-linux-gnu/libc.so.6”, at 0xe2353fa17628, in
Aborted (Signal sent by tkill() 119566 1000)
Any ideas how to solve this issue?