Gzclient in docker stuck at starting

I am running Gazebo with the following setup:

  • a docker “gazebo:gzserver11” container is brought up in a remote server, within the container the double pendulum example is run following instructions at gazebo official docker.
  • a docker “gazebo:gzserver11” container is brought up locally, with environment variable “GAZEBO_MASTER_URI” set to the remote container’s address, then use gzclient command trying to spin up the GUI

In the remote container, I can see a “gzserver” instance running. In the local container, I can telnet to the remote container’s port without issue. When gzclient --verbose, the GUI is indeed up, but stuck at the “preparing your world…” page forever. While I can operate the main panel, it does not show any model.

Logs from the local container:

Gazebo multi-robot simulator, version 11.15.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org


#     # ####### ####### ###  #####  #######
##    # #     #    #     #  #     # #
# #   # #     #    #     #  #       #
#  #  # #     #    #     #  #       #####
#   # # #     #    #     #  #       #
#    ## #     #    #     #  #     # #
#     # #######    #    ###  #####  #######

This version of Gazebo, now called Gazebo classic, reaches end-of-life
in January 2025. Users are highly encouraged to migrate to the new Gazebo
using our migration guides (https://gazebosim.org/docs/latest/gazebo_classic_migration/)


[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://remote-server:11345
[Msg] Publicized address: 172.17.0.2
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu: /usr/lib/dri/amdgpu_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: amdgpu
libGL error: failed to open /dev/dri/card0: No such file or directory
libGL error: failed to load driver: radeonsi
[Wrn] [GuiIface.cc:114] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu: /usr/lib/dri/amdgpu_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: amdgpu
libGL error: failed to open /dev/dri/card0: No such file or directory
libGL error: failed to load driver: radeonsi
[Err] [Scene.cc:227] Service call[/shadow_caster_material_name] timed out
[Err] [Scene.cc:249] Service call[/shadow_caster_render_back_faces] timed out
[Wrn] [Scene.cc:463] Ignition transport [/scene_info] service call failed, falling back to gazebo transport [scene_info] request.
[Wrn] [MainWindow.cc:374] Ignition transport [/scene_info] service call failed, falling back to gazebo transport [scene_info] request.
[Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
[Wrn] [ModelDatabase.cc:213] Unable to connect to model database using [http://models.gazebosim.org/robocup14_spl_goal/model.config]. Only locally installed models will be available.
[Err] [ModelDatabase.cc:395] Unable to get model name[http://models.gazebosim.org/robocup14_spl_goal]
[Wrn] [ModelDatabase.cc:213] Unable to connect to model database using [http://models.gazebosim.org/ambulance/model.config]. Only locally installed models will be available.
[Err] [ModelDatabase.cc:395] Unable to get model name[http://models.gazebosim.org/ambulance]

From the log I can see messages that connects to master successfully, so should not be network issue. There are a bunch of AMD drivers missing messages, because I am running ubuntu on a AMD Radeon card which the official docker image is not compiled against.
But the GUI is up so this is probably OK? At the moment I run out of ways to further investigate this issue, could someone enlighten me?