autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
882 stars 570 forks source link

Occasional Black Screen in RViz on Autoware Launch #6937

Open sgNicola opened 2 months ago

sgNicola commented 2 months ago

Checklist

Description

An intermittent issue where RViz displays a black screen upon launching Autoware.Universe, despite Autoware state processes (e.g., initialization, waiting for route) appearing normal. This issue occurs even when GPU utilization remains typical, suggesting that the problem may not be directly related to hardware resource availability. black_screen gpu_usage 2024-05-07_21-09

Expected behavior

RViz should display the appropriate visualizations and interface elements consistently upon every launch of Autoware.Universe without fail.

Actual behavior

Sometimes, when Autoware.Universe is launched, RViz fails to display its usual interface and visualizations, instead showing a black screen. This occurs while the Autoware state processes indicate normal operations, and there is no significant change in GPU utilization.The universe is launched, and RViz fails to display its usual interface and visualizations, instead showing a black screen.

Steps to reproduce

  1. Launch Autoware.Universe.
  2. Observe the RViz window after launching.
  3. Note any occurrences of the RViz window displaying a black screen instead of the expected content.

Versions

-OS: Ubuntu 20.04 -ROS2: ROS2 galactic -Autoware: Autoware.universe galactic

Possible causes

No response

Additional context

No response

maxime-clem commented 2 months ago

Just to confirm:

sgNicola commented 2 months ago

Thank you for your comment,

  1. I am running Autoware from source.
  2. It will fix the issue when I restart autoware. I will try to reopen rviz next time.
  3. The log message not display any error message about rviz. launch.log
sgNicola commented 1 month ago

Hi, I encountered the issue again. I reopened rviz2, and it fixed the problem.

KhalilSelyan commented 1 month ago

@maxime-clem this also happens on humble as well in main branch, with respawn just closing rviz client when it reopens it works fine but the black screen does occasionally show as well in main brain