jetsonhacks / installRealSenseSDK

Install the Intel RealSense SDK on the NVIDIA Jetson Development Kits
MIT License
154 stars 38 forks source link

Cannot multicam on TX2 #7

Open rcroset opened 4 years ago

rcroset commented 4 years ago

Describe the issue I am encountering an issue when I try to do multicam on the NVIDIA Jetson TX2. I have 3 D435 cameras connected to a USB3 hub. When I try to get the cameras through code, it either gets stuck or crashes with a "Failed to set power state" error. It works perfectly fine on a laptop with the same hub. After investigation, it seems to be not related to hub nor the usb controller.

Any suggestion would be welcome!

What version of L4T/JetPack Jetson TX2, Ubuntu 18.04 4.9.140-tegra, JetPack 3.3

Which Intel RealSense camera(s) RealSense camera(s): D435 cameras, firmware 05.12.03.00, realsense 2.34.1

To Reproduce There are different scenarios:

ctx = rs.context() cfgs = [rs.config(), rs.config(), rs.config()] for config in cfgs: config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 6) config.enable_stream(rs.stream.color, 1280, 720, rs.format.rgb8, 6)

pipes = [] for i in range(3): d = ctx.devices[i] print(d) config = cfgs[i] pipe = rs.pipeline() profile = pipe.start(config) pipes.append(pipe)

for p in pipes: print(p) p.stop()