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

Fix docker deepstream issues on Kirkstone #10

Open
dwalkes opened this issue Dec 21, 2023 · 0 comments
Open

Fix docker deepstream issues on Kirkstone #10

dwalkes opened this issue Dec 21, 2023 · 0 comments

Comments

@dwalkes
Copy link
Contributor

dwalkes commented Dec 21, 2023

I'd like to remove the need for my dunfell branch hack at https://github.com/cu-ecen-aeld/yocto-assignments-base/wiki/NVIDIA-Jetson-Nano-Deepstream---Docker-Example for use with docker and deepstream.

To do this we'll ultimately need to backport OE4T/meta-tegra#1194 from the kirkstone branch to the kirkstone-l4t-r32.7.x branch.

For starters, you can just attempt to follow the instructions in the link at https://github.com/cu-ecen-aeld/yocto-assignments-base/wiki/NVIDIA-Jetson-Nano-Deepstream---Docker-Example using the kirkstone-l4t-r32.7.x branch.  You should see an errors like these:

(gst-plugin-scanner:26): GStreamer-WARNING **: 05:51:15.938: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so': /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so)

(gst-plugin-scanner:26): GStreamer-WARNING **: 05:51:16.008: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so)

(gst-plugin-scanner:26): GStreamer-WARNING **: 05:51:16.012: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvv4l2camerasrc.so': /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/aarch64-linux-gnu/libv4l2.so.0)

with a few additional .so files mentioned. Note the /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.34' not found` messages.

To resolve these, we need to backport the fix added in OE4T/meta-tegra#1194 which allows us to share a different set of libraries, including libraries corresponding to the applications inside the docker container with the containers. My first attempt to just cherry-pick the commits from that PR on top of the kirkstone meta-tegra branch at https://github.com/Trellis-Logic/meta-tegra/pull/1/files were close to successful, however it was obvious there would be some additional work beyond this, especially to change the libraries referenced at https://github.com/Trellis-Logic/meta-tegra/pull/1/files#diff-13a96721dc5faedfd5a96a3c2271766213af512bbe9b5669db368f267dff434cR24-R38 to match the ones in the r32.7.4 rootfs.

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

No branches or pull requests

1 participant