installRealSenseSDK icon indicating copy to clipboard operation
installRealSenseSDK copied to clipboard

Cannot multicam on TX2

Open rcroset opened this issue 5 years ago • 0 comments

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:

  • Connect 3 cameras and run the rs-multicam realsense example. It should crash with a "Failed to set power state" error.
  • Connect 3 cameras, open realsense-viewer and stream Depth+RGB at maximum resolution. Some stream won't work.
  • Run the following python code. It should get stuck after printing the devices and before stopping them (similar to the issue #2 ).
import pyrealsense 2 as rs

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()

rcroset avatar May 15 '20 09:05 rcroset