Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running app in Deepstream 6.0.1 container #47

Open
coffeycan opened this issue Apr 1, 2022 · 1 comment
Open

Issue running app in Deepstream 6.0.1 container #47

coffeycan opened this issue Apr 1, 2022 · 1 comment

Comments

@coffeycan
Copy link

Am trying to build / run the occupancy example in a 6.0.1 devel container.

Am running w/o an X display, but really just want to see the msg broker counts / occupancy. Is that possible?

Have updated makefile and low-level object tracker references per:
https://docs.nvidia.com/metropolis/deepstream/6.0/dev-guide/text/DS_Application_migration.html

Initially got this output:


./deepstream-test5-analytics -c config/test5_config_file_src_infer_tlt.txt
** WARN: <parse_source:577>: Deprecated config 'smart-rec-video-cache' used in group [source1]. Use 'smart-rec-cache' instead

(deepstream-test5-analytics:9422): GLib-CRITICAL **: 21:13:03.054: g_strchug: assertion 'string != NULL' failed

(deepstream-test5-analytics:9422): GLib-CRITICAL **: 21:13:03.054: g_strchomp: assertion 'string != NULL' failed
Warning: 'input-dims' parameter has been deprecated. Use 'infer-dims' instead.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_nvmultiobjecttracker.so
~~ CLOG[include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 54]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
~~ CLOG[include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 54]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
[NvMultiObjectTracker] Initialized
0:00:01.647147713 9422 0x555fc2752000 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-occupancy-analytics/config/peoplenet/resnet34_peoplenet_pruned.etlt_b1_gpu0_int8.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x544x960
1 OUTPUT kFLOAT output_bbox/BiasAdd 12x34x60
2 OUTPUT kFLOAT output_cov/Sigmoid 3x34x60

0:00:01.647245551 9422 0x555fc2752000 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2004> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-occupancy-analytics/config/peoplenet/resnet34_peoplenet_pruned.etlt_b1_gpu0_int8.engine
0:00:01.683875447 9422 0x555fc2752000 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-occupancy-analytics/config/config_infer_primary_peoplenet.txt sucessfully
** ERROR: main:1108: Could not open X Display
Quitting
[NvMultiObjectTracker] De-initialized
App run failed

I don't see any messages on the msg broker console.

To fix the Glib Critical errors, tried what I think was the solution for Issue 12, by replacing:
/opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_msgconv.so
with:
/opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-occupancy-analytics/bin/x86/libnvds_msgconv.so

Now the critical GLib errors are gone, but other errors have emerged:

./deepstream-test5-analytics -c config/test5_config_file_src_infer_tlt.txt
** WARN: <parse_source:577>: Deprecated config 'smart-rec-video-cache' used in group [source1]. Use 'smart-rec-cache' instead

(deepstream-test5-analytics:9629): GStreamer-WARNING **: 22:26:01.707: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_msgconv.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_msgconv.so: undefined symbol: nvds_msg2p_generate_multiple_new
** ERROR: <create_msg_conv_broker_bin:234>: Failed to create 'sink_sub_bin_transform2'
** ERROR: <create_msg_conv_broker_bin:278>: create_msg_conv_broker_bin failed
** ERROR: <create_sink_bin:781>: create_sink_bin failed
** ERROR: <create_processing_instance:815>: create_processing_instance failed
** ERROR: <create_pipeline:1326>: create_pipeline failed
** ERROR: main:1041: Failed to create pipeline
Quitting
App run failed

Any ideas? Has this example been shown to run on 6.0[.1]?
Thxinadvance

@Acedev003
Copy link

The smart-rec-video-cache error can be fixed simply by replacing

"smart-rec-video-cache" with "smart-rec-cache"

under [source1] in config/test5_config_file_src_infer_tlt.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants