Camera Driver 640X480 Not getting output in ARGUS

Hi I made a 640X480 camera driver with imx219 camera driver as reference.
I am getting proper output in V4l2.
But unable to get output through Argus.
I am adding the dmesg log here.
dmesg_argus.log (13.4 KB)
dmesg_v4l2.log (1.3 KB)

Does anyone know how to fix this error.

Does this sensor need i2c REG initial? There are i2c failed ack message in the kernel log.
Please get the trace log for the argus.

https://elinux.org/Jetson/l4t/Camera_BringUp

Hi @ShaneCCC ,
The sensor is pre-configured so it doesn’t need I2C to configure it.

Have try below command.

sudo service nvargus-daemon stop
sudo su
export enableCamInfiniteTimeout=1
/usr/sbin/nvargus-daemon

Hi @ShaneCCC ,
I got the following LOG

=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[9313]: Connection established (7FB38BC1D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[9313]: CameraProvider initialized (0x7facc20c90)LSC: LSC surface is not based on full res!
NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0

NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0

NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0

This message harmless for the preview functionality.

Hi @ShaneCCC ,
I don’t get you.
Does it mean it should work?

Any other error from daemon? Also have a check the trace log. You should able to get the enable information from the bring up link in my previous comment.

Hi @ShaneCCC ,
I tried the following command and got Daemon Log

sudo service nvargus-daemon stop
sudo su
export enableCamInfiniteTimeout=1
export enableCamPclLogs=5
export enableCamScfLogs=5
/usr/sbin/nvargus-daemon

I have attached the respective trace log and Daemon log
argus.log (29.8 KB)
trace.log (41.6 KB)

Didn’t saw any clue for the issue.
Could you attached your dts here for review.

Hi @ShaneCCC ,
Please have a look at the device tree file attached here.
tegra194-camera-rbpcv2-imx219.dtsi (26.2 KB)

Can this camera output 1280x720 bigger than 640x480 output size to try?

Hi @ShaneCCC ,
The camera cannot output 720p.

Hi @ShaneCCC ,
Is there anyway to solve it ?

What’s your BSP version?

cat /etc/nv_tegra_release

Hi @ShaneCCC ,
I got the following

R32 (release), REVISION: 5.2, GCID: 27767740, BOARD: t186ref, EABI: aarch64, DATE: Fri Jul 9 16:05:07 UTC 2021

Could you upgrade to J4.6(r32.6.1)

Hi @ShaneCCC ,
I tried to flash 32.6.1 in NX its not booting for me. I tried the same in AGX too but its not booting either.
is there any alternative way?

Did you update by SDKManager?

Hi @ShaneCCC ,
I am using the kernel customization documentation mentioned here to flash custom driver.
Is there anyway to flash the custom driver in SDK manager ?