Argus camera does not work

Hi,
I have an assertion failed while running the argus_camera program. as a result of checking the l.min and l.max values in the Validator.h file, it came out as follows.
(For reference, it works normally when using nvgstcapture.)

Executing Argus Sample Application (argus_camera)
Argus Version: 0.98.3 (multi-process)
l.min(): 1, l.max(): 256
l.min(): 80000, l.max(): 282720000
l.min(): 256, l.max(): 1
argus_camera: /home/xavier/jetson_multimedia_api/argus/samples/utils/Validator.h:601: bool 
ArgusSamples::operator<(const Argus::Range<T>&, const Argus::Range<T>&) [with T = float]: Assertion `l.min() <= l.max()' failed.
  1. l.min(): 256, l.max(): 1 Value is estimated as gain, right?

  2. In the initial v4l2_ctrl_modify_range function, the gain value is set as specified in the devicetree value instead of 256 and 1, but when argus_camera is operating, why does it have a strange value?

     		mode0 { // AR1820_MODE_640X480
     			mclk_khz = "24000";
     			num_lanes = "4";
     			tegra_sinterface = "serial_a";
     			phy_mode = "DPHY";
     			discontinuous_clk = "no";
     			dpcm_enable = "false";
     			cil_settletime = "0";
    
     			active_w = "640";
     			active_h = "480";
     			mode_type = "bayer";
     			pixel_phase = "rggb";
     			csi_pixel_bit_depth = "10";
     			readout_orientation = "0";
     			line_length = "3840";
     			inherent_gain = "1";
     			mclk_multiplier = "0.33";
     			pix_clk_hz = "8000000";
    
     			gain_factor = "16";
     			min_gain_val = "16";
     			max_gain_val = "240";
     			step_gain_val = "1";
     			default_gain = "16";
     			min_hdr_ratio = "1";
     			max_hdr_ratio = "1";
     			framerate_factor = "1000000";
     			min_framerate = "1000000";
     			max_framerate = "30000000";
     			step_framerate = "1";
     			default_framerate = "15000000";
     			exposure_factor = "1000000";
     			min_exp_time = "80";
     			max_exp_time = "282720";
     			step_exp_time = "1";
     			default_exp_time = "90";/* us */
     			embedded_metadata_height = "0";
     		};
    

Check the locale like below. And change if any different to try.

snchen@laptop-asus:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=“en_US.UTF-8”
LC_NUMERIC=zh_TW.UTF-8
LC_TIME=zh_TW.UTF-8
LC_COLLATE=“en_US.UTF-8”
LC_MONETARY=zh_TW.UTF-8
LC_MESSAGES=“en_US.UTF-8”
LC_PAPER=zh_TW.UTF-8
LC_NAME=zh_TW.UTF-8
LC_ADDRESS=zh_TW.UTF-8
LC_TELEPHONE=zh_TW.UTF-8
LC_MEASUREMENT=zh_TW.UTF-8
LC_IDENTIFICATION=zh_TW.UTF-8
LC_ALL=

Also could you verify by below command.

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=640,height=480,format=NV12' ! nvvidconv ! fpsdisplaysink video-sink=fakesink --verbose

Could you check the BSP version is match the MMAPI version?

After installing Jetson-multimedia-api via apt, I ran argus_camera --device=0 and it works properly. I really want to thank you for your help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.