Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

OpenGL 3.3 is not supported

After installing the gazebo binaries for on my computer with Windows 11, and WSL2 with Ubuntu 20.04, I wanted to check that gazebo was working by executing gz sim -v4 -r shapes.sdf. I'm met with the following error (shortened because it's repeated a lot):

[GUI] [Err] [] 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 /home/jenkins/workspace/ogre-2.3-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3434) [GUI] [Err] [] Unable to create the rendering window after [11] attempts. [GUI] [Err] [] Failed to create dummy render window. [GUI] [Err] [] Please see the troubleshooting page for possible fixes:

The result of glxinfo | grep "OpenGL version" is OpenGL version string: 3.1 Mesa 21.2.6, so clearly my OpenGL version is old. But I tried updating the drivers by going to the intel website (I have Intel(R) Iris(R) Xe graphics) and my OpenGL version doesn't change. I know that my graphics card should be able to support up to OpenGL 4.6. What do I need to do to resolve this? I also did go to Troubleshooting to try and figure out how to fix this.

Thank you in advance for your time :)