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

build of deepstream 6.2 fails on branch kirkstone with target jetson-agx-xavier-devkit #259

Closed
bbuce72 opened this issue May 25, 2023 · 9 comments

Comments

@bbuce72
Copy link

bbuce72 commented May 25, 2023

Found issue when updating own distro to kirkstone, so checked build on tegra-demo-distro to verify where issue was.

To recreate:

    git clone https://github.com/OE4T/tegra-demo-distro.git
    cd tegra-demo-distro
    git checkout kirkstone
    git submodule update --init
    . ./setup-env --machine jetson-agx-xavier-devkit 
    bitbake deepstream-6.2

Error test:

    ERROR: deepstream-6.2-6.2.0-1-r0 do_package_qa: QA Issue: /opt/nvidia/deepstream/deepstream-6.2/lib/libnvds_riva_tts.so contained in package deepstream-6.2 requires libgrpc++.so.1.50()(64bit), but no providers found in RDEPENDS:deepstream-6.2? [file-rdeps]
    ERROR: deepstream-6.2-6.2.0-1-r0 do_package_qa: QA Issue: /opt/nvidia/deepstream/deepstream-6.2/lib/libnvds_riva_tts.so contained in package deepstream-6.2 requires libprotobuf.so.32()(64bit), but no providers found in RDEPENDS:deepstream-6.2? [file-rdeps]
@madisongh
Copy link
Member

We have some hacks in the recipe to work around some SONAME/dependency issues with those prebuilt libraries. Sounds like the hacks need to be updated to match the actual SONAMEs/versions for gRPC and protobuf.

@ichergui
Copy link
Member

I will check that later today and update the branches. Sorry to see that happen to you @bbuce72

@bbuce72
Copy link
Author

bbuce72 commented May 26, 2023

No worries, if i can assist with anything (this or otherwise) let me know. Was going to see if i could fix this one myself, but the hack looked like it was tied to grpc and protobuf from a different branch of open embedded, and figured you knew the easiest way to fix. Thanks for your efforts on this, makes Jetson development much easier.

@ichergui
Copy link
Member

@bbuce72 I updated the deepstream 6.2 recipe. please try it and let me know if you have any issue

@bbuce72
Copy link
Author

bbuce72 commented May 27, 2023

Thanks for the help. Built and flashed ok. Still need to get my distro updated (going from nano to AGX Xavier) to see if the parts I use are ok. Will continue Tuesday.
Is there a regression test for deepstream/other tests other than my app to test more functionality?
Did see this message about a blacklisted component but for my purpose don't need audio.

root@jetson-agx-xavier-devkit:~# gst-inspect-1.0 -b

(gst-plugin-scanner:1093): GStreamer-WARNING **: 01:28:00.224: Failed to load plugin '/usr/lib/gstreamer-1.0/deepstream/libnvdsgst_inferaudio.so': libnvds_audiotransform.so: cannot open shared object file: No such file or directory
Blacklisted files:
libcustom2d_preprocess.so
libnvdsgst_inferaudio.so

@dwalkes
Copy link
Member

dwalkes commented May 27, 2023

Is there a regression test for deepstream/other tests other than my app to test more functionality?

I don't think we have a test defined in the release validation sheet for deepstream outside of the docker container today. It would be great to add one.

@ichergui
Copy link
Member

Is there a regression test for deepstream/other tests other than my app to test more functionality?

Yes, we do have a specific recipe for deepstream tests

I tried it before merging the PR. Here is the result

nvstreammux: Successfully handled EOS for source_id=1
Frame Number= 1441 Number of Objects= 15 Vehicle_count= 12 Person_count= 3
Frame Number= 1441 Number of Objects= 0 Vehicle_count= 0 Person_count= 0
Frame Number= 1442 Number of Objects= 0 Vehicle_count= 0 Person_count= 0
End-of-stream
Exiting app

=== PASS:  py_deepstream_test3 ===
Tests run:     6
Tests passed:  6
Tests skipped: 0
Tests failed:  0
sh-5.1# 

If you have any comment please let me know.

@dwalkes
Copy link
Member

dwalkes commented May 27, 2023

Added a new row for deepstream tests in the Release Validation sheet.

@ichergui
Copy link
Member

Closing this since fix was merged

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

4 participants