Hello,
we have an AverMedia NO135K with Techpoint TP2850 chips on them and 4 channels connecting via MIPI.
I startup 4 camera capture streams for the 4 channels like:
gst-launch-1.0 nvv4l2camerasrc device=/dev/video1 ! "video/x-raw(memory:NVMM),width=(int)1920,height=(int)1080,interlace-mode=progressive,framerate=(fraction)30/1" ! queue ! fakesink
but during startup at least 1 of the 4 channels doesn’t start up with an error like:
nvv4l2camerasrc gstnvv4l2camerasrc.cpp:448:gst_nvv4l2camera_buffer_pool_acquire_buffer:<nvv4l2camerabufferpool6> Timeout Error.
if i restart it will be a different channel, sometimes 2, sometimes 3 sometimes, sometimes all 4 work fine…
what does this error indicate, and can I ‘up’ the wait time for this timeout ?
I couldn’t find anything in the nvv4l2camerasrc parameters that indicate a timeout option.
Could you verify by v4l2-ctl to confirm to confirm the device HW or driver.
@ShaneCCC is this what you are asking for ?
nvidia@tegra-ubuntu:~$ v4l2-ctl -D -d /dev/video0
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, tp2850 0-0001
Bus info : platform:15700000.vi:0
Driver version: 4.9.253
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
nvidia@tegra-ubuntu:~$ v4l2-ctl -D -d /dev/video1
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, tp2850 0-0002
Bus info : platform:15700000.vi:2
Driver version: 4.9.253
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
nvidia@tegra-ubuntu:~$ v4l2-ctl -D -d /dev/video2
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, tp2850 1-0003
Bus info : platform:15700000.vi:3
Driver version: 4.9.253
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
nvidia@tegra-ubuntu:~$ v4l2-ctl -D -d /dev/video3
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, tp2850 1-0004
Bus info : platform:15700000.vi:4
Driver version: 4.9.253
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Checking below command.
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video0&
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video1&
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video2&
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video3
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video0&
[1] 26411
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video1&
[2] 26412
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video2&
[3] 26413
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video3<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
< 25.00 fps
<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<< 30.04 fps
<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
< 25.00 fps
<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
< 25.00 fps
<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<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
<< 25.00 fps
<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
--- and it keeps on going......
maybe this is easier to read:
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video0
<<<<<<<<<<<<<<<<<<<<<<<<<<< 25.24 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.12 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.08 fps
<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<^C
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video1
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.09 fps
<<<<<<<<<<<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<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<^C
nvidia@tegra-ubuntu:~$ v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video3
<<<<<<<<<<<<<<<<<<<<<<<<<<< 25.24 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.12 fps
<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<< 25.03 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<< 25.00 fps
<<<^C
@ShaneCCC is --stream-mmap -c bypass_mode=0
switching the device into a different mode where the Timeout Error shouldn’t happen anymore ? Or is this just a diagnostic command to check for something ?
It’s just command to check VI driver.
Maybe have try have script to run below command to verify the stability.
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video0&
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video1&
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video2&
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video3&
system
Closed
April 6, 2022, 6:04am
11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.