Hello,
I found that pwdn pins are shaped. After correcting this mistake, all cameras are present in /dev/video* catalog. But I can run 3 cameras only (the queue doesn’t influence for error. Always, the last camera doesn’t work).
When I change the resolution to 1920x1080, then all cameras work fine.
Which resolution is recommended as the highest for 4 cameras?
Below are logs:
Working camera:
$gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=480, height=272' ! nvvidconv ! nvegltransform ! nveglglessink -e
Setting pipeline to PAUSED ...
Using winsys: x11
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21,000000 fps Duration = 47619048 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3264 x 1848 FR = 28,000001 fps Duration = 35714284 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1640 x 1232 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 59,999999 fps Duration = 16666667 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 120,000005 fps Duration = 8333333 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 3264 H = 2464
seconds to Run = 0
Frame Rate = 21,000000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
the last camera:
$gst-launch-1.0 nvarguscamerasrc sensor_id=3 ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=480, height=272' ! nvvidconv ! nvegltransform ! nveglglessink -e
Setting pipeline to PAUSED ...
Using winsys: x11
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21,000000 fps Duration = 47619048 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3264 x 1848 FR = 28,000001 fps Duration = 35714284 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1640 x 1232 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 59,999999 fps Duration = 16666667 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 120,000005 fps Duration = 8333333 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 3
Camera mode = 0
Output Stream W = 3264 H = 2464
seconds to Run = 0
Frame Rate = 21,000000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
NvRmChannelSubmit: NvError_IoctlFailed with error code 22
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 112, SyncPointValue = 0)
fence_set_name ioctl failed with 22
(Argus) Error InsufficientMemory: (propagating from src/eglstream/ImageImpl.cpp, function copyToNvBuffer(), line 553)
(Argus) Error InvalidState: Failed to copy to NvBuffer (in src/eglstream/ImageImpl.cpp, function createNvBuffer(), line 374)
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD... Exiting...
NvBufferGetParams failed for src_dmabuf_fd
nvbuffer_transform Failed
NvRmChannelSubmit: NvError_IoctlFailed with error code 22
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 112, SyncPointValue = 0)
fence_set_name ioctl failed with 22
(Argus) Error InsufficientMemory: (propagating from src/eglstream/ImageImpl.cpp, function copyToNvBuffer(), line 553)
(Argus) Error InvalidState: Failed to copy to NvBuffer (in src/eglstream/ImageImpl.cpp, function createNvBuffer(), line 374)
during the above command, below are dmesg logs:
[ 251.565246] vi 54080000.vi: pin_array_ids: could not map attachment err=-12
[ 251.572425] falcon 54340000.vic: nvhost_ioctl_channel_submit: failed with err -12
[ 251.615225] vi 54080000.vi: pin_array_ids: could not map attachment err=-12
[ 251.627028] falcon 54340000.vic: nvhost_ioctl_channel_submit: failed with err -12
[ 251.653979] falcon 54340000.vic: submit_add_gathers: failed to copy user inputs: class_ids=0000000078005be8 num_cmdbufs=3
[ 251.665893] falcon 54340000.vic: nvhost_ioctl_channel_submit: failed with err -22
[ 251.669581] falcon 54340000.vic: submit_add_gathers: failed to copy user inputs: class_ids=000000005c6dbd28 num_cmdbufs=3
[ 251.669587] falcon 54340000.vic: nvhost_ioctl_channel_submit: failed with err -22
[ 251.694921] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.721835] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.761531] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.769227] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.778732] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.789592] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.808772] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.822805] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.837638] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.908469] (NULL device *): nvhost_sync_fence_set_name: failed to get fence
[ 251.952110] (NULL device *): nvhost_sync_fence_set_name: failed to get fence