Running docker container with xfce4 GUI flickers

Hi,

I have a weird flickering issue when installing xfce4 with Balena using r32.7.3 on Ubuntu 18.04
Based on the the example docker container jetson-examples/Dockerfile at master · balena-io-examples/jetson-examples · GitHub

My code uses PaddlePaddle models an consumes allot of memory. After initialisation of models, 30 seconds later the GUI starts flickering. after 1 minute all typography disappears. This is not the case when running on the jetson image flashed on a SD.

I found out that setting:

xfconf-query -c xfwm4 -p /general/use_compositing -s false

and while running the gst-launch-1.0 window with nvegltransform ! nveglglessink sync=false

xfconf-query -c xfwm4 -p /general/use_compositing -s true

stops the flickering. :)

I was wondering if this is a known issue. If there is an other GUI that is more suitable minimal installation (like lightDM) I’m open to that.

Hi,

Could you try to run the jetson_clocks to maximize the device performance to see if it helps?
If the flicker still presents, please use nveglglessink sync=0 to turn off the GStreamer synchronization mechanism to avoid the flicker.

Thanks.

I have discovered that the compositor is the problem. I disabled the default compositor and installed compton, which is used in your image.

inspired by

In production, I use a minimal GUI with /usr/bin/X -core and /usr/bin/compton.

Hi,

It looks like aligning the compositor between Jetson and the container has solved the flicker issue.
Is that correct?

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.