Ignition Fortress shows a black screen where the scene should be with OpenGL 4.5 on Docker on AWS
Hi all,
I've been trying to make Ignition Fortress work on Docker, but I am having some errors.
I initially installed it using apt-get on a Ubuntu 20.04, but when running ign gazebo shapes.sdf -v4
, it says
OpenGL 3.3 is not supported. Please update your graphics card drivers
I then upgraded OpenGL to 4.5
, but there is always a black screen in the place where the scene should be.
I then installed with apt-get on Ubuntu 22.04 but I still have the same black screen, although I do not have the OpenGL error because OpenGL is already OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.0.1
I then installed Ignition Fortress
from source, but I still have the black screen.
I've been checking the logs but the only warns I find are like the ones below:
[Dbg] [ServerConfig.cc:973] Loaded (3) plugins from file [/home/user/.ignition/gazebo/6/server.config]
[GUI] [Wrn] [Application.cc:763] [QT] qrc:/qml/StyleDialog.qml:112:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[GUI] [Wrn] [Application.cc:763] [QT] qrc:/qml/StyleDialog.qml:105:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
and
[GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [N3sdf3v125WorldE], which doesn't have `operator>>`. Component will not be deserialized.
[GUI] [Wrn] [Ogre2RenderTarget.cc:575] Anti-aliasing level of '8' is not supported; valid FSAA levels are: [ 0 4 ]. Setting to 0
If I run Gazebo Classic, I have no black screens, but it always happens with Ignition Fortress, be it installed with apt-get or from source.
Does anybody have any ideas why this could be happening and how to solve it?
If I install Ignition Fortress on my local PC (rather than in a Docker container), it works, butt on Docker it always fails.
Below we have a gif of the error: