you may try increasing the record timing for checking its frame drop rate.
if there’s no frame drops with encoder, you may dig into your pipeline for investigation.
Hi Jerry,
If I increase the CPU load, then frames start to be dropped.
I know that the frames are dropped in the nvarguscamerasrc element in the StreamConsumer::threadExecute() loop.
I don’t see how changing the pipeline helps when the problem is in the combination of nvarguscamerasrc and the nvargus-daemon.
hello chris.wallett,
did you meant you have stress utility in the background to occupy CPU resources?
please test with real use-case, and, you may try using nice
and taskset
utility to assign some CPU dedicate for camera service.
Jerry,
please test with real use-case
This was testing with a real use case.
you may try using *nice*
and *taskset*
utility to assign some CPU dedicate for camera service.
I’m already setting the priority of nvargus-daemon to 85 via schedtool.
All my application threads are running at base priority – if I increase the priority of them the frame loss gets worse.
It seems clear – to me at least – that the issue lies with nvargus-daemon.
hello chris.wallett,
I would like to emphasized that…
a stress test utility, or high CPU loading application to fully occupy CPU usage will induce camera frame-drop, that’s life. please evaluate the real workload, to have system optimization, to adjust priority…etc.
Jerry,
We are loosing around 1 in 500 frames with the CPU load show in the image (captured using jtop).
Is this what you would expect ?
Regards,
Chris W.
may I also confirm what’s your system configuration, for instance, please check Supported Modes and Power Efficiency, is it running with MaxN?
Yes it is running with MAXN.
Chris W.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.