ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

partial solution (from the mailing list):

I tried with glxgears (and fgl_glxgears) and I saw the same flickering effect, so I searched with google for the enviroment variable you told me and I found something interesting.

<glxinfo |="" grep="" rendering=""> reports direct rendering: No (LIBGL_ALWAYS_INDIRECT set) to correct this behavior I typed <unset libgl_always_indirect=""> and the flickering on glxgears disapperas, and also on Rviz.

I noticed this: if I launch the terminal with Ctrl+Alt+T I get <<direct rendering:="" no="" (libgl_always_indirect="" set)&gt;&gt;="" but="" if="" i="" launch="" konsole="" instead="" with="" alt+f2="" i="" get="" &lt;<direct="" rendering:="" yes="">> I don't understand exactly what is happening, but the only other way to solve the problem is disabling compiz like Nathaniel wrote. I think that there is some method to launch a window/console without using compiz even the system is using it, but I don't know how.

For now I put <unset libgl_always_indirect=""> at the end of .bashrc and seems to work fine.