I tried playing some H.264 and H.265 4K 60fps videos on Jetson Nano Developer Kit. When playing with nvoverlaysink, they can be played at 60fps, and videos look very good. But when playing with nveglglessink, they often played at only 40 or 50 fps, and the videos are clearly not very smooth.
DISPLAY=:0 gst-launch-1.0 uridecodebin uri=file:///home/root/videos/264-60.mkv ! fpsdisplaysink video-sink=nveglglessink text-overlay=0 -v gst-launch-1.0 uridecodebin uri=file:///home/root/videos/264-60.mkv ! fpsdisplaysink video-sink=nvoverlaysink text-overlay=0 -v
The results are similar when using filesrc. I have run “jetson_clocks”. Is there anything else missing?
Also I found /sys/devices/gpu.0/load is always 0 when playing anything with overlaysink. Does it not use GPU?