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

Running the d435i on PI4 #3298

Open
DigitalYD opened this issue Feb 11, 2025 · 3 comments
Open

Running the d435i on PI4 #3298

DigitalYD opened this issue Feb 11, 2025 · 3 comments
Labels

Comments

@DigitalYD
Copy link

Hi all,

Can someone please help? I have been stuck on getting the camera to use on the PI 4, 4GB ram, running Ubuntu Server 22.04 with Ros2 Humble. I am trying to stream the RGB video to my laptop but I keep running into this issue and I have tried to do a clean install (not from source because it can not find the dkms package).

Image

@MartyG-RealSense
Copy link
Collaborator

Hi @DigitalYD A xioctl(UVCIOC_CTRL_QUERY) error typically indicates that a conflict between librealsense and the Ubuntu kernel is occurring.

I recommend building librealsense from source code with the libuvc backend procedure at the link below as building librealsense in this mode bypasses the kernel and so can help to avoid kernel conflicts. This installation method usually works well on Raspberry Pi boards.

The libuvc backend procedure provides a pre-made build script called libuvc_installation.sh

https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh

@DigitalYD
Copy link
Author

I have reinstalled the librealsense and implement the back end fix but it is still giving me the same error

Image

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Feb 15, 2025

It looks like a new type of xioctl error is also occurring this time, an input/output error, which indicates a possible problem with USB communication (an issue with the USB port or the USB cable).

The log suggests that the infrared 'Infra1' and 'Infra2' streams are being enabled. RealSense cameras have limited performance capability on Raspberry Pi boards, and basic depth and RGB streams may be the best that can be achieved.

Please add enable_infra1:=false enable_infra2:=false to your launch instruction to make sure that the infrared topics are not published so that you can confirm whether or not they are causing problems.

Some RealSense Pi 4 users have found that problems they have with a Pi 4 disappear if they change to a Pi 5.

May I also ask whether you are using the official 1 meter USB cable supplied with the D435i or a cable of your own choice, please?

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

No branches or pull requests

2 participants