I am using a Logitech C920 HD USB Camera to capture the frames. After connecting this camera to Jetson AGX Xavier, it is taking almost 0.5 seconds to capture each camera frame of resolution 2304X1506. After that, I have also connected this camera to the USB 3.0 port of my laptop HP ProBook X360 440 G1 and it is taking only 20 to 30 milliseconds to capture each camera frame of resolution 2304X1506.
Although the NVIDIA has the USB 3.1 port, why it is taking more time to capture each camera frame than my laptop which has USB 3.0 port??
Any kind of help to resolve this problem will be highly appreciated.
Do you see the camera is enumerated as SuperSpeed in dmesg? Would like to confirm this. And please share release version( $ head -1 /etc/nv_tegra_release ) for reference.
I can see the camera is enumerated as SuperSpeed.
usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb[ 10.185947]
usb 2-1: New USB device found, idVendor=05e3, idProduct=0626[ 10.185955]
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0[ 10.185960]
usb 2-1: Product: USB3.1 Hub[ 10.185963]
usb 2-1: Manufacturer: GenesysLogic
The release version:
R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t186ref, EABI: aarch64, DATE: Fri Jun 26 04:34:27 UTC 2020
Please execute sudo nvpmodel -m 0 and sudo jetson_clocks to run Xavier at max performance and try again.
Already tried the above-mentioned commands. But no improvement in result.
We suggest try jetson_multimedia_api. The sample 12_camera_v4l2_cuda is for launching v4l2 source. It is an optimal solution and please give it a try.