I play the mp4 file on the TX2 NX, and the 20 frame video only plays about 15 frames. If the DeepStream or yolov5 detect.py is run, the picture will almost not change.
I haven’t encountered this problem on other Jetson devices before. What might be the cause?
You can run trtexec to test GPU comupte time for yolov5 model on this device and tegrastats to see GPU utility. to see if nvinfer is the bottleneck.
trtexec --loadEngine=‘engine file’, before run, boost the clock to max, check /etc//etc/nvpmodel.conf which id indicates the max power.
sudo nvpmodel -m id
sudo jetson_clocks