agx version nvidia@localhost:~$ head -n 1 /etc/nv_tegra_release # R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t186ref, EABI: aarch64, DATE: Fri Jun 26 04:34:27 UTC 2020 60 fps fpdlink camera sudo nvpmodel -m 0 and sudo jetson_clocks is fine!
There are about three threads,Modified from demo【jetson_multimedia_api\samples\00_video_decode】: Thread one:As soon as the rtp video stream is parsed out of nalu, it is put into queue1; Thread two: NvVideoDecoder decode queue1, decode yuv data put queue2; Thread three: NvEglRender renderer decodes yuv queue data queue2;
As shown in the above post image
The log shows that 7 frames of video data are decoded at 15:06:09, but the display queue is not updated to display new data, and 1466 frames of old video are still displayed
After some time, 10 frames of video data were decoded at 15:08:40, but the display queue was not updated to display new data, and 10,495 frames of old video were still displayed
How to solve this problem of not being able to refresh the latest video in time?
This is a continuation of the problem in the previous post【Agx Dynamic object video 60fps rtp send and recv some question? - #18 by DaneLLL
Hi,
There is waiting pthread_cond_timedwait() in renderInternal(). Please remove it and give it a try. To call eglSwapBuffers() without the waiting and see if it helps.
Hi,
Could you add gettimeofday() before and after eglswapBuffers() to confirm the function is getting slower time after time? We think this function should work without any issue. Would like to confirm this first.
Each frame is time-consuming, usually 14ms, but also time-consuming 38ms;
Spent more than 30 ms print, statistics for a period of time, there are 52 ms, ms, 57 74 ms…
60fps,NvEglRender also set 60fps//renderer->setFPS(60),and xrandr --output HDMI-0 --mode 1920x1080 --rate 60.02
Hi,
Could you try Xavier developer kit + Jetpack 4.6.3? If the latest Jetpack 4 release does not have the issue, you may consider upgrade to later release.
Does this mean 20 milliseconds? The rendering is related to fps of display. If your display mode is in 30fps, 20 millisecond look fine since it renders the frame out per vsync.
It still renders in 60fps after overnight. Is it possible your device is in high temperature and triggers throttling, or the display output cannot render frames in time?