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

Cannot multicam on TX2 #7

Open
rcroset opened this issue May 15, 2020 · 0 comments
Open

Cannot multicam on TX2 #7

rcroset opened this issue May 15, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@rcroset
Copy link

rcroset commented May 15, 2020

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 T265 and D435 not working together in jetson xavier  #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 rcroset added the bug Something isn't working label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant