Can not run deepstream_test_1.py?

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)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
hi i already install deepstream and python binding and every thing i need from this 2 page:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Installation.html#dgpu-setup-for-ubuntu

and i want to run deepstream_test_1.py but i’ve gotten this error :
gst_buffer_get_nvds_batch_meta return None
what should i do now? i will be hapy if you help me

Can the native deepstream-test1-app work normally ?

cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1/

make CUDA_VER=12.2

./deepstream-test1-app /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 

If OK, There should be some problems with the installation of python bindings.

If not, DS-SDK is not installed correctly.

Docker is recommned for avoid the complex steps of installation.

if i comment add_probe for sink of nvosd(nvdswosd) it will run correctly but i have 3 questations:
1 – i do somthing in installation step !! i convert every /opt/nvidia/deepstream/deepstream to /opt/nvidia/deepstream/deepstream-7.0 for libkafka and deepstrema_app_binding and everywhere that exist in pages that i sent ! i wanna know that
is there any problem with it ??
2 – in 1 page said gst-python have to be version 1.20.3 but in another page that i sent 2 days ago .it use gst-python that exist in 3rdparty/gstreamer/subprojects/gst-python/ ! so which one should i install ?
3 --why don’t we use sudo make install in Compiling the bindings step ? should i do it myself?
i will be hapy if you help me

I think there is no problem with it. /opt/nvidia/deepstream/deepstream/ just a soft link to /opt/nvidia/deepstream/deepstream-7.0, You can check it with ls -l /opt/nvidia/deepstream/

This is not a conflict, just follow the steps in the README

Because the compiled output is *. whl, It’s a Python package. No need to use make install, just pip install *.whl

pip3 install ./pyds-1.1.11-py3-none*.whl

Thanks a lot you help me alot in this ticket!! 🙏🙏but did you mean this readme file by saying README?

And another question that i forgot to ask about that is : i install nvidia driver from sudo apt install nvidia-driver-535 instead of .deb file that you mentioned in deepstream installation guide is there any problem with it?(i have t4)

Yes,These steps in the document have been tested.

Or use docker to avoid complicated installtion steps.

Generally it is fine, if you have any problem, please try this link

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Installation.html#install-nvidia-driver-535-161-08

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

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.