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

"video-viewer" Timeout Error with e-CAM25_CUONX Camera on Jetson Orin NX #1861

Open
Phantom-00 opened this issue Jun 4, 2024 · 6 comments
Open

Comments

@Phantom-00
Copy link

I am experiencing an issue with accessing my e-CAM25_CUONX camera using the video-viewer application on my Jetson Orin NX. While the camera works perfectly with gst-launch-1.0, I encounter a timeout error with video-viewer.

Steps I did:

Connect the e-CAM25_CUONX camera to the Jetson Orin NX.

Verify camera functionality using the following GStreamer pipeline, which works without any issues:
gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 !
"video/x-raw(memory:NVMM), format=(string)UYVY, width=(int)1920, height=(int)1080" !
nvvidconv ! "video/x-raw(memory:NVMM), format=(string)I420, width=(int)1920, height=(int)1080" !
nv3dsink sync=false

Attempt to access the camera using the video-viewer application:

video-viewer /dev/video0

Behavior:
[gstreamer] gstCamera::Capture() -- a timeout occurred waiting for the next image buffer
Additional Information:

The camera specifications, including resolution and frame rate, are supported.
Attempting to run video-viewer with explicit parameters did not resolve the issue.

Any help to resolve this issue would be greatly appreciated.

@andanders
Copy link

Chiming in. I'm having the same issue, albeit sturdecam20 and Orin Nano. Did you resolve your problem?

@Phantom-00
Copy link
Author

Yes, switching from 4-lane to 2-lane has solved the problem.

@andanders
Copy link

Sorry... what does that mean?

@dusty-nv
Copy link
Owner

dusty-nv commented Jul 15, 2024

@andanders I think they mean the cable that connects the MIPI CSI camera to the Jetson. I haven't exhaustively tested jetson-inference/jetson-utils with 3rd-party CSI cameras, so YMMV if you need to adjust the GStreamer pipeline to get video out of it.

edit - try using nvarguscamerasrc instead of V4L2 dusty-nv/ros_deep_learning#139 (comment)

@Phantom-00
Copy link
Author

When you install the driver, you will be asked in the terminal whether you want to install 2 lane or 4 lane drivers. You must therefore reinstall the driver and select 2 lane.

@andanders
Copy link

I reinstalled the drivers and was not prompted to select number of lanes. But I suspect that the drivers default to 2 lanes by looking at the install script and dmesg

[ 13.872095] Device No of MIPI lane configuration is 2

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

No branches or pull requests

3 participants