Skip to content

Can't run gz sim (Possibly after some updates) #3024

@mini-1235

Description

@mini-1235

Environment

  • OS Version: 24.04
  • Source or binary build?
ros-rolling-ros-gz-bridge/noble,now 3.0.3-1noble.20250730.164501 amd64 [installed,automatic]
ros-rolling-ros-gz-image/noble,now 3.0.3-1noble.20250730.170500 amd64 [installed,automatic]
ros-rolling-ros-gz-interfaces/noble,now 3.0.3-1noble.20250730.143335 amd64 [installed,automatic]
ros-rolling-ros-gz-sim-demos/noble,now 3.0.3-1noble.20250730.181000 amd64 [installed,automatic]
ros-rolling-ros-gz-sim/noble,now 3.0.3-1noble.20250730.163723 amd64 [installed,automatic]
ros-rolling-ros-gz/noble,now 3.0.3-1noble.20250730.181601 amd64 [installed]
  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    • Rendering plugin: [ogre | ogre2].

      • Sensor rendering error.
      • GUI rendering error.
    • EGL headless mode:

      • Running in EGL headless mode
    • Generally, mention all circumstances that might affect rendering capabilities:

      • running on a dual GPU machine (integrated GPU + discrete GPU)
      • running on a multi-GPU machine (it has multiple discrete GPUs)
      • running on real hardware
      • running in virtual machine
      • running in Docker/Singularity
      • running remotely (e.g. via SSH)
      • running in a cloud
      • using VirtualGL, XVFB, Xdummy, XVNC or other indirect rendering utilities
      • GPU is concurrently used for other tasks
        • desktop acceleration
        • video decoding (i.e. a playing Youtube video)
        • video encoding
        • CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
        • multiple simulators running at the same time
      • other...
    • Rendering system info:

      • On Linux, provide the outputs of the following commands:
        LANG=C lspci -nn | grep VGA  # might require installing pciutils
        echo "$DISPLAY"
        LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
        ps aux | grep Xorg
        sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager
      • On Windows, run dxdiag and report the GPU-related information.
      • On Mac OS, open a terminal and type system_profiler SPDisplaysDataType. Copy the output here.
      version number:    11.0
      X.Org version: 21.1.11
      
  • Please, attach the ogre.log or ogre2.log file from ~/.gz/rendering
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)

Description

  • Expected behavior:
    Gazebo working properly

  • Actual behavior:
    On my rolling docker container, after I do a sudo apt upgrade, it seems that gazebo cannot render anything, and shows the error above. Before I do the upgrade command (10 Aug), everything is working properly.

I tried to pull the latest rolling images, same thing happens. But I can run gazebo properly outside the container (Jazzy / Harmonic)

Steps to reproduce

  1. pull nav2 rolling nightly image
docker pull ghcr.io/ros-navigation/nav2_docker:rolling-nightly
  1. run gazebo
gz sim

Output

Stuck in this page
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions