Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) • DeepStream Version • JetPack Version (valid for Jetson only) • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only)
I try single run only display is work,
Same time add save mp4 file function is can not open pipeline.
Maybe have problem on save video file with Deepestream 7.1,
But don’t have this problem on Deepstream 6.2.
And I found can’t use sync=false on splitmuxsink with Deepstream 7.1.
I use python gi library run pipeline
Long time test is ok,
Suddenly can’t run anymore,
I try reboot my jetson,
But not work,
Can I Private Sent Code to Your E-mail?
Have theese error:
Opening in BLOCKING MODE
0:00:00.193921312 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26256de0 Failed to determine interlace mode
0:00:00.193965376 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26256de0 Failed to determine interlace mode
0:00:00.193982176 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26256de0 Failed to determine interlace mode
0:00:00.193996384 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26256de0 Failed to determine interlace mode
0:00:00.194035104 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<dewaper_record_encoder3:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.210970848 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2624cad0 Failed to determine interlace mode
0:00:00.211007520 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2624cad0 Failed to determine interlace mode
0:00:00.211025056 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2624cad0 Failed to determine interlace mode
0:00:00.211039552 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2624cad0 Failed to determine interlace mode
0:00:00.211078368 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<record_encoder3:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.228096288 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26225720 Failed to determine interlace mode
0:00:00.228133120 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26225720 Failed to determine interlace mode
0:00:00.228152160 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26225720 Failed to determine interlace mode
0:00:00.228166880 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x26225720 Failed to determine interlace mode
0:00:00.228204480 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<dewaper_record_encoder2:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.245250208 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2621b430 Failed to determine interlace mode
0:00:00.245285472 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2621b430 Failed to determine interlace mode
0:00:00.245302496 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2621b430 Failed to determine interlace mode
0:00:00.245316928 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x2621b430 Failed to determine interlace mode
0:00:00.245352544 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<record_encoder2:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.261936032 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261f8f80 Failed to determine interlace mode
0:00:00.261970720 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261f8f80 Failed to determine interlace mode
0:00:00.261987776 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261f8f80 Failed to determine interlace mode
0:00:00.262002656 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261f8f80 Failed to determine interlace mode
0:00:00.262039808 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<dewaper_record_encoder1:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.278950080 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261eef20 Failed to determine interlace mode
0:00:00.278989056 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261eef20 Failed to determine interlace mode
0:00:00.279009216 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261eef20 Failed to determine interlace mode
0:00:00.279024672 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261eef20 Failed to determine interlace mode
0:00:00.279063200 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<record_encoder1:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.296321856 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261b98f0 Failed to determine interlace mode
0:00:00.296357760 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261b98f0 Failed to determine interlace mode
0:00:00.296374368 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261b98f0 Failed to determine interlace mode
0:00:00.296388544 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261b98f0 Failed to determine interlace mode
0:00:00.296424160 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<dewaper_record_encoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
0:00:00.313373280 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261a5630 Failed to determine interlace mode
0:00:00.313409344 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261a5630 Failed to determine interlace mode
0:00:00.313426560 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261a5630 Failed to determine interlace mode
0:00:00.313444800 19820 0x26288750 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0x261a5630 Failed to determine interlace mode
0:00:00.313481952 19820 0x26288750 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<record_encoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
ArgusV4L2_Open failed: No such file or directory
Opening in BLOCKING MODE
Opening in BLOCKING MODE
ArgusV4L2_Open failed: No such file or directory
Opening in BLOCKING MODE
Opening in BLOCKING MODE
ArgusV4L2_Open failed: No such file or directory
Opening in BLOCKING MODE
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
[NvMultiObjectTracker] Initialized
WARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
0:00:04.997334400 19820 0x26288750 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<nvinfer> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/home/ubuntu/workspaces/yolov8-for-jetson/DeepStream-gi/configs/model_b1_gpu0_fp32.engine
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT images 3x640x640
1 OUTPUT kFLOAT output0 84x8400
0:00:05.146052288 19820 0x26288750 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<nvinfer> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /home/ubuntu/workspaces/yolov8-for-jetson/DeepStream-gi/configs/model_b1_gpu0_fp32.engine
0:00:05.153216672 19820 0x26288750 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<nvinfer> [UID 1]: Load new model:configs/config_infer_primary_yoloV8.txt sucessfully
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteOpen : Block : BlockType = 4
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
===== NVMEDIA: NVENC =====
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
NvMMLiteOpen : Block : BlockType = 4
NvMMLiteBlockCreate : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
0:00:05.189832768 19820 0x26342de0 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<dewaper_record_encoder1:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.189832832 19820 0x26342ea0 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<dewaper_record_encoder0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.189859488 19820 0x26342d80 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<record_encoder2:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.189929248 19820 0x26342cc0 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<record_encoder3:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.190109376 19820 0x26342c60 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<dewaper_record_encoder3:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.190209920 19820 0x26342e40 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<record_encoder1:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.190211872 19820 0x26342f00 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<record_encoder0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.190235104 19820 0x26342d20 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<dewaper_record_encoder2:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.200640832 19820 0x315eca40 WARN v4l2bufferpool gstv4l2bufferpool.c:809:gst_v4l2_buffer_pool_start:<src3:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.200921056 19820 0x315ec9e0 WARN v4l2bufferpool gstv4l2bufferpool.c:809:gst_v4l2_buffer_pool_start:<src2:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.201070784 19820 0x315ec980 WARN v4l2bufferpool gstv4l2bufferpool.c:809:gst_v4l2_buffer_pool_start:<src1:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.201198880 19820 0x315ec920 WARN v4l2bufferpool gstv4l2bufferpool.c:809:gst_v4l2_buffer_pool_start:<src0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.276212768 19820 0x315ec980 WARN v4l2src gstv4l2src.c:914:gst_v4l2src_create:<src1> Timestamp does not correlate with any clock, ignoring driver timestamps
0:00:05.314358272 19820 0x315ec9e0 WARN v4l2src gstv4l2src.c:914:gst_v4l2src_create:<src2> Timestamp does not correlate with any clock, ignoring driver timestamps
H264: Profile = 77, Level = 0
0:00:05.344516800 19820 0x315ec920 WARN v4l2src gstv4l2src.c:914:gst_v4l2src_create:<src0> Timestamp does not correlate with any clock, ignoring driver timestamps
NVMEDIA: Need to set EMC bandwidth : 21000
NVMEDIA_ENC: bBlitMode is set to TRUE
0:00:05.377906464 19820 0x315eca40 WARN v4l2src gstv4l2src.c:914:gst_v4l2src_create:<src3> Timestamp does not correlate with any clock, ignoring driver timestamps
H264: Profile = 77, Level = 0
NVMEDIA: Need to set EMC bandwidth : 21000
NVMEDIA_ENC: bBlitMode is set to TRUE
H264: Profile = 77, Level = 0
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
NVMEDIA: Need to set EMC bandwidth : 21000
NvHostHost1xChannelSetModuleBandwidth: NvError_IoctlFailed with error code 22
0:00:05.425454816 19820 0xfffeb40d5ea0 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<record_encoder1:pool:src> Driver should never set v4l2_buffer.field to ANY
NVMEDIA_ENC: bBlitMode is set to TRUE
H264: Profile = 77, Level = 0
NVMEDIA: Need to set EMC bandwidth : 21000
NvHostHost1xChannelSetModuleBandwidth: NvError_IoctlFailed with error code 22
NVMEDIA_ENC: bBlitMode is set to TRUE
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
H264: Profile = 77, Level = 0
0:00:05.460557536 19820 0xfffeb40d5400 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<dewaper_record_encoder1:pool:src> Driver should never set v4l2_buffer.field to ANY
NVMEDIA: Need to set EMC bandwidth : 21000
NvHostHost1xChannelSetModuleBandwidth: NvError_IoctlFailed with error code 22
NVMEDIA_ENC: bBlitMode is set to TRUE
H264: Profile = 77, Level = 0
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
0:00:05.488101952 19820 0xfffea8262300 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<record_encoder2:pool:src> Driver should never set v4l2_buffer.field to ANY
H264: Profile = 77, Level = 0
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
0:00:05.509402144 19820 0xfffebc0d2de0 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<record_encoder0:pool:src> Driver should never set v4l2_buffer.field to ANY
NVMEDIA: Need to set EMC bandwidth : 21000
H264: Profile = 77, Level = 0
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
0:00:05.527583648 19820 0xfffeb00d3cc0 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<dewaper_record_encoder2:pool:src> Driver should never set v4l2_buffer.field to ANY
NvHostHost1xChannelSetModuleBandwidth: NvError_IoctlFailed with error code 22
NVMEDIA_ENC: bBlitMode is set to TRUE
NVMEDIA: Need to set EMC bandwidth : 21000
NvHostHost1xChannelSetModuleBandwidth: NvError_IoctlFailed with error code 22
NVMEDIA_ENC: bBlitMode is set to TRUE
NVMEDIA: Need to set EMC bandwidth : 21000
NvHostHost1xChannelSetModuleBandwidth: NvError_IoctlFailed with error code 22
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
NVMEDIA_ENC: bBlitMode is set to TRUE
0:00:05.587322944 19820 0xfffeac0e2c00 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<dewaper_record_encoder0:pool:src> Driver should never set v4l2_buffer.field to ANY
0:00:05.593191200 19820 0xfffea4066a40 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<dewaper_record_encoder3:pool:src> Driver should never set v4l2_buffer.field to ANY
NvHostHost1xChannelSetModuleClockRate: NvError_IoctlFailed with error code 22
0:00:05.624201472 19820 0xfffed00d2520 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<record_encoder3:pool:src> Driver should never set v4l2_buffer.field to ANY
Segmentation fault (core dumped)
After many attempts
I found is the deepstream auto convert engine file’s problem,
I try use previous engine file is work,
But use now auto rebuild engine file will crash,
My model is build with ultralytics python library like theese:
from ultralytics import YOLO
# Load the YOLOv8n model
model = YOLO("yolov8n.pt") # Make sure yolov8n.pt is in your directory or provide the path
# Export the model to ONNX format
model.export(format="onnx")
# model.export(format="onnx")
Output:
Downloading https://github.com/ultralytics/assets/releases/download/v8.2.0/yolov8n.pt to 'yolov8n.pt'...
100%|███████████████████████████████████████████████████████████████████████████████████████████| 6.25M/6.25M [00:01<00:00, 3.58MB/s]
100%|███████████████████████████████████████████████████████████████████████████████████████████| 6.25M/6.25M [00:01<00:00, 3.58MB/s]
Ultralytics YOLOv8.2.42 🚀 Python-3.11.9 torch-2.3.1+cpu CPU (13th Gen Intel Core(TM) i9-13900H)
Ultralytics YOLOv8.2.42 🚀 Python-3.11.9 torch-2.3.1+cpu CPU (13th Gen Intel Core(TM) i9-13900H)
YOLOv8n summary (fused): 168 layers, 3151904 parameters, 0 gradients, 8.7 GFLOPs
PyTorch: starting from 'yolov8n.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 84, 8400) (6.2 MB)
PyTorch: starting from 'yolov8n.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 84, 8400) (6.2 MB)
ONNX: starting export with onnx 1.17.0 opset 17...
ONNX: starting export with onnx 1.17.0 opset 17...
ONNX: export success ✅ 1.0s, saved as 'yolov8n.onnx' (12.2 MB)
ONNX: export success ✅ 1.0s, saved as 'yolov8n.onnx' (12.2 MB)
Export complete (4.9s)
Results saved to C:\Users\I374\TungHoSteel\Code\onnx_convert\wieghts\yolov8n\simply
Predict: yolo predict task=detect model=yolov8n.onnx imgsz=640
Validate: yolo val task=detect model=yolov8n.onnx imgsz=640 data=coco.yaml
Visualize: https://netron.app
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks