Video stuttering issue in nveglglessink

Hi All,
We execute command below to playback a 1080p@24fps video and find a video stuttering issue.

gst-launch-1.0 filesrc location=test2.mkv ! matroskademux name=demux1 demux1.video_0 ! queue ! h264parse ! omxh264dec ! nveglglessink

We also play the same video with nvhdmioverlaysink and no video stuttering issue.

gst-launch-1.0 filesrc location=test2.mkv ! matroskademux name=demux1 demux1.video_0 ! queue ! h264parse ! omxh264dec ! nvhdmioverlaysink

Is there any parameters or plugins in gstreamer I can add to fix the video stuttering issue with nveglglessink?

Hi,
We do not observe the issue with this video file bourne_ultimatum_trailer.zip - Download The Bourne Ultimatum - High Definition (1080p) Theatrical Trailer - dvdloc8.com

ubuntu@tegra-ubuntu:~$ export DISPLAY=:0
ubuntu@tegra-ubuntu:~$ gst-launch-1.0 filesrc location= Bourne_Trailer.mp4 ! qtdemux ! h264parse ! omxh264dec ! nveglglessink

Can you try other video files? Maybe it is specific to test2.mkv?

Hi DaneLLL,
I ported nveglglessink to my ubuntu 14.04 PC. I played the same test video and used nveglglessink as video sink.
No video stuttering issue was found. The command is as following.

GST_DEBUG=ERROR,nveglglessink:5 gst-launch-1.0 filesrc location=test2.mkv ! matroskademux name=demux1 demux1.video_0 ! queue ! h264parse ! avdec_h264 ! nveglglessink

And I calculate the time difference between every two “Succesfully rendered 1 frame” log.
All the results are around 1/24 second (0.041s).
I also check this in logs whcih I get when play video in TK1. There is no significant difference with PC.
So, I believe that the video frame is send to GPU every 1/24 second whether in PC or in TK1.
The only difference between PC and TK1 are egl library and GPU…

The test video can be download in link below. This video is much easier to see the video stuttering than the video you provied.
https://drive.google.com/file/d/1liwznfJh7odySusyS07fJcnLVLkam9rg/view?usp=sharing

All logs are attached.
TK1_time_diff.txt (5.32 KB)
ubuntu_time_diff.txt (5.89 KB)
TK1.txt (1.43 MB)
ubuntu.txt (1.73 MB)

Please try max performance Jetson/Performance - eLinux.org

Hi DaneLLL,
It is improved when we set the gpu clock to maximum value.
But the video stuttering issue happens again when we play two videos at the same time.
I doubt that the gpu has reached its limit.
How can I know if the gpu reach its limit?

Please run tegrastats to get system information.
[url]https://devtalk.nvidia.com/default/topic/933774/jetson-tk1/how-to-monitor-gpu-utilization-on-jetson-tk1/post/4870067/#4870067[/url]