Flickering issue while playing videos

Hi,

Video flickering issue is observed while doing video playback on two Displays simultaneously using the following command :

gst-launch-1.0 filesrc location=sample-mp4-file.mp4 ! qtdemux name=demux ! h264parse ! omxh264dec ! nvoverlaysink display-id=1 & gst-launch-1.0 filesrc location=sample-mp4-file.mp4 ! qtdemux name=demux ! h264parse ! omxh264dec ! nvoverlaysink display-id=2

  1. Flickering issue is observed if both the monitors resolution is set to 1920x1080. I have captured the video showing flickering.
    Video resolution is 1280x720 .

  2. Flickering is observed if the monitor is set to 3840x2160.
    Video resolution is 3840x2160.

  3. Flickering issue is not observed if the monitor resolution is set to 3840x2160.
    Video resolution is 1280x720.

Please let us know if you have any inputs on this.
@WayneWWW

Looks like underflow issue.

Please check below node when error happens.

cat /sys/kernel/debug/tegradc.0/stats
cat /sys/kernel/debug/tegradc.1/stats
cat /sys/kernel/debug/tegradc.2/stats

Hi WayneWWW,

Thanks for your response.

We are able to resolve it by using the following steps:-

In the following file “/etc/X11/xorg.conf”, updated the below line

Option “TegraReserveDisplayBandwidth” “false”

Regards
Ann Rose Antony

Please be aware that nvoverlaysink and gdm X are not aware of the existence of each other. If you want to run nvoverlaysink, you better disable the X.