Problem detecting webcams connected in Jetson AGX Orin 64 GB
10 views (last 30 days)
Show older comments
Gibran
on 9 Apr 2024
Answered: Ramakrishna Mandalapu
on 16 May 2024
Hello!
I'm trying to connect a Jetson AGX Orin 64 GB module with Matlab R2020b in a PC host with Ubuntu 18.04 via ethernet using "jetson" command from "GPU Coder Support Package for NVIDIA GPUs" app:
hwobj = jetson(ipaddress, username, password);
The connection is successfully accomplished but I receive the next warnings for connected webcams:
Checking for CUDA availability on the Target...
Checking for 'nvcc' in the target system path...
Checking for cuDNN library availability on the Target...
Checking for TensorRT library availability on the Target...
Checking for prerequisite libraries is complete.
Gathering hardware details...
Checking for third-party library availability on the Target...
Warning: Unable to fetch information about available webcams.
Warning: Unable to fetch information about available webcams.
Gathering hardware details is complete.
Board name : NVIDIA Jetson
CUDA Version : 11.4
cuDNN Version : 8.6
TensorRT Version : 5.1
GStreamer Version : 1.16.3
V4L2 Version : 1.18.0-2build1
SDL Version : 1.2
Available Webcams :
Available GPUs : Orin
Then I tried to obtain the list of webcams contected to the Orin module by:
camlist = getCameraList(hwobj)
but I received:
Index exceeds the number of array elements (3).
Error in nvidiaboard/getCameraList
Error in jetson (line 13)
camlist = getCameraList(hwobj)
This makes me think that the problem could be the command "jetson" or that I have not installed some requirement in the Orin module. In any case, I haven't solved it yet.
I should say thay I can obtain images and videos from the webcam (Bus 001 Device 009: ID 1224:2a25 Generic 4-Port USB 2.0 Hub) connected to the Orin module using "cheese" software and other applications.
Is there a soluion to this problem?
Thanks for your response in anticipation.
0 Comments
Accepted Answer
Ramakrishna Mandalapu
on 16 May 2024
Hi Gibran,
Thanks for the quick turn around and sorry for the delay in reponse. The latest L4T kernel used in Jetpack is creating dummy video nodes, because of which the MATLAB is not able to find the correct webcam and is failing. This issue was resolved in the latest releases of MATLAB (from 22a). Kindly update to the laest version to work with the Jetson hardware seamlessly. Along with this, there are several other capabilities included in the latest releases such as support for GPIO to AGX Orin, RTP UDP data receive over the network, Sensors (Temperature, magneto, pressure, etc).
Thanks
Ramakrishna
0 Comments
More Answers (1)
Ramakrishna Mandalapu
on 12 Apr 2024
Hi Gibran,
The software is unable to populate the details about webcams. Can you help us with the camera name?
Also, please run the below command on Jetson and send us the output.
$ v4l2-ctl --info -d <camera index for e.g 0 or 1, etc>
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!