Ask Your Question
1

Docker with rqt problem with black dialog/menu/dropdown

asked 2018-10-01 17:08:11 -0500

fehlfarbe gravatar image

updated 2018-10-18 07:32:53 -0500

Hi,

I created a docker container based on osrf/ros:kinetic-desktop-xenial which runs rqt via XServer ( http://wiki.ros.org/docker/Tutorials/... 1. The simple way). I also made my video card (Intel GPU) available via --device=/dev/dri:/dev/dri ( http://wiki.ros.org/docker/Tutorials/... ) which seems to work because rqt and RViz starts and I don't get OpenGL errors.

But sometimes rqt doesn't render the content of widgets like dialog boxes, menu entries and dropdown lists shows only a black window/widget. It happens on my own rqt plugin but also on the rqt main menu (for example the menu entries for Plugins->Visualization are just a black box). I have the same problem on different computers running Linux Mint 18.2 (Cinnamon) and Intel GPU.

Is this a known bug or is there something wrong with my configuration?

Edit:
The content of a QDialog gets visible when I resize the dialog.
Adding --env="QT_X11_NO_MITSHM=1" doesn't fix the problem.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-10-10 18:02:24 -0500

ruffsl gravatar image

This sounds like a QT issue. Be sure to set the necessary environment variable to force QT to properly render the GUI regardelss of the X server configuration, e.g disabling QT use of MIT Shared Memory Extension:

http://wiki.ros.org/docker/Tutorials/...

--env="QT_X11_NO_MITSHM=1"

edit flag offensive delete link more

Comments

I already tried --env="QT_X11_NO_MITSHM=1". When I resize the window the content gets visible.

fehlfarbe gravatar imagefehlfarbe ( 2018-10-18 07:27:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-01 17:08:11 -0500

Seen: 126 times

Last updated: Oct 18 '18