Light sources make the GUI remain black

asked 2020-05-14 11:28:59 -0500

Simone gravatar image

updated 2020-05-14 11:40:15 -0500

Hi there,

I am using Gazebo in Ubuntu installed in a Virtual Machine. I have a dedicated Nvidia GPU that I managed to connect to the VM.

I noticed that including any light source in a .world file, the GUI remains completely black.

This happens if the world contains at least one link, for example a cylinder or simply a box.

However, if I run a .world containing only a light source and a ground plane, i.e.

<?xml version="1.0" ?>
<sdf version="1.5">
    <world name="default">

        <!-- A global light source -->
        <include>
            <uri>model://sun</uri>
        </include>

        <!-- A ground plane -->
        <include>
            <uri>model://ground_plane</uri>
        </include>

    </world>
</sdf>

then I correctly visualize the ground plane in an enlightened environment, as you can see in the image below.

image description

Any suggestion to fix this issue? Thank you in advance.

EDIT: with the command --verbose I get the following output message

(gzclient:2324): dbind-WARNING **: 18:25:05.506: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
edit retag flag offensive close merge delete