I found the video player still is slow, even osd is disabled. (see attachment)
if the number of video stream is down to 4, the video showing will back to normal speed.
from the log " deserialized trt engine from :/opt/nvidia/deepstream/deepstream-7.0/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet18_trafficcamnet.etlt_b2_gpu0_int8.engine", the app loaded the GPU engine not DLA engine. please set model-engine-file to the DLA engine.
if still can’t work, please share the config_infer_primary.txt.
It is not improved if DLA0 is enabled and motion is still very slow in video.
==> From log, It seems many layers are unsupported on DLA.
WARNING: [TRT]: Layer ‘block_1a_conv_1/kernel’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘block_1a_conv_1/bias’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘block_1a_bn_1/moving_variance’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
==> DLA is usually idle.
08-22-2024 10:06:25 RAM 6540/15656MB (lfb 17x2MB) SWAP 823/7828MB (cached 4MB) CPU [16%@1984,6%@1984,2%@1984,7%@1984,2%@1984,3%@1984,3%@1984,0%@1984] EMC_FREQ 7%@3199 GR3D_FREQ 4%@[917] NVENC 18%@115 NVDEC 57%@166 NVJPG off NVJPG1 off VIC 27%@256 OFA off NVDLA0 0%@614 NVDLA1 off PVA0_FREQ off APE 174 cv0@47.218C cpu@49.125C soc2@46.375C soc0@47.125C cv1@48.093C gpu@45.625C tj@50.656C soc1@50.687C cv2@46.468C
08-22-2024 10:06:26 RAM 6541/15656MB (lfb 17x2MB) SWAP 823/7828MB (cached 4MB) CPU [16%@1984,5%@1984,5%@1984,7%@1984,6%@1984,2%@1984,3%@1984,3%@1984] EMC_FREQ 8%@3199 GR3D_FREQ 4%@[917] NVENC 7%@115 NVDEC 48%@179 NVJPG off NVJPG1 off VIC 47%@217 OFA off NVDLA0 0%@614 NVDLA1 off PVA0_FREQ off APE 174 cv0@47.281C cpu@49.031C soc2@46.531C soc0@47.187C cv1@48.25C gpu@45.625C tj@50.687C soc1@50.687C cv2@46.75C
08-22-2024 10:06:27 RAM 6541/15656MB (lfb 17x2MB) SWAP 823/7828MB (cached 4MB) CPU [13%@1984,3%@1984,4%@1984,2%@1984,4%@1984,4%@1984,6%@1984,5%@1984] EMC_FREQ 7%@3199 GR3D_FREQ 0%@[917] NVENC 31%@115 NVDEC 54%@115 NVJPG off NVJPG1 off VIC 63%@281 OFA off NVDLA0 0%@614 NVDLA1 off PVA0_FREQ off APE 174 cv0@47.156C cpu@49.093C soc2@46.468C soc0@47.093C cv1@48.218C gpu@45.593C tj@50.718C soc1@50.718C cv2@46.531C
08-22-2024 10:06:28 RAM 6542/15656MB (lfb 17x2MB) SWAP 823/7828MB (cached 4MB) CPU [16%@1984,2%@1984,5%@1984,3%@1984,8%@1984,5%@1984,5%@1984,2%@1984] EMC_FREQ 7%@3199 GR3D_FREQ 0%@[917] NVENC 14%@115 NVDEC 75%@115 NVJPG off NVJPG1 off VIC 40%@268 OFA off NVDLA0 42%@614 NVDLA1 off PVA0_FREQ off APE 174 cv0@47.5C cpu@49.062C soc2@46.531C soc0@47.281C cv1@48.125C gpu@46.093C tj@50.687C soc1@50.687C cv2@46.718C
There are eight sources. noticing the app load bath-size engine, please set batch-size=8 in nvinfer’s configuration file, and set batch-size=8 in [streammux] part of deepstream-app cfg, and set sync=0 in [sink] of deepstream-app cfg.
The change can speedup the motion in display but this display is not very clear.
I change width=1920 and height=1080 in [tiled-display], but it still is same.
Hot to improve it ?