I have been running the same rviz conf for months and mostly have had no issues. But lately there is often a black screen at rviz startup and it happens seemingly randomly, without any error messages on the console. More percisely, the rviz visualization window where the map and robot TF-s are supposed to appear, just black color window appears and nothing else. The left and right rviz menus are present and look correct. At first it looked like just the map does not load but after trying with several different maps, it does not seem to be related to any specific map file. Also the console last rows say that the map is loaded successfully:
>> Map loaded from data with 651 lanes
******* Map V2 Is Loaded successfully from the Behavior Selector !!
So far just closing everything and running it again has helped but the issue appears more and more often, approx 50% of the cases. What can be wrong? Can anyone help me to locate the problem?
I also posted the question in ROS answers forum but didn't get any feedback or answers.
ROS Melodic, Ubuntu 18.04, Nvidia GTX 2080 Super.