Robotics StackExchange | Archived questions

Light sources make the GUI remain black

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

Asked by Simone on 2020-05-14 11:28:59 UTC

Comments

Answers