V4l2capture pipeline is not working on Mistral's Neuron devkit for Jetson Xavier NX

Hi all,

We are using v4l2capture camera pipeline for capturing images from e-con See3cam_CU135 USB camera. We recently purchased Mistral’s Neuron Turbo development kit for additional storage since it supports SSDs. Previously we were using Smart Cow carrier board.The v4l2capture pipeline is not working on Neuron devkit but working fine on Smartcow carrier board. Gstreamer pipeline is working fine in Neuron board also.

This is the logs getting with Neuron devkit:

$ v4l2-ctl  --list-devices
vi-output, tis_imx290 1-001a (platform:15c10000.vi:1):
	/dev/video0

See3CAM_CU135 (usb-3610000.xhci-3):
	/dev/video1
$ python3 list_devices.py 
/dev/video0
Opening in BLOCKING MODE
Available Sensor modes :
Resolution: 1948 x 1096 ; Framerate = 59.999999; Analog Gain Range Min 1.000000, Max 31.622776, Exposure Range Min 15000, Max 16650000

<v4l2capture.Video_device object at 0x7f94cb1760>
/dev/video1
Opening in BLOCKING MODE
Available Sensor modes :
Resolution: 1948 x 1096 ; Framerate = 59.999999; Analog Gain Range Min 1.000000, Max 31.622776, Exposure Range Min 15000, Max 16650000

<v4l2capture.Video_device object at 0x7f94bafd28>
{'/dev/video0': {'driver': '0.97.3 (multi-prNvV4L2 Argus PLugin', 'card': 'NvV4L2 Argus PLugin', 'bus_info': 'platform:NV-ARGUS:1.000000', 'capabilities': {b'streaming'}}, '/dev/video1': {'driver': '0.97.3 (multi-prNvV4L2 Argus PLugin', 'card': 'NvV4L2 Argus PLugin', 'bus_info': 'platform:NV-ARGUS:1.000000', 'capabilities': {b'streaming'}}}
$ python3 capture_picture.py 
Opening in BLOCKING MODE
Available Sensor modes :
Resolution: 1948 x 1096 ; Framerate = 59.999999; Analog Gain Range Min 1.000000, Max 31.622776, Exposure Range Min 15000, Max 16650000

Unsupported buffer type
Traceback (most recent call last):
  File "capture_picture.py", line 25, in <module>
    size_x, size_y = video.set_format(1280, 1024)
OSError: [Errno 22] Invalid argument

This is the logs for Smartcow carrier board:

$ v4l2-ctl --list-devices
See3CAM_CU135 (usb-3610000.xhci-2.1):
	/dev/video0
$ python3 list_devices.py 
/dev/video0
Opening in O_NONBLOCKING MODE 
<v4l2capture.Video_device object at 0x7f8a0f1aa8>
{'/dev/video0': {'driver': 'uvcvideo', 'card': 'See3CAM_CU135', 'bus_info': 'usb-3610000.xhci-2.1', 'capabilities': {b'streaming', b'readwrite', b'video_capture'}}}
$ python3 capture_picture.py 
Opening in O_NONBLOCKING MODE 
Saved image.jpg (Size: 1280 x 960)

These are the code used:

Please share any insights

Regards
Vishnu Prasad

Hi,
If you use r32.5.1, please apply this prebuilt lib and try again:
Jetson/L4T/r32.5.x patches - eLinux.org
[camera] 3rdparty application fails to open with USB camera

Hi DaneLLL,

Thanks for your response. It’s work fine now after applying the patch.

Regards
Vishnu Prasad