Open ruLab1 opened 3 years ago
Same here - the driver is old and has a ton of bugs, one of them when running the following:
gst-launch-1.0 -e nvarguscamerasrc num-buffers=4 sensor-id=0 ! "video/x-raw(memory:NVMM),width=4032,height=3040,framerate=2/1" ! nvjpegenc ! multifilesink location=%03d_IMG.jpeg
Produces the following output:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
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: 4032 x 3040 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 22,250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 59,999999 fps Duration = 16666667 ; Analog Gain range min 1,000000, max 22,250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 2592 x 1944 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 22,250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 2560 x 1440 FR = 40,000000 fps Duration = 25000000 ; Analog Gain range min 1,000000, max 22,250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 4032 H = 3040
seconds to Run = 0
Frame Rate = 29,999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT
Additional debug info:
Argus Error Status
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:06.577052706
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
Setting pipeline to NULL ...
Freeing pipeline ...
Only one image is captured and the command returns exit-code 1. This driver is not usable.
Using the following commands yield no errors... ???
SENSOR_ID=0 # 0 for CAM0 and 1 for CAM1 ports
FRAMERATE=60 # Framerate can go from 2 to 60 for 1920x1080 mode
NUMBER_OF_SNAPSHOTS=20
gst-launch-1.0 -e nvarguscamerasrc num-buffers=$NUMBER_OF_SNAPSHOTS sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvjpegenc ! multifilesink location=%03d_rpi_v3_imx477_cam$SENSOR_ID.jpeg
Debug output here: https://gist.github.com/camielverdult/ca1e43c853f495e596210f5248aa2fb4
I've found that this error happens when setting num-buffers
to a value higher than 1 when using a resolution of 4032x3020
@ArduCAM Can you try to reproduce this issue?
@camielverdult your Cam is work? i'm still happen this problem. basically, Jetson cannot detect Cam...
I've found that this error happens when setting num-buffers to a value higher than 1 when using a resolution of 4032x3020
This command seems to work fine now?:
gst-launch-1.0 -e nvarguscamerasrc num-buffers=50 sensor-id=0 ! "video/x-raw(memory:NVMM),width=4032,height=3040,framerate=30/1" ! nvjpegenc ! multifilesink location=%03dIMG_20220216175052_00001.jpeg
Hi
I got Jetson nano and Jetson nx
B0279 is work at Jetson nano but not work with jetson Nx (installed driver by 0.03ver script)
But, B024902 is no problem both
both use same kernel ( R32, Revision 5.1)
Please fix this problem. I don't want use old Jetpack...